/frameworks/base/core/jni/ |
D | android_ddm_DdmHandleNativeHeap.cpp | 45 size_t mapSize; member 77 header.mapSize = maps.size(); in DdmHandleNativeHeap_getLeakInfo() 91 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory); in DdmHandleNativeHeap_getLeakInfo() 99 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); in DdmHandleNativeHeap_getLeakInfo()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorIon.cpp | 236 size_t mapSize = size + alignmentBytes; in map() local 237 Mapping map = { nullptr, alignmentBytes, mapSize }; in map() 239 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map() 311 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument 315 int ret = ion_map(mIonFd, mBuffer, mapSize, prot, in mapInternal() 319 mIonFd, mBuffer, mapSize, prot, flags, mapOffset, ret); in mapInternal() 328 *base = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in mapInternal() 331 mapSize, prot, flags, mMapFd, mapOffset, errno); in mapInternal() 381 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument 384 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 781 int mapSize = 0; in pinFileRanges() local 788 mapSize = (int) Math.min(Os.fstat(fd).st_size, Integer.MAX_VALUE); in pinFileRanges() 789 address = Os.mmap(0, mapSize, in pinFileRanges() 805 pinStart = clamp(0, pinStart, mapSize); in pinFileRanges() 806 pinLength = clamp(0, pinLength, mapSize - pinStart); in pinFileRanges() 835 PinnedFile pinnedFile = new PinnedFile(address, mapSize, fileToPin, bytesPinned); in pinFileRanges() 844 safeMunmap(address, mapSize); in pinFileRanges() 853 private static void safeMunmap(long address, long mapSize) { in safeMunmap() argument 855 Os.munmap(address, mapSize); in safeMunmap() 930 final int mapSize; field in PinnerService.PinnedFile [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 628 int mapSize = formatMap.size(); in addTrack() local 629 if (mapSize > 0) { in addTrack() 630 keys = new String[mapSize]; in addTrack() 631 values = new Object[mapSize]; in addTrack()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 121 off64_t mapSize = curOff - alignedOff; in write() local 123 void *dst = ::mmap64(NULL, mapSize, PROT_WRITE, MAP_SHARED, fd, alignedOff); in write() 130 ::msync(dst, mapSize, MS_SYNC); in write() 131 return ::munmap(dst, mapSize); in write()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 616 int mapSize = this.builder.getRepeatedFieldCount(fieldDescriptor); in getField() local 621 for (int i = 0; i < mapSize; i++) { in getField()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 127 const int32_t map[][4], size_t mapSize) { in rotateValueUsingRotationMap() argument 129 for (size_t i = 0; i < mapSize; i++) { in rotateValueUsingRotationMap() 158 const int32_t map[][2], size_t mapSize) { in rotateStemKey() argument 160 for (size_t i = 0; i < mapSize; i++) { in rotateStemKey()
|