Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/freebsd/tests/sys/kern/
H A Dsysctl_kern_proc.c35 size_t sz; in sysctl_kern_proc_all() local
37 sz = sizeof(pid_max); in sysctl_kern_proc_all()
47 buf = malloc(sz); in sysctl_kern_proc_all()
67 size_t sz; in ATF_TC_BODY() local
79 sz = 0; in ATF_TC_BODY()
83 sz = sizeof(kfile); in ATF_TC_BODY()
113 sz = sizeof(pkfile); in ATF_TC_BODY()
129 sz--; in ATF_TC_BODY()
144 size_t sz, sz1; in ATF_TC_BODY() local
153 sz = 0; in ATF_TC_BODY()
[all …]
/freebsd/contrib/mandoc/
H A Dmandoc.c44 switch (sz) { in mandoc_font()
128 *sz = 0; in mandoc_escape()
139 *sz = 2; in mandoc_escape()
223 *sz = 2; in mandoc_escape()
248 *sz = 1; in mandoc_escape()
315 *sz = 1; in mandoc_escape()
339 *sz = 2; in mandoc_escape()
356 *sz = 1; in mandoc_escape()
382 *sz = 1; in mandoc_escape()
432 if (*sz < 6 || *sz > 7 || in mandoc_escape()
[all …]
H A Dpreconv.c115 size_t sz, phsz; in preconv_cue() local
118 sz = b->sz - offset; in preconv_cue()
123 eoln = ln + sz; in preconv_cue()
134 sz -= 10; in preconv_cue()
136 while (sz > 0) { in preconv_cue()
139 sz--; in preconv_cue()
141 if (0 == sz) in preconv_cue()
155 sz -= phsz; in preconv_cue()
160 sz -= 7; in preconv_cue()
165 sz--; in preconv_cue()
[all …]
/freebsd/stand/efi/libefi/
H A Defichar.c87 size_t len, sz; in ucs2_to_utf8() local
104 if (len++ < sz) in ucs2_to_utf8()
106 if (len++ < sz) in ucs2_to_utf8()
108 if (len++ < sz) in ucs2_to_utf8()
121 if (len >= sz) { in ucs2_to_utf8()
138 size_t sz; in utf8_to_ucs2() local
149 *len = sz; in utf8_to_ucs2()
188 sz -= 2; in utf8_to_ucs2()
191 if (sz < 2) { in utf8_to_ucs2()
198 sz -= 2; in utf8_to_ucs2()
[all …]
/freebsd/usr.bin/mkimg/
H A Dimage.c216 size_t sz; in image_chunk_skipto() local
231 sz = image_chunk_grow(ch, sz); in image_chunk_skipto()
232 if (sz == 0) in image_chunk_skipto()
258 sz = image_chunk_grow(ch, sz); in image_chunk_append()
286 sz = (sz + secsz - 1) & ~(secsz - 1); in image_chunk_copyin()
315 sz += x; in image_file_map()
325 sz = (sz + unit - 1) & ~(unit - 1); in image_file_map()
336 sz = (sz + unit - 1) & ~(unit - 1); in image_file_unmap()
547 size_t sz; in image_copyout_zeroes() local
594 size -= sz; in image_copyout_file()
[all …]
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_dh.c16 # define FFDHE(sz, keylength) { \ argument
17 SN_ffdhe##sz, NID_ffdhe##sz, \
18 sz, \
20 &ossl_bignum_ffdhe##sz##_p, &ossl_bignum_ffdhe##sz##_q, \
24 # define MODP(sz, keylength) { \ argument
25 SN_modp_##sz, NID_modp_##sz, \
26 sz, \
28 &ossl_bignum_modp_##sz##_p, &ossl_bignum_modp_##sz##_q, \
42 # define FFDHE(sz, keylength) { SN_ffdhe##sz, NID_ffdhe##sz } argument
43 # define MODP(sz, keylength) { SN_modp_##sz, NID_modp_##sz } argument
[all …]
/freebsd/sys/dev/vnic/
H A Dthunder_bgx_fdt.c87 ssize_t sz; in bgx_fdt_phy_mode_match() local
94 offset = size - sz; in bgx_fdt_phy_mode_match()
99 offset = size - sz; in bgx_fdt_phy_mode_match()
106 offset = size - sz; in bgx_fdt_phy_mode_match()
111 offset = size - sz; in bgx_fdt_phy_mode_match()
115 sz = sizeof("xfi"); in bgx_fdt_phy_mode_match()
116 offset = size - sz; in bgx_fdt_phy_mode_match()
121 offset = size - sz; in bgx_fdt_phy_mode_match()
150 ssize_t sz; in bgx_fdt_phy_name_match() local
161 if (sz < size) in bgx_fdt_phy_name_match()
[all …]
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c571 if (sizeof(*qctrl) != sz) { in audit_get_qctrl()
610 if (sizeof(*qctrl) != sz) { in audit_set_qctrl()
655 if (sizeof(*aia) != sz) { in audit_get_kaudit()
667 if (sizeof(*aia) != sz) { in audit_set_kaudit()
726 if (sizeof(*kmask) != sz) { in audit_get_kmask()
737 if (sizeof(*kmask) != sz) { in audit_set_kmask()
749 if (sizeof(*fstat) != sz) { in audit_get_fsize()
773 if (sizeof(*api) != sz) { in audit_set_pmask()
785 if (sizeof(*api) != sz) { in audit_get_pinfo()
797 if (sizeof(*apia) != sz) { in audit_get_pinfo_addr()
[all …]
/freebsd/tests/sys/vm/
H A Dpage_fault_signal.c71 int sz; in ATF_TC_BODY() local
73 sz = getpagesize(); in ATF_TC_BODY()
76 r = munmap(p, sz); in ATF_TC_BODY()
90 int sz; in ATF_TC_BODY() local
92 sz = getpagesize(); in ATF_TC_BODY()
108 int sz; in ATF_TC_BODY() local
110 sz = getpagesize(); in ATF_TC_BODY()
127 int sz; in ATF_TC_BODY() local
129 sz = getpagesize(); in ATF_TC_BODY()
150 int sz; in ATF_TC_BODY() local
[all …]
/freebsd/lib/libc/db/btree/
H A Dbt_overflow.c79 u_int32_t sz; in __ovfl_get() local
83 *ssz = sz; in __ovfl_get()
90 if (*bufsz < sz) { in __ovfl_get()
94 *bufsz = sz; in __ovfl_get()
106 nb = MIN(sz, plen); in __ovfl_get()
110 if ((sz -= nb) == 0) in __ovfl_get()
134 u_int32_t sz; in __ovfl_put() local
151 nb = MIN(sz, plen); in __ovfl_put()
160 if ((sz -= nb) == 0) { in __ovfl_put()
184 u_int32_t sz; in __ovfl_delete() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cpp184 sz > max_user_defined_malloc_size) { in user_alloc_internal()
204 ReportOutOfMemory(sz, &stack); in user_alloc_internal()
207 OnUserAlloc(thr, pc, (uptr)p, sz, true); in user_alloc_internal()
255 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc()
264 MemoryResetRange(thr, pc, (uptr)p, sz); in OnUserAlloc()
279 MemoryRangeFreed(thr, pc, (uptr)p, sz); in OnUserFree()
287 if (!sz) { in user_realloc()
312 uptr sz) { in user_posix_memalign() argument
350 ReportPvallocOverflow(sz, &stack); in user_pvalloc()
353 sz = sz ? RoundUpTo(sz, PageSize) : PageSize; in user_pvalloc()
[all …]
H A Dtsan_sync.cpp50 b->siz = sz; in AllocBlock()
65 return sz; in FreeBlock()
127 sz -= diff; in ResetRange()
129 diff = p + sz - RoundDown(p + sz, kPageSize); in ResetRange()
132 sz -= diff; in ResetRange()
135 CHECK_GT(sz, 0); in ResetRange()
137 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
139 const uptr sz0 = sz; in ResetRange()
144 sz -= kPageSize; in ResetRange()
151 sz -= kPageSize; in ResetRange()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Dmm-internal.h47 void *event_mm_malloc_(size_t sz);
72 void *event_mm_realloc_(void *p, size_t sz);
75 #define mm_malloc(sz) event_mm_malloc_(sz) argument
78 #define mm_realloc(p, sz) event_mm_realloc_((p), (sz)) argument
81 #define mm_malloc(sz) malloc(sz)
82 #define mm_calloc(n, sz) calloc((n), (sz))
84 #define mm_realloc(p, sz) realloc((p), (sz))
/freebsd/contrib/libevent/
H A Dmm-internal.h47 void *event_mm_malloc_(size_t sz);
72 void *event_mm_realloc_(void *p, size_t sz);
75 #define mm_malloc(sz) event_mm_malloc_(sz) argument
78 #define mm_realloc(p, sz) event_mm_realloc_((p), (sz)) argument
81 #define mm_malloc(sz) malloc(sz)
82 #define mm_calloc(n, sz) calloc((n), (sz))
84 #define mm_realloc(p, sz) realloc((p), (sz))
/freebsd/lib/libc/iconv/
H A Dcitrus_memstream.h70 void *ptr, size_t sz) in _citrus_memory_stream_bind_ptr() argument
95 size_t sz; in _citrus_memory_stream_remainder() local
98 if (ms->ms_pos>sz) in _citrus_memory_stream_remainder()
100 return (sz-ms->ms_pos); in _citrus_memory_stream_remainder()
106 size_t sz; in _citrus_memory_stream_seek() local
112 if (pos >= sz) in _citrus_memory_stream_seek()
118 if (pos >= sz) in _citrus_memory_stream_seek()
123 if (sz < pos) in _citrus_memory_stream_seek()
125 ms->ms_pos = sz - pos; in _citrus_memory_stream_seek()
167 ms->ms_pos += sz; in _citrus_memory_stream_getregion()
[all …]
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c31 size_t sz; in sshbuf_misc_tests() local
42 sz = fread(tmp, 1, sizeof(tmp), out); in sshbuf_misc_tests()
45 ASSERT_SIZE_T_GT(sz, 0); in sshbuf_misc_tests()
46 tmp[sz] = '\0'; in sshbuf_misc_tests()
191 ASSERT_SIZE_T_EQ(sz, 0); in sshbuf_misc_tests()
194 ASSERT_SIZE_T_EQ(sz, 0); in sshbuf_misc_tests()
198 ASSERT_SIZE_T_EQ(sz, 10); in sshbuf_misc_tests()
200 ASSERT_SIZE_T_EQ(sz, 23); in sshbuf_misc_tests()
202 ASSERT_SIZE_T_EQ(sz, 28); in sshbuf_misc_tests()
204 ASSERT_SIZE_T_EQ(sz, 28); in sshbuf_misc_tests()
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_sections.c47 Dwarf_Unsigned sz; in dwarf_get_section_max_offsets_b() local
70 SET(debug_info, sz); in dwarf_get_section_max_offsets_b()
72 SET(debug_abbrev, sz); in dwarf_get_section_max_offsets_b()
74 SET(debug_line, sz); in dwarf_get_section_max_offsets_b()
76 SET(debug_loc, sz); in dwarf_get_section_max_offsets_b()
78 SET(debug_aranges, sz); in dwarf_get_section_max_offsets_b()
80 SET(debug_macinfo, sz); in dwarf_get_section_max_offsets_b()
84 SET(debug_str, sz); in dwarf_get_section_max_offsets_b()
86 SET(debug_frame, sz); in dwarf_get_section_max_offsets_b()
88 SET(debug_ranges, sz); in dwarf_get_section_max_offsets_b()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_ar_util.c52 e = s + sz; in _libelf_ar_get_number()
231 size_t sz; in _libelf_ar_open() local
279 if (sz == 0) in _libelf_ar_open()
298 sz = LIBELF_ADJUST_AR_SIZE(sz); in _libelf_ar_open()
299 s += sz; in _libelf_ar_open()
307 sz = LIBELF_ADJUST_AR_SIZE(sz); in _libelf_ar_open()
308 s += sz; in _libelf_ar_open()
327 sz = LIBELF_ADJUST_AR_SIZE(sz); in _libelf_ar_open()
328 s += sz; in _libelf_ar_open()
340 sz = LIBELF_ADJUST_AR_SIZE(sz); in _libelf_ar_open()
[all …]
/freebsd/sys/contrib/openzfs/module/unicode/
H A Du8_textprep.c344 int sz; in u8_validate() local
699 if (sz == 1 || sz > 4) in combining_class()
1396 int sz; in collect_a_seq() local
1468 s += sz; in collect_a_seq()
1469 sz = i; in collect_a_seq()
1509 i += sz; in collect_a_seq()
1624 l = sz; in collect_a_seq()
1646 sz = i; in collect_a_seq()
1925 int sz; in u8_textprep_str() local
2002 sz = 1; in u8_textprep_str()
[all …]
/freebsd/sys/compat/linux/
H A Dlinux_util.c157 size_t sz; in linux_driver_get_major_minor() local
162 sz = sizeof("pts/") - 1; in linux_driver_get_major_minor()
163 if (strncmp(node, "pts/", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor()
175 sz = sizeof("dri/card") - 1; in linux_driver_get_major_minor()
176 if (strncmp(node, "dri/card", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor()
182 sz = sizeof("dri/controlD") - 1; in linux_driver_get_major_minor()
183 if (strncmp(node, "dri/controlD", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor()
189 sz = sizeof("dri/renderD") - 1; in linux_driver_get_major_minor()
190 if (strncmp(node, "dri/renderD", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor()
196 sz = sizeof("drm/") - 1; in linux_driver_get_major_minor()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.d.out1 [0] sz 445.890000 odd false even true
2 [1] sz 793.684200 odd true even false
3 [2] sz 1412.757876 odd false even true
4 [3] sz 2514.709019 odd true even false
5 [4] sz 4476.182054 odd false even true
6 [5] sz 7967.604057 odd true even false
7 [6] sz 14182.335221 odd false even true
8 [8] sz 44935.310914 odd false even true
9 [9] sz 79984.853427 odd true even false
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvmem.h90 #define vmem_alloc(sz, fl) spl_vmem_alloc((sz), (fl), __func__, __LINE__) argument
91 #define vmem_zalloc(sz, fl) spl_vmem_zalloc((sz), (fl), __func__, __LINE__) argument
92 #define vmem_free(ptr, sz) spl_vmem_free((ptr), (sz)) argument
94 extern void *spl_vmem_alloc(size_t sz, int fl, const char *func, int line)
96 extern void *spl_vmem_zalloc(size_t sz, int fl, const char *func, int line)
98 extern void spl_vmem_free(const void *ptr, size_t sz);
/freebsd/contrib/elftoolchain/elfcopy/
H A Dascii.c61 size_t sz);
207 size_t sz; in create_elf_from_srec() local
254 sz = 0; in create_elf_from_srec()
477 size_t sz; in create_elf_from_ihex() local
677 while (sz + s->sz > s->cap) { in append_data()
684 memcpy(&p[s->sz], buf, sz); in append_data()
685 s->sz += sz; in append_data()
732 *sz = 0; in srec_read()
902 *sz = 0; in ihex_read()
1016 for (; sz > 0; sz--) { in read_num()
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha512p8-ppc.pl75 $sz="d";
80 $sz="w";
135 vaddu${sz}m $d,$d,$h ; d+=h
253 vaddu${sz}m $A,$A,@X[2]
255 vaddu${sz}m $B,$B,@X[3]
257 vaddu${sz}m $C,$C,@X[4]
259 vaddu${sz}m $D,$D,@X[5]
261 vaddu${sz}m $E,$E,@X[6]
263 vaddu${sz}m $F,$F,@X[7]
265 vaddu${sz}m $G,$G,@X[8]
[all …]
/freebsd/stand/efi/include/
H A Defichar.h41 #define EFICHAR_MALLOC(sz) malloc((sz), M_TEMP, M_WAITOK | M_ZERO) argument
42 #define EFICHAR_FREE(sz) free((sz), M_TEMP) argument
44 #define EFICHAR_MALLOC(sz) malloc(sz) argument
45 #define EFICHAR_FREE(sz) free(sz) argument

12345678910>>...34