Home
last modified time | relevance | path

Searched refs:region (Results 1 – 8 of 8) sorted by relevance

/system/core/libcutils/
Dashmem_test.cpp40 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap() argument
43 *region = mmap(nullptr, size, prot, MAP_SHARED, fd, off); in TestMmap()
44 ASSERT_NE(MAP_FAILED, *region); in TestMmap()
129 void* region; in TEST() local
136 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, dataSize, PROT_READ | PROT_WRITE, &region, holeSize)); in TEST()
140 memcpy(region, data, dataSize); in TEST()
182 EXPECT_EQ(0, munmap(region, dataSize)); in TEST()
188 void *region; in TEST() local
193 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, size, PROT_READ, &region)); in TEST()
194 EXPECT_EQ(0, munmap(region, size)); in TEST()
[all …]
/system/core/libsystem/include/system/
Dradio.h124 radio_region_t region; member
224 radio_rds_t radio_rds_for_region(bool rds, radio_region_t region) { in radio_rds_for_region() argument
227 switch(region) { in radio_rds_for_region()
241 radio_deemphasis_t radio_demephasis_for_region(radio_region_t region) { in radio_demephasis_for_region() argument
242 switch(region) { in radio_demephasis_for_region()
/system/core/fs_mgr/liblp/
Dbuilder.cpp688 for (auto& region : free_regions) { in GrowPartition() local
695 if (region.length() % sectors_per_block != 0) { in GrowPartition()
699 LERROR << "Region " << region.start << ".." << region.end in GrowPartition()
705 region.end = region.start + (region.length() / sectors_per_block) * sectors_per_block; in GrowPartition()
706 if (!region.length()) { in GrowPartition()
711 uint64_t sectors = std::min(sectors_needed, region.length()); in GrowPartition()
714 auto extent = std::make_unique<LinearExtent>(sectors, region.device_index, region.start); in GrowPartition()
744 for (const auto& region : free_list) { in PrioritizeSecondHalfOfSuper() local
748 if (region.device_index != 0 || region.end <= midpoint) { in PrioritizeSecondHalfOfSuper()
749 first_half.emplace_back(region); in PrioritizeSecondHalfOfSuper()
[all …]
/system/libfmq/tests/
Dmsgq_test_client.cpp440 const auto& region = tx.getFirstRegion(); in TEST_F() local
441 uint16_t* firstStart = region.getAddress(); in TEST_F()
/system/memory/libmemunreachable/
DREADME.md91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
/system/chre/doc/
Dframework_build.md67 build, such as the target memory region for the binary. If a vendor,
/system/memory/libmeminfo/testdata1/
Dsmaps1 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
2 Name: [anon:dalvik-main space (region space)]
22 …0000 ---p 00000000 00:00 0 [anon:dalvik-main space (region space)]
23 Name: [anon:dalvik-main space (region space)]
43 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
44 Name: [anon:dalvik-main space (region space)]
64 …0000 ---p 00000000 00:00 0 [anon:dalvik-main space (region space)]
65 Name: [anon:dalvik-main space (region space)]
85 …0000 rw-p 00000000 00:00 0 [anon:dalvik-main space (region space)]
86 Name: [anon:dalvik-main space (region space)]
[all …]
/system/core/libprocinfo/testdata/
Dmaps1 …0000 rw-p 00000000 00:05 10267643 [anon:dalvik-main space (region space)]
748 7064ad1000-7065ad1000 rw-p 00000000 00:05 10267644 [anon:dalvik-region space …