Searched refs:sz (Results 251 - 275 of 703) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/sys/mips/mips/
H A Dminidump_machdep.c144 write_buffer(struct dumperinfo *di, char *ptr, size_t sz) argument
157 while (sz) {
158 len = min(maxdumpsz, sz);
174 sz -= len;
/freebsd-12-stable/tools/bus_space/
H A Dbus.c175 bs_subregion(int rid0, long ofs, long sz) argument
185 if (ofs < 0 || sz < 1) {
189 if (ofs + sz > r->size) {
206 r->size = sz;
/freebsd-12-stable/sys/arm64/include/
H A Dbus.h266 #define __bs_rs(sz, t, h, o) \
267 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
268 #define __bs_ws(sz, t, h, o, v) \
269 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
270 #define __bs_nonsingle(type, sz, t, h, o, a, c) \
271 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
272 #define __bs_set(type, sz, t, h, o, v, c) \
273 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
274 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
275 (*(t)->__bs_opname(c,sz))((
[all...]
/freebsd-12-stable/crypto/openssl/crypto/rand/
H A Drandfile.c272 int sz; local
276 && (sz = WideCharToMultiByte(CP_UTF8, 0, val, -1, NULL, 0,
278 s = _alloca(sz);
279 if (WideCharToMultiByte(CP_UTF8, 0, val, -1, s, sz,
/freebsd-12-stable/crypto/openssl/include/internal/
H A Ddso.h137 * 'addr' into 'sz' large caller-provided 'path' and returns the number of
138 * characters [including trailing zero] written to it. If 'sz' is 0 or
144 int DSO_pathbyaddr(void *addr, char *path, int sz);
/freebsd-12-stable/crypto/openssh/
H A Dsftp-common.c217 int ulen, glen, sz = 0; local
240 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime);
242 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime);
244 if (sz == 0)
/freebsd-12-stable/usr.bin/sort/
H A Dfile.h71 size_t sz; member in struct:file_list
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
H A Dsorts.c385 apr_size_t sz = array->elt_size;
386 char *tmp = apr_palloc(scratch_pool, sz);
391 char *x = array->elts + (sz * i);
392 char *y = array->elts + (sz * swap_index);
394 memcpy(tmp, x, sz);
395 memcpy(x, y, sz);
396 memcpy(y, tmp, sz);
383 apr_size_t sz = array->elt_size; local
/freebsd-12-stable/contrib/elftoolchain/libpe/
H A Dlibpe_section.c192 size_t sz; local
234 sz = le32dec(tmp);
240 if (sz > 4) {
241 sz -= 4;
242 if ((sb = libpe_alloc_buffer(ps, sz)) == NULL)
244 if (read(pe->pe_fd, sb->sb_pb.pb_buf, sz) !=
245 (ssize_t) sz) {
/freebsd-12-stable/sys/arm64/arm64/
H A Dminidump_machdep.c137 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
147 if ((sz % PAGE_SIZE) != 0) {
168 while (sz) {
170 if (len > sz)
171 len = sz;
186 sz -= len;
191 sz -= len;
/freebsd-12-stable/stand/efi/libefi/
H A Definet.c365 UINTN sz; local
369 sz = 0;
371 status = BS->LocateHandle(ByProtocol, &sn_guid, NULL, &sz, NULL);
373 handles = (EFI_HANDLE *)malloc(sz);
374 status = BS->LocateHandle(ByProtocol, &sn_guid, NULL, &sz,
381 handles2 = (EFI_HANDLE *)malloc(sz);
387 for (i = 0; i < sz / sizeof(EFI_HANDLE); i++) {
/freebsd-12-stable/sys/amd64/amd64/
H A Dminidump_machdep.c141 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
151 if ((sz % PAGE_SIZE) != 0) {
169 while (sz) {
171 if (len > sz)
172 len = sz;
192 sz -= len;
198 sz -= len;
/freebsd-12-stable/usr.sbin/ppp/
H A Dlcp.c460 size_t sz = strlen(lcp->want_callback.msg); local
462 if (sz > sizeof o->data - 1) {
463 sz = sizeof o->data - 1;
465 sz);
468 memcpy(o->data + 1, lcp->want_callback.msg, sz);
469 INC_FSM_OPT(TY_CALLBACK, sz + 3, o);
604 E164ok(struct callback *cb, char *req, int sz) argument
616 if (sz == len && !memcmp(list, req, sz))
667 size_t sz; local
[all...]
H A Dserver.c319 int s, sz; local
333 sz = sizeof *sin6;
342 sz = sizeof *sin;
359 if (bind(s, (struct sockaddr *)&ss, sz) < 0) {
394 int sz = sizeof un; local
396 if (getsockname(server.fd, (struct sockaddr *)&un, &sz) == 0 &&
397 un.sun_family == AF_LOCAL && sz == sizeof un)
/freebsd-12-stable/usr.bin/mkimg/
H A Dmkimg.c324 sparse_write(int fd, const void *ptr, size_t sz) argument
333 p = memchr(buf, 0, sz);
334 while (sz > 0) {
335 len = (p != NULL) ? (size_t)(p - buf) : sz;
338 if (len > sz)
339 len = sz;
344 while (len < sz && *p++ == '\0')
346 if (len < sz)
356 sz -= wr;
358 p = memchr(buf, 0, sz);
[all...]
/freebsd-12-stable/contrib/sendmail/rmail/
H A Drmail.c77 xalloc(sz)
78 register int sz;
83 if (sz <= 0)
84 sz = 1;
86 p = malloc(sz);
/freebsd-12-stable/contrib/elftoolchain/libelf/
H A Dlibelf_ar.c210 size_t nsz, sz; local
245 &sz) == 0) {
254 end += (off_t) sz;
275 sz -= nsz;
280 if ((e = elf_memory(member, sz)) == NULL)
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libnvpair/
H A Dnvpair_json.c51 size_t sz; local
56 while ((sz = mbrtowc(&c, input, MB_CUR_MAX, &mbr)) > 0) {
97 input += sz;
100 if (sz == (size_t)-1 || sz == (size_t)-2) {
/freebsd-12-stable/sys/kern/
H A Dkern_ctf.c73 size_t sz; local
228 sz = u32[CTF_HDR_STRTAB_U32] + u32[CTF_HDR_STRLEN_U32] +
241 sz = shdr[i].sh_size;
248 ctftab = malloc(sz, M_LINKER, M_WAITOK);
282 zs.avail_out = sz - sizeof(ctf_hdr);
/freebsd-12-stable/stand/userboot/test/
H A Dtest.c175 ssize_t sz; local
179 sz = read(tf->tf_u.fd, dst, size);
180 if (sz < 0)
182 *resid_return = size - sz;
337 test_setgdt(void *arg, uint64_t v, size_t sz) argument
/freebsd-12-stable/crypto/openssl/crypto/dso/
H A Ddso_dlfcn.c47 static int dlfcn_pathbyaddr(void *addr, char *path, int sz);
406 static int dlfcn_pathbyaddr(void *addr, char *path, int sz) argument
424 if (sz <= 0) {
430 if (len >= sz)
431 len = sz - 1;
/freebsd-12-stable/usr.bin/patch/
H A Dinp.c143 ptrdiff_t sz; local
234 sz = s - i_ptr[iline];
235 p = malloc(sz + 1);
244 memcpy(p, i_ptr[iline], sz);
245 p[sz] = '\n';
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c329 size_t sz, i, j, mark, len; local
345 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL)
348 if (read(fd, buf, sz) != sz)
351 buf[sz] = '\0';
359 for (mark = 0, i = 0; i < sz; i++) {
385 for (j = i; j < sz && buf[j] != '\n'; j++)
391 if ((mark = j + 1) >= sz)
397 if (mark < sz) {
398 if (write(fd, &buf[mark], sz
445 size_t sz; local
[all...]
/freebsd-12-stable/contrib/mandoc/
H A Dmdoc_argv.c343 tmpv.sz = 0;
404 if (arg->sz && arg->value) {
405 for (j = (int)arg->sz - 1; j >= 0; j--)
648 for (v->sz = 0; ; v->sz++) {
655 if (v->sz % MULTI_STEP == 0)
657 v->sz + MULTI_STEP, sizeof(char *));
661 v->value[(int)v->sz] = p;
679 v->sz = 1;
/freebsd-12-stable/sys/powerpc/ofw/
H A Dofw_machdep.c169 int sz, i, j; local
172 sz = 0;
189 if (node == -1 || (sz = OF_getencprop(node, prop,
195 while (i < sz/sizeof(cell_t)) {
225 sz = j*sizeof(output[0]);
227 return (sz);
753 bus_space_handle_t *handle, bus_size_t *sz)
773 if (sz != NULL)
774 *sz = size;
752 OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, bus_space_handle_t *handle, bus_size_t *sz) argument

Completed in 501 milliseconds

<<11121314151617181920>>