/netbsd-src/external/gpl3/binutils/dist/opcodes/ |
H A D | ia64-gen.c | 717 if ((notestr = strstr (name, "+")) != NULL) in parse_resource_users() 891 return ((op == IA64_OPND_RR_R3 && strstr (field, "rr")) in irf_operand() 892 || (op == IA64_OPND_DBR_R3 && strstr (field, "dbr")) in irf_operand() 893 || (op == IA64_OPND_IBR_R3 && strstr (field, "ibr")) in irf_operand() 894 || (op == IA64_OPND_PKR_R3 && strstr (field, "pkr")) in irf_operand() 895 || (op == IA64_OPND_PMC_R3 && strstr (field, "pmc")) in irf_operand() 896 || (op == IA64_OPND_PMD_R3 && strstr (field, "pmd")) in irf_operand() 897 || (op == IA64_OPND_MSR_R3 && strstr (field, "msr")) in irf_operand() 898 || (op == IA64_OPND_CPUID_R3 && strstr (field, "cpuid")) in irf_operand() 899 || (op == IA64_OPND_DAHR_R3 && strstr (field, "dahr"))); in irf_operand() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
H A D | ia64-gen.c | 725 if ((notestr = strstr (name, "+")) != NULL) in parse_resource_users() 898 return ((op == IA64_OPND_RR_R3 && strstr (field, "rr")) in irf_operand() 899 || (op == IA64_OPND_DBR_R3 && strstr (field, "dbr")) in irf_operand() 900 || (op == IA64_OPND_IBR_R3 && strstr (field, "ibr")) in irf_operand() 901 || (op == IA64_OPND_PKR_R3 && strstr (field, "pkr")) in irf_operand() 902 || (op == IA64_OPND_PMC_R3 && strstr (field, "pmc")) in irf_operand() 903 || (op == IA64_OPND_PMD_R3 && strstr (field, "pmd")) in irf_operand() 904 || (op == IA64_OPND_MSR_R3 && strstr (field, "msr")) in irf_operand() 905 || (op == IA64_OPND_CPUID_R3 && strstr (field, "cpuid")) in irf_operand() 906 || (op == IA64_OPND_DAHR_R3 && strstr (field, "dahr"))); in irf_operand() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/ |
H A D | driver-native.cc | 62 if (strstr (buf, "Godson2 V0.2") != NULL in host_detect_local_cpu() 63 || strstr (buf, "Loongson-2 V0.2") != NULL in host_detect_local_cpu() 64 || strstr (buf, "Loongson-2E") != NULL) in host_detect_local_cpu() 66 else if (strstr (buf, "Godson2 V0.3") != NULL in host_detect_local_cpu() 67 || strstr (buf, "Loongson-2 V0.3") != NULL in host_detect_local_cpu() 68 || strstr (buf, "Loongson-2F") != NULL) in host_detect_local_cpu() 70 else if (strstr (buf, "Godson3 V0.5") != NULL in host_detect_local_cpu() 71 || strstr (buf, "Loongson-3 V0.5") != NULL in host_detect_local_cpu() 72 || strstr (buf, "Loongson-3A") != NULL) in host_detect_local_cpu() 74 else if (strstr (buf, "SiByte SB1") != NULL) in host_detect_local_cpu() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/ |
H A D | driver-native.c | 62 if (strstr (buf, "Godson2 V0.2") != NULL in host_detect_local_cpu() 63 || strstr (buf, "Loongson-2 V0.2") != NULL in host_detect_local_cpu() 64 || strstr (buf, "Loongson-2E") != NULL) in host_detect_local_cpu() 66 else if (strstr (buf, "Godson2 V0.3") != NULL in host_detect_local_cpu() 67 || strstr (buf, "Loongson-2 V0.3") != NULL in host_detect_local_cpu() 68 || strstr (buf, "Loongson-2F") != NULL) in host_detect_local_cpu() 70 else if (strstr (buf, "Godson3 V0.5") != NULL in host_detect_local_cpu() 71 || strstr (buf, "Loongson-3 V0.5") != NULL in host_detect_local_cpu() 72 || strstr (buf, "Loongson-3A") != NULL) in host_detect_local_cpu() 74 else if (strstr (buf, "SiByte SB1") != NULL) in host_detect_local_cpu() [all …]
|
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpisrc/ |
H A D | asremove.c | 83 SubString = strstr (SubBuffer, Keyword); in AsRemoveStatement() 163 SubBuffer = strstr (SubString, Keyword); in AsRemoveConditionalCompile() 179 Comment = strstr (SubString, AS_START_IGNORE); in AsRemoveConditionalCompile() 185 SubString = strstr (Comment, AS_STOP_IGNORE); in AsRemoveConditionalCompile() 197 Comment = strstr (SubString, "/*"); in AsRemoveConditionalCompile() 202 SubString = strstr (Comment, "*/"); in AsRemoveConditionalCompile() 230 IfPtr = strstr (SubString, "#if"); in AsRemoveConditionalCompile() 246 EndifPtr = strstr (SubBuffer, "#endif"); in AsRemoveConditionalCompile() 254 ElsePtr = strstr (SubBuffer, "#else"); in AsRemoveConditionalCompile() 273 EndifPtr = strstr (SubString, "#endif"); in AsRemoveConditionalCompile() [all …]
|
H A D | asconvrt.c | 416 Possible = strstr (Possible, ". "); in AsRemoveSpacesAfterPeriod() 591 SubBuffer = strstr (Buffer, HeaderBegin); in AsTrimWhitespace() 599 SubBuffer = strstr (SubBuffer, "*/"); in AsTrimWhitespace() 639 SubBuffer = strstr (Buffer, HeaderBegin); in AsReplaceHeader() 647 TokenEnd = strstr (SubBuffer, "*/"); in AsReplaceHeader() 680 SubBuffer = strstr (Buffer, MODULE_HEADER_END); in AsDoSpdxHeader() 724 SubString1 = strstr (SubBuffer, Target); in AsReplaceString() 740 SubString2 = strstr (SubBuffer, AS_START_IGNORE); in AsReplaceString() 748 SubString2 = strstr (SubString2, AS_STOP_IGNORE); in AsReplaceString() 814 SubString = strstr (SubBuffer, "\r\n"); in AsConvertToLineFeeds() [all …]
|
H A D | ascase.c | 85 SubString1 = strstr (SubBuffer, Target); in AsLowerCaseString() 101 SubString2 = strstr (SubBuffer, AS_START_IGNORE); in AsLowerCaseString() 109 SubString2 = strstr (SubString2, AS_STOP_IGNORE); in AsLowerCaseString() 257 SubBuffer = strstr (SubBuffer, "!*/"); in AsMixedCaseToUnderscores() 498 SubBuffer = strstr (SubBuffer, "!*/"); in AsLowerCaseIdentifiers() 510 SubBuffer = strstr (SubBuffer, "*/"); in AsLowerCaseIdentifiers() 591 SubBuffer = strstr (SubBuffer, PrefixString); in AsUppercaseTokens()
|
/netbsd-src/tests/lib/libc/string/ |
H A D | t_strerror.c | 52 ATF_REQUIRE(strstr(strerror(i), "Unknown error:") == NULL); in ATF_TC_BODY() 55 ATF_REQUIRE(strstr(strerror(i), "Unknown error:") != NULL); in ATF_TC_BODY() 69 ATF_REQUIRE(strstr(strerror(INT_MAX), "Unknown error:") != NULL); in ATF_TC_BODY() 74 ATF_REQUIRE(strstr(strerror(INT_MIN), "Unknown error:") != NULL); in ATF_TC_BODY() 91 ATF_REQUIRE(strstr(buf, "Unknown error:") == NULL); in ATF_TC_BODY() 96 ATF_REQUIRE(strstr(buf, "Unknown error:") != NULL); in ATF_TC_BODY() 117 ATF_REQUIRE(strstr(buf, "Unknown error:") != NULL); in ATF_TC_BODY() 122 ATF_REQUIRE(strstr(buf, "Unknown error:") != NULL); in ATF_TC_BODY()
|
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/ |
H A D | strstr.m4 | 1 # strstr.m4 serial 24 7 dnl Check that strstr works. 17 AC_CACHE_CHECK([whether strstr works], 21 #include <string.h> /* for __GNU_LIBRARY__, strstr */ 32 [[return !!strstr (HAYSTACK, NEEDLE); 37 dnl affected, since it uses different source code for strstr than 72 dnl Additionally, check that strstr is efficient. 77 AC_CACHE_CHECK([whether strstr works in linear time], 81 /* z/OS does not deliver signals while strstr() is running (thanks to 87 #include <string.h> /* for strstr */ [all …]
|
/netbsd-src/usr.sbin/sysinst/arch/atari/ |
H A D | md.c | 66 if (strstr(instsys.version, "(ATARITT")) in md_init_set_status() 68 else if (strstr(instsys.version, "(FALCON")) in md_init_set_status() 70 else if (strstr(instsys.version, "(SMALL030")) in md_init_set_status() 72 else if (strstr(instsys.version, "(HADES")) in md_init_set_status() 74 else if (strstr(instsys.version, "(MILAN-ISAIDE")) in md_init_set_status() 76 else if (strstr(instsys.version, "(MILAN-PCIIDE")) in md_init_set_status() 150 if (strstr(cpu_model, "Milan") != NULL) in md_post_newfs()
|
/netbsd-src/external/bsd/unbound/dist/testcode/ |
H A D | memstats.c | 88 if(!strstr(line, " info: ")) in match() 90 if(strstr(line, "info: stat ")) in match() 92 if(strstr(line+30, "malloc(")) in match() 94 else if(strstr(line+30, "calloc(")) in match() 135 line = strstr(line, "info: ")+6; in read_malloc_stat() 160 line = strstr(line, "info: ")+6; in read_calloc_stat() 211 else if(strstr(buf+30, "malloc(")) in readfile() 213 else if(strstr(buf+30, "calloc(")) in readfile()
|
/netbsd-src/external/mit/libuv/dist/test/ |
H A D | test-dlerror.c | 38 ASSERT_NOT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL() 46 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL() 48 ASSERT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL() 54 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL() 56 ASSERT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL()
|
H A D | test-error.c | 53 ASSERT_NULL(strstr(uv_strerror(UV_EINVAL), "Success")); in TEST_IMPL() 57 ASSERT_NULL(strstr(uv_strerror_r(UV_EINVAL, buf, sizeof(buf)), "Success")); in TEST_IMPL() 58 ASSERT_NOT_NULL(strstr(uv_strerror_r(1337, buf, sizeof(buf)), "1337")); in TEST_IMPL() 59 ASSERT_NOT_NULL(strstr(uv_strerror_r(-1337, buf, sizeof(buf)), "-1337")); in TEST_IMPL()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/ |
H A D | nds32-isr.cc | 75 save_all_regs_str = strstr (target_str, "save_all_regs"); in nds32_interrupt_attribute_parse_string() 76 save_caller_regs_str = strstr (target_str, "save_caller_regs"); in nds32_interrupt_attribute_parse_string() 91 nested_str = strstr (target_str, "nested"); in nds32_interrupt_attribute_parse_string() 92 not_nested_str = strstr (target_str, "not_nested"); in nds32_interrupt_attribute_parse_string() 93 ready_nested_str = strstr (target_str, "ready_nested"); in nds32_interrupt_attribute_parse_string() 94 critical_str = strstr (target_str, "critical"); in nds32_interrupt_attribute_parse_string() 112 id_str = strstr (target_str, "id="); in nds32_interrupt_attribute_parse_string() 166 save_all_regs_str = strstr (target_str, "save_all_regs"); in nds32_exception_attribute_parse_string() 167 save_caller_regs_str = strstr (target_str, "save_caller_regs"); in nds32_exception_attribute_parse_string() 182 nested_str = strstr (target_str, "nested"); in nds32_exception_attribute_parse_string() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/ |
H A D | nds32-isr.c | 75 save_all_regs_str = strstr (target_str, "save_all_regs"); in nds32_interrupt_attribute_parse_string() 76 save_caller_regs_str = strstr (target_str, "save_caller_regs"); in nds32_interrupt_attribute_parse_string() 91 nested_str = strstr (target_str, "nested"); in nds32_interrupt_attribute_parse_string() 92 not_nested_str = strstr (target_str, "not_nested"); in nds32_interrupt_attribute_parse_string() 93 ready_nested_str = strstr (target_str, "ready_nested"); in nds32_interrupt_attribute_parse_string() 94 critical_str = strstr (target_str, "critical"); in nds32_interrupt_attribute_parse_string() 112 id_str = strstr (target_str, "id="); in nds32_interrupt_attribute_parse_string() 166 save_all_regs_str = strstr (target_str, "save_all_regs"); in nds32_exception_attribute_parse_string() 167 save_caller_regs_str = strstr (target_str, "save_caller_regs"); in nds32_exception_attribute_parse_string() 182 nested_str = strstr (target_str, "nested"); in nds32_exception_attribute_parse_string() [all …]
|
/netbsd-src/sys/arch/macppc/dev/ |
H A D | fcu.c | 244 if (strstr(descr, "CPU A") != NULL) in fcu_attach() 246 if (strstr(descr, "CPU B") != NULL) { in fcu_attach() 262 if (strstr(descr, "PUMP") != NULL) { in fcu_attach() 269 } else if (strstr(descr, "INTAKE") != NULL) { in fcu_attach() 276 } else if (strstr(descr, "EXHAUST") != NULL) { in fcu_attach() 283 } else if (strstr(descr, "DRIVE") != NULL ) { in fcu_attach() 296 if (strstr(descr, "CPU") != NULL) { in fcu_attach() 303 } else if ((strstr(descr, "BACKSIDE") != NULL) || in fcu_attach() 304 (strstr(descr, "SLOT") != NULL)) { in fcu_attach() 311 } else if (strstr(descr, "DRIVE") != NULL) { in fcu_attach() [all …]
|
/netbsd-src/usr.sbin/sysinst/arch/sgimips/ |
H A D | md.c | 71 if (strstr(instsys.version, "(INSTALL32_IP3x")) in md_init_set_status() 73 else if (strstr(instsys.version, "(INSTALL32_IP2x")) in md_init_set_status() 75 else if (strstr(instsys.version, "(GENERIC32_IP12")) in md_init_set_status() 164 if (strstr(instsys.version, "(INSTALL32_IP3x")) in md_post_disklabel() 169 if (strstr(instsys.version, "(INSTALL32_IP2x")) { in md_post_disklabel() 209 if (strstr(instsys.version, "(GENERIC32_IP12")) in md_cleanup_install()
|
/netbsd-src/external/public-domain/sqlite/dist/tea/win/ |
H A D | nmakehlp.c | 321 return !(strstr(Out.buffer, "D4002") != NULL in CheckForCompilerFeature() 322 || strstr(Err.buffer, "D4002") != NULL in CheckForCompilerFeature() 323 || strstr(Out.buffer, "D9002") != NULL in CheckForCompilerFeature() 324 || strstr(Err.buffer, "D9002") != NULL in CheckForCompilerFeature() 325 || strstr(Out.buffer, "D2021") != NULL in CheckForCompilerFeature() 326 || strstr(Err.buffer, "D2021") != NULL); in CheckForCompilerFeature() 454 return !(strstr(Out.buffer, "LNK1117") != NULL || in CheckForLinkerFeature() 455 strstr(Err.buffer, "LNK1117") != NULL || in CheckForLinkerFeature() 456 strstr(Out.buffer, "LNK4044") != NULL || in CheckForLinkerFeature() 457 strstr(Err.buffer, "LNK4044") != NULL || in CheckForLinkerFeature() [all …]
|
/netbsd-src/external/bsd/atf/dist/atf-c/ |
H A D | check_test.c | 424 ATF_CHECK(strstr(out1, "check.XXXXXX") == NULL); in ATF_TC_BODY() 425 ATF_CHECK(strstr(out2, "check.XXXXXX") == NULL); in ATF_TC_BODY() 426 ATF_CHECK(strstr(err1, "check.XXXXXX") == NULL); in ATF_TC_BODY() 427 ATF_CHECK(strstr(err2, "check.XXXXXX") == NULL); in ATF_TC_BODY() 429 ATF_CHECK(strstr(out1, "/check") != NULL); in ATF_TC_BODY() 430 ATF_CHECK(strstr(out2, "/check") != NULL); in ATF_TC_BODY() 431 ATF_CHECK(strstr(err1, "/check") != NULL); in ATF_TC_BODY() 432 ATF_CHECK(strstr(err2, "/check") != NULL); in ATF_TC_BODY() 434 ATF_CHECK(strstr(out1, "/stdout") != NULL); in ATF_TC_BODY() 435 ATF_CHECK(strstr(out2, "/stdout") != NULL); in ATF_TC_BODY() [all …]
|
/netbsd-src/usr.sbin/rpc.pcnfsd/ |
H A D | pcnfsd_print.c | 914 if (!strstr(buff, "not accepting")) in get_pr_status() 919 if (!strstr(buff, "disabled")) in get_pr_status() 921 if (strstr(buff, "printing")) in get_pr_status() 924 if (strstr(buff, "idle")) in get_pr_status() 1009 *avail = (strstr(buff2, "enabled") != NULL); in get_pr_status() 1013 *printing = (strstr(buff2, "enabled") != NULL); in get_pr_status() 1016 if (isdigit((unsigned char)buff2[0]) && (strstr(buff2, "entr") != NULL)) { in get_pr_status() 1021 if (strstr(buff2, "attention") != NULL || in get_pr_status() 1022 strstr(buff2, "error") != NULL) in get_pr_status() 1024 if (*needs_operator || strstr(buff2, "waiting") != NULL) in get_pr_status() [all …]
|
/netbsd-src/sys/dev/acpi/ |
H A D | acpi_apm.c | 286 if (strstr(edata->desc, "connected")) { in apm_per_sensor() 289 else if (strstr(edata->desc, "present") && data != 0) in apm_per_sensor() 291 else if (strstr(edata->desc, "charging")) { in apm_per_sensor() 297 else if (strstr(edata->desc, "last full cap")) { in apm_per_sensor() 301 else if (strstr(edata->desc, "design cap")) in apm_per_sensor() 303 else if (strstr(edata->desc, "charge") && in apm_per_sensor() 304 strstr(edata->desc, "charge rate") == NULL && in apm_per_sensor() 305 strstr(edata->desc, "charge state") == NULL) { in apm_per_sensor() 317 else if (strstr(edata->desc, "discharge rate")) { in apm_per_sensor()
|
/netbsd-src/external/gpl2/xcvs/dist/m4/ |
H A D | strstr.m4 | 1 # strstr.m4 serial 4 9 dnl No known system has a strstr() function that works correctly in 11 AC_LIBOBJ(strstr) 15 # Prerequisites of lib/strstr.c.
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/ |
H A D | strstr.m4 | 1 # strstr.m4 serial 5 9 dnl No known system has a strstr() function that works correctly in 11 AC_LIBOBJ(strstr) 15 # Prerequisites of lib/strstr.c.
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-m4/ |
H A D | strstr.m4 | 1 # strstr.m4 serial 5 9 dnl No known system has a strstr() function that works correctly in 11 AC_LIBOBJ(strstr) 15 # Prerequisites of lib/strstr.c.
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
H A D | strstr.h | 29 #undef strstr 30 #define strstr rpl_strstr macro 33 extern char *strstr (const char *haystack, const char *needle);
|