/freebsd-current/contrib/one-true-awk/bugs-fixed/ |
H A D | subsep-overflow.awk | 11 str2 = foo("b", 9000); 13 a[(SUBSEP = str1), (SUBSEP = str2), "c"] = 1; 19 print (((SUBSEP = str1), (SUBSEP = str2), "c") in a); 20 print (((SUBSEP = str1) SUBSEP (SUBSEP = str2) SUBSEP "c") in a); 21 delete a[(SUBSEP = str1), (SUBSEP = str2), "c"]; 22 print (((SUBSEP = str1), (SUBSEP = str2), "c") in a); 23 print (((SUBSEP = str1) SUBSEP (SUBSEP = str2) SUBSEP "c") in a);
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_cancel.c | 43 char str2[] = "You should not see this.\n"; local 57 write(STDOUT_FILENO, str2, sizeof(str2)-1);
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-beep.c | 32 const char *str2, u_int l2) 34 if (!ND_TTEST_LEN(str2, tl1)) { 45 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0); 31 l_strnstart(netdissect_options *ndo, const char *tstr1, u_int tl1, const char *str2, u_int l2) argument
|
H A D | print-zephyr.c | 142 #define ZEPHYR_PRINT(str1,str2) \ 143 { ND_PRINT("%s", (str1)); fn_print_str(ndo, (const u_char *)(str2)); }
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | strpool.c | 67 char *str, *str2; local 84 str2 = realloc(p->str, len + p->len + 1); 85 if (str2 == NULL) { 89 p->str = str2;
|
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_bcs.c | 43 const char * __restrict str2) 51 c2 = _bcs_toupper(*str2++); 62 const char * __restrict str2, size_t sz) 70 c2 = _bcs_toupper(*str2++); 42 _citrus_bcs_strcasecmp(const char * __restrict str1, const char * __restrict str2) argument 61 _citrus_bcs_strncasecmp(const char * __restrict str1, const char * __restrict str2, size_t sz) argument
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 44 str2 = ""; 184 this->str2 = command[i].alt ? altstr2 : str2; 190 this->str, this->str2, command[i].index, this->result); 193 this->str, this->str2, command[i].index); 195 this->str, this->str2, command[i].index); 197 this->str, this->str2, command[i].index); 207 this->str2 = command[i].alt ? altstr2 : str2; 213 this->str, this->str2, comman [all...] |
/freebsd-current/tools/test/iconv/ |
H A D | const-gnuism.c | 40 const char *str2 = "FOOBAR"; local 42 const char ** in2 = &str2;
|
/freebsd-current/contrib/unbound/daemon/ |
H A D | acl_list.c | 249 acl_list_view_cfg(struct acl_list* acl, const char* str, const char* str2, argument 258 node->view = views_find_view(vs, str2, 0 /* get read lock*/); 260 log_err("no view with name: %s", str2); 420 log_assert(p->str && p->str2); 421 if(!acl_list_str_cfg(acl, p->str, p->str2, 1)) 435 log_assert(p->str && p->str2); 436 if(!acl_list_view_cfg(acl, p->str, p->str2, v, 0, 0)) { 443 free(p->str2); 457 log_assert(p->str && p->str2); 458 if(!acl_list_tags_cfg(acl, p->str, p->str2, [all...] |
/freebsd-current/lib/libc/tests/stdio/ |
H A D | fmemopen2_test.c | 45 char str2[] = "AAAAAAAAA"; local 90 nofw = fwrite(str2, 1, sizeof(str2), fp); 151 char str2[] = "Do we have two sentences?"; local 152 char str3[sizeof(str) + sizeof(str2) -1]; 180 nofw = fwrite(str2, 1, sizeof(str2), fp); 181 ATF_REQUIRE(nofw == sizeof(str2)); 197 ATF_REQUIRE(strncmp(str3 + sizeof(str) - 1, str2, sizeof(str2)) [all...] |
/freebsd-current/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_macinfo.c | 33 Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) 56 else if (str2 == NULL) { 64 len = strlen(str1) + strlen(str2) + 2; 70 snprintf(md->dmd_macro, len, "%s %s", str1, str2); 32 _dwarf_add_macro(Dwarf_P_Debug dbg, int type, Dwarf_Unsigned lineno, Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) argument
|
/freebsd-current/contrib/tcsh/ |
H A D | tc.str.c | 356 s_strcmp(const Char *str1, const Char *str2) argument 358 for (; *str1 && *str1 == *str2; str1++, str2++) 365 if (*str1 == '\0' && *str2 == '\0') 369 else if (*str2 == '\0') 372 return (*str1 - *str2); 376 s_strncmp(const Char *str1, const Char *str2, size_t n) argument 381 if (*str1 != *str2) { 389 else if (*str2 == '\0') 392 return (*str1 - *str2); 403 s_strcasecmp(const Char *str1, const Char *str2) argument [all...] |
/freebsd-current/contrib/atf/atf-c/detail/ |
H A D | text.c | 43 char *str, *str2, *last; local 52 str2 = strtok_r(str, sep, &last); 53 while (str2 != NULL && !atf_is_error(err)) { 54 err = func(str2, data); 55 str2 = strtok_r(NULL, sep, &last);
|
H A D | dynstr_test.c | 261 atf_dynstr_t str, str2; local 264 RE(atf_dynstr_copy(&str2, &str)); 266 ATF_REQUIRE(atf_equal_dynstr_dynstr(&str, &str2)); 268 RE(atf_dynstr_append_fmt(&str2, " non-shared text")); 270 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2)); 272 atf_dynstr_fini(&str2); 591 atf_dynstr_t str, str2; local 594 RE(atf_dynstr_init_fmt(&str2, "Test")); 596 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2)); 597 atf_dynstr_fini(&str2); [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | error_string.c | 164 char *str = NULL, *str2 = NULL; local 181 e = asprintf(&str2, "%s: %s", str, context->error_string); 183 if (e < 0 || str2 == NULL) 186 context->error_string = str2;
|
/freebsd-current/usr.sbin/mtest/ |
H A D | mtest.c | 278 * str2: ifname 285 const char *str1, const char *str2, const char *str3) 294 assert(str2 != NULL); 298 ifindex = if_nametoindex(str2); 378 char str2[STR_SIZE]; local 422 sscanf(line, "%s %s %s", str1, str2, str3); 423 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3); 435 warn("primary_ip_lookup %s", str2); 535 if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) { 540 ifindex = parse_cmd_args(&su, NULL, str1, str2, NUL 284 parse_cmd_args(sockunion_t *psu, sockunion_t *psu2, const char *str1, const char *str2, const char *str3) argument [all...] |
/freebsd-current/contrib/libdiff/diff/ |
H A D | diff.c | 190 char *str1, *str2; local 220 f2 = openfile(file2, &str2, &st2); 232 rc = diff_atomize_file(&right, cfg, f2, str2, st2.st_size, diff_flags); 253 if (str2) 254 munmap(str2, st2.st_size);
|
/freebsd-current/usr.bin/diff/ |
H A D | diffreg_new.c | 147 char *str1, *str2; local 179 f2 = openfile(file2, &str2, &st2); 223 if (diff_atomize_file(&right, cfg, f2, (uint8_t *)str2, st2.st_size, diff_flags)) { 278 if (str2) 279 munmap(str2, st2.st_size);
|
/freebsd-current/contrib/unbound/util/ |
H A D | tcp_conn_limit.c | 136 log_assert(p->str && p->str2); 137 if(!tcl_list_str_cfg(tcl, p->str, p->str2, 1))
|
H A D | edns.c | 112 log_assert(c->str && c->str2); 121 net, c->str2)) {
|
/freebsd-current/contrib/unbound/smallapp/ |
H A D | unbound-checkconf.c | 217 "address %s %s", acl->str, acl->str2); 219 v = views_find_view(views, acl->str2, 0); 223 acl->str, acl->str2); 244 s3->str, s3->str2, s3->str3); 246 if(find_tag_id(cfg, s3->str2) == -1) { 249 s3->str2, s3->str, s3->str2, s3->str3); 254 s3->str3, s3->str, s3->str2, s3->str3); 267 s3->str, s3->str2, s3->str3); 269 if(find_tag_id(cfg, s3->str2) [all...] |
/freebsd-current/usr.bin/patch/ |
H A D | backupfile.c | 158 concat(const char *str1, const char *str2) argument 162 if (asprintf(&newstr, "%s%s", str1, str2) == -1)
|
/freebsd-current/lib/libutil/ |
H A D | login_ok.c | 68 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) argument 74 else if (login_strinlist(ttlst, str2, flags))
|
/freebsd-current/crypto/openssl/util/perl/OpenSSL/ |
H A D | OID.pm | 223 my $str2 = join(',', @{$name2oid{$name}->{nums}}); 226 unless $str1 eq $str2;
|
/freebsd-current/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 1253 std::string str2("OABOCDOOEOO"); 1255 EXPECT_FALSE(m0.Matches(str2 + std::string(1, '\0'))); 1257 str1[3] = str2[3] = '\0'; 1259 EXPECT_TRUE(m1.Matches(str2)); 1262 str2[0] = str2[6] = str2[7] = str2[10] = '\0'; 1264 str1[9] = str2[9] = '\0'; 1265 EXPECT_FALSE(m2.Matches(str2)); [all...] |