Searched defs:region (Results 1 - 4 of 4) sorted by relevance

/system/core/libcutils/tests/
H A DAshmemTest.cpp32 void TestMmap(const unique_fd &fd, size_t size, int prot, void **region) { argument
33 *region = mmap(nullptr, size, prot, MAP_SHARED, fd, 0);
34 ASSERT_NE(MAP_FAILED, *region);
107 void *region; local
111 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, size, PROT_READ, &region));
112 EXPECT_EQ(0, munmap(region, size));
116 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, size, PROT_WRITE, &region));
117 EXPECT_EQ(0, munmap(region, size));
147 void *region; local
148 ASSERT_NO_FATAL_FAILURE(TestMmap(fd[i], size, PROT_READ | PROT_WRITE, &region));
172 void *region; local
[all...]
/system/extras/ext4_utils/
H A Dallocate.h24 struct region { struct
28 struct region *next;
29 struct region *prev;
33 struct region *first;
34 struct region *last;
35 struct region *iter;
62 struct region *chunks;
96 void region_list_append(struct region_list *list, struct region *reg);
/system/core/include/system/
H A Dradio.h67 * individual band descriptors for each supported region. */
122 /* Used internally by the framework to represent a band for s specific region */
124 radio_region_t region; member in struct:radio_band_config
148 * unique handle and one band configuration per region. */
224 radio_rds_t radio_rds_for_region(bool rds, radio_region_t region) { argument
227 switch(region) {
241 radio_deemphasis_t radio_demephasis_for_region(radio_region_t region) { argument
242 switch(region) {
/system/core/libsystem/include/system/
H A Dradio.h67 * individual band descriptors for each supported region. */
122 /* Used internally by the framework to represent a band for s specific region */
124 radio_region_t region; member in struct:radio_band_config
148 * unique handle and one band configuration per region. */
224 radio_rds_t radio_rds_for_region(bool rds, radio_region_t region) { argument
227 switch(region) {
241 radio_deemphasis_t radio_demephasis_for_region(radio_region_t region) { argument
242 switch(region) {

Completed in 65 milliseconds