Home
last modified time | relevance | path

Searched refs:FILE_SIZE (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0470/
Dpoc.cpp26 #define FILE_SIZE 72 macro
63 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, FILE_SIZE); in main()
81 if (filePos < FILE_SIZE) { in main()
82 bytesRead = fread(buf, 1, FILE_SIZE, inFile); in main()
83 filePos += FILE_SIZE; in main()
/cts/tests/tests/content/jni/
DNativeCursorWindow.cpp83 const int FILE_SIZE = 1024; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() local
93 ftruncate(fd, FILE_SIZE); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
95 char* data = (char*) mmap(NULL, FILE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
117 munmap(data, FILE_SIZE); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/
Dpoc.cpp26 #define FILE_SIZE UINT16_MAX + 1 macro
69 long size = FILE_SIZE; in main()