| /minix3/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | getusershell.c | 80 static char **curshell, **shells, *strings; variable 105 if (strings != NULL) in endusershell() 106 free(strings); in endusershell() 107 strings = NULL; in endusershell() 131 free(strings); in initshells() 132 strings = NULL; in initshells() 143 strings = malloc(cp - tmp); in initshells() 144 if(strings == NULL) { in initshells() 149 memcpy(strings, tmp, cp - tmp); in initshells() 150 for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++) in initshells() [all …]
|
| H A D | getarg.c | 334 char **strings; in add_string() local 336 strings = realloc(s->strings, (s->num_strings + 1) * sizeof(*s->strings)); in add_string() 337 if (strings == NULL) { in add_string() 338 free(s->strings); in add_string() 339 s->strings = NULL; in add_string() 343 s->strings = strings; in add_string() 344 s->strings[s->num_strings] = value; in add_string() 579 free (s->strings); in free_getarg_strings()
|
| /minix3/crypto/external/bsd/heimdal/dist/kadmin/ |
| H A D | mod.c | 62 struct getarg_strings *strings) in add_constrained_delegation() argument 73 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_constrained_delegation() 81 calloc(strings->num_strings, in add_constrained_delegation() 83 ext.data.u.allowed_to_delegate_to.len = strings->num_strings; in add_constrained_delegation() 85 for (i = 0; i < strings->num_strings; i++) { in add_constrained_delegation() 86 ret = krb5_parse_name(contextp, strings->strings[i], &p); in add_constrained_delegation() 109 struct getarg_strings *strings) in add_aliases() argument 123 if (strings->num_strings == 1 && strings->strings[0][0] == '\0') { in add_aliases() 128 calloc(strings->num_strings, in add_aliases() 130 ext.data.u.aliases.aliases.len = strings->num_strings; in add_aliases() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/tools/llvm-go/ |
| H A D | llvm-go.go | 80 outstr = strings.TrimSuffix(outstr, "\n") 81 return strings.Replace(outstr, "\n", " ", -1) 102 if strings.HasPrefix(a, "-tags=") { 117 fmt.Println(strings.Join(components, " ")) 180 newpath = strings.Join(newpathlist, string(filepath.ListSeparator)) 187 newgopath := strings.Join(newgopathlist, string(filepath.ListSeparator)) 201 if !strings.HasPrefix(v, "CC=") && 202 !strings.HasPrefix(v, "CXX=") && 203 !strings.HasPrefix(v, "CGO_CPPFLAGS=") && 204 !strings.HasPrefix(v, "CGO_CXXFLAGS=") && [all …]
|
| /minix3/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()
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| H A D | check-template.c | 169 c0.strings.val = NULL; in test_seqof2() 170 c0.strings.len = 0; in test_seqof2() 173 c1.strings.len = 1; in test_seqof2() 174 c1.strings.val = i; in test_seqof2() 177 c2.strings.len = 2; in test_seqof2() 178 c2.strings.val = i; in test_seqof2() 217 c0.strings = NULL; in test_seqof3() 222 c1.strings = &s1; in test_seqof3() 227 c2.strings = &s2; in test_seqof3() 232 c3.strings = &s3; in test_seqof3()
|
| /minix3/usr.bin/xstr/ |
| H A D | xstr.c | 83 static const char *strings = "strings"; variable 136 strings = stringtmpfile; in main() 156 if (strings[0] == '/') in main() 157 (void)unlink(strings); in main() 372 FILE *mesgread = fopen(strings, "r"); in inithash() 449 mesgwrit = fopen(strings, old ? "r+" : "w"); in flushsh() 451 err(1, "Cannot open `%s'", strings); in flushsh() 460 err(1, "Error writing `%s'", strings); in flushsh() 464 err(1, "Error closing `%s'", strings); in flushsh() 499 FILE *strf = fopen(strings, "r"); in xsdotc() [all …]
|
| /minix3/external/bsd/kyua-cli/dist/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());
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| H A D | sample_passwd_check.c | 77 char *strings[2]; in check_cracklib() local 80 strings[0] = principal->name.name_string.val[0]; /* XXX */ in check_cracklib() 81 strings[1] = NULL; in check_cracklib() 84 msg = FascistCheck(s, DICTPATH, strings); in check_cracklib()
|
| /minix3/crypto/external/bsd/openssl/dist/doc/crypto/ |
| H A D | ERR_load_crypto_strings.pod | 6 load and free error strings 21 ERR_load_crypto_strings() registers the error strings for all 23 but also registers the B<libssl> error strings. 29 ERR_free_strings() frees all previously loaded error strings.
|
| H A D | ERR_load_strings.pod | 6 arbitrary error strings 20 ERR_load_strings() registers error strings for library number B<lib>.
|
| /minix3/crypto/external/bsd/heimdal/dist/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 …]
|
| /minix3/external/bsd/atf/dist/atf-c++/ |
| H A D | utils_test.cpp | 248 std::set< std::string > strings; in ATF_TEST_CASE_BODY() local 249 strings.insert("First"); in ATF_TEST_CASE_BODY() 250 strings.insert("Second"); in ATF_TEST_CASE_BODY() 252 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() 253 ATF_REQUIRE( atf::utils::grep_collection("cond", strings)); in ATF_TEST_CASE_BODY() 254 ATF_REQUIRE(!atf::utils::grep_collection("Third", strings)); in ATF_TEST_CASE_BODY() 260 std::vector< std::string > strings; in ATF_TEST_CASE_BODY() local 261 strings.push_back("First"); in ATF_TEST_CASE_BODY() 262 strings.push_back("Second"); in ATF_TEST_CASE_BODY() 264 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() [all …]
|
| /minix3/external/bsd/bind/dist/unit/atf-src/atf-c++/ |
| H A D | utils_test.cpp | 248 std::set< std::string > strings; in ATF_TEST_CASE_BODY() local 249 strings.insert("First"); in ATF_TEST_CASE_BODY() 250 strings.insert("Second"); in ATF_TEST_CASE_BODY() 252 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() 253 ATF_REQUIRE( atf::utils::grep_collection("cond", strings)); in ATF_TEST_CASE_BODY() 254 ATF_REQUIRE(!atf::utils::grep_collection("Third", strings)); in ATF_TEST_CASE_BODY() 260 std::vector< std::string > strings; in ATF_TEST_CASE_BODY() local 261 strings.push_back("First"); in ATF_TEST_CASE_BODY() 262 strings.push_back("Second"); in ATF_TEST_CASE_BODY() 264 ATF_REQUIRE( atf::utils::grep_collection("irs", strings)); in ATF_TEST_CASE_BODY() [all …]
|
| /minix3/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | packet-show.c | 322 list->strings = NULL; in list_init() 331 free(list->strings[i]); in list_free_strings() 332 list->strings[i] = NULL; in list_free_strings() 339 if (list->strings) in list_free() 340 free(list->strings); in list_free() 355 newstrings = realloc(list->strings, newsize * sizeof(char *)); in list_resize() 357 list->strings = newstrings; in list_resize() 371 list->strings[list->used++] = __UNCONST(str); in add_str()
|
| /minix3/crypto/external/bsd/openssl/dist/crypto/ui/ |
| H A D | ui_lib.c | 91 ret->strings = NULL; in UI_new_method() 119 sk_UI_STRING_pop_free(ui->strings, free_string); in UI_free() 126 if (ui->strings == NULL) { in allocate_string_stack() 127 ui->strings = sk_UI_STRING_new_null(); in allocate_string_stack() 128 if (ui->strings == NULL) { in allocate_string_stack() 172 ret = sk_UI_STRING_push(ui->strings, s); in general_allocate_string() 215 ret = sk_UI_STRING_push(ui->strings, s); in general_allocate_boolean() 445 if (i >= sk_UI_STRING_num(ui->strings)) { in UI_get0_result() 449 return UI_get0_result_string(sk_UI_STRING_value(ui->strings, i)); in UI_get0_result() 476 for (i = 0; i < sk_UI_STRING_num(ui->strings); i++) { in UI_process() [all …]
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | config_file.c | 929 char **strings = NULL; in krb5_config_vget_strings() local 943 char **tmp2 = realloc(strings, (nstr + 1) * sizeof(*strings)); in krb5_config_vget_strings() 946 strings = tmp2; in krb5_config_vget_strings() 947 strings[nstr] = strdup(s); in krb5_config_vget_strings() 949 if(strings[nstr-1] == NULL) in krb5_config_vget_strings() 956 char **tmp = realloc(strings, (nstr + 1) * sizeof(*strings)); in krb5_config_vget_strings() 959 strings = tmp; in krb5_config_vget_strings() 960 strings[nstr] = NULL; in krb5_config_vget_strings() 962 return strings; in krb5_config_vget_strings() 965 free(strings[nstr]); in krb5_config_vget_strings() [all …]
|
| /minix3/external/bsd/file/dist/magic/magdir/ |
| H A D | asterix | 5 # strings as "long" - we assume they're just strings:
|
| /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/ |
| H A D | flexible-array-test.cpp | 50 S strings[]; member 56 return x.strings[0]; in f()
|
| /minix3/external/bsd/bind/dist/lib/dns/rdata/generic/ |
| H A D | spf_99.c | 32 int strings; in fromtext_spf() local 42 strings = 0; in fromtext_spf() 51 strings++; in fromtext_spf() 55 return (strings == 0 ? ISC_R_UNEXPECTEDEND : ISC_R_SUCCESS); in fromtext_spf()
|
| H A D | txt_16.c | 32 int strings; in fromtext_txt() local 42 strings = 0; in fromtext_txt() 48 strings++; in fromtext_txt() 58 strings++; in fromtext_txt() 62 return (strings == 0 ? ISC_R_UNEXPECTEDEND : ISC_R_SUCCESS); in fromtext_txt()
|
| /minix3/external/bsd/llvm/dist/clang/test/CodeCompletion/ |
| H A D | objc-expr.m | 7 …only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck … 16 …ax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck …
|
| /minix3/usr.bin/gencat/ |
| H A D | gencat.c | 561 char *strings; in MCReadCat() local 604 strings = (char *)msgcat + cat_hdr.__msg_txt_offset; in MCReadCat() 630 ((strings + msg_hdr->__offset) > in MCReadCat() 635 MCAddMsg(msgno, strings + msg_hdr->__offset); in MCReadCat() 661 char *strings; in MCWriteCat() local 715 strings = (char *) msgcat + in MCWriteCat() 732 memcpy(strings, msg->str, msg_len); in MCWriteCat() 733 strings += msg_len; in MCWriteCat()
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/wind/ |
| H A D | rfc4013.txt | 28 This document describes how to prepare Unicode strings representing 46 The algorithm assumes all strings are comprised of characters from 64 preparing identity strings that are not simple user names (e.g., 66 identity or password strings that are not character data, or require 79 preparing strings representing simple user names and passwords. 138 This profile specifies checking bidirectional strings as described in 164 strings for comparison or use in cryptographic functions (e.g., 184 It is not intended for preparing identity strings that are not simple 194 of possible prepared strings is less than the number of possible 195 Unicode strings, the number of usable names and passwords is greater [all …]
|
| /minix3/external/gpl3/binutils/usr.bin/strings/ |
| H A D | Makefile | 3 PROG= strings
|