/freebsd/contrib/flex/src/ |
H A D | buf.c | 74 size_t tsz; in buf_prints() local 76 tsz = strlen(fmt) + strlen(s) + 1; in buf_prints() 77 t = malloc(tsz); in buf_prints() 80 snprintf (t, tsz, fmt, s); in buf_prints() 96 size_t tsz; in buf_linedir() local 101 tsz = strlen("#line \"\"\n") + /* constant parts */ in buf_linedir() 105 t = malloc(tsz); in buf_linedir() 108 for (dst = t + snprintf (t, tsz, "#line %d \"", lineno), src = filename; *src; *dst++ = *src++) in buf_linedir()
|
/freebsd/contrib/mandoc/ |
H A D | mandoc_xr.c | 69 size_t ssz, nsz, tsz; in mandoc_xr_add() local 79 tsz = ssz + nsz; in mandoc_xr_add() 80 xr = mandoc_malloc(sizeof(*xr) + tsz); in mandoc_xr_add() 90 pend = xr->hashkey + tsz; in mandoc_xr_add() 92 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv); in mandoc_xr_add()
|
H A D | tbl_term.c | 171 size_t coloff, tsz; in term_tbl() local 200 tsz = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) in term_tbl() 203 tsz += tp->tbl.cols[ic].width + in term_tbl() 206 tsz += tp->tbl.cols[sp->opts->cols - 1].width; in term_tbl() 207 if (offset + tsz > tp->tcol->rmargin) in term_tbl() 208 tsz -= 1; in term_tbl() 209 offset = offset + tp->tcol->rmargin > tsz ? in term_tbl() 210 (offset + tp->tcol->rmargin - tsz) / 2 : 0; in term_tbl()
|
/freebsd/crypto/openssh/ |
H A D | utf8.c | 76 size_t tsz; in grow_dst() local 80 tsz = *sz + 128; in grow_dst() 81 if (tsz > maxsz) in grow_dst() 82 tsz = maxsz; in grow_dst() 83 if ((tp = recallocarray(*dst, *sz, tsz, 1)) == NULL) in grow_dst() 87 *sz = tsz; in grow_dst()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_bus_subr.c | 405 int i, tsz; in ofw_bus_search_intrmap() local 440 tsz = physsz + intrsz + sizeof(phandle_t) + paddrsz + pintrsz; in ofw_bus_search_intrmap() 441 KASSERT(i >= tsz, ("ofw_bus_search_intrmap: truncated map")); in ofw_bus_search_intrmap() 451 mptr += tsz; in ofw_bus_search_intrmap() 452 i -= tsz; in ofw_bus_search_intrmap()
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm_arm64.c | 845 int address_bits, granule_shift, ia_bits, levels, pte_shift, tsz; in vmmops_gla2gpa() local 868 tsz = (paging->tcr_el1 & TCR_T1SZ_MASK) >> TCR_T1SZ_SHIFT; in vmmops_gla2gpa() 897 tsz = (paging->tcr_el1 & TCR_T0SZ_MASK) >> TCR_T0SZ_SHIFT; in vmmops_gla2gpa() 935 if (tsz < 16 || tsz > 39) { in vmmops_gla2gpa() 951 ia_bits = 64 - tsz; in vmmops_gla2gpa()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_warc.c | 355 _popul_ehdr(struct archive_string *tgt, size_t tsz, warc_essential_hdr_t hdr) in _popul_ehdr() 431 return (archive_strlen(tgt) >= tsz)? -1: (ssize_t)archive_strlen(tgt); 353 _popul_ehdr(struct archive_string * tgt,size_t tsz,warc_essential_hdr_t hdr) _popul_ehdr() argument
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 757 bool parse_size(unsigned *tsz, unsigned *tflags, unsigned mask, in parse_size() argument 765 *tsz = strtoul(val, &nextchar, 0); in parse_size() 766 if (*tsz) { in parse_size() 778 if (*tsz == 2) in parse_size()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SVEInstrFormats.td | 1317 class sve_int_perm_dup_i<bits<5> tsz, Operand immtype, string asm, 1329 let Inst{20-16} = tsz; 9291 class sve2p1_multi_vec_extract_narrow<string mnemonic, bits<2> opc, bits<3> tsz> 9298 let Inst{22} = tsz{2}; 9300 let Inst{20-19} = tsz{1-0}; 9317 class sve2p1_multi_vec_shift_narrow<string mnemonic, bits<3> opc, bits<2> tsz> 9325 let Inst{22} = tsz{1}; 9327 let Inst{20} = tsz{0};
|