Searched defs:mem (Results 1 - 10 of 10) sorted by relevance
/system/libhidl/transport/memory/1.0/default/ |
H A D | AshmemMapper.cpp | 30 Return<sp<IMemory>> AshmemMapper::mapMemory(const hidl_memory& mem) { argument 31 if (mem.handle()->numFds == 0) { 35 int fd = mem.handle()->data[0]; 36 void* data = mmap(0, mem.size(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 43 return new AshmemMemory(mem, data);
|
/system/extras/tests/pftest/ |
H A D | pftest.c | 47 char *mem = malloc((N_PAGES+1) * 4096); local 53 mem = (char *) ((intptr_t) (mem + 4096) & ~0xfff); 76 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) = 77 (intptr_t) (mem + 4096 * nextPageIdx + nextEntryOffset); 80 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) = 81 (intptr_t) &mem[0]; 89 p = (intptr_t *) &mem[0];
|
/system/chre/apps/chqts/src/shared/ |
H A D | nano_string.cc | 35 void memset(void *mem, int val, size_t count) { argument 36 uint8_t *bytes = static_cast<uint8_t*>(mem);
|
/system/nfc/src/nfc/int/ |
H A D | ce_int.h | 130 tCE_MEM mem; member in struct:__anon2414
|
H A D | rw_int.h | 183 uint8_t mem[T1T_SEGMENT_SIZE]; /* Tag contents of block 0 or from block 0-E */ member in struct:__anon2435 227 mem_tlv[RW_T1T_MAX_MEM_TLVS]; /* Information retrieved from mem tlv */ 475 mem_tlv[RW_T2T_MAX_MEM_TLVS]; /* Information retrieved from mem tlv */
|
/system/core/libmemunreachable/ |
H A D | Allocator.cpp | 216 void* mem = MapAligned(kChunkSize, kChunkSize); variable 217 if (!mem) { 221 return mem; 308 void* mem = MapAligned(kPageSize, kPageSize); 309 if (!mem) { 314 return mem;
|
/system/extras/procrank/ |
H A D | procrank.cpp | 77 void get_mem_info(uint64_t mem[]) { argument 143 mem[i] = atoll(num); 210 uint64_t mem[MEMINFO_COUNT] = { }; local 239 get_mem_info(mem); 240 p_swap = pm_memusage_pswap_create(mem[MEMINFO_SWAP_TOTAL] * 1024); 307 mem[MEMINFO_ZRAM_TOTAL] = zram_mem_used/1024; 308 zram_cr = (float) mem[MEMINFO_ZRAM_TOTAL] / 309 (mem[MEMINFO_SWAP_TOTAL] - mem[MEMINFO_SWAP_FREE]); 493 mem[MEMINFO_ZRAM_TOTA [all...] |
/system/libhidl/base/include/hidl/ |
H A D | HidlSupport.h | 917 inline std::string toString(const hidl_memory &mem) { argument 918 return std::string{"memory {.name = "} + toString(mem.name()) + ", .size = " 919 + toString(mem.size()) 920 + ", .handle = " + toString(mem.handle()) + "}";
|
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
H A D | arm64_assembler_test.cpp | 540 unsigned char *mem = (unsigned char *)&dataMem[test.memOffset]; local 544 mem[j] = value & 0x00FF;
|
/system/core/libpixelflinger/tests/arch-mips64/assembler/ |
H A D | mips64_assembler_test.cpp | 493 unsigned char *mem = (unsigned char *)&dataMem[test.memOffset]; local 497 mem[j] = value & 0x00FF;
|
Completed in 349 milliseconds