Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 25 of 211) sorted by relevance

123456789

/freebsd-12.1/usr.sbin/bluetooth/hccontrol/
H A Dutil.c40 #define SIZE(x) (sizeof((x))/sizeof((x)[0])) macro
61 return (type >= SIZE(t)? "?" : t[type]); in hci_pin2str()
74 return (scan >= SIZE(t)? "?" : t[scan]); in hci_scan2str()
121 return (data >= SIZE(t)? "?" : t[data]); in hci_vdata2str()
137 for (n = 0; n < SIZE(t); n++) { in hci_hmode2str()
165 return (ver >= SIZE(t)? "?" : t[ver]); in hci_ver2str()
183 return (ver >= SIZE(t)? "?" : t[ver]); in hci_lmpver2str()
257 return (m >= SIZE(t)? "?" : t[m]); in hci_manufacturer2str()
301 for (n = 0; n < SIZE(t); n++) { in hci_features2str()
302 for (i = 0; i < SIZE(t[n]); i++) { in hci_features2str()
[all …]
/freebsd-12.1/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.h67 #define amd_ntb_bar_read(SIZE, bar, offset) \ argument
68 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
70 #define amd_ntb_bar_write(SIZE, bar, offset, val) \ argument
71 bus_space_write_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
73 #define amd_ntb_reg_read(SIZE, offset) \ argument
74 amd_ntb_bar_read(SIZE, NTB_CONFIG_BAR, offset)
75 #define amd_ntb_reg_write(SIZE, offset, val) \ argument
76 amd_ntb_bar_write(SIZE, NTB_CONFIG_BAR, offset, val)
77 #define amd_ntb_peer_reg_read(SIZE, offset) \ argument
78 amd_ntb_bar_read(SIZE, NTB_CONFIG_BAR, offset + AMD_PEER_OFFSET)
[all …]
/freebsd-12.1/contrib/sendmail/libsm/
H A Db-strcmp.c20 #define SIZE 512 macro
56 char src1[SIZE], src2[SIZE];
87 (void) sm_strlcpy(src1, "1234567890", SIZE);
88 (void) sm_strlcpy(src2, "1234567890", SIZE);
91 (void) sm_strlcpy(src1, "1234567890", SIZE);
92 (void) sm_strlcpy(src2, "1234567891", SIZE);
95 (void) sm_strlcpy(src1, "1234567892", SIZE);
96 (void) sm_strlcpy(src2, "1234567891", SIZE);
/freebsd-12.1/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c73 #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()
/freebsd-12.1/contrib/gcc/config/s390/
H A Ds390.h138 #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
843 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
[all …]
/freebsd-12.1/contrib/gcc/config/arm/
H A Dunknown-elf.h57 #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); \
H A Daout.h257 #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)
/freebsd-12.1/contrib/gcc/config/rs6000/
H A Dxcoff.h227 #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)), \
/freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_vis.c57 #define SIZE 256 macro
71 ATF_REQUIRE((dstbuf = malloc(SIZE)) != NULL); in ATF_TC_BODY()
72 ATF_REQUIRE((srcbuf = malloc(SIZE)) != NULL); in ATF_TC_BODY()
73 ATF_REQUIRE((visbuf = malloc(SIZE * 4 + 1)) != NULL); in ATF_TC_BODY()
75 for (i = 0; i < SIZE; i++) in ATF_TC_BODY()
79 ATF_REQUIRE(strsvisx(visbuf, srcbuf, SIZE, styles[i], "") > 0); in ATF_TC_BODY()
80 memset(dstbuf, 0, SIZE); in ATF_TC_BODY()
83 for (j = 0; j < SIZE; j++) in ATF_TC_BODY()
/freebsd-12.1/contrib/one-true-awk/
H A Dmaketab.c109 #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()
/freebsd-12.1/tests/sys/cddl/zfs/tests/grow_replicas/
H A Dsetup.ksh40 partition_disk $SIZE $DISK 4
45 log_must set_partition $PARTITION "" $SIZE $DISK0
46 log_must set_partition $PARTITION "" $SIZE $DISK1
47 log_must set_partition $PARTITION "" $SIZE $DISK2
48 log_must set_partition $PARTITION "" $SIZE $DISK3
/freebsd-12.1/contrib/gcc/config/i386/
H A Dbsd.h48 #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
H A Datt.h36 #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))
H A Dx86-64.h57 #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);
H A Dcygming.h40 #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))
H A Dsysv4.h99 #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) \
H A Dlinux.h131 #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) \
H A Dsco5.h56 #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) \
/freebsd-12.1/usr.bin/usbhidaction/
H A Dusbhidaction.c71 #define SIZE 4000 macro
282 char buf[SIZE], name[SIZE], value[SIZE], debounce[SIZE], action[SIZE]; in parse_conf()
283 char usbuf[SIZE], coll[SIZE], *tmp; in parse_conf()
468 char cmdbuf[SIZE], *p, *q; in docmd()
472 for (p = cmd->action, q = cmdbuf; *p && q < &cmdbuf[SIZE-1]; ) { in docmd()
475 len = &cmdbuf[SIZE-1] - q; in docmd()
/freebsd-12.1/contrib/gcc/config/
H A Ddarwin.h517 #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 …]
H A Delfos.h101 #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); \
/freebsd-12.1/sys/netgraph/atm/sscfu/
H A Dng_sscfu_cust.h55 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
56 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU, M_NOWAIT | M_ZERO))
72 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
73 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU_INS, M_NOWAIT | M_ZERO))
/freebsd-12.1/tests/sys/cddl/zfs/tests/grow_pool/
H A Dsetup.ksh38 log_must partition_disk $SIZE $DISK 2
42 log_must set_partition $PARTITION "" $SIZE $DISK0
43 log_must set_partition $PARTITION "" $SIZE $DISK1
/freebsd-12.1/crypto/heimdal/lib/asn1/
H A Dtest.asn196 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)
/freebsd-12.1/usr.sbin/pc-sysinstall/backend/
H A Dfunctions.sh217 SIZE=$(( `fetch -s "${FETCHFILE}"` / 1024 ))
231 if [ $SIZE -lt $DSIZE ] ; then DSIZE="$SIZE"; fi
232 echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}"
233 echo "SIZE: ${SIZE} DOWNLOADED: ${DSIZE}" >>${LOGOUT}

123456789