Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 14 of 14) 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.c850 void *map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in map_path()
853 *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/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/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp71 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_permission_cts_FileUtils_getFileStatus()
/cts/tests/media/jni/
DNativeCodecDecoderTest.cpp88 mRefLength = buf.st_size; in setUpAudioReference()
112 AMediaExtractor_setDataSourceFd(mExtractor, fileno(fp), 0, buf.st_size); in setUpExtractor()
DNativeCodecEncoderSurfaceTest.cpp131 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()
DNativeExtractorTest.cpp207 media_status_t res = AMediaExtractor_setDataSourceFd(extractor, fileno(fp), 0, buf.st_size); in createExtractorFromFD()
DNativeCodecEncoderTest.cpp134 mInputLength = buf.st_size; in setUpSource()
DNativeMuxerTest.cpp125 fileSize = buf.st_size; in splitMediaToMuxerParameters()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp147 fileno(fp), 0, buf.st_size); in setDataSourceFdFromUrl()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java240 Long apkTrimResult = Os.stat(installPath).st_size; in testSpaceAllocatedForPackage()