Searched refs:sz (Results 51 - 75 of 662) sorted by relevance

1234567891011>>

/freebsd-13-stable/lib/libsecureboot/openpgp/
H A Ddecode.h30 unsigned char * mpi2bn(unsigned char **pptr, size_t *sz);
53 unsigned char * decode_mpi(unsigned char **pptr, size_t *sz);
57 unsigned char * decode_subpacket(unsigned char **pptr, int *stag, int *sz);
/freebsd-13-stable/contrib/elftoolchain/libpe/
H A Dlibpe_buffer.c38 libpe_alloc_buffer(PE_Scn *ps, size_t sz) argument
51 sb->sb_pb.pb_size = sz;
52 if (sz > 0) {
53 if ((sb->sb_pb.pb_buf = malloc(sz)) == NULL) {
111 size_t sz; local
117 sz = 0;
128 sz = roundup(sz, pb->pb_align);
130 if (pb->pb_off != (off_t) sz) {
131 pb->pb_off = sz;
[all...]
H A Dpe_symtab.c34 pe_update_symtab(PE *pe, char *symtab, size_t sz, unsigned int nsym) argument
40 if (pe == NULL || symtab == NULL || sz == 0) {
74 sh->sh_rawsize = sz;
80 sb->sb_pb.pb_size = sz;
/freebsd-13-stable/sys/mips/mips/
H A Dofw_machdep.c41 bus_space_handle_t *handle, bus_size_t *sz)
70 if (sz != NULL)
71 *sz = size;
40 OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, bus_space_handle_t *handle, bus_size_t *sz) argument
/freebsd-13-stable/sys/riscv/riscv/
H A Dofw_machdep.c42 bus_space_handle_t *handle, bus_size_t *sz)
54 if (sz != NULL)
55 *sz = size;
41 OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, bus_space_handle_t *handle, bus_size_t *sz) argument
/freebsd-13-stable/sys/arm/arm/
H A Dofw_machdep.c41 bus_space_handle_t *handle, bus_size_t *sz)
70 if (sz != NULL)
71 *sz = size;
40 OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, bus_space_handle_t *handle, bus_size_t *sz) argument
/freebsd-13-stable/sys/arm64/arm64/
H A Dofw_machdep.c42 bus_space_handle_t *handle, bus_size_t *sz)
54 if (sz != NULL)
55 *sz = size;
41 OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, bus_space_handle_t *handle, bus_size_t *sz) argument
/freebsd-13-stable/contrib/unbound/util/
H A Dtimehist.h122 * @param sz: number of items in array.
124 void timehist_export(struct timehist* hist, long long* array, size_t sz);
130 * @param sz: number of items in array.
132 void timehist_import(struct timehist* hist, long long* array, size_t sz);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_checks.h65 tag_t mem_tag, uptr ptr, uptr sz) {
71 if ((ptr & (kShadowAlignment - 1)) + sz > mem_tag)
96 uptr sz) {
97 if (sz == 0)
102 tag_t *shadow_last = (tag_t *)MemToShadow(ptr_raw + sz);
106 0x10 * (AT == AccessType::Store) + 0xf>(p, sz);
110 uptr end = p + sz;
116 0x10 * (AT == AccessType::Store) + 0xf>(p, sz);
64 PossiblyShortTagMatches( tag_t mem_tag, uptr ptr, uptr sz) argument
95 CheckAddressSized(uptr p, uptr sz) argument
/freebsd-13-stable/bin/cp/tests/
H A Dcp_test.sh32 sz=$2
34 atf_check -o inline:"$sz\n" stat -f '%z' $file
/freebsd-13-stable/sys/sys/
H A Dphysmem.h52 void physmem_hardware_region(uint64_t pa, uint64_t sz);
53 void physmem_exclude_region(vm_paddr_t pa, vm_size_t sz, uint32_t flags);
/freebsd-13-stable/sys/contrib/openzfs/module/unicode/
H A Du8_textprep.c341 int sz; local
368 sz = u8_number_of_bytes[*ib];
369 if (sz == U8_ILLEGAL_CHAR) {
374 if (sz == U8_OUT_OF_RANGE_CHAR ||
375 (validate_ucs2_range_only && sz > U8_MAX_BYTES_UCS2)) {
385 if ((ibtail - ib) < sz) {
390 if (sz == 1) {
402 for (i = 1; i < sz; i++) {
421 s1 = ib - sz;
458 do_case_conv(int uv, uchar_t *u8s, uchar_t *s, int sz, boolean_ argument
689 combining_class(size_t uv, uchar_t *s, size_t sz) argument
742 do_decomp(size_t uv, uchar_t *u8s, uchar_t *s, int sz, boolean_t canonical_decomposition, u8_normalization_states_t *state) argument
965 find_composition_start(size_t uv, uchar_t *s, size_t sz) argument
1383 int sz; local
1912 int sz; local
[all...]
/freebsd-13-stable/crypto/heimdal/appl/ftp/common/
H A Dcommon.h58 void *alloc_buffer (void *oldbuf, size_t *sz, struct stat *st);
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dprinthash.c23 size_t sz; local
40 sz = iph.iph_size * sizeof(*table);
41 table = malloc(sz);
42 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz))
/freebsd-13-stable/contrib/mandoc/
H A Dmanconf.h23 size_t sz; member in struct:manpaths
/freebsd-13-stable/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_fifo.c72 int sz = read(fd, buffer, 128); local
73 if (sz > 0)
74 (void)printf("fifo: child read '%.*s'\n", sz, buffer);
75 _exit(sz <= 0);
/freebsd-13-stable/sys/cddl/dev/dtrace/x86/
H A Dinstr_size.c106 int sz; local
120 sz = x.d86_len; /* length of the instruction */
122 sz = x.d86_memsize; /* length of memory operand */
126 return (sz);
/freebsd-13-stable/sys/xdr/
H A Dxdr_mbuf.c181 size_t sz; local
194 sz = m->m_len - xdrs->x_handy;
195 if (sz > len)
196 sz = len;
197 bcopy(mtod(m, const char *) + xdrs->x_handy, addr, sz); local
199 addr += sz;
200 xdrs->x_handy += sz;
201 len -= sz;
218 size_t sz; local
221 sz
[all...]
/freebsd-13-stable/tools/bus_space/
H A Dbus.h34 int bs_subregion(int rid0, long ofs, long sz);
/freebsd-13-stable/crypto/openssl/crypto/
H A Do_fopen.c42 int sz, len_0 = (int)strlen(filename) + 1; local
57 if ((sz = MultiByteToWideChar(CP_UTF8, (flags = MB_ERR_INVALID_CHARS),
60 (sz = MultiByteToWideChar(CP_UTF8, (flags = 0),
64 WCHAR *wfilename = _alloca(sz * sizeof(WCHAR));
67 filename, len_0, wfilename, sz) &&
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dascii.c41 static void append_data(struct section *s, const void *buf, size_t sz);
47 uint64_t *num, uint8_t *data, size_t *sz);
49 const void *buf, size_t sz);
50 static void ihex_write_00(int ofd, uint64_t addr, const void *buf, size_t sz);
56 static int read_num(const char *line, int *len, uint64_t *num, size_t sz,
59 uint8_t *data, size_t *sz);
61 size_t sz);
66 size_t sz, size_t rlen);
68 static void write_num(char *line, int *len, uint64_t num, size_t sz,
207 size_t sz; local
477 size_t sz; local
666 append_data(struct section *s, const void *buf, size_t sz) argument
689 srec_read(const char *line, char *type, uint64_t *addr, uint8_t *data, size_t *sz) argument
803 srec_write_Sd(int ofd, char dr, uint64_t addr, const void *buf, size_t sz, size_t rlen) argument
844 srec_write(int ofd, char type, uint64_t addr, const void *buf, size_t sz) argument
873 ihex_write_00(int ofd, uint64_t addr, const void *buf, size_t sz) argument
896 ihex_read(const char *line, char *type, uint64_t *addr, uint64_t *num, uint8_t *data, size_t *sz) argument
981 ihex_write(int ofd, int type, uint64_t addr, uint64_t num, const void *buf, size_t sz) argument
1011 read_num(const char *line, int *len, uint64_t *num, size_t sz, int *checksum) argument
1030 write_num(char *line, int *len, uint64_t num, size_t sz, int *checksum) argument
[all...]
/freebsd-13-stable/crypto/heimdal/lib/asn1/
H A Dhash.c46 hashtabnew(int sz, argument
53 assert(sz > 0);
55 htab = (Hashtab *) malloc(sizeof(Hashtab) + (sz - 1) * sizeof(Hashentry *));
59 for (i = 0; i < sz; ++i)
64 htab->sz = sz;
77 for (hptr = htab->tab[(*htab->hash) (ptr) % htab->sz];
115 tabptr = &htab->tab[(*htab->hash) (ptr) % htab->sz];
157 for (h = htab->tab; h < &htab->tab[htab->sz]; ++h)
H A Dcheck-common.c218 size_t sz, consumed_sz, length_sz, buf_sz; local
242 tests[i].val, &sz);
248 if (sz != tests[i].byte_len) {
251 (unsigned long)sz, (unsigned long)tests[i].byte_len);
258 if (sz != length_sz) {
260 tests[i].name, (unsigned long)length_sz, (unsigned long)sz);
271 print_bytes (buf, sz);
275 rk_dumpdata("actual", buf, sz);
282 buf2 = map_alloc(OVERRUN, buf, sz, &buf2_map);
285 ret = (*decode) (buf2, sz, dat
371 size_t sz; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem.h177 #define kmem_alloc(sz, fl) spl_kmem_alloc((sz), (fl), __func__, __LINE__)
178 #define kmem_zalloc(sz, fl) spl_kmem_zalloc((sz), (fl), __func__, __LINE__)
179 #define kmem_free(ptr, sz) spl_kmem_free((ptr), (sz))
182 extern void *spl_kmem_alloc(size_t sz, int fl, const char *func, int line);
183 extern void *spl_kmem_zalloc(size_t sz, int fl, const char *func, int line);
184 extern void spl_kmem_free(const void *ptr, size_t sz);
/freebsd-13-stable/stand/libsa/
H A Dpkgfs.c294 size_t sz; local
308 sz = 0;
310 sz = tf->tf_size - fp;
312 sz = tf->tf_cachesz - fp;
313 if (size < sz)
314 sz = size;
315 if (sz == 0)
320 memcpy(p, tf->tf_cache + fp, sz);
321 fp += sz;
322 p += sz;
350 size_t sz, res; local
514 size_t sz; local
758 size_t sz; local
[all...]

Completed in 217 milliseconds

1234567891011>>