Searched refs:sz (Results 176 - 200 of 662) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/sys/
H A Duio.h86 int copyout_map(struct thread *td, vm_offset_t *addr, size_t sz);
87 int copyout_unmap(struct thread *td, vm_offset_t addr, size_t sz);
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dget_default_principal.c111 ULONG sz = sizeof(username); local
113 if (GetUserNameEx(NameUserPrincipal, username, &sz)) {
H A Dstore_emem.c61 size_t sz, off; local
63 sz = off + size;
64 if (sz < 4096)
65 sz *= 2;
66 base = realloc(s->base, sz);
69 s->size = sz;
/freebsd-13-stable/lib/libc/stdlib/
H A Drandom.c304 size_t sz)
306 if (sz < BREAK_0)
309 if (sz < BREAK_1) {
313 } else if (sz < BREAK_2) {
317 } else if (sz < BREAK_3) {
321 } else if (sz < BREAK_4) {
303 initstate_r(struct __random_state *estate, unsigned seed, uint32_t *arg_state, size_t sz) argument
/freebsd-13-stable/contrib/mandoc/
H A Dmain.c126 size_t i, sz, ssz; local
460 argc, argv, &res, &sz))
463 if (sz == 0 && search.argmode == ARG_NAME)
465 argc, argv, &res, &sz);
479 sz + 1, sizeof(*res));
480 res[sz].file = mandoc_strdup(argv[c]);
481 res[sz].names = NULL;
482 res[sz].output = NULL;
483 res[sz].bits = 0;
484 res[sz]
1010 size_t sz; local
[all...]
H A Dman.c181 size_t sz; local
190 for (sz = 0; sz < 4 && strchr(" \t\\", buf[offs]) == NULL; sz++)
192 if (sz > 0 && sz < 4)
193 tok = roffhash_find(man->manmac, buf + ppos, sz);
H A Dmdoc.c309 size_t sz; local
317 for (sz = 0; sz < 4 && strchr(" \t\\", buf[offs]) == NULL; sz++)
319 if (sz == 2 || sz == 3)
320 tok = roffhash_find(mdoc->mdocmac, buf + sv, sz);
/freebsd-13-stable/sys/dev/vt/
H A Dvt_buf.c62 static int vtbuf_in_this_range(int begin, int test, int end, int sz);
133 int cur, sz; local
146 sz = vb->vb_history_size;
147 cur = vb->vb_roffset + vb->vb_scr_size.tp_row + sz - 1;
148 if (vtbuf_in_this_range(cur, vb->vb_mark_start.tp_row, cur + offset, sz) ||
149 vtbuf_in_this_range(cur, vb->vb_mark_end.tp_row, cur + offset, sz)) {
194 * sz - size of circular buffer when it turns over
197 vtbuf_in_this_range(int begin, int test, int end, int sz) argument
200 begin %= sz;
201 end %= sz;
215 int sc, sr, sz, ec, er, tmp; local
464 int sz; local
727 int ei, si, sz; local
752 vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz) argument
[all...]
/freebsd-13-stable/sys/powerpc/booke/
H A Dpmap.c352 vm_size_t sz, vm_memattr_t mode);
631 vm_paddr_t s, e, sz; local
692 sz = 0;
694 sz += mp->mr_size;
696 sz = (round_page(sz) / (PAGE_SIZE + sizeof(struct vm_page)));
697 data_end += round_page(sz * sizeof(struct vm_page));
764 sz = 0;
794 sz = e - s;
796 (uintmax_t)s, (uintmax_t)e, (uintmax_t)sz);
2047 mmu_booke_dumpsys_map(vm_paddr_t pa, size_t sz, void **va) argument
2073 mmu_booke_dumpsys_unmap(vm_paddr_t pa, size_t sz, void *va) argument
2211 vm_size_t sz; local
2353 mmu_booke_change_attr(vm_offset_t addr, vm_size_t sz, vm_memattr_t mode) argument
2756 vm_size_t mapped, sz, ssize; local
2881 vm_offset_t va, sz; local
[all...]
/freebsd-13-stable/sbin/ipfw/
H A Dnptv6.c306 size_t sz; local
308 sz = sizeof(*oh) + sizeof(*oc) + sizeof(*stats);
309 oh = calloc(1, sz);
311 if (do_get3(IP_FW_NPTV6_STATS, &oh->opheader, &sz) == 0) {
421 size_t sz; local
426 sz = sizeof(*olh) + 16 * sizeof(*cfg);
428 if ((olh = calloc(1, sz)) == NULL)
431 olh->size = sz;
432 if (do_get3(IP_FW_NPTV6_LIST, &olh->opheader, &sz) != 0) {
433 sz
[all...]
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dsections.c54 static void print_data(const char *d, size_t sz);
355 s->sz = gelf_fsize(ecp->eout, ELF_T_EHDR, 1, EV_CURRENT) +
411 s->sz = ish.sh_size;
557 shtab->sz = gelf_fsize(ecp->eout, ELF_T_SHDR, nsecs + 1, EV_CURRENT);
558 if (shtab->sz == 0)
664 s->sz = ish.sh_size;
678 s->sz -= 4;
813 s->sz = gelf_fsize(ecp->eout, (s->type == SHT_REL ? ELF_T_REL :
839 if (s->sz == 0)
877 od->d_off = s->sz;
1099 print_data(const char *d, size_t sz) argument
1139 size_t sz; local
1502 size_t sz; local
[all...]
H A Dsymbols.c64 size_t sz; /* entries */ member in struct:strimpl
417 st_buf->l.sz = 1; /* '\0' at start. */
418 st_buf->g.sz = 0;
420 ecp->symtab->sz = 0;
421 ecp->strtab->sz = 0;
650 st_buf->l.sz;
653 st_buf->l.sz;
841 st_buf->l.sz = 1; /* '\0' at start. */
842 st_buf->g.sz = 0;
844 ecp->symtab->sz
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/go/
H A Dtsan_go.cpp30 void *internal_alloc(MBlockType typ, uptr sz) { argument
31 return InternalAlloc(sz);
212 void __tsan_malloc(ThreadState *thr, uptr pc, uptr p, uptr sz) { argument
215 ctx->metamap.AllocBlock(thr, pc, p, sz);
216 MemoryResetRange(0, 0, (uptr)p, sz);
219 void __tsan_free(uptr p, uptr sz) { argument
220 ctx->metamap.FreeRange(get_cur_proc(), p, sz); local
/freebsd-13-stable/contrib/flex/src/
H A Dtables.c146 int sz, rv;
162 sz = (int) strlen (th->th_version) + 1;
163 if ((rv = yytbl_writen (wr, th->th_version, sz)) != sz)
167 sz = (int) strlen (th->th_name) + 1;
168 if ((rv = yytbl_writen (wr, th->th_name, sz)) != sz)
145 int sz, rv; local
/freebsd-13-stable/sys/i386/i386/
H A Dminidump_machdep_base.c96 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
106 if ((sz % PAGE_SIZE) != 0) {
124 while (sz) {
126 if (len > sz)
127 len = sz;
142 sz -= len;
148 sz -= len;
/freebsd-13-stable/sys/riscv/riscv/
H A Dminidump_machdep.c140 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
150 if ((sz % PAGE_SIZE) != 0) {
171 while (sz) {
173 if (len > sz)
174 len = sz;
189 sz -= len;
194 sz -= len;
/freebsd-13-stable/sys/arm/arm/
H A Dminidump_machdep.c99 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
114 if ((sz % PAGE_SIZE) != 0) {
129 while (sz) {
131 if (len > sz)
132 len = sz;
148 sz -= len;
155 sz -= len;
/freebsd-13-stable/sys/arm64/arm64/
H A Dminidump_machdep.c133 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
143 if ((sz % PAGE_SIZE) != 0) {
164 while (sz) {
166 if (len > sz)
167 len = sz;
182 sz -= len;
187 sz -= len;
/freebsd-13-stable/stand/efi/loader/
H A Dmain.c110 UINTN sz; local
117 sz = 0;
119 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0);
121 hin = (EFI_HANDLE *)malloc(sz);
122 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz,
136 hin_end = &hin[sz / sizeof(*hin)];
728 size_t sz; local
736 sz = sizeof(buf);
737 rv = efi_global_getenv("ConOut", buf, &sz);
739 rv = efi_global_getenv("ConOutDev", buf, &sz);
900 size_t sz, bosz = 0, bisz = 0; local
1231 UINTN sz; local
[all...]
/freebsd-13-stable/usr.sbin/binmiscctl/
H A Dbinmiscctl.c285 int sz; local
352 sz = strlit2bin_cpy(xbe->xbe_magic, magic, IBE_MAGIC_MAX);
354 if (sz == -1 || (uint32_t)sz != xbe->xbe_msize) {
360 sz = strlit2bin_cpy(xbe->xbe_mask, mask, IBE_MAGIC_MAX);
362 if (sz == -1 || (uint32_t)sz != xbe->xbe_msize)
/freebsd-13-stable/usr.bin/jot/
H A Djot.c418 size_t sz; local
429 sz = sizeof(format) - strlen(format) - 1;
431 if (snprintf(p, sz, "%%.%df", prec) >= (int)sz)
434 if (strlcpy(p, "%c", sz) >= sz)
438 if (sz <= 0)
/freebsd-13-stable/contrib/libedit/
H A Dchared.c482 size_t sz, newsz; local
485 sz = (size_t)(el->el_line.limit - el->el_line.buffer + EL_LEAVE);
486 newsz = sz * 2;
491 if (addlen > sz) {
492 while(newsz - sz < addlen)
504 (void) memset(&newbuffer[sz], 0, (newsz - sz) * sizeof(*newbuffer));
512 el->el_line.limit = &newbuffer[sz - EL_LEAVE];
523 (void) memset(&newbuffer[sz], 0, (newsz - sz) * sizeo
[all...]
/freebsd-13-stable/usr.bin/dc/
H A Dinout.c268 int count, ch, i, new_sz, sz; local
274 sz = 15;
275 p = bmalloc(sz + 1);
290 if (i == sz) {
291 new_sz = sz * 2;
293 sz = new_sz;
325 size_t sz; local
352 sz = i;
355 for (i = 0; i < sz; i++) {
/freebsd-13-stable/lib/libc/db/recno/
H A Drec_get.c175 size_t sz; local
182 sz = t->bt_rdata.size;; *p++ = ch, --sz) {
193 if (sz == 0) {
195 t->bt_rdata.size += (sz = 256);
/freebsd-13-stable/sbin/kldconfig/
H A Dkldconfig.c100 size_t sz; local
109 if (sysctl(mib, miblen, NULL, &sz, NULL, 0) == -1)
111 if ((path = malloc(sz + 1)) == NULL) {
114 (unsigned long)sz+1);
116 if (sysctl(mib, miblen, path, &sz, NULL, 0) == -1)

Completed in 306 milliseconds

1234567891011>>