Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/security/jni/
Dandroid_security_cts_MMapExecutableTest.cpp54 if (stat_buf.st_size < kOffset) { in mmap_executable()
60 mmap(NULL, stat_buf.st_size - kOffset, in mmap_executable()
67 if (munmap(mem, stat_buf.st_size - kOffset) == -1) { in mmap_executable()
Dandroid_security_cts_cve_2019_2213_Test.c851 void *map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in map_path()
854 *size = st.st_size; in map_path()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0477/
Dpoc.c54 void *ptr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
56 gdx2d_pixmap *pixmap = gdx2d_load((unsigned char *) ptr, st.st_size); in main()
/cts/apps/CameraITS/tests/scene9/
Dtest_jpeg_high_entropy.py61 jpeg_file_size = os.stat(jpeg_file_with_log_path).st_size
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java383 long st_size = readX(mAddrSize); in readSymbolTable() local
386 long st_size = readWord(); in readSymbolTable() local
/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp66 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_cts_FileUtils_getFileStatus()
/cts/tests/media/jni/
DNativeCodecDecoderTestCommon.cpp92 mRefLength = buf.st_size; in setUpAudioReference()
117 AMediaExtractor_setDataSourceFd(mExtractor, fileno(fp), 0, buf.st_size); in setUpExtractor()
DNativeExtractorUnitTest.cpp32 status = AMediaExtractor_setDataSourceFd(extractor, fileno(fp), 0, buf.st_size); in setExtractorDataSource()
DNativeCodecEncoderSurfaceTest.cpp154 AMediaExtractor_setDataSourceFd(mExtractor, fileno(fp), 0, buf.st_size); in setUpExtractor()
DNativeCodecEncoderTest.cpp130 mInputLength = buf.st_size; in setUpSource()
DNativeExtractorTest.cpp211 media_status_t res = AMediaExtractor_setDataSourceFd(extractor, fileno(fp), 0, buf.st_size); in createExtractorFromFD()
DNativeMuxerTest.cpp125 fileSize = buf.st_size; in splitMediaToMuxerParameters()
/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp519 media_status_t res = AMediaExtractor_setDataSourceFd(extractor, fileno(fp), 0, buf.st_size); in testNonTunneledTrickPlay()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp149 fileno(fp), 0, buf.st_size); in setDataSourceFdFromUrl()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java302 Long apkTrimResult = Os.stat(installPath).st_size; in testSpaceAllocatedForPackage()