Home
last modified time | relevance | path

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

/freebsd/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()
317 ATF_REQUIRE(write(fd_fifo, strs[1], strslen[1]) == strslen[1]); in _nonblock_eagain()
318 ATF_REQUIRE(write(fd_fifo, strs[2], strslen[2] - 3) == in _nonblock_eagain()
325 &(strs[2][strslen[2] - 3]), 3) == 3); in _nonblock_eagain()
326 ATF_REQUIRE(write(fd_fifo, strs[3], strslen[3] - 3) == in _nonblock_eagain()
333 &(strs[3][strslen[3] - 3]), 3) == 3); in _nonblock_eagain()
[all …]
/freebsd/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/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/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/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/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/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/crypto/openssh/
H A Dservconf.c1336 char **strs = NULL; /* string array arguments; freed implicitly */ in process_server_config_line_depth() local
1826 &strs, &nstrs, arg); in process_server_config_line_depth()
1833 options->log_verbose = strs; in process_server_config_line_depth()
1835 strs = NULL; /* transferred */ in process_server_config_line_depth()
2194 &strs, &nstrs, arg2); in process_server_config_line_depth()
2202 options->authorized_keys_files = strs; in process_server_config_line_depth()
2204 strs = NULL; /* transferred */ in process_server_config_line_depth()
2256 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_server_config_line_depth()
2262 &strs, &nstrs, arg); in process_server_config_line_depth()
2269 options->setenv = strs; in process_server_config_line_depth()
[all …]
H A Dreadconf.c1112 char **strs = NULL; /* string array arguments; freed implicitly */ in process_config_line_depth() local
1763 &strs, &nstrs, arg2); in process_config_line_depth()
1770 *cppptr = strs; in process_config_line_depth()
1772 strs = NULL; /* transferred */ in process_config_line_depth()
1918 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_config_line_depth()
1925 &strs, &nstrs, arg); in process_config_line_depth()
1932 options->setenv = strs; in process_config_line_depth()
1934 strs = NULL; /* transferred */ in process_config_line_depth()
2173 &strs, &nstrs, arg); in process_config_line_depth()
2180 options->canonical_domains = strs; in process_config_line_depth()
[all …]
/freebsd/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()
1142 const char *const *strs; in pf_nveth_rule_to_keth_rule() local
1146 strs = nvlist_get_string_array(nvl, "labels", &items); in pf_nveth_rule_to_keth_rule()
1151 ret = strlcpy(krule->label[i], strs[i], in pf_nveth_rule_to_keth_rule()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc350 SmallVector<StringRef, 8> strs;
351 (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
357 for (StringRef Line : strs) {
/freebsd/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/sys/security/audit/
H A Dbsm_token.c1280 au_to_exec_strings(char *strs, int count, u_char type) in au_to_exec_strings() argument
1290 p = strs; in au_to_exec_strings()
1293 p = strs + totlen; in au_to_exec_strings()
1298 ADD_STRING(dptr, strs, totlen); in au_to_exec_strings()
/freebsd/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()
3541 char **strs = (void *)NVP_VALUE(nvp); in nvs_xdr_nvp_size() local
3544 nvp_sz += 4 + NV_ALIGN4(strlen(strs[i])); in nvs_xdr_nvp_size()
/freebsd/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/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1020 libzfs_free_str_array(char **strs, int count) in libzfs_free_str_array() argument
1023 free(strs[count]); in libzfs_free_str_array()
1025 free(strs); in libzfs_free_str_array()
H A Dlibzfs.abi8446 <parameter type-id='9b23c9ad' name='strs'/>
/freebsd/contrib/bc/include/
H A Dprogram.h101 BcVec strs; member
103 /// The map of strings to go with strs.
/freebsd/contrib/bmake/
H A Dvar.c3411 ShuffleSubstrings(Substring *strs, size_t n) in ShuffleSubstrings() argument
3417 Substring t = strs[i]; in ShuffleSubstrings()
3418 strs[i] = strs[rndidx]; in ShuffleSubstrings()
3419 strs[rndidx] = t; in ShuffleSubstrings()
/freebsd/contrib/ntp/
H A DCommitLog5609 sntp/libopts/ao-strs.c@1.18 +143 -138
5612 sntp/libopts/ao-strs.h@1.17 +152 -144
[all...]