Home
last modified time | relevance | path

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

12

/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/krb5/src/windows/leashdll/
H A Dlshfunc.c2284 char *strs; in acquire_tkt_send_msg_leash() local
2322 strs = (char *)view; in acquire_tkt_send_msg_leash()
2327 strcpy_s(strs, bufsize, title); in acquire_tkt_send_msg_leash()
2329 sprintf_s(strs, bufsize, in acquire_tkt_send_msg_leash()
2332 strcpy_s(strs, bufsize, "MIT Kerberos: Get Ticket"); in acquire_tkt_send_msg_leash()
2333 step = strlen(strs); in acquire_tkt_send_msg_leash()
2334 strs += step + 1; in acquire_tkt_send_msg_leash()
2338 strcpy_s(strs, bufsize, name); in acquire_tkt_send_msg_leash()
2339 step = strlen(strs); in acquire_tkt_send_msg_leash()
2340 strs += step + 1; in acquire_tkt_send_msg_leash()
[all …]
/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/llvm-project/libc/src/__support/RPC/
H A Drpc_server.h242 void *strs[num_lanes] = {nullptr}; in handle_printf() local
243 port.recv_n(strs, str_sizes, in handle_printf()
246 if (!strs[lane]) in handle_printf()
249 copied_strs[lane].push_back(strs[lane]); in handle_printf()
319 void *strs[num_lanes] = {nullptr}; in handle_port_impl() local
330 port.recv_n(strs, sizes, in handle_port_impl()
334 buffer->data[0] = fwrite_unlocked(strs[id], 1, sizes[id], files[id]); in handle_port_impl()
/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.cpp95 auto strs = std::make_unique<std::string[]>(syms.size()); in getSymbolStrings() local
97 raw_string_ostream os(strs[i]); in getSymbolStrings()
107 ret[syms[i]] = std::move(strs[i]); in getSymbolStrings()
/freebsd/crypto/openssh/
H A Dservconf.c1351 char **strs = NULL; /* string array arguments; freed implicitly */ in process_server_config_line_depth() local
1845 &strs, &nstrs, arg); in process_server_config_line_depth()
1852 options->log_verbose = strs; in process_server_config_line_depth()
1854 strs = NULL; /* transferred */ in process_server_config_line_depth()
2230 &strs, &nstrs, arg2); in process_server_config_line_depth()
2238 *chararrayptr = strs; in process_server_config_line_depth()
2240 strs = NULL; /* transferred */ in process_server_config_line_depth()
2292 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_server_config_line_depth()
2298 &strs, &nstrs, arg); in process_server_config_line_depth()
2305 options->setenv = strs; in process_server_config_line_depth()
[all …]
H A Dreadconf.c1157 char **strs = NULL; /* string array arguments; freed implicitly */ in process_config_line_depth() local
1805 &strs, &nstrs, arg2); in process_config_line_depth()
1812 *cppptr = strs; in process_config_line_depth()
1814 strs = NULL; /* transferred */ in process_config_line_depth()
1960 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_config_line_depth()
1967 &strs, &nstrs, arg); in process_config_line_depth()
1974 options->setenv = strs; in process_config_line_depth()
1976 strs = NULL; /* transferred */ in process_config_line_depth()
2227 &strs, &nstrs, arg); in process_config_line_depth()
2234 options->canonical_domains = strs; in process_config_line_depth()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c345 STACK_OF(ASN1_UTF8STRING) *strs; in process_cert_request()
351 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs)) in process_cert_request()
353 if (sk_ASN1_UTF8STRING_num(strs) < 1) { in process_cert_request()
357 str = sk_ASN1_UTF8STRING_value(strs, 0); in process_cert_request()
/freebsd/sys/netpfil/pf/
H A Dpf_nv.c532 const char *const *strs; in pf_nvrule_to_krule() local
536 strs = nvlist_get_string_array(nvl, "labels", &items); in pf_nvrule_to_krule()
541 ret = strlcpy(rule->label[i], strs[i], in pf_nvrule_to_krule()
1145 const char *const *strs; in pf_nveth_rule_to_keth_rule() local
1149 strs = nvlist_get_string_array(nvl, "labels", &items); in pf_nveth_rule_to_keth_rule()
1154 ret = strlcpy(krule->label[i], strs[i], in pf_nveth_rule_to_keth_rule()
/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/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc369 SmallVector<StringRef, 8> strs;
370 (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
376 for (StringRef Line : strs) {
/freebsd/sys/dev/acpica/
H A Dacpivar.h513 const char *strs[ACPI_D_STATE_COUNT] = {"D0", "D1", "D2", "D3hot", in acpi_d_state_to_str()
519 return (strs[state]); in acpi_should_do_s4bios()
507 const char *strs[ACPI_D_STATE_COUNT] = {"D0", "D1", "D2", "D3hot", acpi_d_state_to_str() local
/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/dev/pci/
H A Dpcivar.h526 const char *strs[PCI_POWERSTATE_COUNT] = {"D0", "D1", "D2", "D3hot", in pci_powerstate_to_str() local
530 return (strs[state]); in pci_powerstate_to_str()
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c1110 char *const *strs = data; in i_get_value_size() local
1116 if (strs[i] == NULL) in i_get_value_size()
1119 newsize = strnlen(strs[i], max_size); in i_get_value_size()
1238 char *const *strs = data; in nvlist_add_common() local
1245 int slen = strlen(strs[i]) + 1; in nvlist_add_common()
1246 memcpy(buf, strs[i], slen); in nvlist_add_common()
3569 char **strs = (void *)NVP_VALUE(nvp); in nvs_xdr_nvp_size() local
3572 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()
2863 bc_vec_free(&p->strs); in bc_program_free()
2960 bc_vec_init(&p->strs, sizeof(char*), BC_DTOR_NONE); in bc_program_init()
3827 s = *((char**) bc_vec_item(&p->strs, idx)); in bc_program_printStr()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1038 libzfs_free_str_array(char **strs, int count) in libzfs_free_str_array() argument
1041 free(strs[count]); in libzfs_free_str_array()
1043 free(strs); in libzfs_free_str_array()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dlibzfs_input_check.c948 const char *strs[] = {ZPOOL_DEDUPCACHED_PROP_NAME}; in test_zpool_get() local
951 fnvlist_add_string_array(optional, ZPOOL_GET_PROPS_NAMES, strs, 1); in test_zpool_get()
/freebsd/contrib/bc/include/
H A Dprogram.h101 BcVec strs; member
/freebsd/usr.sbin/moused/moused/
H A Dquirks.c597 char **strs = strv_from_string(value, ";", &nelems); in parse_match() local
598 int rc = strv_for_each_n((const char**)strs, max, strv_parse_hex, product); in parse_match()
599 strv_free(strs); in parse_match()

12