Searched refs:str1 (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/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-current/contrib/netbsd-tests/lib/libpthread/
H A Dh_cancel.c42 char str1[] = "You should see this.\n"; local
53 write(STDOUT_FILENO, str1, sizeof(str1)-1);
/freebsd-current/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-current/lib/libc/iconv/
H A Dcitrus_bcs.c42 _citrus_bcs_strcasecmp(const char * __restrict str1, argument
50 c1 = _bcs_toupper(*str1++);
61 _citrus_bcs_strncasecmp(const char * __restrict str1, argument
69 c1 = _bcs_toupper(*str1++);
/freebsd-current/tools/test/iconv/
H A Dconst-gnuism.c39 char *str1 = "FOOBAR"; local
56 in1 = &str1;
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_macinfo.c33 Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error)
54 if (str1 == NULL)
57 if ((md->dmd_macro = strdup(str1)) == 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 Dtc.str.c356 s_strcmp(const Char *str1, const Char *str2) argument
358 for (; *str1 && *str1 == *str2; str1++, str2++)
365 if (*str1 == '\0' && *str2 == '\0')
367 else if (*str1 == '\0')
372 return (*str1 - *str2);
376 s_strncmp(const Char *str1, const Char *str2, size_t n) argument
381 if (*str1 != *str2) {
387 if (*str1
403 s_strcasecmp(const Char *str1, const Char *str2) argument
[all...]
H A Dtw.parse.c2238 StrQcmp(const Char *str1, const Char *str2) argument
2240 for (; *str1 && samecase(*str1 & TRIM) == samecase(*str2 & TRIM);
2241 str1++, str2++)
2248 if (*str1 == '\0' && *str2 == '\0')
2250 else if (*str1 == '\0')
2255 return ((*str1 & TRIM) - (*str2 & TRIM));
/freebsd-current/usr.sbin/mtest/
H A Dmtest.c277 * str1: group (as AF_INET or AF_INET6 printable)
280 * This argument must have the same parsed address family as str1.
285 const char *str1, const char *str2, const char *str3)
293 assert(str1 != NULL);
310 error = getaddrinfo(str1, "0", &hints, &res);
377 char str1[STR_SIZE]; local
422 sscanf(line, "%s %s %s", str1, str2, str3);
423 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3);
535 if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) {
540 ifindex = parse_cmd_args(&su, NULL, str1, str
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 Ddiff.c190 char *str1, *str2; local
219 f1 = openfile(file1, &str1, &st1);
229 rc = diff_atomize_file(&left, cfg, f1, str1, st1.st_size, diff_flags);
251 if (str1)
252 munmap(str1, st1.st_size);
/freebsd-current/usr.bin/diff/
H A Ddiffreg_new.c147 char *str1, *str2; local
178 f1 = openfile(file1, &str1, &st1);
217 if (diff_atomize_file(&left, cfg, f1, (uint8_t *)str1, st1.st_size, diff_flags)) {
276 if (str1)
277 munmap(str1, st1.st_size);
/freebsd-current/sbin/ipf/ipfstat/
H A Dipfstat.c1277 char str1[STSTRSIZE], str2[STSTRSIZE], str3[STSTRSIZE], str4[STSTRSIZE]; local
1495 snprintf(str1, sizeof(str1), "%s - %s - state top", hostnm, IPL_VERSION);
1496 for (j = 0 ; j < (maxx - 8 - strlen(str1)) / 2; j++)
1498 printw("%s", str1);
1504 strftime(str1, 80, "%T", localtime(&t));
1505 printw("%s\n", str1);
1513 snprintf(str1, sizeof(str1), "%s,%d", getip(ver, &saddr), sport);
1515 snprintf(str1, sizeo
[all...]
/freebsd-current/usr.bin/patch/
H A Dbackupfile.c158 concat(const char *str1, const char *str2) argument
162 if (asprintf(&newstr, "%s%s", str1, str2) == -1)
/freebsd-current/lib/libutil/
H A Dlogin_ok.c68 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) argument
72 if (login_strinlist(ttlst, str1, flags))
/freebsd-current/crypto/openssl/util/perl/OpenSSL/
H A DOID.pm222 my $str1 = join(',', @nums);
226 unless $str1 eq $str2;
/freebsd-current/usr.bin/sort/
H A Dcoll.h174 int str_list_coll(struct bwstring *str1, struct sort_list_item **ss2);
H A Dcoll.c534 str_list_coll(struct bwstring *str1, struct sort_list_item **ss2) argument
541 preproc(str1, ka1);
546 bwsprintf(stdout, str1, "; s1=<", ">");
555 clean_keys_array(str1, ka1);
559 ret = top_level_str_coll(str1, ((*ss2)->str));
/freebsd-current/contrib/ee/
H A Dee.c2301 unsigned char *str1; local
2324 str1 = str2;
2354 *point = *str1;
2356 str1++;
4129 unsigned char *str1; local
4138 str1 = home = malloc(strlen(string)+10);
4151 str1 = str2 = string;
4159 if (compare(str1, CASE, FALSE))
4161 else if (compare(str1, NOCASE, FALSE))
4163 else if (compare(str1, EXPAN
[all...]
/freebsd-current/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1252 std::string str1("oabocdooeoo");
1254 Matcher<const std::string&> m0 = StrCaseEq(str1);
1257 str1[3] = str2[3] = '\0';
1258 Matcher<const std::string&> m1 = StrCaseEq(str1);
1261 str1[0] = str1[6] = str1[7] = str1[10] = '\0';
1263 Matcher<const std::string&> m2 = StrCaseEq(str1);
1264 str1[
[all...]
/freebsd-current/contrib/tcpdump/
H A Dprint-zephyr.c142 #define ZEPHYR_PRINT(str1,str2) \
143 { ND_PRINT("%s", (str1)); fn_print_str(ndo, (const u_char *)(str2)); }
/freebsd-current/crypto/openssl/test/
H A Dlocaletest.c95 char str1[] = "SubjectPublicKeyInfo", str2[] = "subjectpublickeyinfo"; local
104 res = strcasecmp(str1, str2);
107 if (!TEST_false(OPENSSL_strcasecmp(str1, str2)))
/freebsd-current/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-current/contrib/libpcap/
H A Dpcap-sita.c505 char str1[MAX_LINE_SIZE], str2[MAX_LINE_SIZE]; local
523 strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = 0;
525 retval = strcmp(str1, str2);
/freebsd-current/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,
1184 * @param str1: one string.
1192 ldns_radix_str_is_prefix(uint8_t* str1, radix_strlen_t len1, argument
1199 return 0; /* len1 is longer so str1 cannot be a prefix */
1201 return (memcmp(str1, str2, len1) == 0);
1207 * @param str1: one string.
1215 ldns_radix_str_common(uint8_t* str1, radix_strlen_t len1, argument
1220 if (str1[i] != str2[i]) {
/freebsd-current/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);

Completed in 300 milliseconds

12