/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeExtractor.cpp | 34 FILE *inputFp = fopen(sFilePath.c_str(), "rb"); in Java_com_android_media_benchmark_library_Native_Extract() local 40 int32_t fd = fileno(inputFp); in Java_com_android_media_benchmark_library_Native_Extract() 57 if (inputFp) { in Java_com_android_media_benchmark_library_Native_Extract() 58 fclose(inputFp); in Java_com_android_media_benchmark_library_Native_Extract() 59 inputFp = nullptr; in Java_com_android_media_benchmark_library_Native_Extract()
|
D | NativeDecoder.cpp | 37 FILE *inputFp = fopen(sFilePath.c_str(), "rb"); in Java_com_android_media_benchmark_library_Native_Decode() local 40 if (!inputFp) { in Java_com_android_media_benchmark_library_Native_Decode() 60 int32_t fd = fileno(inputFp); in Java_com_android_media_benchmark_library_Native_Decode() 123 if (inputFp) { in Java_com_android_media_benchmark_library_Native_Decode() 124 fclose(inputFp); in Java_com_android_media_benchmark_library_Native_Decode() 125 inputFp = nullptr; in Java_com_android_media_benchmark_library_Native_Decode()
|
D | NativeMuxer.cpp | 37 FILE *inputFp = fopen(sInputFile.c_str(), "rb"); in Java_com_android_media_benchmark_library_Native_Mux() local 38 if (!inputFp) { in Java_com_android_media_benchmark_library_Native_Mux() 61 int32_t fd = fileno(inputFp); in Java_com_android_media_benchmark_library_Native_Mux() 156 if (inputFp) { in Java_com_android_media_benchmark_library_Native_Mux() 157 fclose(inputFp); in Java_com_android_media_benchmark_library_Native_Mux() 158 inputFp = nullptr; in Java_com_android_media_benchmark_library_Native_Mux()
|
/frameworks/av/media/tests/benchmark/tests/ |
D | ExtractorTest.cpp | 34 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 35 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 41 int32_t fd = fileno(inputFp); in TEST_P() 53 fclose(inputFp); in TEST_P()
|
D | DecoderTest.cpp | 36 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 37 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 49 int32_t fd = fileno(inputFp); in TEST_P() 92 fclose(inputFp); in TEST_P()
|
D | MuxerTest.cpp | 55 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 56 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 72 int32_t fd = fileno(inputFp); in TEST_P() 121 fclose(inputFp); in TEST_P()
|
D | C2DecoderTest.cpp | 66 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 67 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 76 int32_t fd = fileno(inputFp); in TEST_P() 145 fclose(inputFp); in TEST_P()
|
D | C2EncoderTest.cpp | 66 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 67 ASSERT_NE(inputFp, nullptr) << "Unable to open input file for reading"; in TEST_P() 79 int32_t fd = fileno(inputFp); in TEST_P() 154 fclose(inputFp); in TEST_P()
|
D | EncoderTest.cpp | 39 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() local 40 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 52 int32_t fd = fileno(inputFp); in TEST_P() 161 fclose(inputFp); in TEST_P()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 365 FILE* inputFp = NULL; in addCommon() local 384 inputFp = fopen(fileName, FILE_OPEN_RO); in addCommon() 385 if (inputFp == NULL) in addCommon() 417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon() 427 long src = inputFp ? ftell(inputFp) : size; in addCommon() 438 if (inputFp) rewind(inputFp); in addCommon() 445 if (inputFp) { in addCommon() 446 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon() 458 uncompressedLen = inputFp ? ftell(inputFp) : size; in addCommon() 468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, in addCommon() [all …]
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | reverb_test.cpp | 291 std::unique_ptr<FILE, decltype(&fclose)> inputFp(fopen(inputFile, "rb"), &fclose); in main() local 293 if (inputFp == nullptr) { in main() 356 while (fread(in.data(), ioFrameSize, frameLength, inputFp.get()) == (size_t)frameLength) { in main()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | PreProcessingTest.cpp | 318 std::unique_ptr<FILE, decltype(&fclose)> inputFp(fopen(inputFile, "rb"), &fclose); in main() local 319 if (inputFp == nullptr) { in main() 336 (void)fstat(fileno(inputFp.get()), &statInput); in main() 438 size_t samplesRead = fread(in.data(), inFrameSize, frameLength, inputFp.get()); in main()
|