Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/tests/debuggerd/
Ddebuggerd_cts_crasher.cpp33 if (strcmp(argv[1], "crash_without_crash_detail") == 0) { in main()
36 if (strcmp(argv[1], "crash_with_single_crash_detail") == 0) { in main()
40 if (strcmp(argv[1], "crash_with_multiple_crash_details") == 0) { in main()
45 if (strcmp(argv[1], "crash_with_unregistered_crash_details") == 0) { in main()
51 if (strcmp(argv[1], "crash_with_binary_crash_detail") == 0) { in main()
55 if (strcmp(argv[1], "crash_with_single_crash_detail_many_used") == 0) { in main()
66 if (strcmp(argv[1], "crash_with_changing_crash_detail") == 0) { in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-29374/
Dpoc.cpp54 if (strcmp("BORING DATA", buf) == 0) { in child_fn()
57 if (strcmp("THIS IS SECRET", buf) == 0) { in child_fn()
/cts/hostsidetests/gputools/layers/jni/
DglesLayer.cpp193 #define GETPROCADDR(func) if(!strcmp(funcName, #func)) { \ in eglGPA()
198 if (strcmp("A", xstr(LAYERNAME)) == 0) { in eglGPA()
201 if (strcmp(targetFunc, funcName) == 0) { in eglGPA()
208 } else if (strcmp("B", xstr(LAYERNAME)) == 0) { in eglGPA()
211 if (strcmp(targetFunc, funcName) == 0) { in eglGPA()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0421/
Dpoc.cpp37 if (!strcmp(format, VULNERABLE_STRING)) { in vsnprintf()
/cts/tests/media/jni/
DNativeMediaCommon.cpp105 if (strcmp(refMediaType, testMediaType) != 0) return false; in isFormatSimilar()
153 if (strcmp(mediaType, AMEDIA_MIMETYPE_AUDIO_FLAC) == 0) return true; in isMediaTypeOutputUnAffectedBySeek()
154 if (strcmp(mediaType, AMEDIA_MIMETYPE_AUDIO_RAW) == 0) return true; in isMediaTypeOutputUnAffectedBySeek()
DNativeExtractorTest.cpp76 if (!hasKey || (mediaType != nullptr && strcmp(refMediaType, mediaType) != 0)) { in isMediaSimilar()
282 if (!hasKey || strcmp(currMediaType, mediaType) != 0) { in getSeekablePoints()
330 if (!hasKey || strcmp(currMediaType, mediaType) != 0) { in generateSeekTestArgs()
427 if (!hasKey || strcmp(currMediaType, mediaType) != 0) { in checkSeekPoints()
465 if (hasRefKey && hasTestKey && strcmp(refMediaType, testMediaType) == 0) { in isFileFormatIdentical()
555 if (strlen(cMediaType) != 0 && strcmp(refMediaType, cMediaType) != 0) { in nativeReadAllData()
746 if (!hasKey || strcmp(currMediaType, cMediaType) != 0) { in nativeTestSeekToZero()
DNativeExtractorUnitTest.cpp191 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestIfGetFileFormatSucceedsBeforeSetDataSource()
427 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatBeforeSetDataSource()
447 strcmp(AMediaFormat_toString(empty), AMediaFormat_toString(format)) != 0) { in nativeTestGetTrackFormatForInvalidIndex()
DNativeCodecEncoderSurfaceTest.cpp163 if (mediaType && strcmp(mediaType, srcMediaType) == 0) { in setUpExtractor()
589 if (!strcmp(mMediaType, AMEDIA_MIMETYPE_VIDEO_VP8) || in testSimpleEncode()
590 !strcmp(mMediaType, AMEDIA_MIMETYPE_VIDEO_VP9)) { in testSimpleEncode()
DNativeMuxerTest.cpp155 if (hasKey && !strcmp(mediaType, mMediaType)) { in splitMediaToMuxerParameters()
345 if (strcmp(thatMediaType, thisMediaType) == 0) { in appendMedia()
377 if (strcmp(thatMediaType, thisMediaType) == 0) { in appendMediaFromTime()
452 !strcmp(thisMediaType, thatMediaType)) { in isSubsetOf()
541 if (strcmp(it2, mediaType) == 0) return true; in isCodecContainerPairValid()
DNativeCodecUnitTest.cpp757 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetInputFormatInInitState()
781 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetInputFormatInRunningState()
934 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetOutputFormatInInitState()
958 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetOutputFormatInRunningState()
1443 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetBufferFormatInRunningState()
1457 if (!dupMediaType || strcmp(dupMediaType, mediaType) != 0) { in testGetBufferFormatInRunningState()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21261/
Dpoc.cpp45 if (strcmp(argv[1], "CVE-2022-27406")) { in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2180/
Dpoc.c45 if (isTestInProgress && (strcmp(str, kExposedLanguageString) == 0)) { in strlen()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0415/
Dpoc.cpp65 if (!strcmp("TransactFailed", str.c_str())) { in main()
/cts/hostsidetests/securitybulletin/utils/binary_loader_utils/src/
Dbinary_loader.cpp54 if (strcmp(info->dlpi_name, binLoader->binPath) == 0) { in callback()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0420/
Dpoc.cpp54 if (0 == strcmp(driverPath.c_str(), UpdatableDriverPath.c_str())) { in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/
Dpoc.c53 int strcmp(const char *str1, const char *str2) { in strcmp() function
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2182/
Dpoc.cpp133 if (strcmp(dec.get(), kTest)) { in main()
/cts/hostsidetests/sustainedperf/dhrystone/
DDrystone-2.1.sh236 Xexpressed in terms of the C library functions "strcpy" and "strcmp".
245 X"strcmp" functions helps to obtain good Dhrystone results. However, I
1392 X if (strcmp (Str_1_Par_Ref, Str_2_Par_Ref) > 0)
Ddhry_2.c164 if (strcmp (Str_1_Par_Ref, Str_2_Par_Ref) > 0)
/cts/tests/tests/os/UffdGc/jni/
Dandroid_os_cts_uffdgc_UserfaultfdTest.cc123 assert(strcmp(uts.sysname, "Linux") == 0); in Java_android_os_cts_uffdgc_UserfaultfdTest_confirmKernelVersion()
139 assert(strcmp(uts.sysname, "Linux") == 0); in Java_android_os_cts_uffdgc_UserfaultfdTest_confirmKernelArch64bit()
/cts/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp53 if (!strcmp("VK_EXT_debug_utils", properties[i].extensionName)) { in initVulkan()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp208 EXPECT_EQ(0, std::strcmp(outStringV[i], kStringVVal[i])); in TEST_F()
280 EXPECT_EQ(0, std::strcmp("", outKeys[0])); in TEST_F()
304 EXPECT_EQ(0, std::strcmp(inKeys[i], outKeys[i])); in checkAndFree()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp304 if (strcmp(".", dp->d_name) == 0 || strcmp("..", dp->d_name) == 0) { in check_path()
/cts/tests/tests/media/misc/jni/
Dnative-media-jni.cpp68 || strcmp(value, readback) || value == readback) { in Java_android_media_misc_cts_NativeDecoderTest_testFormatNative()
/cts/tests/signature/api-check/src/jni/
Dclassdescriptors.cpp144 if (strcmp("com.android.art.class.get_class_loader_class_descriptors", curInfo->id) == 0) { in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()

12