Searched refs:region (Results 1 – 8 of 8) sorted by relevance
/system/core/libcutils/ |
D | ashmem_test.cpp | 40 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, ®ion, 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, ®ion)); in TEST() 194 EXPECT_EQ(0, munmap(region, size)); in TEST() [all …]
|
/system/core/libsystem/include/system/ |
D | radio.h | 124 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/ |
D | builder.cpp | 688 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/ |
D | msgq_test_client.cpp | 440 const auto& region = tx.getFirstRegion(); in TEST_F() local 441 uint16_t* firstStart = region.getAddress(); in TEST_F()
|
/system/memory/libmemunreachable/ |
D | README.md | 91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
|
/system/chre/doc/ |
D | framework_build.md | 67 build, such as the target memory region for the binary. If a vendor,
|
/system/memory/libmeminfo/testdata1/ |
D | smaps | 1 …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/ |
D | maps | 1 …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 …
|