Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/lib/libc/tests/stdio/
H A Dgetdelim_test.c277 const char *strs[] = { in _nonblock_eagain() local
284 size_t linecap, strslen[nitems(strs)]; in _nonblock_eagain()
292 strslen[i] = strlen(strs[i]); in _nonblock_eagain()
308 ATF_REQUIRE(write(fd_fifo, strs[0], strslen[0] - 3) == in _nonblock_eagain()
315 &(strs[0][strslen[0] - 3]), 3) == 3); in _nonblock_eagain()
325 &(strs[2][strslen[2] - 3]), 3) == 3); in _nonblock_eagain()
333 &(strs[3][strslen[3] - 3]), 3) == 3); in _nonblock_eagain()
363 ATF_REQUIRE_STREQ(strs[0], line); in _nonblock_eagain()
365 ATF_REQUIRE_STREQ(strs[1], line); in _nonblock_eagain()
380 ATF_REQUIRE_STREQ(strs[2], line); in _nonblock_eagain()
[all …]
/freebsd-14.2/crypto/heimdal/lib/krb5/
H A Dmisc.c101 char **strs = NULL; in _krb5_debug_backtrace() local
104 strs = backtrace_symbols(stack, frames); in _krb5_debug_backtrace()
105 if (strs) { in _krb5_debug_backtrace()
107 _krb5_debug(context, 10, "frame %d: %s", i, strs[i]); in _krb5_debug_backtrace()
108 free(strs); in _krb5_debug_backtrace()
/freebsd-14.2/contrib/unbound/compat/
H A Dstrptime.c73 match_string(const char **buf, const char **strs) in match_string() argument
77 for (i = 0; strs[i] != NULL; i++) { in match_string()
78 int len = strlen(strs[i]); in match_string()
79 if (strncasecmp (*buf, strs[i], len) == 0) { in match_string()
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dstrptime.c106 match_string (const char **buf, const char **strs) in match_string() argument
110 for (i = 0; strs[i] != NULL; ++i) { in match_string()
111 int len = strlen (strs[i]); in match_string()
113 if (strncasecmp (*buf, strs[i], len) == 0) { in match_string()
/freebsd-14.2/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c288 char *strs; in ctf_fdopen() local
375 strs = (char *)strs_map + in ctf_fdopen()
399 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) { in ctf_fdopen()
400 ctfsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
408 symsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
415 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
/freebsd-14.2/contrib/ntp/sntp/libopts/
H A DMakefile.am45 ag-char-map.h alias.c ao-strs.c \
46 ao-strs.h autoopts.c autoopts.h \
H A DMakefile.in472 alias.c ao-strs.c ao-strs.h autoopts.c autoopts.h \
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DMapFile.cpp94 auto strs = std::make_unique<std::string[]>(syms.size()); in getSymbolStrings() local
96 raw_string_ostream os(strs[i]); in getSymbolStrings()
106 ret[syms[i]] = std::move(strs[i]); in getSymbolStrings()
/freebsd-14.2/crypto/openssh/
H A Dservconf.c1810 &strs, &nstrs, arg); in process_server_config_line_depth()
1817 options->log_verbose = strs; in process_server_config_line_depth()
2080 &strs, &nstrs, arg2); in process_server_config_line_depth()
2148 &strs, &nstrs, arg); in process_server_config_line_depth()
2155 options->setenv = strs; in process_server_config_line_depth()
2319 &strs, &nstrs, arg); in process_server_config_line_depth()
2345 &strs, &nstrs, arg2); in process_server_config_line_depth()
2353 *chararrayptr = strs; in process_server_config_line_depth()
2498 &strs, &nstrs, arg); in process_server_config_line_depth()
2505 options->auth_methods = strs; in process_server_config_line_depth()
[all …]
H A Dreadconf.c1719 &strs, &nstrs, arg2); in process_config_line_depth()
1726 *cppptr = strs; in process_config_line_depth()
1728 strs = NULL; /* transferred */ in process_config_line_depth()
1888 &strs, &nstrs, arg); in process_config_line_depth()
1895 options->setenv = strs; in process_config_line_depth()
1897 strs = NULL; /* transferred */ in process_config_line_depth()
2124 &strs, &nstrs, arg); in process_config_line_depth()
2133 strs = NULL; /* transferred */ in process_config_line_depth()
2380 &strs, &nstrs, arg); in process_config_line_depth()
2387 options->channel_timeouts = strs; in process_config_line_depth()
[all …]
/freebsd-14.2/sys/netpfil/pf/
H A Dpf_nv.c531 const char *const *strs; in pf_nvrule_to_krule() local
535 strs = nvlist_get_string_array(nvl, "labels", &items); in pf_nvrule_to_krule()
540 ret = strlcpy(rule->label[i], strs[i], in pf_nvrule_to_krule()
1137 const char *const *strs; in pf_nveth_rule_to_keth_rule() local
1141 strs = nvlist_get_string_array(nvl, "labels", &items); in pf_nveth_rule_to_keth_rule()
1146 ret = strlcpy(krule->label[i], strs[i], in pf_nveth_rule_to_keth_rule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc347 SmallVector<StringRef, 8> strs;
348 (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
354 for (StringRef Line : strs) {
/freebsd-14.2/stand/libsa/zfs/
H A Dnvlist.c1040 char *const *strs = data; in get_value_size() local
1044 if (strs[i] == NULL) in get_value_size()
1046 value_sz += strlen(strs[i]) + 1; in get_value_size()
1115 char *const *strs = data; in get_nvp_data_size() local
1119 value_sz += 4 + NV_ALIGN4(strlen(strs[i])); in get_nvp_data_size()
/freebsd-14.2/sys/security/audit/
H A Dbsm_token.c1281 au_to_exec_strings(char *strs, int count, u_char type) in au_to_exec_strings() argument
1291 p = strs; in au_to_exec_strings()
1294 p = strs + totlen; in au_to_exec_strings()
1299 ADD_STRING(dptr, strs, totlen); in au_to_exec_strings()
/freebsd-14.2/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c1093 char *const *strs = data; in i_get_value_size() local
1098 if (strs[i] == NULL) in i_get_value_size()
1100 value_sz += strlen(strs[i]) + 1; in i_get_value_size()
1213 char *const *strs = data; in nvlist_add_common() local
1220 int slen = strlen(strs[i]) + 1; in nvlist_add_common()
1221 memcpy(buf, strs[i], slen); in nvlist_add_common()
3543 char **strs = (void *)NVP_VALUE(nvp); in nvs_xdr_nvp_size() local
3546 nvp_sz += 4 + NV_ALIGN4(strlen(strs[i])); in nvs_xdr_nvp_size()
/freebsd-14.2/contrib/bc/src/
H A Dprogram.c116 return *((char**) bc_vec_item(&p->strs, n->scale)); in bc_program_string()
227 if (bc_map_insert(&p->str_map, str, p->strs.len, &idx)) in bc_program_addString()
236 str_ptr = bc_vec_pushEmpty(&p->strs); in bc_program_addString()
2836 bc_vec_free(&p->strs); in bc_program_free()
2933 bc_vec_init(&p->strs, sizeof(char*), BC_DTOR_NONE); in bc_program_init()
3788 s = *((char**) bc_vec_item(&p->strs, idx)); in bc_program_printStr()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1013 libzfs_free_str_array(char **strs, int count) in libzfs_free_str_array() argument
1016 free(strs[count]); in libzfs_free_str_array()
1018 free(strs); in libzfs_free_str_array()
H A Dlibzfs.abi7898 <parameter type-id='9b23c9ad' name='strs'/>
/freebsd-14.2/contrib/bc/include/
H A Dprogram.h101 BcVec strs; member
/freebsd-14.2/contrib/bmake/
H A Dvar.c3394 ShuffleSubstrings(Substring *strs, size_t n) in ShuffleSubstrings() argument
3400 Substring t = strs[i]; in ShuffleSubstrings()
3401 strs[i] = strs[rndidx]; in ShuffleSubstrings()
3402 strs[rndidx] = t; in ShuffleSubstrings()
/freebsd-14.2/contrib/ntp/
H A DCommitLog38086 sntp/libopts/ao-strs[email protected] +2 -2
38089 sntp/libopts/ao-strs[email protected] +2 -2
86055 sntp/libopts/ao-strs[email protected] +2 -2
86058 sntp/libopts/ao-strs[email protected] +2 -2
87477 sntp/libopts/ao-strs[email protected] +1 -1
87480 sntp/libopts/ao-strs[email protected] +1 -1
90689 sntp/libopts/ao-strs[email protected] +1 -1
90692 sntp/libopts/ao-strs[email protected] +1 -1
108463 sntp/libopts/ao-strs[email protected] +1 -1
108469 sntp/libopts/ao-strs[email protected] +0 -0
[all …]