Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D24-1.c45 size_t mapped_size = 0; in main() local
65 mapped_size = 0; in main()
66 while (mapped_size < SIZE_MAX) { in main()
70 (unsigned long)mapped_size); in main()
75 mapped_size += shm_size; in main()
/external/elfutils/libdwfl/
Dimage-header.c61 void *mapped, size_t mapped_size) in __libdw_image_header() argument
63 if (likely (mapped_size > H_END)) in __libdw_image_header()
91 if (offset > H_END && offset < mapped_size in __libdw_image_header()
92 && mapped_size - offset >= length) in __libdw_image_header()
Dopen.c54 const size_t mapped_size = (*elf)->maximum_size; in decompress() local
55 if (mapped_size == 0) in decompress()
58 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
60 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
62 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
Dgzip.c74 size_t mapped_size; member
107 if (state->input_pos == (off_t) state->mapped_size) in fail()
178 .mapped_size = _mapped_size, in unzip()
200 state.mapped_size = n; in unzip()
205 state.input_pos = state.mapped_size = *whole_size; in unzip()
210 (state.mapped_size <= sizeof magic || \ in unzip()
228 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip()
DlibdwflP.h602 void *mapped, size_t mapped_size,
606 void *mapped, size_t mapped_size,
610 void *mapped, size_t mapped_size,
616 void *mapped, size_t mapped_size)
/external/libchrome/base/trace_event/
Dprocess_memory_dump.cc45 size_t GetSystemPageCount(size_t mapped_size, size_t page_size) { in GetSystemPageCount() argument
46 return (mapped_size + page_size - 1) / page_size; in GetSystemPageCount()
77 size_t mapped_size) { in CountResidentBytes() argument
91 GetSystemPageCount(std::min(mapped_size, kMaxChunkSize), page_size); in CountResidentBytes()
101 while (offset < mapped_size) { in CountResidentBytes()
103 const size_t chunk_size = std::min(mapped_size - offset, kMaxChunkSize); in CountResidentBytes()
Dprocess_memory_dump.h68 static size_t CountResidentBytes(void* start_address, size_t mapped_size);
/external/libchrome/base/memory/
Dshared_memory_unittest.cc165 EXPECT_GE(memory1.mapped_size(), kDataSize); in TEST()
168 EXPECT_LT(memory1.mapped_size(), in TEST()
190 EXPECT_GE(memory2.mapped_size(), kDataSize); in TEST()
193 EXPECT_LT(memory2.mapped_size(), in TEST()
378 EXPECT_EQ(0, munmap(writable, readonly_shmem.mapped_size())); in TEST()
Dshared_memory.h186 size_t mapped_size() const { return mapped_size_; } in mapped_size() function
Dshared_memory_mac_unittest.cc406 shared_memory->mapped_size(), &current_prot, in TEST_F()
428 shared_memory3.mapped_size(), &current_prot, in TEST_F()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc607 MmapWrapper(void *mapped_address, size_t mapped_size) : in MmapWrapper() argument
608 base_(mapped_address), size_(mapped_size) { in MmapWrapper()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc787 memory->mapped_size(), in SharedPersistentMemoryAllocator()
799 return IsMemoryAcceptable(memory.memory(), memory.mapped_size(), 0, false); in IsSharedMemoryAcceptable()
Dpersistent_histogram_allocator.cc730 DCHECK_LE(memory->mapped_size(), size); in CreateWithSharedMemory()
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc137 void set(void *mapped_address, size_t mapped_size) { in set() argument
140 size_ = mapped_size; in set()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m1028 size_t mapped_size = data.length;
1033 assert(mapped_size >= sizeof(uint16_t));
1038 assert(mapped_size >= sizeof(uint64_t));
1047 assert(mapped_size >= sizeof(_currentReadMaskOffset) + offset);