| /netbsd-src/sys/arch/prep/prep/ |
| H A D | autoconf.c | 108 prop_string_t str1; in device_register() local 138 str1 = prop_string_create_cstring("/"); in device_register() 139 KASSERT(str1 != NULL); in device_register() 141 "prep-fw-path-component", str1); in device_register() 142 prop_object_release(str1); in device_register() 221 str1 = prop_string_create_cstring(devpath); in device_register() 222 KASSERT(str1 != NULL); in device_register() 224 "prep-fw-path-component", str1); in device_register() 225 prop_object_release(str1); in device_register() 232 prop_string_t str1, str2, str3; in gen_fwpath() local [all …]
|
| /netbsd-src/external/historical/nawk/dist/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);
|
| /netbsd-src/bin/csh/ |
| H A D | str.c | 260 s_strcmp(const Char *str1, const Char *str2) in s_strcmp() argument 262 for (; *str1 && *str1 == *str2; str1++, str2++) in s_strcmp() 269 if (*str1 == '\0' && *str2 == '\0') in s_strcmp() 271 else if (*str1 == '\0') in s_strcmp() 276 return (*str1 - *str2); in s_strcmp() 280 s_strncmp(const Char *str1, const Char *str2, size_t n) in s_strncmp() argument 285 if (*str1 != *str2) { in s_strncmp() 291 if (*str1 == '\0') in s_strncmp() 296 return (*str1 - *str2); in s_strncmp() 298 if (*str1 == '\0') in s_strncmp() [all …]
|
| /netbsd-src/external/mpl/bind/dist/tests/dns/ |
| H A D | rbtdb_test.c | |
| /netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| H A D | data.c | 298 int d_relstring(char *str1, char *str2) in d_relstring() argument 302 while (*str1 && *str2) in d_relstring() 304 diff = hfs_charorder[(unsigned char) *str1] - in d_relstring() 310 ++str1, ++str2; in d_relstring() 313 if (! *str1 && *str2) in d_relstring() 315 else if (*str1 && ! *str2) in d_relstring()
|
| /netbsd-src/external/bsd/nvi/dist/motif_l/ |
| H A D | m_func.c | 39 vi_addstr(int ipvi, char *str1, u_int32_t len1) in vi_addstr() argument 42 vtrace("addstr() {%.*s}\n", ipbp->len1, ipbp->str1); in vi_addstr() 46 str1, len1); in vi_addstr() 86 vi_busyon(int ipvi, char *str1, u_int32_t len1) in vi_busyon() argument 252 vi_rename(int ipvi, char *str1, u_int32_t len1) in vi_rename() argument 259 for (p = str1, len = len1; len > 1; ++p, --len) in vi_rename() 271 XmNtitle, str1, in vi_rename() 350 vi_select(int ipvi, char *str1, u_int32_t len1) in vi_select() argument
|
| /netbsd-src/external/gpl2/groff/dist/src/preproc/grn/ |
| H A D | main.cpp | 722 char str1[MAXINLINE]; in interpret() local 729 sscanf(line, "%80s%80s", &str1[0], &str2[0]); in interpret() 730 for (chr = &str1[0]; *chr; chr++) /* convert command to */ in interpret() 734 switch (str1[0]) { in interpret() 742 tsize[str1[0] - '1'] = i; in interpret() 769 if (str1[1] == 'c') in interpret() 777 if (str1[1] == 't') in interpret() 785 if (isdigit(str1[1])) { /* set stipple index */ in interpret() 786 int idx = atoi(str1 + 1), val; in interpret() 816 switch (str1[1]) { in interpret() [all …]
|
| /netbsd-src/external/bsd/elftoolchain/dist/libdwarf/ |
| H A D | dwarf_pro_macinfo.c | 36 Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) in _dwarf_add_macro() argument 57 if (str1 == NULL) in _dwarf_add_macro() 60 if ((md->dmd_macro = strdup(str1)) == NULL) { in _dwarf_add_macro() 67 len = strlen(str1) + strlen(str2) + 2; in _dwarf_add_macro() 73 snprintf(md->dmd_macro, len, "%s %s", str1, str2); in _dwarf_add_macro()
|
| /netbsd-src/lib/libc/citrus/ |
| H A D | citrus_bcs.c | 51 _citrus_bcs_strcasecmp(const char * __restrict str1, in _citrus_bcs_strcasecmp() argument 57 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strcasecmp() 68 _citrus_bcs_strncasecmp(const char * __restrict str1, in _citrus_bcs_strncasecmp() argument 74 c1 = _bcs_toupper(*str1++); in _citrus_bcs_strncasecmp()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | link.c | 45 char *str1, *str2; in link_internal() local 48 str1 = fc_strdup (path1, path1_len); in link_internal() 51 val = link (str1, str2); in link_internal() 53 free (str1); in link_internal()
|
| H A D | symlnk.c | 43 char *str1 = fc_strdup (path1, path1_len); in symlnk_internal() local 45 int val = symlink (str1, str2); in symlnk_internal() 46 free (str1); in symlnk_internal()
|
| H A D | rename.c | 35 char *str1 = fc_strdup (path1, path1_len); in rename_internal() local 37 int val = rename (str1, str2); in rename_internal() 38 free (str1); in rename_internal()
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | link.c | 45 char *str1, *str2; in link_internal() local 48 str1 = fc_strdup (path1, path1_len); in link_internal() 51 val = link (str1, str2); in link_internal() 53 free (str1); in link_internal()
|
| H A D | symlnk.c | 43 char *str1 = fc_strdup (path1, path1_len); in symlnk_internal() local 45 int val = symlink (str1, str2); in symlnk_internal() 46 free (str1); in symlnk_internal()
|
| H A D | rename.c | 35 char *str1 = fc_strdup (path1, path1_len); in rename_internal() local 37 int val = rename (str1, str2); in rename_internal() 38 free (str1); in rename_internal()
|
| /netbsd-src/tests/lib/libpthread/ |
| H A D | h_cancel.c | 42 char str1[] = "You should see this.\n"; in main() local 51 write(STDOUT_FILENO, str1, sizeof(str1)-1); in main()
|
| /netbsd-src/external/zlib/pigz/dist/zopfli/ |
| H A D | zopfli_bin.c | 115 static char* AddStrings(const char* str1, const char* str2) { in AddStrings() argument 116 size_t len = strlen(str1) + strlen(str2); in AddStrings() 119 strcpy(result, str1); in AddStrings() 124 static char StringsEqual(const char* str1, const char* str2) { in StringsEqual() argument 125 return strcmp(str1, str2) == 0; in StringsEqual()
|
| /netbsd-src/external/bsd/nvi/dist/ipc/ |
| H A D | ipc_method.c | 35 const char *str1, u_int32_t len1, 226 ipb.str1 = str; in vi_send_a() 240 ipb.str1 = str; 248 vi_send_ab1(IPVIWIN *ipvi, int code, const char *str1, u_int32_t len1, 254 ipb.str1 = str1;
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | localetest.c | 95 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()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | aix5ppc-core.c | 247 const char *str1, *str2; in xcoff64_core_file_matches_executable_p() local 290 str1 = strrchr (path, '/'); in xcoff64_core_file_matches_executable_p() 294 str1 = str1 != NULL ? str1 + 1 : path; in xcoff64_core_file_matches_executable_p() 297 if (strcmp (str1, str2) == 0) in xcoff64_core_file_matches_executable_p()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | tsig.c | 209 tsig_strlowercmp(const char* str1, const char* str2) in tsig_strlowercmp() argument 211 while (str1 && str2 && *str1 != '\0' && *str2 != '\0') { in tsig_strlowercmp() 212 if(tolower((unsigned char)*str1) != tolower((unsigned char)*str2)) { in tsig_strlowercmp() 213 if(tolower((unsigned char)*str1) < tolower((unsigned char)*str2)) in tsig_strlowercmp() 217 str1++; in tsig_strlowercmp() 220 if (str1 && str2) { in tsig_strlowercmp() 221 if (*str1 == *str2) in tsig_strlowercmp() 223 else if (*str1 == '\0') in tsig_strlowercmp() 226 else if (!str1 && !str2) in tsig_strlowercmp() 228 else if (!str1 && str2) in tsig_strlowercmp()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | aix5ppc-core.c | 268 const char *str1, *str2; in xcoff64_core_file_matches_executable_p() local 311 str1 = strrchr (path, '/'); in xcoff64_core_file_matches_executable_p() 315 str1 = str1 != NULL ? str1 + 1 : path; in xcoff64_core_file_matches_executable_p() 318 if (strcmp (str1, str2) == 0) in xcoff64_core_file_matches_executable_p()
|
| /netbsd-src/games/hack/ |
| H A D | hack.do_name.c | 245 char **str1; in docall() local 259 str1 = &(objects[obj->otyp].oc_uname); in docall() 260 if (*str1) in docall() 261 free(*str1); in docall() 262 *str1 = str; in docall()
|
| /netbsd-src/common/lib/libprop/ |
| H A D | prop_string.c | 194 prop_string_t str1 = v1; in _prop_string_equals() local 197 if (str1 == str2) in _prop_string_equals() 199 if (str1->ps_size != str2->ps_size) in _prop_string_equals() 201 if (strcmp(prop_string_contents(str1), prop_string_contents(str2))) in _prop_string_equals() 579 prop_string_equals(prop_string_t str1, prop_string_t str2) in prop_string_equals() argument 581 if (!prop_object_is_string(str1) || !prop_object_is_string(str2)) in prop_string_equals() 584 return prop_object_equals(str1, str2); in prop_string_equals()
|
| /netbsd-src/external/bsd/nvi/dist/ip/ |
| H A D | ip_funcs.c | 52 ipb.str1 = __UNCONST(str); in ip_waddstr() 88 ipb.str1 = str; in ip_addstr() 170 ipb.str1 = str; in ip_busy() 490 ipb.str1 = name; in ip_rename() 510 ipb.str1 = msg == NULL ? "" : msg; in ip_reply() 511 ipb.len1 = strlen(ipb.str1); in ip_reply()
|