| /freebsd/lib/libc/tests/stdio/ |
| H A D | getdelim_test.c | 277 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 D | misc.c | 101 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 D | strptime.c | 73 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 D | lshfunc.c | 2284 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 D | strptime.c | 106 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 D | ctf_lib.c | 288 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 D | Makefile.am | 45 ag-char-map.h alias.c ao-strs.c \ 46 ao-strs.h autoopts.c autoopts.h \
|
| H A D | Makefile.in | 472 alias.c ao-strs.c ao-strs.h autoopts.c autoopts.h \
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | MapFile.cpp | 94 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 D | servconf.c | 1350 char **strs = NULL; /* string array arguments; freed implicitly */ in process_server_config_line_depth() local 1840 &strs, &nstrs, arg); in process_server_config_line_depth() 1847 options->log_verbose = strs; in process_server_config_line_depth() 1849 strs = NULL; /* transferred */ in process_server_config_line_depth() 2208 &strs, &nstrs, arg2); in process_server_config_line_depth() 2216 options->authorized_keys_files = strs; in process_server_config_line_depth() 2218 strs = NULL; /* transferred */ in process_server_config_line_depth() 2270 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_server_config_line_depth() 2276 &strs, &nstrs, arg); in process_server_config_line_depth() 2283 options->setenv = strs; in process_server_config_line_depth() [all …]
|
| H A D | readconf.c | 1158 char **strs = NULL; /* string array arguments; freed implicitly */ in process_config_line_depth() local 1809 &strs, &nstrs, arg2); in process_config_line_depth() 1816 *cppptr = strs; in process_config_line_depth() 1818 strs = NULL; /* transferred */ in process_config_line_depth() 1964 if (lookup_setenv_in_list(arg, strs, nstrs) != NULL) { in process_config_line_depth() 1971 &strs, &nstrs, arg); in process_config_line_depth() 1978 options->setenv = strs; in process_config_line_depth() 1980 strs = NULL; /* transferred */ in process_config_line_depth() 2219 &strs, &nstrs, arg); in process_config_line_depth() 2226 options->canonical_domains = strs; in process_config_line_depth() [all …]
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | cmp_mock_srv.c | 329 STACK_OF(ASN1_UTF8STRING) *strs; in process_cert_request() 334 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs)) in process_cert_request() 336 if (sk_ASN1_UTF8STRING_num(strs) < 1) { in process_cert_request() 340 str = sk_ASN1_UTF8STRING_value(strs, 0); in process_cert_request()
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_nv.c | 532 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/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 350 SmallVector<StringRef, 8> strs; 351 (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1, 357 for (StringRef Line : strs) {
|
| /freebsd/stand/libsa/zfs/ |
| H A D | nvlist.c | 1040 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/dev/acpica/ |
| H A D | acpivar.h | 527 const char *strs[ACPI_D_STATE_COUNT] = {"D0", "D1", "D2", "D3hot", in acpi_d_state_to_str() local 531 return (strs[state]); in acpi_d_state_to_str()
|
| /freebsd/sys/security/audit/ |
| H A D | bsm_token.c | 1280 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 D | pcivar.h | 526 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 D | nvpair.c | 1094 char *const *strs = data; in i_get_value_size() local 1099 if (strs[i] == NULL) in i_get_value_size() 1101 value_sz += strlen(strs[i]) + 1; in i_get_value_size() 1214 char *const *strs = data; in nvlist_add_common() local 1221 int slen = strlen(strs[i]) + 1; in nvlist_add_common() 1222 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/contrib/bc/src/ |
| H A D | program.c | 116 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 D | libzfs_util.c | 1032 libzfs_free_str_array(char **strs, int count) in libzfs_free_str_array() argument 1035 free(strs[count]); in libzfs_free_str_array() 1037 free(strs); in libzfs_free_str_array()
|
| /freebsd/contrib/bc/include/ |
| H A D | program.h | 101 BcVec strs; member
|
| /freebsd/usr.sbin/moused/moused/ |
| H A D | quirks.c | 597 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()
|
| /freebsd/contrib/bmake/ |
| H A D | var.c | 3424 ShuffleSubstrings(Substring *strs, size_t n) in ShuffleSubstrings() argument 3430 Substring t = strs[i]; in ShuffleSubstrings() 3431 strs[i] = strs[rndidx]; in ShuffleSubstrings() 3432 strs[rndidx] = t; in ShuffleSubstrings()
|
| /freebsd/contrib/ntp/ |
| H A D | CommitLog | 5609 sntp/libopts/ao-strs.c@1.18 +143 -138 5612 sntp/libopts/ao-strs.h@1.17 +152 -144 [all...] |