Searched refs:mapSize (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp42 size_t mapSize; member in struct:Header
79 uint8_t* ptr = mapsFile + header.mapSize;
87 header.mapSize += amount;
88 } while (header.mapSize < MAPS_FILE_SIZE);
90 ALOGD("**** read %d bytes from '%s'", (int) header.mapSize, path);
100 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize);
108 // ALOGD("*** mapSize: %d allocSize: %d allocInfoSize: %d totalMemory: %d",
109 // header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory);
114 if (header.mapSize > 0 && mapsFile != NULL) {
115 memcpy(ptr, mapsFile, header.mapSize);
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp283 static status_t getIdmapPackageId(const uint32_t* map, size_t mapSize, uint32_t *outId) argument
285 if (!assertIdmapHeader(map, mapSize)) {
5275 const size_t mapSize = map.size(); local
5276 *data++ = htodl(mapSize);
5277 size_t offset = mapSize;
5278 for (size_t i = 0; i < mapSize; ++i) {
5289 for (size_t i = 0; i < mapSize; ++i) {
/frameworks/base/services/input/
H A DInputReader.cpp104 const int32_t map[][4], size_t mapSize) {
106 for (size_t i = 0; i < mapSize; i++) {
103 rotateValueUsingRotationMap(int32_t value, int32_t orientation, const int32_t map[][4], size_t mapSize) argument

Completed in 731 milliseconds