| /freebsd-13.1/contrib/one-true-awk/bugs-fixed/ |
| H A D | subsep-overflow.awk | 10 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-13.1/contrib/tcsh/ |
| H A D | tc.str.c | 358 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-13.1/usr.sbin/mtest/ |
| H A D | mtest.c | 296 assert(str1 != NULL); in parse_cmd_args() 313 error = getaddrinfo(str1, "0", &hints, &res); in parse_cmd_args() 380 char str1[STR_SIZE]; in process_cmd() local 425 sscanf(line, "%s %s %s", str1, str2, str3); in process_cmd() 426 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3); in process_cmd() 565 fgets(str1, sizeof(str1), fp); in process_cmd() 566 cp = strchr(str1, '\n'); in process_cmd() 571 error = getaddrinfo(str1, "0", &hints, &res); in process_cmd() 605 sscanf(line, "%s %s %s", str1, str2, str3); in process_cmd() 775 if (sscanf(line, "%s %s", str1, str2) != 2) { in process_cmd() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread/ |
| H A D | h_cancel.c | 42 char str1[] = "You should see this.\n"; in main() local 53 write(STDOUT_FILENO, str1, sizeof(str1)-1); in main()
|
| /freebsd-13.1/lib/libc/iconv/ |
| H A D | citrus_bcs.c | 44 _citrus_bcs_strcasecmp(const char * __restrict str1, in _citrus_bcs_strcasecmp() argument 52 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strcasecmp() 63 _citrus_bcs_strncasecmp(const char * __restrict str1, in _citrus_bcs_strncasecmp() argument 71 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strncasecmp()
|
| /freebsd-13.1/contrib/elftoolchain/libdwarf/ |
| H A D | dwarf_pro_macinfo.c | 33 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-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
| H A D | tst.shortstr.d | 65 this->str1 = "........................................."; 66 printf("%d\n", index(this->str, this->str1)); 71 printf("%d\n", rindex(this->str, this->str1));
|
| /freebsd-13.1/contrib/apr/strings/ |
| H A D | apr_cstr.c | 285 const unsigned char *str1 = (const unsigned char *)s1; in apr_cstr_casecmp() local 289 const int c1 = (int)(*str1); in apr_cstr_casecmp() 295 str1++; in apr_cstr_casecmp() 302 const unsigned char *str1 = (const unsigned char *)s1; in apr_cstr_casecmpn() local 306 const int c1 = (int)(*str1); in apr_cstr_casecmpn() 312 str1++; in apr_cstr_casecmpn()
|
| /freebsd-13.1/contrib/subversion/subversion/include/ |
| H A D | svn_string.h | 183 svn_string_compare(const svn_string_t *str1, const svn_string_t *str2); 431 svn_stringbuf_compare(const svn_stringbuf_t *str1, 452 svn_string_compare_stringbuf(const svn_string_t *str1, 570 svn_cstring_casecmp(const char *str1, const char *str2);
|
| /freebsd-13.1/sbin/ipf/ipfstat/ |
| H A D | ipfstat.c | 1501 snprintf(str1, sizeof(str1), "%s - %s - state top", hostnm, IPL_VERSION); in topipstates() 1504 printw("%s", str1); in topipstates() 1511 printw("%s\n", str1); in topipstates() 1519 snprintf(str1, sizeof(str1), "%s,%d", getip(ver, &saddr), sport); in topipstates() 1521 snprintf(str1, sizeof(str1), "%s", getip(ver, &saddr)); in topipstates() 1609 snprintf(str1, sizeof(str1), "%s,%hu", in topipstates() 1616 snprintf(str1, sizeof(str1), "%s", getip(tp->st_v, in topipstates() 1626 snprintf(str1, sizeof(str1), "%X/%X", tp->st_state[0], in topipstates() 1628 printw(" %3s", str1); in topipstates() 1634 str1[4] = '\0'; in topipstates() [all …]
|
| /freebsd-13.1/tools/test/iconv/ |
| H A D | const-gnuism.c | 42 char *str1 = "FOOBAR"; in main() local 59 in1 = &str1; in main()
|
| /freebsd-13.1/contrib/apr/include/ |
| H A D | apr_cstr.h | 161 APR_DECLARE(int) apr_cstr_casecmp(const char *str1, const char *str2); 175 APR_DECLARE(int) apr_cstr_casecmpn(const char *str1,
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | string.c | 145 string_compare(const char *str1, in string_compare() argument 156 if ((memcmp(str1, str2, len1)) == 0) in string_compare() 312 svn_string_compare(const svn_string_t *str1, const svn_string_t *str2) in svn_string_compare() argument 315 string_compare(str1->data, str2->data, str1->len, str2->len); in svn_string_compare() 820 svn_stringbuf_compare(const svn_stringbuf_t *str1, in svn_stringbuf_compare() argument 823 return string_compare(str1->data, str2->data, str1->len, str2->len); in svn_stringbuf_compare() 866 svn_string_compare_stringbuf(const svn_string_t *str1, in svn_string_compare_stringbuf() argument 869 return string_compare(str1->data, str2->data, str1->len, str2->len); in svn_string_compare_stringbuf() 1048 svn_cstring_casecmp(const char *str1, const char *str2) in svn_cstring_casecmp() argument 1052 const int a = *str1++; in svn_cstring_casecmp()
|
| H A D | utf8proc.c | 202 const char *str1, apr_size_t len1, in svn_utf__normcmp() argument 211 (0 == len1 || (len1 == SVN_UTF__UNKNOWN_LENGTH && !*str1)); in svn_utf__normcmp() 220 SVN_ERR(decompose_normalized(&buflen1, str1, len1, buf1)); in svn_utf__normcmp()
|
| /freebsd-13.1/contrib/ee/ |
| H A D | ee.c | 2311 unsigned char *str1; local 2334 str1 = str2; 2364 *point = *str1; 2366 str1++; 4135 unsigned char *str1; in ee_init() local 4190 str1 = next_word(str1); in ee_init() 4191 if (*str1 != '\0') in ee_init() 4192 echo_string(str1); in ee_init() 4196 str1 = next_word(str1); in ee_init() 4202 str1 = next_word(str1); in ee_init() [all …]
|
| /freebsd-13.1/contrib/apr-util/test/ |
| H A D | testxlate.c | 56 const char *str1, const char *str2, in one_test() argument 68 test_conversion(tc, convset, str1, str2); in one_test()
|
| /freebsd-13.1/usr.bin/bc/ |
| H A D | scan.l | 247 static const char str1[] = "[\n]P\n"; 258 write(STDOUT_FILENO, str1, sizeof(str1) - 1);
|
| /freebsd-13.1/usr.bin/patch/ |
| H A D | backupfile.c | 159 concat(const char *str1, const char *str2) in concat() argument 163 if (asprintf(&newstr, "%s%s", str1, str2) == -1) in concat()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | login_ok.c | 71 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) in login_str2inlist() argument 75 if (login_strinlist(ttlst, str1, flags)) in login_str2inlist()
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | pcap-sita.c | 504 char str1[MAX_LINE_SIZE], str2[MAX_LINE_SIZE]; in if_sort() local 522 …strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = … in if_sort() 524 retval = strcmp(str1, str2); in if_sort()
|
| /freebsd-13.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers_test.cc | 1399 std::string str1("oabocdooeoo"); in TEST() local 1404 str1[3] = str2[3] = '\0'; in TEST() 1408 str1[0] = str1[6] = str1[7] = str1[10] = '\0'; in TEST() 1411 str1[9] = str2[9] = '\0'; in TEST() 1917 str1[3] = str2[3] = L'\0'; in TEST() 1921 str1[0] = str1[6] = str1[7] = str1[10] = L'\0'; in TEST() 1924 str1[9] = str2[9] = L'\0'; in TEST() 2103 ::wstring str1(L"oabocdooeoo"); in TEST() 2108 str1[3] = str2[3] = L'\0'; in TEST() 2112 str1[0] = str1[6] = str1[7] = str1[10] = L'\0'; in TEST() [all …]
|
| /freebsd-13.1/contrib/ldns/ |
| H A D | radix.c | 63 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, 1189 ldns_radix_str_is_prefix(uint8_t* str1, radix_strlen_t len1, in ldns_radix_str_is_prefix() argument 1198 return (memcmp(str1, str2, len1) == 0); in ldns_radix_str_is_prefix() 1212 ldns_radix_str_common(uint8_t* str1, radix_strlen_t len1, in ldns_radix_str_common() argument 1217 if (str1[i] != str2[i]) { in ldns_radix_str_common()
|
| /freebsd-13.1/sbin/ipfw/ |
| H A D | ipfw2.h | 351 int _substrcmp(const char *str1, const char* str2); 352 int _substrcmp2(const char *str1, const char* str2, const char* str3);
|
| /freebsd-13.1/usr.bin/sort/ |
| H A D | coll.h | 175 int str_list_coll(struct bwstring *str1, struct sort_list_item **ss2);
|
| /freebsd-13.1/contrib/subversion/subversion/include/private/ |
| H A D | svn_utf_private.h | 133 const char *str1, apr_size_t len1,
|