| /netbsd/src/crypto/external/bsd/heimdal/dist/kadmin/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| 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 …]
|
| 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()
|
| /netbsd/src/tests/lib/libexecinfo/ |
| 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()
|
| D | t_sig_backtrace.c | 138 char **strings = backtrace_symbols_fmt(array, size, "%n"); in handler() local 152 strcmp(strings[i], "handler") == 0) { in handler() 157 strncmp(strings[i], "__sigtramp_siginfo_", in handler() 163 strncmp(strings[i], "the_loop", strlen("the_loop")) == 0) { in handler() 168 strcmp(strings[i], "atf_tp_main") == 0) { in handler()
|
| /netbsd/src/external/bsd/ipf/dist/lib/ |
| D | save_file.c | 32 file_parse(strings) in file_parse() argument 33 char **strings; in file_parse() 41 if (strings[0] != NULL && strings[0][0] != '\0') { 43 if (!strncmp(strings[0], "raw://", 6)) { 45 ctx->path = strdup(strings[0] + 6); 47 } else if (!strncmp(strings[0], "file://", 7)) { 48 ctx->path = strdup(strings[0] + 7);
|
| D | save_execute.c | 27 execute_parse(char **strings) in execute_parse() argument 33 if (ctx != NULL && strings[0] != NULL && strings[0][0] != '\0') { in execute_parse() 34 ctx->path = strdup(strings[0]); in execute_parse()
|
| D | save_nothing.c | 28 nothing_parse(char **strings) in nothing_parse() argument 32 strings = strings; /* gcc -Wextra */ in nothing_parse()
|
| /netbsd/src/external/bsd/kyua-cli/dist/utils/text/ |
| 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());
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/util/ |
| 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}" : "";
|
| /netbsd/src/external/bsd/atf/dist/atf-c++/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| 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()
|
| /netbsd/src/external/gpl2/xcvs/dist/doc/ |
| D | getdate.texi | 46 programs accept. These are the strings you, as a user, can supply as 56 * Relative items in date strings:: next tuesday, 2 years ago. 57 * Pure numbers in date strings:: 19931219, 1440. 69 @cindex items in date strings 89 @findex first @r{in date strings} 90 @findex next @r{in date strings} 91 @findex last @r{in date strings} 107 allowed strings. 155 numerically or literally. All these strings specify the same calendar date: 193 @cindex month names in date strings [all …]
|
| D | getdate-cvs.texi | 53 programs accept. These are the strings you, as a user, can supply as 63 * Relative items in date strings:: next tuesday, 2 years ago. 64 * Pure numbers in date strings:: 19931219, 1440. 76 @cindex items in date strings 96 @findex first @r{in date strings} 97 @findex next @r{in date strings} 98 @findex last @r{in date strings} 114 allowed strings. 162 numerically or literally. All these strings specify the same calendar date: 200 @cindex month names in date strings [all …]
|
| /netbsd/src/sys/arch/xen/xenbus/ |
| D | xenbus_xs.c | 260 count_strings(const char *strings, unsigned int len) in count_strings() argument 265 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 292 split(char *strings, unsigned int len, unsigned int *num) in split() argument 297 *num = count_strings(strings, len); in split() 302 free(strings, M_DEVBUF); in split() 305 memcpy(&ret[*num], strings, len); in split() 306 free(strings, M_DEVBUF); in split() 308 strings = (char *)&ret[*num]; in split() 309 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split() 320 char *strings, *path; in xenbus_directory() local [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| D | check-template.c | 208 c0.strings.val = NULL; in test_seqof2() 209 c0.strings.len = 0; in test_seqof2() 212 c1.strings.len = 1; in test_seqof2() 213 c1.strings.val = i; in test_seqof2() 216 c2.strings.len = 2; in test_seqof2() 217 c2.strings.val = i; in test_seqof2() 256 c0.strings = NULL; in test_seqof3() 261 c1.strings = &s1; in test_seqof3() 266 c2.strings = &s2; in test_seqof3() 271 c3.strings = &s3; in test_seqof3()
|
| /netbsd/src/external/gpl3/binutils/dist/binutils/ |
| D | rddbg.c | 129 bfd_byte *stabs, *strings; in read_section_stabs_debugging_info() local 141 if (!bfd_malloc_and_get_section (abfd, strsec, &strings)) in read_section_stabs_debugging_info() 152 strings [strsize - 1] = 0; in read_section_stabs_debugging_info() 158 free (strings); in read_section_stabs_debugging_info() 206 s = (char *) strings + stroff + strx; in read_section_stabs_debugging_info() 230 s = concat (s, (char *) strings + strx, in read_section_stabs_debugging_info() 250 free (strings); in read_section_stabs_debugging_info() 260 free (strings); in read_section_stabs_debugging_info()
|
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_util.c | 636 archive_utility_string_sort_helper(char **strings, unsigned int n) in archive_utility_string_sort_helper() argument 648 pivot = strings[0]; in archive_utility_string_sort_helper() 651 if (strcmp(strings[i], pivot) < 0) in archive_utility_string_sort_helper() 661 lesser[lesser_count - 1] = strings[i]; in archive_utility_string_sort_helper() 673 greater[greater_count - 1] = strings[i]; in archive_utility_string_sort_helper() 680 strings[i] = lesser[i]; in archive_utility_string_sort_helper() 684 strings[lesser_count] = pivot; in archive_utility_string_sort_helper() 689 strings[lesser_count + 1 + i] = greater[i]; in archive_utility_string_sort_helper() 696 archive_utility_string_sort(char **strings) in archive_utility_string_sort() argument 699 while (strings[size] != NULL) in archive_utility_string_sort() [all …]
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/ |
| D | bi.c | 62 unsigned char *retrieve_byte_array( int *len, const char *strings) { in retrieve_byte_array() argument 64 int str_len = strlen( strings); in retrieve_byte_array() 72 printf("[%s]\n", strings); in retrieve_byte_array() 83 read_buffer[1]=strings[index_str++]; in retrieve_byte_array() 92 read_buffer[0] = strings[ index_str++]; in retrieve_byte_array() 93 read_buffer[1] = strings[ index_str++]; in retrieve_byte_array()
|
| /netbsd/src/usr.bin/mail/ |
| D | strings.c | 61 static struct strings { struct 79 struct strings *sp; in salloc() argument 129 struct strings *sp; in sreset() 151 struct strings *sp; in spreserve()
|
| /netbsd/src/external/gpl2/xcvs/dist/m4/ |
| D | asx_version_compare.m4 | 1 # Compare two strings possibly containing shell variables as version strings. 25 # Compare two strings possibly containing shell variables as version strings. 28 # the strings are equal. run ACTION-IF-EQUAL and bail
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ui/ |
| D | ui_lib.c | 80 sk_UI_STRING_pop_free(ui->strings, free_string); in UI_free() 88 if (ui->strings == NULL) { in allocate_string_stack() 89 ui->strings = sk_UI_STRING_new_null(); in allocate_string_stack() 90 if (ui->strings == NULL) { in allocate_string_stack() 134 ret = sk_UI_STRING_push(ui->strings, s); in general_allocate_string() 178 ret = sk_UI_STRING_push(ui->strings, s); in general_allocate_boolean() 437 if (i >= sk_UI_STRING_num(ui->strings)) { in UI_get0_result() 441 return UI_get0_result_string(sk_UI_STRING_value(ui->strings, i)); in UI_get0_result() 450 if (i >= sk_UI_STRING_num(ui->strings)) { in UI_get_result_length() 454 return UI_get_result_string_length(sk_UI_STRING_value(ui->strings, i)); in UI_get_result_length() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| D | trace-commands.exp | 72 set strings { 93 foreach string $strings { 121 set strings { 129 foreach string $strings {
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| D | config_file.c | 928 char **strings = NULL; in krb5_config_vget_strings() local 942 char **tmp2 = realloc(strings, (nstr + 1) * sizeof(*strings)); in krb5_config_vget_strings() 947 strings = tmp2; in krb5_config_vget_strings() 948 strings[nstr] = strdup(s); in krb5_config_vget_strings() 950 if(strings[nstr-1] == NULL) { in krb5_config_vget_strings() 959 char **tmp = realloc(strings, (nstr + 1) * sizeof(*strings)); in krb5_config_vget_strings() 962 strings = tmp; in krb5_config_vget_strings() 963 strings[nstr] = NULL; in krb5_config_vget_strings() 965 return strings; in krb5_config_vget_strings() 968 free(strings[nstr]); in krb5_config_vget_strings() [all …]
|