Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/contrib/one-true-awk/bugs-fixed/
H A Dsubsep-overflow.awk10 str1 = foo("a", 4500);
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-14.2/contrib/tcsh/
H A Dtc.str.c358 for (; *str1 && *str1 == *str2; str1++, str2++)
372 return (*str1 - *str2);
381 if (*str1 != *str2) {
387 if (*str1 == '\0')
392 return (*str1 - *str2);
396 str1++, str2++;
407 for (; *str1; str1++, str2++)
408 if (*str1 == *str2)
414 for (; *str1; str1++, str2++)
415 if (*str1 == *str2)
[all …]
/freebsd-14.2/usr.sbin/mtest/
H A Dmtest.c294 assert(str1 != NULL); in parse_cmd_args()
311 error = getaddrinfo(str1, "0", &hints, &res); in parse_cmd_args()
378 char str1[STR_SIZE]; in process_cmd() local
423 sscanf(line, "%s %s %s", str1, str2, str3); in process_cmd()
424 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3); in process_cmd()
563 fgets(str1, sizeof(str1), fp); in process_cmd()
564 cp = strchr(str1, '\n'); in process_cmd()
569 error = getaddrinfo(str1, "0", &hints, &res); in process_cmd()
603 sscanf(line, "%s %s %s", str1, str2, str3); in process_cmd()
773 if (sscanf(line, "%s %s", str1, str2) != 2) { in process_cmd()
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libpthread/
H A Dh_cancel.c42 char str1[] = "You should see this.\n"; in main() local
53 write(STDOUT_FILENO, str1, sizeof(str1)-1); in main()
/freebsd-14.2/lib/libc/iconv/
H A Dcitrus_bcs.c42 _citrus_bcs_strcasecmp(const char * __restrict str1, in _citrus_bcs_strcasecmp() argument
50 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strcasecmp()
61 _citrus_bcs_strncasecmp(const char * __restrict str1, in _citrus_bcs_strncasecmp() argument
69 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strncasecmp()
/freebsd-14.2/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_macinfo.c33 Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) in _dwarf_add_macro() argument
54 if (str1 == NULL) in _dwarf_add_macro()
57 if ((md->dmd_macro = strdup(str1)) == NULL) { in _dwarf_add_macro()
64 len = strlen(str1) + strlen(str2) + 2; in _dwarf_add_macro()
70 snprintf(md->dmd_macro, len, "%s %s", str1, str2); in _dwarf_add_macro()
/freebsd-14.2/crypto/openssl/test/
H A Dlocaletest.c95 char str1[] = "SubjectPublicKeyInfo", str2[] = "subjectpublickeyinfo"; in setup_tests() local
104 res = strcasecmp(str1, str2); in setup_tests()
107 if (!TEST_false(OPENSSL_strcasecmp(str1, str2))) in setup_tests()
H A Ddsatest.c80 static const unsigned char str1[] = "12345678901234567890"; in dsa_test() local
114 if (!TEST_true(DSA_sign(0, str1, 20, sig, &siglen, dsa))) in dsa_test()
116 if (TEST_int_gt(DSA_verify(0, str1, 20, sig, siglen, dsa), 0)) in dsa_test()
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.shortstr.d65 this->str1 = ".........................................";
66 printf("%d\n", index(this->str, this->str1));
71 printf("%d\n", rindex(this->str, this->str1));
/freebsd-14.2/sbin/ipf/ipfstat/
H A Dipfstat.c1499 snprintf(str1, sizeof(str1), "%s - %s - state top", hostnm, IPL_VERSION); in topipstates()
1502 printw("%s", str1); in topipstates()
1509 printw("%s\n", str1); in topipstates()
1517 snprintf(str1, sizeof(str1), "%s,%d", getip(ver, &saddr), sport); in topipstates()
1519 snprintf(str1, sizeof(str1), "%s", getip(ver, &saddr)); in topipstates()
1607 snprintf(str1, sizeof(str1), "%s,%hu", in topipstates()
1614 snprintf(str1, sizeof(str1), "%s", getip(tp->st_v, in topipstates()
1624 snprintf(str1, sizeof(str1), "%X/%X", tp->st_state[0], in topipstates()
1626 printw(" %3s", str1); in topipstates()
1632 str1[4] = '\0'; in topipstates()
[all …]
/freebsd-14.2/tools/test/iconv/
H A Dconst-gnuism.c40 char *str1 = "FOOBAR"; in main() local
57 in1 = &str1; in main()
/freebsd-14.2/contrib/ee/
H A Dee.c2301 unsigned char *str1; in get_line() local
2324 str1 = str2; in get_line()
2354 *point = *str1; in get_line()
2356 str1++; in get_line()
4129 unsigned char *str1; in ee_init() local
4184 str1 = next_word(str1); in ee_init()
4185 if (*str1 != '\0') in ee_init()
4186 echo_string(str1); in ee_init()
4190 str1 = next_word(str1); in ee_init()
4196 str1 = next_word(str1); in ee_init()
[all …]
/freebsd-14.2/crypto/openssl/util/perl/OpenSSL/
H A DOID.pm222 my $str1 = join(',', @nums);
226 unless $str1 eq $str2;
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1252 std::string str1("oabocdooeoo"); in TEST() local
1254 Matcher<const std::string&> m0 = StrCaseEq(str1); in TEST()
1257 str1[3] = str2[3] = '\0'; in TEST()
1258 Matcher<const std::string&> m1 = StrCaseEq(str1); in TEST()
1261 str1[0] = str1[6] = str1[7] = str1[10] = '\0'; in TEST()
1263 Matcher<const std::string&> m2 = StrCaseEq(str1); in TEST()
1264 str1[9] = str2[9] = '\0'; in TEST()
1981 ::std::wstring str1(L"oabocdooeoo"); in TEST()
1986 str1[3] = str2[3] = L'\0'; in TEST()
1990 str1[0] = str1[6] = str1[7] = str1[10] = L'\0'; in TEST()
[all …]
/freebsd-14.2/usr.bin/bc/
H A Dscan.l245 static const char str1[] = "[\n]P\n";
256 write(STDOUT_FILENO, str1, sizeof(str1) - 1);
/freebsd-14.2/usr.bin/patch/
H A Dbackupfile.c158 concat(const char *str1, const char *str2) in concat() argument
162 if (asprintf(&newstr, "%s%s", str1, str2) == -1) in concat()
/freebsd-14.2/contrib/googletest/docs/reference/
H A Dassertions.md233 `EXPECT_STREQ(`*`str1`*`,`*`str2`*`)` \
234 `ASSERT_STREQ(`*`str1`*`,`*`str2`*`)`
236 Verifies that the two C strings *`str1`* and *`str2`* have the same contents.
240 `EXPECT_STRNE(`*`str1`*`,`*`str2`*`)` \
241 `ASSERT_STRNE(`*`str1`*`,`*`str2`*`)`
243 Verifies that the two C strings *`str1`* and *`str2`* have different contents.
247 `EXPECT_STRCASEEQ(`*`str1`*`,`*`str2`*`)` \
248 `ASSERT_STRCASEEQ(`*`str1`*`,`*`str2`*`)`
250 Verifies that the two C strings *`str1`* and *`str2`* have the same contents,
255 `EXPECT_STRCASENE(`*`str1`*`,`*`str2`*`)` \
[all …]
/freebsd-14.2/lib/libutil/
H A Dlogin_ok.c69 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) in login_str2inlist() argument
73 if (login_strinlist(ttlst, str1, flags)) in login_str2inlist()
/freebsd-14.2/contrib/tcpdump/
H A Dprint-zephyr.c140 #define ZEPHYR_PRINT(str1,str2) \ argument
141 { ND_PRINT("%s", (str1)); fn_print_str(ndo, (const u_char *)(str2)); }
/freebsd-14.2/contrib/libpcap/
H A Dpcap-sita.c503 char str1[MAX_LINE_SIZE], str2[MAX_LINE_SIZE]; in if_sort() local
521 …strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = … in if_sort()
523 retval = strcmp(str1, str2); in if_sort()
/freebsd-14.2/contrib/ldns/
H A Dradix.c63 static int ldns_radix_str_is_prefix(uint8_t* str1, radix_strlen_t len1,
65 static radix_strlen_t ldns_radix_str_common(uint8_t* str1, radix_strlen_t len1,
1192 ldns_radix_str_is_prefix(uint8_t* str1, radix_strlen_t len1, in ldns_radix_str_is_prefix() argument
1201 return (memcmp(str1, str2, len1) == 0); in ldns_radix_str_is_prefix()
1215 ldns_radix_str_common(uint8_t* str1, radix_strlen_t len1, in ldns_radix_str_common() argument
1220 if (str1[i] != str2[i]) { in ldns_radix_str_common()
/freebsd-14.2/sbin/ipfw/
H A Dipfw2.h355 int _substrcmp(const char *str1, const char* str2);
356 int _substrcmp2(const char *str1, const char* str2, const char* str3);
/freebsd-14.2/usr.bin/sort/
H A Dcoll.h174 int str_list_coll(struct bwstring *str1, struct sort_list_item **ss2);
H A Dcoll.c535 str_list_coll(struct bwstring *str1, struct sort_list_item **ss2) in str_list_coll() argument
542 preproc(str1, ka1); in str_list_coll()
547 bwsprintf(stdout, str1, "; s1=<", ">"); in str_list_coll()
556 clean_keys_array(str1, ka1); in str_list_coll()
560 ret = top_level_str_coll(str1, ((*ss2)->str)); in str_list_coll()
/freebsd-14.2/contrib/ntp/sntp/libevent/include/event2/
H A Dutil.h662 int evutil_ascii_strcasecmp(const char *str1, const char *str2);
667 int evutil_ascii_strncasecmp(const char *str1, const char *str2, size_t n);

12