Home
last modified time | relevance | path

Searched refs:inputFp (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeExtractor.cpp34 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()
DNativeDecoder.cpp37 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()
DNativeMuxer.cpp37 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/
DExtractorTest.cpp34 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()
DDecoderTest.cpp36 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()
DMuxerTest.cpp55 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()
DC2DecoderTest.cpp66 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()
DC2EncoderTest.cpp66 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()
DEncoderTest.cpp39 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/
DZipFile.cpp365 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 …]