Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 25 of 39) sorted by relevance

12

/dragonfly/contrib/tcsh-6/
H A Dtc.str.c358 for (; *str1 && *str1 == *str2; str1++, str2++)
369 else if (*str2 == '\0')
372 return (*str1 - *str2);
381 if (*str1 != *str2) {
389 else if (*str2 == '\0')
392 return (*str1 - *str2);
396 str1++, str2++;
408 if (*str1 == *str2)
415 if (*str1 == *str2)
430 else if (*str2 == '\0')
[all …]
H A Dtw.parse.c2239 StrQcmp(const Char *str1, const Char *str2) in StrQcmp() argument
2241 for (; *str1 && samecase(*str1 & TRIM) == samecase(*str2 & TRIM); in StrQcmp()
2242 str1++, str2++) in StrQcmp()
2249 if (*str1 == '\0' && *str2 == '\0') in StrQcmp()
2253 else if (*str2 == '\0') in StrQcmp()
2256 return ((*str1 & TRIM) - (*str2 & TRIM)); in StrQcmp()
/dragonfly/sbin/hammer2/
H A Dcmd_rsa.c52 char *str2; in cmd_rsainit() local
61 str2 = str1 - 1; in cmd_rsainit()
63 while ((str2 = strchr(str2 + 1, '/')) != NULL) { in cmd_rsainit()
64 *str2 = 0; in cmd_rsainit()
66 *str2 = '/'; in cmd_rsainit()
83 free(str2); in cmd_rsainit()
89 remove(str2); in cmd_rsainit()
94 if (stat(str2, &st) < 0) { in cmd_rsainit()
96 str1, str2); in cmd_rsainit()
102 free(str2); in cmd_rsainit()
[all …]
/dragonfly/lib/libc/citrus/
H A Dcitrus_bcs.c43 const char * __restrict str2) in _citrus_bcs_strcasecmp() argument
51 c2 = _bcs_toupper(*str2++); in _citrus_bcs_strcasecmp()
62 const char * __restrict str2, size_t sz) in _citrus_bcs_strncasecmp() argument
70 c2 = _bcs_toupper(*str2++); in _citrus_bcs_strncasecmp()
/dragonfly/sys/libprop/
H A Dprop_string.c117 prop_string_t str2 = v2; in _prop_string_equals() local
119 if (str1 == str2) in _prop_string_equals()
121 if (str1->ps_size != str2->ps_size) in _prop_string_equals()
123 if (strcmp(prop_string_contents(str1), prop_string_contents(str2))) in _prop_string_equals()
395 prop_string_equals(prop_string_t str1, prop_string_t str2) in prop_string_equals() argument
397 if (!prop_object_is_string(str1) || !prop_object_is_string(str2)) in prop_string_equals()
400 return prop_object_equals(str1, str2); in prop_string_equals()
/dragonfly/contrib/tcpdump/
H A Dprint-beep.c32 const char *str2, u_int l2) in l_strnstart() argument
34 if (!ND_TTEST_LEN(str2, tl1)) { in l_strnstart()
45 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0); in l_strnstart()
/dragonfly/bin/mined/
H A Dmined.h262 #define status_line(str1, str2) bottom_line(ON, (str1), (str2), NIL_PTR, FALSE) argument
263 #define error(str1, str2) bottom_line(ON, (str1), (str2), NIL_PTR, FALSE) argument
264 #define get_string(str1,str2, fl) bottom_line(ON, (str1), NIL_PTR, (str2), fl) argument
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dmemcmp.c5 memcmp (const void *str1, const void *str2, size_t count) in memcmp() argument
8 const unsigned char *s2 = str2; in memcmp()
/dragonfly/games/adventure/
H A Dextern.h104 #define weq(str1, str2) (!strncmp((str1), (str2), 5)) argument
/dragonfly/usr.bin/bc/
H A Dscan.l245 const char str2[] = "[^C\n]P\n";
251 write(STDOUT_FILENO, str2, sizeof(str2) - 1);
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dvtable-class-hierarchy.c820 tree str2, tree body) in insert_call_to_register_pair() argument
833 size_hint_arg, vtable_address, str1, str2); in insert_call_to_register_pair()
915 tree str2 = NULL_TREE; in register_all_pairs() local
956 str2 = build_string_from_id (DECL_NAME (vtable_decl)); in register_all_pairs()
1011 if (str2 == NULL_TREE) in register_all_pairs()
1012 str2 = build_string_literal (strlen ("unknown") + 1, in register_all_pairs()
1035 str2, body); in register_all_pairs()
/dragonfly/usr.bin/patch/
H A Dbackupfile.c164 concat(const char *str1, const char *str2) in concat() argument
168 if (asprintf(&newstr, "%s%s", str1, str2) == -1) in concat()
/dragonfly/games/larn/
H A Dio.c592 char *str2; in lprcat() local
595 str2 = lpnt; in lprcat()
596 while ((*str2++ = *str++) != '\0') in lprcat()
598 lpnt = str2 - 1; in lprcat()
H A Dmain.c554 show1(int idx, const char *str2[]) in show1() argument
557 if (str2 != NULL && str2[ivenarg[idx]][0] != 0) in show1()
558 lprintf(" of%s", str2[ivenarg[idx]]); in show1()
/dragonfly/lib/libutil/
H A Dlogin_ok.c70 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) in login_str2inlist() argument
76 else if (login_strinlist(ttlst, str2, flags)) in login_str2inlist()
/dragonfly/sys/dev/disk/ahci/
H A Dahci_pm.c104 const char *str2 = ""; in ahci_pm_port_probe() local
120 str2 = ", enable succeeded"; in ahci_pm_port_probe()
123 str2 = ", enable failed"; in ahci_pm_port_probe()
133 PORTNAME(ap), str1, str2, str3); in ahci_pm_port_probe()
/dragonfly/contrib/ldns/
H A Dradix.c64 uint8_t* str2, radix_strlen_t len2);
66 uint8_t* str2, radix_strlen_t len2);
1193 uint8_t* str2, radix_strlen_t len2) in ldns_radix_str_is_prefix() argument
1201 return (memcmp(str1, str2, len1) == 0); in ldns_radix_str_is_prefix()
1216 uint8_t* str2, radix_strlen_t len2) in ldns_radix_str_common() argument
1220 if (str1[i] != str2[i]) { in ldns_radix_str_common()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dsel-sched-dump.c530 replace_str_in_buf (char *buf, const char *str1, const char *str2) in replace_str_in_buf() argument
534 int str2_len = strlen (str2); in replace_str_in_buf()
558 p[i] = str2[i]; in replace_str_in_buf()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dsel-sched-dump.c596 replace_str_in_buf (char *buf, const char *str1, const char *str2) in replace_str_in_buf() argument
600 int str2_len = strlen (str2); in replace_str_in_buf()
624 p[i] = str2[i]; in replace_str_in_buf()
H A Dhsa-brig.c407 char *str2; variable
409 str2 = xstrdup (str);
412 hsa_sanitize_name (str2);
413 s_slot.s = str2;
429 brig_data.add (str2, slen);
434 new_slot->s = str2;
443 free (str2);
/dragonfly/sbin/hammer/
H A Dcmd_show.c756 char *str2 = NULL; in print_record() local
821 hammer_uuid_to_string(&data->pfsd.unique_uuid, &str2); in print_record()
825 printf(" unique_uuid=%s\n", str2); in print_record()
832 free(str2); in print_record()
/dragonfly/contrib/ee/
H A Dee.c2316 unsigned char *str2; local
2323 str2 = in_string;
2332 str2++;
2338 str1 = str2;
2343 str2++;
2374 if ((num == length) && (*str2 != '\n'))
4140 unsigned char *str2; in ee_init() local
4161 str1 = str2 = string; in ee_init()
4162 while (*str2 != '\n') in ee_init()
4163 str2++; in ee_init()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dcp-name-parser.y2184 char *str2, *extra_chars = "", c; in main() local
2204 str2 = cplus_demangle (buf, DMGL_PARAMS | DMGL_ANSI | DMGL_VERBOSE); in main()
2205 if (str2 == NULL) in main()
2214 result = cp_demangled_name_to_comp (str2, &errmsg); in main()
2225 free (str2); in main()
/dragonfly/crypto/libressl/apps/openssl/
H A Dca.c1735 ASN1_STRING *str, *str2; in do_body() local
1839 str = str2 = NULL; in do_body()
1908 str2 = X509_NAME_ENTRY_get_data(push); in do_body()
1909 if (str2 == NULL) in do_body()
1912 if (ASN1_STRING_cmp(str, str2) != 0) in do_body()
1918 cv->name, ((str2 == NULL) ? in do_body()
1919 "NULL" : (char *) str2->data), in do_body()
/dragonfly/contrib/less/
H A Dscreen.c1674 char str2[64]; in ltputs() local
1676 if (slen < sizeof(str2)) in ltputs()
1680 memcpy(str2, str, slen); in ltputs()
1681 str2[slen] = '\0'; in ltputs()
1682 do_tputs(str2, affcnt, f_putc); in ltputs()

12