/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMAttributeParser.cpp | 116 static const char *strings[] = {"Not Permitted", "Permitted"}; in ARM_ISA_use() local 117 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in ARM_ISA_use() 121 static const char *strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", "Permitted"}; in THUMB_ISA_use() local 122 return parseStringAttribute("THUMB_ISA_use", tag, ArrayRef(strings)); in THUMB_ISA_use() 126 static const char *strings[] = { in FP_arch() local 129 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in FP_arch() 133 static const char *strings[] = {"Not Permitted", "WMMXv1", "WMMXv2"}; in WMMX_arch() local 134 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in WMMX_arch() 138 static const char *strings[] = {"Not Permitted", "NEONv1", "NEONv2+FMA", in Advanced_SIMD_arch() local 140 return parseStringAttribute("Advanced_SIMD_arch", tag, ArrayRef(strings)); in Advanced_SIMD_arch() [all …]
|
H A D | CSKYAttributeParser.cpp | 85 static const char *strings[] = {"Error", "DSP Extension", "DSP 2.0"}; in dspVersion() local 86 return parseStringAttribute("Tag_CSKY_DSP_VERSION", tag, ArrayRef(strings)); in dspVersion() 90 static const char *strings[] = {"Error", "VDSP Version 1", "VDSP Version 2"}; in vdspVersion() local 91 return parseStringAttribute("Tag_CSKY_VDSP_VERSION", tag, ArrayRef(strings)); in vdspVersion() 95 static const char *strings[] = {"Error", "FPU Version 1", "FPU Version 2", in fpuVersion() local 97 return parseStringAttribute("Tag_CSKY_FPU_VERSION", tag, ArrayRef(strings)); in fpuVersion() 101 static const char *strings[] = {"Error", "Soft", "SoftFP", "Hard"}; in fpuABI() local 102 return parseStringAttribute("Tag_CSKY_FPU_ABI", tag, ArrayRef(strings)); in fpuABI() 106 static const char *strings[] = {"None", "Needed"}; in fpuRounding() local 107 return parseStringAttribute("Tag_CSKY_FPU_ROUNDING", tag, ArrayRef(strings)); in fpuRounding() [all …]
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | mod.c | 60 struct getarg_strings *strings) in add_constrained_delegation() argument 71 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_constrained_delegation() 79 calloc(strings->num_strings, in add_constrained_delegation() 81 ext.data.u.allowed_to_delegate_to.len = strings->num_strings; in add_constrained_delegation() 83 for (i = 0; i < strings->num_strings; i++) { in add_constrained_delegation() 84 ret = krb5_parse_name(contextp, strings->strings[i], &p); in add_constrained_delegation() 107 struct getarg_strings *strings) in add_aliases() argument 121 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_aliases() 126 calloc(strings->num_strings, in add_aliases() 128 ext.data.u.aliases.aliases.len = strings->num_strings; in add_aliases() [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 02-test_errstr.t | 113 my @strings = @_; 118 if (scalar @strings > 1) { 120 . join("', '", @strings) . "' )"; 122 $desc = "match '$first' ($desc) with '$strings[0]'"; 127 @strings 134 my @strings = @_; 142 return match_any($reason, $errcode_hex, @strings); 148 my @strings = (); 150 push @strings, eval { 158 push @strings, qr/^non-translatable vms error code:/ if $^O eq 'VMS'; [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 78 static char **curshell, **shells, *strings; variable 103 if (strings != NULL) in endusershell() 104 free(strings); in endusershell() 105 strings = NULL; in endusershell() 129 free(strings); in initshells() 130 strings = NULL; in initshells() 141 strings = malloc(cp - tmp); in initshells() 142 if(strings == NULL) { in initshells() 147 memcpy(strings, tmp, cp - tmp); in initshells() 148 for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++) in initshells() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | sfp.c | 56 struct ifconfig_sfp_info_strings strings; in sfp_status() local 65 ifconfig_sfp_get_sfp_info_strings(&info, &strings); in sfp_status() 69 ifconfig_sfp_physical_spec(&info, &strings), in sfp_status() 70 strings.sfp_conn); in sfp_status() 80 printf("\tcompliance level: %s\n", strings.sfp_rev); in sfp_status() 84 ifconfig_sfp_physical_spec(&info, &strings)); in sfp_status() 85 printf("Length: %s\n", strings.sfp_fc_len); in sfp_status() 86 printf("Tech: %s\n", strings.sfp_cab_tech); in sfp_status() 87 printf("Media: %s\n", strings.sfp_fc_media); in sfp_status() 88 printf("Speed: %s\n", strings.sfp_fc_speed); in sfp_status()
|
/freebsd/contrib/netbsd-tests/lib/libexecinfo/ |
H A D | t_backtrace.c | 71 char **strings; in myfunc3() local 82 strings = backtrace_symbols_fmt(buffer, nptrs, "%n"); in myfunc3() 84 ATF_CHECK(strings != NULL); in myfunc3() 90 printf("#%zu: %s\n", j, strings[j]); in myfunc3() 95 ATF_CHECK_STREQ(strings[0], "myfunc3"); in myfunc3() 96 ATF_CHECK_STREQ(strings[1], "myfunc2"); in myfunc3() 99 ATF_CHECK_STREQ(strings[j], "myfunc1"); in myfunc3() 103 strcmp(strings[j], frames[i].name)) { in myfunc3() 107 ATF_CHECK_STREQ(strings[j], frames[i].name); in myfunc3() 110 free(strings); in myfunc3()
|
/freebsd/usr.bin/clang/llvm-strings/ |
H A D | Makefile | 3 PROG_CXX= llvm-strings 5 SRCDIR= llvm/tools/llvm-strings 6 SRCS+= llvm-strings.cpp 25 LINKS+= ${BINDIR}/llvm-strings ${BINDIR}/strings 26 MLINKS+= llvm-strings.1 strings.1
|
/freebsd/usr.bin/xstr/ |
H A D | xstr.c | 58 static char *strings = cstrings; variable 112 strings = strdup(_PATH_TMP); in main() 113 if (strings == NULL) in main() 115 fdesc = mkstemp(strings); in main() 135 if (strings[0] == '/') in main() 136 ignore(unlink(strings)); in main() 287 FILE *mesgread = fopen(strings, "r"); in inithash() 370 mesgwrit = fopen(strings, old ? "r+" : "w"); in flushsh() 372 err(4, "%s", strings); in flushsh() 380 err(4, "%s", strings); in flushsh() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | save_file.c | 30 file_parse(char **strings) in file_parse() argument 38 if (strings[0] != NULL && strings[0][0] != '\0') { in file_parse() 40 if (!strncmp(strings[0], "raw://", 6)) { in file_parse() 42 ctx->path = strdup(strings[0] + 6); in file_parse() 44 } else if (!strncmp(strings[0], "file://", 7)) { in file_parse() 45 ctx->path = strdup(strings[0] + 7); in file_parse()
|
H A D | save_execute.c | 25 execute_parse(char **strings) in execute_parse() argument 31 if (ctx != NULL && strings[0] != NULL && strings[0][0] != '\0') { in execute_parse() 32 ctx->path = strdup(strings[0]); in execute_parse()
|
H A D | save_nothing.c | 26 nothing_parse(char **strings) in nothing_parse() argument 31 strings = strings; /* gcc -Wextra */ in nothing_parse()
|
/freebsd/contrib/kyua/utils/text/ |
H A D | operations.ipp | 39 /// Concatenates a collection of strings into a single string. 41 /// \param strings The collection of strings to concatenate. If the collection 43 /// \param delimiter The delimiter to use to separate the strings. 45 /// \return The concatenated strings. 48 utils::text::join(const Collection& strings, const std::string& delimiter) 51 if (strings.size() > 1) { 52 for (typename Collection::const_iterator iter = strings.begin(); 53 iter != --strings.end(); ++iter) 56 if (strings.size() > 0) 57 output << *(--strings.end());
|
/freebsd/crypto/heimdal/appl/gssmask/ |
H A D | common.c | 83 permutate_all(struct getarg_strings *strings, size_t *size) in permutate_all() argument 90 list = ecalloc(strings->num_strings, sizeof(*list)); in permutate_all() 91 for (i = 0; i < strings->num_strings; i++) in permutate_all() 92 list[i] = strings->strings[i]; in permutate_all() 94 permute(&all, size, list, 0, strings->num_strings); in permutate_all()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | MKcaptab.sh | 86 next_string(const char *strings, unsigned *offset) 88 *offset += (unsigned) strlen(strings + *offset) + 1; 94 const char *strings) 102 (*actual)[n].nte_name = strings + len; 106 next_string(strings, &len); 115 (*actual)[n].field = strings + source[n].field; \\ 121 const char *strings,
|
H A D | MKuserdefs.sh | 62 next_string(const char *strings, unsigned *offset) 64 *offset += (unsigned) strlen(strings + *offset) + 1; 70 const char *strings) 78 (*actual)[n].ute_name = strings + len; 84 next_string(strings, &len);
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBStringList.cpp | 87 void SBStringList::AppendList(const SBStringList &strings) { in AppendList() argument 88 LLDB_INSTRUMENT_VA(this, strings); in AppendList() 90 if (strings.IsValid()) { in AppendList() 93 m_opaque_up->AppendList(*(strings.m_opaque_up)); in AppendList() 97 void SBStringList::AppendList(const StringList &strings) { in AppendList() argument 100 m_opaque_up->AppendList(strings); in AppendList()
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | hxtool-commands.in | 41 type = "strings" 54 type = "strings" 60 type = "strings" 66 type = "strings" 72 type = "strings" 127 type = "strings" 134 type = "strings" 140 type = "strings" 184 type = "strings" 190 type = "strings" [all …]
|
/freebsd/lib/libifconfig/ |
H A D | libifconfig_sfp.c | 513 struct ifconfig_sfp_info_strings *strings) in ifconfig_sfp_get_sfp_info_strings() argument 515 get_sfp_info_strings(sfp, strings); in ifconfig_sfp_get_sfp_info_strings() 516 if (strings->sfp_id == NULL) in ifconfig_sfp_get_sfp_info_strings() 517 strings->sfp_id = sfp_id_string_alt(sfp->sfp_id); in ifconfig_sfp_get_sfp_info_strings() 518 if (strings->sfp_conn == NULL) in ifconfig_sfp_get_sfp_info_strings() 519 strings->sfp_conn = sfp_conn_string_alt(sfp->sfp_conn); in ifconfig_sfp_get_sfp_info_strings() 520 if (strings->sfp_rev == NULL) in ifconfig_sfp_get_sfp_info_strings() 521 strings->sfp_rev = "Unallocated"; in ifconfig_sfp_get_sfp_info_strings() 526 const struct ifconfig_sfp_info_strings *strings) in ifconfig_sfp_physical_spec() argument 535 return (strings->sfp_eth_ext); in ifconfig_sfp_physical_spec() [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | mkerr.pl | 140 my %strings; # define -> text 200 die "Duplicate define $name" if exists $strings{$name}; 201 $strings{$name} = $next; 205 die "Duplicate define $name" if exists $strings{$name}; 206 $strings{$name} = $3; 559 if ( exists $strings{$i} ) { 560 $rn = $strings{$i}; 566 $strings{$i} = $rn; 682 my $t = exists $strings{$i} ? "$strings{$i}" : "";
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | sample_passwd_check.c | 75 char *strings[2]; in check_cracklib() local 78 strings[0] = principal->name.name_string.val[0]; /* XXX */ in check_cracklib() 79 strings[1] = NULL; in check_cracklib() 82 msg = FascistCheck(s, DICTPATH, strings); in check_cracklib()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | UI_STRING.pod | 67 This is only useful for B<UIT_PROMPT> and B<UIT_VERIFY> type strings. 73 This is only useful for B<UIT_VERIFY> type strings. 78 This is only useful for B<UIT_PROMPT> and B<UIT_VERIFY> type strings. 82 For B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, this sets the 86 For B<UIT_BOOLEAN> type UI strings, this sets the first character of 98 only useful with normal C strings. 109 string for B<UIT_BOOLEAN> type UI strings, NULL for any other type. 112 B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, NULL for any other 116 content length for B<UIT_PROMPT> and B<UIT_VERIFY> type UI strings, 120 string for B<UIT_VERIFY> type UI strings, NULL for any other type. [all …]
|
/freebsd/contrib/ncurses/progs/ |
H A D | tput.c | 249 char *strings[1 + NUM_PARM]; in tput_cmd() local 260 strings[k] = argv[k]; in tput_cmd() 267 strings[k] = 0; in tput_cmd() 299 s = TPARM_1(s, strings[1]); in tput_cmd() 305 s = TPARM_2(s, strings[1], strings[2]); in tput_cmd() 313 s = TPARM_2(s, numbers[1], strings[2]); in tput_cmd() 319 s = TPARM_3(s, numbers[1], strings[2], strings[3]); in tput_cmd() 345 #define myParam(n) (p_is_s[n - 1] != 0 ? ((TPARM_ARG) strings[n]) : numbers[n]) in tput_cmd()
|
/freebsd/contrib/atf/atf-c++/ |
H A D | utils_test.cpp | 249 std::set< std::string > strings; in ATF_TEST_CASE_BODY() local 250 strings.insert("First"); in ATF_TEST_CASE_BODY() 251 strings.insert("Second"); in ATF_TEST_CASE_BODY() 253 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() 254 ATF_REQUIRE( atf::utils::grep_collection("cond", strings)); in ATF_TEST_CASE_BODY() 255 ATF_REQUIRE(!atf::utils::grep_collection("Third", strings)); in ATF_TEST_CASE_BODY() 261 std::vector< std::string > strings; in ATF_TEST_CASE_BODY() local 262 strings.push_back("First"); in ATF_TEST_CASE_BODY() 263 strings.push_back("Second"); in ATF_TEST_CASE_BODY() 265 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/usr.bin/mail/ |
H A D | strings.c | 43 struct strings stringdope[NSPACE]; 58 struct strings *sp; in salloc() 94 struct strings *sp; in sreset() 116 struct strings *sp; in spreserve()
|