| /NextBSD/usr.sbin/bluetooth/hccontrol/ |
| HD | util.c | 38 #define SIZE(x) (sizeof((x))/sizeof((x)[0])) macro 48 return (link_type >= SIZE(t)? "?" : t[link_type]); in hci_link2str() 59 return (type >= SIZE(t)? "?" : t[type]); in hci_pin2str() 72 return (scan >= SIZE(t)? "?" : t[scan]); in hci_scan2str() 91 return (encrypt >= SIZE(t1)? "?" : t1[encrypt]); in hci_encrypt2str() 93 return (encrypt >= SIZE(t)? "?" : t[encrypt]); in hci_encrypt2str() 106 return (coding >= SIZE(t)? "?" : t[coding]); in hci_coding2str() 119 return (data >= SIZE(t)? "?" : t[data]); in hci_vdata2str() 135 for (n = 0; n < SIZE(t); n++) { in hci_hmode2str() 163 return (ver >= SIZE(t)? "?" : t[ver]); in hci_ver2str() [all …]
|
| /NextBSD/contrib/netbsd-tests/lib/libc/locale/ |
| HD | t_mbstowcs.c | 73 #define SIZE 256 macro 148 wchar_t wbuf[SIZE]; in ATF_TC_BODY() 149 char buf[SIZE]; in ATF_TC_BODY() 150 char visbuf[SIZE]; in ATF_TC_BODY() 170 REQUIRE_ERRNO((ssize_t)mbstowcs(wbuf, t->data, SIZE-1), -1); in ATF_TC_BODY() 171 REQUIRE_ERRNO((ssize_t)wcstombs(buf, wbuf, SIZE-1), -1); in ATF_TC_BODY() 195 if (wcswidth(wbuf, SIZE-1) != t->width) { in ATF_TC_BODY() 198 (void)printf(" got : %d\n", wcswidth(wbuf, SIZE-1)); in ATF_TC_BODY()
|
| /NextBSD/contrib/gcc/config/s390/ |
| HD | s390.h | 138 #define OPTIMIZATION_OPTIONS(LEVEL, SIZE) optimization_options(LEVEL, SIZE) argument 600 #define RETURN_POPS_ARGS(FUNDECL, FUNTYPE, SIZE) 0 argument 785 #define MOVE_BY_PIECES_P(SIZE, ALIGN) \ argument 786 ( (SIZE) == 1 || (SIZE) == 2 || (SIZE) == 4 \ 787 || (TARGET_64BIT && (SIZE) == 8) ) 790 #define CLEAR_BY_PIECES_P(SIZE, ALIGN) \ argument 791 ( (SIZE) == 1 || (SIZE) == 2 || (SIZE) == 4 \ 792 || (TARGET_64BIT && (SIZE) == 8) ) 797 #define STORE_BY_PIECES_P(SIZE, ALIGN) MOVE_BY_PIECES_P (SIZE, ALIGN) argument 842 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument [all …]
|
| /NextBSD/contrib/netbsd-tests/lib/libc/gen/ |
| HD | t_vis.c | 56 #define SIZE 256 macro 70 ATF_REQUIRE((dstbuf = malloc(SIZE)) != NULL); in ATF_TC_BODY() 71 ATF_REQUIRE((srcbuf = malloc(SIZE)) != NULL); in ATF_TC_BODY() 72 ATF_REQUIRE((visbuf = malloc(SIZE * 4 + 1)) != NULL); in ATF_TC_BODY() 74 for (i = 0; i < SIZE; i++) in ATF_TC_BODY() 78 ATF_REQUIRE(strsvisx(visbuf, srcbuf, SIZE, styles[i], "") > 0); in ATF_TC_BODY() 79 memset(dstbuf, 0, SIZE); in ATF_TC_BODY() 82 for (j = 0; j < SIZE; j++) in ATF_TC_BODY()
|
| /NextBSD/contrib/gcc/config/arm/ |
| HD | unknown-elf.h | 57 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 69 ASM_OUTPUT_SKIP (FILE, SIZE ? (int)(SIZE) : 1); \ 74 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \ argument 84 fprintf (FILE, "\t.space\t%d\n", SIZE ? (int)(SIZE) : 1); \
|
| HD | aout.h | 257 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ argument 263 (int)(ROUNDED), (int)(SIZE)); \ 273 #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ argument 279 fprintf (STREAM, "\t.space\t%d\n", (int)(SIZE)); \ 286 #define ASM_OUTPUT_ALIGNED_BSS(STREAM, DECL, NAME, SIZE, ALIGN) \ argument 287 asm_output_aligned_bss (STREAM, DECL, NAME, SIZE, ALIGN)
|
| /NextBSD/contrib/gcc/config/rs6000/ |
| HD | xcoff.h | 227 #define ASM_OUTPUT_SKIP(FILE,SIZE) \ argument 228 fprintf (FILE, "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n", SKIP_ASM_OP, (SIZE)) 235 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument 239 fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", (SIZE), \ 241 else if ((SIZE) > 4) \ 242 fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",3\n", (SIZE)); \ 244 fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)); \ 255 #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ argument 259 (TARGET_32BIT ? (SIZE) : (ROUNDED)), \
|
| /NextBSD/contrib/one-true-awk/ |
| HD | maketab.c | 109 #define SIZE (LASTTOKEN - FIRSTTOKEN + 1) macro 110 const char *table[SIZE]; 111 char *names[SIZE]; 124 for (i = SIZE; --i >= 0; ) in main() 131 printf("static char *printname[%d] = {\n", SIZE); in main() 150 printf("\nCell *(*proctab[%d])(Node **, int) = {\n", SIZE); in main() 151 for (i=0; i<SIZE; i++) in main()
|
| /NextBSD/contrib/gcc/config/i386/ |
| HD | bsd.h | 48 #define ASM_OUTPUT_SKIP(FILE,SIZE) \ argument 49 fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) 56 #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ argument 64 #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ argument
|
| HD | att.h | 36 #define ASM_OUTPUT_ASCII(FILE, PTR, SIZE) \ argument 38 { size_t i = 0, limit = (SIZE); \ 60 #define ASM_OUTPUT_SKIP(FILE,SIZE) \ argument 61 fprintf ((FILE), "\t.set .,.+%u\n", (int)(SIZE))
|
| HD | x86-64.h | 57 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 58 x86_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) 61 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument 62 x86_elf_aligned_common (FILE, NAME, SIZE, ALIGN);
|
| HD | cygming.h | 40 #define ASM_OUTPUT_DWARF_OFFSET(FILE, SIZE, LABEL, SECTION) \ argument 42 if (SIZE != 4) \ 164 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ argument 173 (int)(ROUNDED), ASM_COMMENT_START, (int)(SIZE)); \ 255 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 256 asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
|
| HD | sysv4.h | 99 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 100 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) 104 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ argument 106 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
|
| HD | linux.h | 131 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 132 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) 152 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ argument 154 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
|
| HD | sco5.h | 56 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument 57 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) 281 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ argument 283 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
|
| HD | darwin.h | 159 #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ argument 167 #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ argument 222 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ argument 225 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_pcrel) \
|
| /NextBSD/usr.bin/usbhidaction/ |
| HD | usbhidaction.c | 69 #define SIZE 4000 macro 280 char buf[SIZE], name[SIZE], value[SIZE], debounce[SIZE], action[SIZE]; in parse_conf() 281 char usbuf[SIZE], coll[SIZE], *tmp; in parse_conf() 466 char cmdbuf[SIZE], *p, *q; in docmd() 470 for (p = cmd->action, q = cmdbuf; *p && q < &cmdbuf[SIZE-1]; ) { in docmd() 473 len = &cmdbuf[SIZE-1] - q; in docmd()
|
| /NextBSD/contrib/gcc/config/ |
| HD | darwin.h | 517 #define ASM_OUTPUT_SKIP(FILE,SIZE) \ argument 518 fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", SIZE) 577 #define ASM_DECLARE_CONSTANT_NAME(FILE, NAME, EXP, SIZE) \ argument 582 if ((SIZE) == 0) \ 643 #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \ argument 645 unsigned HOST_WIDE_INT _new_size = SIZE; \ 844 #define ASM_OUTPUT_DWARF_DELTA(FILE,SIZE,LABEL1,LABEL2) \ argument 845 darwin_asm_output_dwarf_delta (FILE, SIZE, LABEL1, LABEL2) 847 #define ASM_OUTPUT_DWARF_OFFSET(FILE,SIZE,LABEL,BASE) \ argument 848 darwin_asm_output_dwarf_offset (FILE, SIZE, LABEL, BASE) [all …]
|
| HD | elfos.h | 101 #define ASM_OUTPUT_SKIP(FILE, SIZE) \ argument 103 SKIP_ASM_OP, (SIZE)) 161 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument 167 (SIZE), (ALIGN) / BITS_PER_UNIT); \ 179 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ argument 185 ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \
|
| /NextBSD/sys/netgraph/atm/sscfu/ |
| HD | ng_sscfu_cust.h | 53 #define MEMZALLOC(PTR, CAST, SIZE) \ argument 54 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU, M_NOWAIT | M_ZERO)) 70 #define MEMZALLOC(PTR, CAST, SIZE) \ argument 71 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU_INS, M_NOWAIT | M_ZERO))
|
| /NextBSD/crypto/heimdal/lib/asn1/ |
| HD | test.asn1 | 96 TESTSeqSizeOf1 ::= SEQUENCE SIZE (2) OF TESTInteger 97 TESTSeqSizeOf2 ::= SEQUENCE SIZE (1..2) OF TESTInteger 98 TESTSeqSizeOf3 ::= SEQUENCE SIZE (1..MAX) OF TESTInteger 99 TESTSeqSizeOf4 ::= SEQUENCE SIZE (MIN..2) OF TESTInteger 101 TESTOSSize1 ::= OCTET STRING SIZE (1..2)
|
| /NextBSD/tools/tools/nanobsd/gateworks/ |
| HD | common | 293 SIZE=`awk '/^p 1/ { print $5 "b" }' ${FDISK}` 294 pprint 2 "${NANO_MAKEFS} -s ${SIZE} ${IMG1} ${NANO_WORLDDIR}" 295 ${NANO_MAKEFS} -s ${SIZE} ${IMG1} ${NANO_WORLDDIR} 307 SIZE=`awk '/^p 2/ { print $5 "b" }' ${FDISK}` 308 pprint 2 "${NANO_MAKEFS} -s ${SIZE} ${IMG2} ${NANO_WORLDDIR}" 309 ${NANO_MAKEFS} -s ${SIZE} ${IMG2} ${NANO_WORLDDIR} 317 SIZE=`awk '/^p 3/ { print $5 "b" }' ${FDISK}` 319 pprint 2 "${NANO_MAKEFS} -s ${SIZE} ${CFG} ${NANO_CFGDIR}" 320 ${NANO_MAKEFS} -s ${SIZE} ${CFG} ${NANO_CFGDIR} 330 SIZE=`awk '/^p 4/ { print $5 "b" }' ${FDISK}` [all …]
|
| /NextBSD/usr.sbin/pc-sysinstall/backend/ |
| HD | functions.sh | 215 SIZE=$(( `fetch -s "${FETCHFILE}"` / 1024 )) 229 if [ $SIZE -lt $DSIZE ] ; then DSIZE="$SIZE"; fi 230 echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}" 231 echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}" >>${LOGOUT}
|
| /NextBSD/contrib/gcc/ |
| HD | expr.h | 153 #define ARGS_SIZE_TREE(SIZE) \ argument 154 ((SIZE).var == 0 ? ssize_int ((SIZE).constant) \ 155 : size_binop (PLUS_EXPR, fold_convert (ssizetype, (SIZE).var), \ 156 ssize_int ((SIZE).constant))) 159 #define ARGS_SIZE_RTX(SIZE) \ argument 160 ((SIZE).var == 0 ? GEN_INT ((SIZE).constant) \ 161 : expand_normal (ARGS_SIZE_TREE (SIZE)))
|
| /NextBSD/contrib/ngatm/libngatm/ |
| HD | sscfucust.h | 50 #define MEMZALLOC(PTR,CAST,SIZE) do { \ argument 51 void *_m = malloc(SIZE); \ 53 bzero(_m, SIZE); \
|