/dragonfly/contrib/tcsh-6/ |
H A D | tc.str.c | 358 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 D | tw.parse.c | 2239 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 D | cmd_rsa.c | 52 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 D | citrus_bcs.c | 43 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 D | prop_string.c | 117 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 D | print-beep.c | 32 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 D | mined.h | 262 #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 D | memcmp.c | 5 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 D | extern.h | 104 #define weq(str1, str2) (!strncmp((str1), (str2), 5)) argument
|
/dragonfly/usr.bin/bc/ |
H A D | scan.l | 245 const char str2[] = "[^C\n]P\n"; 251 write(STDOUT_FILENO, str2, sizeof(str2) - 1);
|
/dragonfly/contrib/gcc-8.0/gcc/cp/ |
H A D | vtable-class-hierarchy.c | 820 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 D | backupfile.c | 164 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 D | io.c | 592 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 D | main.c | 554 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 D | login_ok.c | 70 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 D | ahci_pm.c | 104 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 D | radix.c | 64 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 D | sel-sched-dump.c | 530 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 D | sel-sched-dump.c | 596 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 D | hsa-brig.c | 407 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 D | cmd_show.c | 756 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 D | ee.c | 2316 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 D | cp-name-parser.y | 2184 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 D | ca.c | 1735 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 D | screen.c | 1674 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()
|