Home
last modified time | relevance | path

Searched refs:strsz (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/flex/src/
H A Dbuf.c171 size_t strsz; in buf_m4_define() local
174 strsz = strlen(fmt) + strlen(def) + strlen(val) + 2; in buf_m4_define()
175 str = malloc(strsz); in buf_m4_define()
179 snprintf(str, strsz, fmt, def, val); in buf_m4_define()
193 size_t strsz; in buf_m4_undefine() local
195 strsz = strlen(fmt) + strlen(def) + 2; in buf_m4_undefine()
196 str = malloc(strsz); in buf_m4_undefine()
200 snprintf(str, strsz, fmt, def); in buf_m4_undefine()
H A Dmain.c469 size_t strsz; in check_options() local
471 strsz = strlen(fmt) + strlen(scname[i]) + NUMCHARLINES + 2; in check_options()
472 str = malloc(strsz); in check_options()
475 snprintf(str, strsz, fmt, scname[i], i - 1); in check_options()
/freebsd/usr.bin/fetch/
H A Dfetch.c204 stat_seconds(char *str, size_t strsz, long seconds) in stat_seconds() argument
208 snprintf(str, strsz, "%02ldd%02ldh", in stat_seconds()
211 snprintf(str, strsz, "%02ldh%02ldm", in stat_seconds()
214 snprintf(str, strsz, "%02ldm%02lds", in stat_seconds()
217 snprintf(str, strsz, " %02lds", in stat_seconds()
235 stat_seconds(str, strsz, eta); in stat_eta()
237 stat_seconds(str, strsz, elapsed); in stat_eta()
245 stat_bytes(char *str, size_t strsz, off_t bytes) in stat_bytes() argument
260 stat_bps(char *str, size_t strsz, struct xferstat *xs) in stat_bps() argument
269 snprintf(str, strsz, "?? Bps"); in stat_bps()
[all …]
/freebsd/sys/dev/ksyms/
H A Dksyms.c192 size_t len, numsyms, strsz, symsz; in ksyms_add() local
203 strsz = LINKER_STRTAB_GET(lf, &strtab); in ksyms_add()
251 if (strsz > to->to_resid) in ksyms_add()
253 to->to_resid -= strsz; in ksyms_add()
254 error = ksyms_emit(sc, strtab, to->to_stroff, strsz); in ksyms_add()
255 to->to_stroff += strsz; in ksyms_add()
256 to->to_stridx += strsz; in ksyms_add()
/freebsd/sys/ddb/
H A Ddb_main.c194 Elf_Size strsz; in db_fetch_ksymtab() local
201 strsz = *(Elf_Size*)kstrtab; in db_fetch_ksymtab()
204 if (kstrtab + strsz > ksym_end) { in db_fetch_ksymtab()
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp226 uptr strtab = 0, symtab = 0, strsz = 0; in find_cfi_check_in_dso() local
233 strsz = p->d_un.d_ptr; in find_cfi_check_in_dso()
249 if (strtab >= beg && strtab + strsz < end && symtab >= beg && in find_cfi_check_in_dso()
266 if (p->st_name >= strsz) break; in find_cfi_check_in_dso()
/freebsd/crypto/openssl/crypto/evp/
H A Devp_fetch.c499 size_t strsz; in evp_set_parsed_default_properties() local
512 strsz = ossl_property_list_to_string(libctx, def_prop, NULL, 0); in evp_set_parsed_default_properties()
513 if (strsz > 0) in evp_set_parsed_default_properties()
514 propstr = OPENSSL_malloc(strsz); in evp_set_parsed_default_properties()
520 strsz) == 0) { in evp_set_parsed_default_properties()
/freebsd/stand/common/
H A Dload_elf.c64 size_t strsz; member
871 ef->strsz = 0;
885 ef->strsz = dp[i].d_un.d_val;
910 ef->strtab == NULL || ef->strsz == 0)
/freebsd/sys/kern/
H A Dlink_elf.c91 int strsz; /* DT_STRSZ */ member
609 ef->strsz = dp->d_un.d_val; in parse_dynamic()
670 ef->ddbstrcnt = ef->strsz; in parse_dynamic()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1085 size_t strsz; in dtrace_strcanload() local
1092 strsz = 1 + dtrace_strlen((char *)(uintptr_t)addr, in dtrace_strcanload()
1094 if (strsz <= *remain) { in dtrace_strcanload()
3247 size_t strsz; in dtrace_dif_varstr() local
3262 strsz = dtrace_strlen((char *)addr, size) + 1; in dtrace_dif_varstr()
3264 if (mstate->dtms_scratch_ptr + strsz > in dtrace_dif_varstr()
3271 strsz); in dtrace_dif_varstr()
3273 mstate->dtms_scratch_ptr += strsz; in dtrace_dif_varstr()
3295 if (mstate->dtms_scratch_ptr + strsz > in dtrace_dif_varstrz()
3302 strsz); in dtrace_dif_varstrz()
[all …]