/third_party/backends/backend/ |
H A D | epsonds-cmd.c | 56 if (strncmp("---", param, 3) == 0) in esci2_parse_block() 60 if (strncmp("GMT", param, 3) == 0 && *(start + 5) == 'h') { in esci2_parse_block() 99 if (strncmp(cmd, buf, 4) != 0) { in esci2_check_header() 101 if (strncmp("UNKN", buf, 4) == 0) { in esci2_check_header() 103 } else if (strncmp("INVD", buf, 4) == 0) { in esci2_check_header() 160 if (strncmp("#nrd", buf, 4) == 0) { in esci2_cmd() 163 if (strncmp("BUSY", buf, 4) == 0) { in esci2_cmd() 353 if (strncmp("nrd", token, 3) == 0) { in info_cb() 354 if (strncmp("BUSY", value, 4) == 0) { in info_cb() 359 if (strncmp("PR in info_cb() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtpdec_rfc4175.c | 53 if (!strncmp(data->sampling, "YCbCr-4:2:2", 11)) { in rfc4175_parse_format() 68 } else if (!strncmp(data->sampling, "YCbCr-4:2:0", 11)) { in rfc4175_parse_format() 79 } else if (!strncmp(data->sampling, "RGB", 3)) { in rfc4175_parse_format() 89 } else if (!strncmp(data->sampling, "BGR", 3)) { in rfc4175_parse_format() 126 if (!strncmp(attr, "width", 5)) in rfc4175_parse_fmtp() 128 else if (!strncmp(attr, "height", 6)) in rfc4175_parse_fmtp() 130 else if (!strncmp(attr, "sampling", 8)) in rfc4175_parse_fmtp() 132 else if (!strncmp(attr, "depth", 5)) in rfc4175_parse_fmtp() 134 else if (!strncmp(attr, "interlace", 9)) in rfc4175_parse_fmtp() 136 else if (!strncmp(att in rfc4175_parse_fmtp() [all...] |
H A D | httpauth.c | 34 if (!strncmp(key, "realm=", key_len)) { in handle_basic_params() 45 if (!strncmp(key, "realm=", key_len)) { in handle_digest_params() 48 } else if (!strncmp(key, "nonce=", key_len)) { in handle_digest_params() 51 } else if (!strncmp(key, "opaque=", key_len)) { in handle_digest_params() 54 } else if (!strncmp(key, "algorithm=", key_len)) { in handle_digest_params() 57 } else if (!strncmp(key, "qop=", key_len)) { in handle_digest_params() 60 } else if (!strncmp(key, "stale=", key_len)) { in handle_digest_params() 71 if (!strncmp(key, "nextnonce=", key_len)) { in handle_digest_update()
|
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api-strings.cpp | 98 TEST_ASSERT (!strncmp (string_from_utf8, string_from_cesu8, utf8_sz)); in HWTEST_F() 121 TEST_ASSERT (!strncmp (string_from_utf8_string, string_from_cesu8_string, utf8_sz)); in HWTEST_F() 141 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", utf8_sz)); in HWTEST_F() 145 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in HWTEST_F() 149 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in HWTEST_F() 156 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 ", sz)); in HWTEST_F() 160 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 ", sz)); in HWTEST_F() 168 TEST_ASSERT (!strncmp (test_string, " ", sz)); in HWTEST_F() 176 TEST_ASSERT (!strncmp (test_string, "\xf0\x9d\x94\xa3", sz)); in HWTEST_F() 243 TEST_ASSERT (!strncmp (substrin in HWTEST_F() [all...] |
/third_party/node/deps/openssl/openssl/crypto/engine/ |
H A D | eng_fat.c | 55 if (strncmp(alg, "ALL", len) == 0) in int_def_cb() 57 else if (strncmp(alg, "RSA", len) == 0) in int_def_cb() 59 else if (strncmp(alg, "DSA", len) == 0) in int_def_cb() 61 else if (strncmp(alg, "DH", len) == 0) in int_def_cb() 63 else if (strncmp(alg, "EC", len) == 0) in int_def_cb() 65 else if (strncmp(alg, "RAND", len) == 0) in int_def_cb() 67 else if (strncmp(alg, "CIPHERS", len) == 0) in int_def_cb() 69 else if (strncmp(alg, "DIGESTS", len) == 0) in int_def_cb() 71 else if (strncmp(alg, "PKEY", len) == 0) in int_def_cb() 73 else if (strncmp(al in int_def_cb() [all...] |
/third_party/openssl/crypto/engine/ |
H A D | eng_fat.c | 55 if (strncmp(alg, "ALL", len) == 0) in int_def_cb() 57 else if (strncmp(alg, "RSA", len) == 0) in int_def_cb() 59 else if (strncmp(alg, "DSA", len) == 0) in int_def_cb() 61 else if (strncmp(alg, "DH", len) == 0) in int_def_cb() 63 else if (strncmp(alg, "EC", len) == 0) in int_def_cb() 65 else if (strncmp(alg, "RAND", len) == 0) in int_def_cb() 67 else if (strncmp(alg, "CIPHERS", len) == 0) in int_def_cb() 69 else if (strncmp(alg, "DIGESTS", len) == 0) in int_def_cb() 71 else if (strncmp(alg, "PKEY", len) == 0) in int_def_cb() 73 else if (strncmp(al in int_def_cb() [all...] |
/third_party/curl/tests/unit/ |
H A D | unit1304.c | 75 fail_unless(strncmp(login, "me", 2) == 0, 89 fail_unless(strncmp(login, "me", 2) == 0, 104 fail_unless(strncmp(login, "admi", 4) == 0, 119 fail_unless(strncmp(login, "adminn", 6) == 0, 132 fail_unless(strncmp(password, "passwd", 6) == 0, 135 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 147 fail_unless(strncmp(password, "passwd", 6) == 0, 150 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 165 fail_unless(strncmp(password, "none", 4) == 0, 168 fail_unless(strncmp(logi [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/ |
H A D | string_strncmp_test.cpp | 24 EXPECT_EQ(-1, strncmp("TEST", "test", STR_SIZE_ONE)); in HWTEST_F() 25 EXPECT_EQ(-1, strncmp("TEST", "test", STR_SIZE_THREE)); in HWTEST_F() 26 EXPECT_EQ(-1, strncmp("TEST_1", "test_2", STR_SIZE_FOUR)); in HWTEST_F() 27 EXPECT_EQ(0, strncmp("TESTSTR", "TESTOTHER", STR_SIZE_TWO)); in HWTEST_F() 28 EXPECT_EQ(1, strncmp("EFG", "ABC", STR_SIZE_ONE)); in HWTEST_F() 29 EXPECT_EQ(1, strncmp("TESTSTR", "TESTOTHER", STR_SIZE_FIVE)); in HWTEST_F()
|
/third_party/vulkan-loader/loader/ |
H A D | log.c | 65 if (strncmp(env, "all", len) == 0) { in loader_init_global_debug_level() 67 } else if (strncmp(env, "warn", len) == 0) { in loader_init_global_debug_level() 69 } else if (strncmp(env, "info", len) == 0) { in loader_init_global_debug_level() 71 } else if (strncmp(env, "perf", len) == 0) { in loader_init_global_debug_level() 73 } else if (strncmp(env, "error", len) == 0) { in loader_init_global_debug_level() 75 } else if (strncmp(env, "debug", len) == 0) { in loader_init_global_debug_level() 77 } else if (strncmp(env, "layer", len) == 0) { in loader_init_global_debug_level() 79 } else if (strncmp(env, "driver", len) == 0 || strncmp(env, "implem", len) == 0 || strncmp(en in loader_init_global_debug_level() [all...] |
/third_party/json/tests/thirdparty/Fuzzer/test/ |
H A D | StrncmpTest.cpp | 15 if (Size >= 8 && strncmp(S, "123", 8)) in LLVMFuzzerTestOneInput() 17 if (Size >= 8 && strncmp(S, "01234567", 8) == 0) { in LLVMFuzzerTestOneInput() 18 if (Size >= 12 && strncmp(S + 8, "ABCD", 4) == 0) { in LLVMFuzzerTestOneInput() 19 if (Size >= 14 && strncmp(S + 12, "XY", 2) == 0) { in LLVMFuzzerTestOneInput() 20 if (Size >= 17 && strncmp(S + 14, "KLM", 3) == 0) { in LLVMFuzzerTestOneInput()
|
/third_party/libcoap/man/ |
H A D | examples-code-check.c | 226 if (strncmp(buffer, "*void ", sizeof("*void ")-1) == 0) { in decode_synopsis_definition() 227 if (strncmp(buffer, "*void *", sizeof("*void *")-1) == 0) { in decode_synopsis_definition() 236 if (strncmp(&buffer[1], number_list[i], in decode_synopsis_definition() 249 if (strncmp(&buffer[1], pointer_list[i], in decode_synopsis_definition() 261 if (strncmp(buffer, "*struct ", sizeof("*struct ")-1) == 0) { in decode_synopsis_definition() 269 if (strncmp(func_start, inline_list[i], in decode_synopsis_definition() 277 if (strncmp(func_start, define_list[i], strlen(define_list[i])) == 0) { in decode_synopsis_definition() 293 if (strncmp(cp, "void", ecp-cp) == 0) in decode_synopsis_definition() 446 if (!strncmp(pdir_ent->d_name, "coap_", sizeof("coap_")-1) && in main() 475 if (strncmp(buffe in main() [all...] |
/third_party/node/src/api/ |
H A D | encoding.cc | 28 if (strncmp(encoding + skip, "16le", 5) == 0) in ParseEncoding() 54 if (strncmp(encoding + 2, "tin1", 5) == 0) in ParseEncoding() 65 if (strncmp(encoding + 2, "nary", 5) == 0) in ParseEncoding() 69 if (strncmp(encoding + 2, "ffer", 5) == 0) in ParseEncoding() 73 if (strncmp(encoding + 2, "se64", 5) == 0) in ParseEncoding() 75 if (strncmp(encoding + 2, "se64url", 8) == 0) in ParseEncoding() 92 if (strncmp(encoding + 2, "cii", 4) == 0) in ParseEncoding()
|
/third_party/ltp/lib/newlib_tests/ |
H A D | tst_bool_expr.c | 19 if (!strncmp(var->tok, "A", var->tok_len)) in map() 22 if (!strncmp(var->tok, "B", var->tok_len)) in map() 25 if (!strncmp(var->tok, "C", var->tok_len)) in map() 28 if (!strncmp(var->tok, "True", var->tok_len)) in map() 31 if (!strncmp(var->tok, "False", var->tok_len)) in map()
|
/third_party/ltp/lib/ |
H A D | tst_virt.c | 60 return strncmp("xen", hypervisor_type, in is_xen() 143 if (!strncmp("kvm", virt_type, 3)) in try_systemd_detect_virt() 146 if (!strncmp("xen", virt_type, 3)) in try_systemd_detect_virt() 149 if (!strncmp("zvm", virt_type, 3)) in try_systemd_detect_virt() 152 if (!strncmp("microsoft", virt_type, 9)) in try_systemd_detect_virt()
|
/third_party/mesa3d/src/mesa/program/ |
H A D | program_parse_extra.c | 81 if (strncmp(option, "ARB_", 4) == 0) { in _mesa_ARBfp_parse_option() 86 if (strncmp(option, "fog_", 4) == 0) { in _mesa_ARBfp_parse_option() 125 } else if (strncmp(option, "precision_hint_", 15) == 0) { in _mesa_ARBfp_parse_option() 158 } else if (strncmp(option, "fragment_coord_", 15) == 0) { in _mesa_ARBfp_parse_option() 171 } else if (strncmp(option, "ATI_", 4) == 0) { in _mesa_ARBfp_parse_option()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-tag-table.hh | 1977 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1985 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1999 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 2007 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 2015 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 2029 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 2037 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2045 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2059 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2067 if (0 == strncmp ( in hb_ot_tags_from_complex_language() [all...] |
H A D | test-repacker.cc | 794 assert(strncmp (graph.object (3).head, "abc", 3) == 0); in test_sort_kahn_1() 799 assert(strncmp (graph.object (2).head, "def", 3) == 0); in test_sort_kahn_1() 803 assert(strncmp (graph.object (1).head, "jkl", 3) == 0); in test_sort_kahn_1() 806 assert(strncmp (graph.object (0).head, "ghi", 3) == 0); in test_sort_kahn_1() 823 assert(strncmp (graph.object (4).head, "abc", 3) == 0); in test_sort_kahn_2() 829 assert(strncmp (graph.object (3).head, "def", 3) == 0); in test_sort_kahn_2() 833 assert(strncmp (graph.object (2).head, "mn", 2) == 0); in test_sort_kahn_2() 836 assert(strncmp (graph.object (1).head, "ghi", 3) == 0); in test_sort_kahn_2() 840 assert(strncmp (graph.object (0).head, "jkl", 3) == 0); in test_sort_kahn_2() 856 assert(strncmp (grap in test_sort_shortest() [all...] |
/third_party/cups-filters/filter/ |
H A D | pdftops.c | 132 if (strncmp(buf,"%PDF",4) == 0) { in parsePDFTOPDFComment() 138 if (strncmp(buf,"%%PDFTOPDFNumCopies",19) == 0) { in parsePDFTOPDFComment() 149 } else if (strncmp(buf,"%%PDFTOPDFCollate",17) == 0) { in parsePDFTOPDFComment() 1166 strncmp(buffer, "%%BeginProlog", 13)) 1168 if (strncmp(buffer, "%%Title", 7) == 0) 1170 else if (strncmp(buffer, "%%For", 5) == 0) 1189 strncmp(buffer, "%%BeginProlog", 13) && 1190 strncmp(buffer, "%%EndProlog", 11) && 1191 strncmp(buffer, "%%BeginSetup", 12) && 1192 strncmp(buffe [all...] |
/third_party/glslang/StandAlone/ |
H A D | spirv-remap.cpp | 299 if (strncmp(argv[a], "all", 3) == 0) { in parseCmdLine() 310 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 313 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 316 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() 319 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 329 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 332 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 335 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 338 } else if (strncmp(c, "names", 5) == 0) { in parseCmdLine() 341 } else if (strncmp( in parseCmdLine() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/ |
H A D | 3-2.c | 102 if (strncmp(msgptr1, msgrcd, strlen(msgptr1)) != 0) { in main() 112 if (strncmp(msgptr2, msgrcd, strlen(msgptr2)) != 0) { in main() 122 if (strncmp(msgptr3, msgrcd, strlen(msgptr3)) != 0) { in main() 132 if (strncmp(msgptr4, msgrcd, strlen(msgptr4)) != 0) { in main() 142 if (strncmp(msgptr5, msgrcd, strlen(msgptr5)) != 0) { in main()
|
H A D | 3-1.c | 95 if (strncmp(msgptr1, msgrcd, strlen(msgptr1)) != 0) { in main() 105 if (strncmp(msgptr2, msgrcd, strlen(msgptr2)) != 0) { in main() 115 if (strncmp(msgptr3, msgrcd, strlen(msgptr3)) != 0) { in main() 125 if (strncmp(msgptr4, msgrcd, strlen(msgptr4)) != 0) { in main() 135 if (strncmp(msgptr5, msgrcd, strlen(msgptr5)) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
H A D | 3-2.c | 111 if (strncmp(msgptr1, msgrcd, strlen(msgptr1)) != 0) { in main() 121 if (strncmp(msgptr2, msgrcd, strlen(msgptr2)) != 0) { in main() 131 if (strncmp(msgptr3, msgrcd, strlen(msgptr3)) != 0) { in main() 141 if (strncmp(msgptr4, msgrcd, strlen(msgptr4)) != 0) { in main() 151 if (strncmp(msgptr5, msgrcd, strlen(msgptr5)) != 0) { in main()
|
H A D | 3-1.c | 104 if (strncmp(msgptr1, msgrcd, strlen(msgptr1)) != 0) { in main() 114 if (strncmp(msgptr2, msgrcd, strlen(msgptr2)) != 0) { in main() 124 if (strncmp(msgptr3, msgrcd, strlen(msgptr3)) != 0) { in main() 134 if (strncmp(msgptr4, msgrcd, strlen(msgptr4)) != 0) { in main() 144 if (strncmp(msgptr5, msgrcd, strlen(msgptr5)) != 0) { in main()
|
/third_party/libuv/test/ |
H A D | test-process-title-threadsafe.c | 59 0 == strncmp(buffer, titles[0], len) || in getter_thread_body() 60 0 == strncmp(buffer, titles[1], len) || in getter_thread_body() 61 0 == strncmp(buffer, titles[2], len) || in getter_thread_body() 62 0 == strncmp(buffer, titles[3], len)); in getter_thread_body()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap19.c | 46 if (strncmp(str1, mm1, strlen(str1))) in run() 49 if (strncmp(str2, mm2, strlen(str2))) in run() 61 if (strncmp(str1, mm1, strlen(str1))) in run() 64 if (strncmp(str2, mm2, strlen(str2))) in run()
|