/third_party/ffmpeg/libavformat/ |
D | yuv4mpegdec.c | 60 if (strncmp(header, Y4M_MAGIC, strlen(Y4M_MAGIC))) { in yuv4_read_header() 80 if (strncmp("420jpeg", tokstart, 7) == 0) { in yuv4_read_header() 83 } else if (strncmp("420mpeg2", tokstart, 8) == 0) { in yuv4_read_header() 86 } else if (strncmp("420paldv", tokstart, 8) == 0) { in yuv4_read_header() 89 } else if (strncmp("420p16", tokstart, 6) == 0) { in yuv4_read_header() 91 } else if (strncmp("422p16", tokstart, 6) == 0) { in yuv4_read_header() 93 } else if (strncmp("444p16", tokstart, 6) == 0) { in yuv4_read_header() 95 } else if (strncmp("420p14", tokstart, 6) == 0) { in yuv4_read_header() 97 } else if (strncmp("422p14", tokstart, 6) == 0) { in yuv4_read_header() 99 } else if (strncmp("444p14", tokstart, 6) == 0) { in yuv4_read_header() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | curlsmtpsink.c | 85 fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation")) in GST_START_TEST() 87 fail_unless (strncmp (res_file_name, "myfile", strlen ("myfile")) in GST_START_TEST() 89 fail_unless (strncmp (res_usr, "usr", strlen ("usr")) in GST_START_TEST() 91 fail_unless (strncmp (res_passwd, "passwd", strlen ("passwd")) in GST_START_TEST() 93 fail_unless (strncmp (res_mail_rcpt, "rcpt", strlen ("rcpt")) in GST_START_TEST() 95 fail_unless (strncmp (res_mail_from, "sender", strlen ("sender")) in GST_START_TEST() 97 fail_unless (strncmp (res_subj, "subject", strlen ("subject")) in GST_START_TEST() 99 fail_unless (strncmp (res_msg, "message", strlen ("message")) in GST_START_TEST() 101 fail_unless (strncmp (res_pop_location, "poploc", strlen ("poploc")) in GST_START_TEST() 103 fail_unless (strncmp (res_pop_usr, "popusr", strlen ("popusr")) in GST_START_TEST() [all …]
|
D | curlsftpsink.c | 106 fail_unless (strncmp (res_location, "test_location", strlen ("test_location")) in GST_START_TEST() 108 fail_unless (strncmp (res_user, "test_user", strlen ("test_user")) == 0); in GST_START_TEST() 109 fail_unless (strncmp (res_passwd, "test_passwd", strlen ("test_passwd")) in GST_START_TEST() 111 fail_unless (strncmp (res_file_name, "test_filename", in GST_START_TEST() 117 fail_unless (strncmp (res_pubkey_file, "public_key_file", in GST_START_TEST() 119 fail_unless (strncmp (res_privkey_file, "private_key_file", in GST_START_TEST() 121 fail_unless (strncmp (res_kh_file, "known_hosts", strlen ("known_hosts")) in GST_START_TEST() 123 fail_unless (strncmp (res_host_pubkey_md5, "00112233445566778899aabbccddeeff", in GST_START_TEST() 126 fail_unless (strncmp (res_host_pubkey_sha256, in GST_START_TEST() 130 fail_unless (strncmp (res_passphrase, "SoMePaSsPhRaSe", in GST_START_TEST() [all …]
|
D | curlhttpsink.c | 78 fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation")) in GST_START_TEST() 80 fail_unless (strncmp (res_file_name, "myfile", strlen ("myfile")) in GST_START_TEST() 82 fail_unless (strncmp (res_user, "user", strlen ("user")) == 0); in GST_START_TEST() 83 fail_unless (strncmp (res_passwd, "passwd", strlen ("passwd")) == 0); in GST_START_TEST() 84 fail_unless (strncmp (res_proxy, "myproxy", strlen ("myproxy")) == 0); in GST_START_TEST() 86 fail_unless (strncmp (res_proxy_user, "proxy_user", strlen ("proxy_user")) in GST_START_TEST() 88 fail_unless (strncmp (res_proxy_passwd, "proxy_passwd", in GST_START_TEST() 90 fail_unless (strncmp (res_content_type, "image/jpeg", strlen ("image/jpeg")) in GST_START_TEST() 106 fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation")) in GST_START_TEST() 112 fail_unless (strncmp (res_file_name, "newfile", strlen ("newfile")) in GST_START_TEST()
|
D | curlftpsink.c | 68 fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation")) in GST_START_TEST() 70 fail_unless (strncmp (res_file_name, "myfile", strlen ("myfile")) in GST_START_TEST() 72 fail_unless (strncmp (res_ftp_port, "1.2.3.4:0", strlen ("1.2.3.4:0")) in GST_START_TEST() 74 fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_", in GST_START_TEST() 104 fail_unless (strncmp (res_location, "newlocation", strlen ("newlocation")) in GST_START_TEST() 106 fail_unless (strncmp (res_file_name, "newfilename", strlen ("newfilename")) in GST_START_TEST() 108 fail_unless (strncmp (res_ftp_port, "", strlen ("")) in GST_START_TEST() 110 fail_unless (strncmp (res_tmp_file_name, "test_tmp_file_", in GST_START_TEST()
|
D | curlfilesink.c | 57 fail_unless (strncmp (res_file_content, expected_file_content, in test_verify_file_data() 118 fail_unless (strncmp (res_location, "mylocation", strlen ("mylocation")) in GST_START_TEST() 120 fail_unless (strncmp (res_file_name, "myfile", strlen ("myfile")) in GST_START_TEST() 135 fail_unless (strncmp (res_location, location, strlen (location)) in GST_START_TEST() 137 fail_unless (strncmp (res_file_name, file_name, strlen (file_name)) in GST_START_TEST() 156 fail_unless (strncmp (res_location, location, strlen (location)) in GST_START_TEST() 193 fail_unless (strncmp (res_location, location, strlen (location)) in GST_START_TEST() 195 fail_unless (strncmp (res_file_name, file_name, strlen (file_name)) in GST_START_TEST() 243 fail_unless (strncmp (res_location, location, strlen (location)) in GST_START_TEST() 245 fail_unless (strncmp (res_file_name, file_name, strlen (file_name)) in GST_START_TEST() [all …]
|
/third_party/openssl/crypto/engine/ |
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(alg, "PKEY_CRYPTO", len) == 0) in int_def_cb() [all …]
|
/third_party/jerryscript/tests/unit-core/ |
D | test-api-strings.cpp | 98 TEST_ASSERT (!strncmp (string_from_utf8, string_from_cesu8, utf8_sz)); 121 TEST_ASSERT (!strncmp (string_from_utf8_string, string_from_cesu8_string, utf8_sz)); 141 …TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", utf8_sz)… 145 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); 149 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); 156 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 ", sz)); 160 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 ", sz)); 168 TEST_ASSERT (!strncmp (test_string, " ", sz)); 176 TEST_ASSERT (!strncmp (test_string, "\xf0\x9d\x94\xa3", sz)); 243 TEST_ASSERT (!strncmp (substring, "ascii", sz)); [all …]
|
/third_party/harfbuzz/src/ |
D | test-repacker.cc | 200 assert(strncmp (graph.object (3).head, "abc", 3) == 0); in test_sort_kahn_1() 205 assert(strncmp (graph.object (2).head, "def", 3) == 0); in test_sort_kahn_1() 209 assert(strncmp (graph.object (1).head, "jkl", 3) == 0); in test_sort_kahn_1() 212 assert(strncmp (graph.object (0).head, "ghi", 3) == 0); in test_sort_kahn_1() 229 assert(strncmp (graph.object (4).head, "abc", 3) == 0); in test_sort_kahn_2() 235 assert(strncmp (graph.object (3).head, "def", 3) == 0); in test_sort_kahn_2() 239 assert(strncmp (graph.object (2).head, "mn", 2) == 0); in test_sort_kahn_2() 242 assert(strncmp (graph.object (1).head, "ghi", 3) == 0); in test_sort_kahn_2() 246 assert(strncmp (graph.object (0).head, "jkl", 3) == 0); in test_sort_kahn_2() 262 assert(strncmp (graph.object (4).head, "abc", 3) == 0); in test_sort_shortest() [all …]
|
D | hb-ot-tag-table.hh | 1956 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1964 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1978 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1986 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 1994 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 2008 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 2016 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2024 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2038 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 2046 if (0 == strncmp (&lang_str[1], "np-", 3) in hb_ot_tags_from_complex_language() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-tag-table.hh | 1312 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1320 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1328 if (0 == strncmp (&lang_str[1], "do-", 3) in hb_ot_tags_from_complex_language() 1336 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 1344 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 1352 if (0 == strncmp (&lang_str[1], "jy-", 3) in hb_ot_tags_from_complex_language() 1360 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 1368 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 1376 if (0 == strncmp (&lang_str[1], "mn-", 3) in hb_ot_tags_from_complex_language() 1384 if (0 == strncmp (&lang_str[1], "px-", 3) in hb_ot_tags_from_complex_language() [all …]
|
/third_party/cef/tests/ceftests/ |
D | zip_reader_unittest.cc | 149 ASSERT_TRUE(!strncmp(buff, "Contents of file 1.", 19)); in TEST() 161 ASSERT_TRUE(!strncmp(buff, "Contents of file 1A.", 20)); in TEST() 169 ASSERT_TRUE(!strncmp(buff, "Contents of file 1B.", 20)); in TEST() 182 ASSERT_TRUE(!strncmp(buff, "Contents of file 1A1.", 21)); in TEST() 194 ASSERT_TRUE(!strncmp(buff, "Contents of file 2A.", 20)); in TEST() 205 ASSERT_TRUE(!strncmp(buff, "Contents of file 1B.", 20)); in TEST() 237 ASSERT_TRUE(!strncmp(reinterpret_cast<const char*>(file->GetData()), in TEST() 246 ASSERT_TRUE(!strncmp(buff, "Contents", 8)); in TEST() 248 ASSERT_TRUE(!strncmp(buff, " of file", 8)); in TEST() 250 ASSERT_TRUE(!strncmp(buff, " 2A.", 4)); in TEST()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
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 (&lang_str[1], "np-", 3) in hb_ot_tags_from_complex_language() [all …]
|
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 (graph.object (4).head, "abc", 3) == 0); in test_sort_shortest() [all …]
|
/third_party/vulkan-loader/loader/ |
D | log.c | 62 if (strncmp(env, "all", len) == 0) { in loader_debug_init() 64 } else if (strncmp(env, "warn", len) == 0) { in loader_debug_init() 66 } else if (strncmp(env, "info", len) == 0) { in loader_debug_init() 68 } else if (strncmp(env, "perf", len) == 0) { in loader_debug_init() 70 } else if (strncmp(env, "error", len) == 0) { in loader_debug_init() 72 } else if (strncmp(env, "debug", len) == 0) { in loader_debug_init() 74 } else if (strncmp(env, "layer", len) == 0) { in loader_debug_init() 76 …} else if (strncmp(env, "driver", len) == 0 || strncmp(env, "implem", len) == 0 || strncmp(env, "i… in loader_debug_init()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavmux.c | 886 if ((!strncmp (in_plugin->name, "u16", 3)) || in gst_ffmpegmux_register() 887 (!strncmp (in_plugin->name, "s16", 3)) || in gst_ffmpegmux_register() 888 (!strncmp (in_plugin->name, "u24", 3)) || in gst_ffmpegmux_register() 889 (!strncmp (in_plugin->name, "s24", 3)) || in gst_ffmpegmux_register() 890 (!strncmp (in_plugin->name, "u8", 2)) || in gst_ffmpegmux_register() 891 (!strncmp (in_plugin->name, "s8", 2)) || in gst_ffmpegmux_register() 892 (!strncmp (in_plugin->name, "u32", 3)) || in gst_ffmpegmux_register() 893 (!strncmp (in_plugin->name, "s32", 3)) || in gst_ffmpegmux_register() 894 (!strncmp (in_plugin->name, "f32", 3)) || in gst_ffmpegmux_register() 895 (!strncmp (in_plugin->name, "f64", 3)) || in gst_ffmpegmux_register() [all …]
|
/third_party/libcoap/man/ |
D | examples-code-check.c | 152 if (!strncmp(pdir_ent->d_name, "coap_", sizeof ("coap_")-1) && in main() 180 if (strncmp(buffer, "SYNOPSIS", sizeof("SYNOPSIS")-1) == 0) { in main() 192 if (strncmp(buffer, "DESCRIPTION", sizeof("DESCRIPTION")-1) == 0) { in main() 200 if (strncmp(buffer, "EXAMPLES", sizeof("EXAMPLES")-1) == 0) { in main() 205 if (strncmp(buffer, "SEE ALSO", sizeof("SEE ALSO")-1) == 0) { in main() 239 if (strncmp(buffer, "*void ", sizeof("*void ")-1) == 0) { in main() 240 if (strncmp(buffer, "*void *", sizeof("*void *")-1) == 0) { in main() 250 if (strncmp(&buffer[1], number_list[i], in main() 264 if (strncmp(&buffer[1], struct_list[i], in main() 277 if (strncmp(buffer, "*struct ", sizeof("*struct ")-1) == 0) { in main() [all …]
|
/third_party/json/test/thirdparty/Fuzzer/test/ |
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/glslang/StandAlone/ |
D | spirv-remap.cpp | 274 if (strncmp(argv[a], "all", 3) == 0) { in parseCmdLine() 285 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 288 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 291 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() 294 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 304 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 307 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 310 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 313 } else if (strncmp(c, "names", 5) == 0) { in parseCmdLine() 316 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() [all …]
|
/third_party/node/src/api/ |
D | encoding.cc | 24 if (strncmp(encoding + skip, "16le", 5) == 0) in ParseEncoding() 50 if (strncmp(encoding + 2, "tin1", 5) == 0) in ParseEncoding() 61 if (strncmp(encoding + 2, "nary", 5) == 0) in ParseEncoding() 65 if (strncmp(encoding + 2, "ffer", 5) == 0) in ParseEncoding() 69 if (strncmp(encoding + 2, "se64", 5) == 0) in ParseEncoding() 71 if (strncmp(encoding + 2, "se64url", 8) == 0) in ParseEncoding() 88 if (strncmp(encoding + 2, "cii", 4) == 0) in ParseEncoding()
|
/third_party/mesa3d/src/mesa/program/ |
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/cups-filters/filter/ |
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)) in main() 1168 if (strncmp(buffer, "%%Title", 7) == 0) in main() 1170 else if (strncmp(buffer, "%%For", 5) == 0) in main() 1189 strncmp(buffer, "%%BeginProlog", 13) && in main() 1190 strncmp(buffer, "%%EndProlog", 11) && in main() 1191 strncmp(buffer, "%%BeginSetup", 12) && in main() 1192 strncmp(buffer, "%%Page:", 7)) in main() [all …]
|
/third_party/ltp/lib/newlib_tests/ |
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/ |
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/gstreamer/gstplugins_base/gst/subparse/ |
D | qttextparse.c | 205 if (strncmp (line + *index, "QTtext", 6) == 0) { in qttext_parse_tag() 208 } else if (strncmp (line + *index, "font", 4) == 0) { in qttext_parse_tag() 219 } else if (strncmp (line + *index, "size", 4) == 0) { in qttext_parse_tag() 230 } else if (strncmp (line + *index, "textColor", 9) == 0) { in qttext_parse_tag() 239 } else if (strncmp (line + *index, "backColor", 9) == 0) { in qttext_parse_tag() 250 } else if (strncmp (line + *index, "plain", 5) == 0) { in qttext_parse_tag() 256 } else if (strncmp (line + *index, "bold", 4) == 0) { in qttext_parse_tag() 262 } else if (strncmp (line + *index, "italic", 6) == 0) { in qttext_parse_tag() 268 } else if (strncmp (line + *index, "timescale", 9) == 0) { in qttext_parse_tag() 278 } else if (strncmp (line + *index, "timestamps", 10) == 0) { in qttext_parse_tag()
|