/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer_unittest.cc | 154 // Get some memory. 155 char* memory = local 162 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); 163 ASSERT_TRUE(memory); 183 // Add information about the mapped memory. 200 // the mmap'ed |memory| is listed with the given module name 275 char* memory = local 282 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); 283 ASSERT_TRUE(memory); 302 // Add information about the mapped memory. Report it as being larger tha 443 uint8_t* memory = new uint8_t[kMemorySize]; local 664 MinidumpMemoryRegion* memory = thread->GetMemory(); local 732 MinidumpMemoryRegion* memory = thread->GetMemory(); local [all...] |
/external/google-breakpad/src/client/mac/tests/ |
exception_handler_test.cc | 305 // Test that memory around the instruction pointer is written 323 // Get some executable memory. 324 char* memory = local 331 if (!memory) 335 // of the block of memory, because the minidump should contain 128 337 memcpy(memory + kOffset, instructions, sizeof(instructions)); 342 reinterpret_cast<void_function>(memory + kOffset); 368 // memory list, and then ensure that there is a memory region 369 // in the memory list that covers the instruction pointer fro 423 char* memory = local 522 char* memory = local [all...] |
/external/google-breakpad/src/client/windows/unittests/ |
exception_handler_death_test.cc | 325 // Get some executable memory. 330 char* memory = reinterpret_cast<char*>(VirtualAlloc(NULL, local 334 ASSERT_TRUE(memory); 337 // in the middle of the block of memory, because the 340 memcpy(memory + kOffset, instructions, sizeof(instructions)); 345 reinterpret_cast<void_function>(memory + kOffset); 348 // free the memory. 349 VirtualFree(memory, 0, MEM_RELEASE); 351 // Verify that the resulting minidump contains the memory around the IP 359 // memory list, and then ensure that there is a memory regio 427 char* memory = all_memory + kPageSize; local 514 char* memory = reinterpret_cast<char*>(VirtualAlloc(NULL, local [all...] |
/external/google-breakpad/src/processor/ |
basic_source_line_resolver_unittest.cc | 79 // A mock memory region object, for use by the STACK CFI tests. 263 MockMemoryRegion memory; local 285 ->FindCallerRegs<uint32_t>(current_registers, memory, 295 ->FindCallerRegs<uint32_t>(current_registers, memory, 305 ->FindCallerRegs<uint32_t>(current_registers, memory, 315 ->FindCallerRegs<uint32_t>(current_registers, memory, 325 ->FindCallerRegs<uint32_t>(current_registers, memory, 335 ->FindCallerRegs<uint32_t>(current_registers, memory,
|
cfi_frame_info_unittest.cc | 69 // Set up the mock memory object to expect no references. 71 EXPECT_CALL(memory, GetBase()).Times(0); 72 EXPECT_CALL(memory, GetSize()).Times(0); 73 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint8_t *>())).Times(0); 74 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint16_t *>())).Times(0); 75 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint32_t *>())).Times(0); 76 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint64_t *>())).Times(0); 80 MockMemoryRegion memory; member in struct:CFIFixture 91 ASSERT_FALSE(cfi.FindCallerRegs<uint64_t>(registers, memory, 101 ASSERT_FALSE(cfi.FindCallerRegs<uint64_t>(registers, memory, 476 MockMemoryRegion memory; member in struct:SimpleCFIWalkerFixture [all...] |
fast_source_line_resolver_unittest.cc | 90 // A mock memory region object, for use by the STACK CFI tests. 290 MockMemoryRegion memory; local 312 ->FindCallerRegs<uint32_t>(current_registers, memory, 322 ->FindCallerRegs<uint32_t>(current_registers, memory, 332 ->FindCallerRegs<uint32_t>(current_registers, memory, 342 ->FindCallerRegs<uint32_t>(current_registers, memory, 352 ->FindCallerRegs<uint32_t>(current_registers, memory, 362 ->FindCallerRegs<uint32_t>(current_registers, memory,
|
/external/icu/icu4c/source/common/ |
loadednormalizer2impl.cpp | 35 LoadedNormalizer2Impl() : memory(NULL), ownedTrie(NULL) {} 44 UDataMemory *memory; member in class:LoadedNormalizer2Impl 49 udata_close(memory); 80 memory=udata_openChoice(packageName, "nrm", name, isAcceptable, this, &errorCode); 84 const uint8_t *inBytes=(const uint8_t *)udata_getMemory(memory);
|
/external/kmod/libkmod/ |
libkmod-file.c | 57 void *memory; member in struct:kmod_file 135 file->memory = p; 166 free(file->memory); 215 file->memory = p; 229 free(file->memory); 258 file->memory = mmap(NULL, file->size, PROT_READ, MAP_PRIVATE, 260 if (file->memory == MAP_FAILED) 268 munmap(file->memory, file->size); 280 file->elf = kmod_elf_new(file->memory, file->size); 352 return file->memory; [all...] |
/external/libxcam/plugins/smart/sample/ |
sample_smart_analysis.cpp | 107 uint8_t *memory = xcam_video_buffer_map (buffer); local 114 if (fwrite (memory + buffer->info.offsets [index] + i * buffer->info.strides [index],
|
/external/libxcam/tests/ |
test-pipe-manager.cpp | 143 uint8_t *memory = buf->map (); local 149 if (fread (memory + info.offsets [index] + i * info.strides [index], 1, line_bytes, file.fp) != line_bytes) {
|
/external/mesa3d/src/intel/vulkan/ |
anv_dump.c | 57 VkDeviceMemory memory; member in struct:dump_image 93 }, NULL, &image->memory); 96 result = anv_BindImageMemory(vk_device, image->image, image->memory, 0); 106 anv_FreeMemory(vk_device, image->memory, NULL); 209 result = anv_MapMemory(vk_device, image->memory, 0, reqs.size, 0, (void **)&map); 242 anv_UnmapMemory(vk_device, image->memory);
|
/external/skia/src/core/ |
SkColorSpace.cpp | 170 void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(SkColorSpaceTransferFn)); local 171 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(3)); 172 SkColorSpaceTransferFn* fn = SkTAddOffset<SkColorSpaceTransferFn>(memory, sizeof(SkGammas)); 334 size_t SkColorSpace::writeToMemory(void* memory) const { 343 if (memory) { 344 *((ColorSpaceHeader*) memory) = ColorSpaceHeader::Pack( 349 if (memory) { 350 *((ColorSpaceHeader*) memory) = ColorSpaceHeader::Pack( 361 if (memory) { 362 *((ColorSpaceHeader*) memory) [all...] |
/external/skia/src/gpu/vk/ |
GrVkMemory.h | 21 * Allocates vulkan device memory and binds it to the gpu's device for the given object. 103 VkDeviceMemory memory() { return fAlloc; } function in class:GrVkSubHeap
|
/external/skqp/src/core/ |
SkColorSpace.cpp | 170 void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(SkColorSpaceTransferFn)); local 171 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(3)); 172 SkColorSpaceTransferFn* fn = SkTAddOffset<SkColorSpaceTransferFn>(memory, sizeof(SkGammas)); 334 size_t SkColorSpace::writeToMemory(void* memory) const { 343 if (memory) { 344 *((ColorSpaceHeader*) memory) = ColorSpaceHeader::Pack( 349 if (memory) { 350 *((ColorSpaceHeader*) memory) = ColorSpaceHeader::Pack( 361 if (memory) { 362 *((ColorSpaceHeader*) memory) [all...] |
/external/skqp/src/gpu/vk/ |
GrVkMemory.h | 21 * Allocates vulkan device memory and binds it to the gpu's device for the given object. 103 VkDeviceMemory memory() { return fAlloc; } function in class:GrVkSubHeap
|
/external/syslinux/com32/gplinclude/dmi/ |
dmi.h | 69 s_memory memory[MAX_DMI_MEMORY_ITEMS]; member in struct:__anon36962
|
/external/syslinux/com32/lua/src/ |
dmi.c | 321 s_memory *memory = dmi_ptr->memory; local 324 if (n_mem <= 0) /* no memory info */ 327 /* memory */ 330 if (!memory[i].filled) 335 LUA_ADD_STR_S(L, memory[i], manufacturer) 336 LUA_ADD_STR_S(L, memory[i], error) 337 LUA_ADD_STR_S(L, memory[i], total_width) 338 LUA_ADD_STR_S(L, memory[i], data_width) 339 LUA_ADD_STR_S(L, memory[i], size [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
smc9000.c | 16 * 4608 byte packet memory. ( for the 91C92/4. Others have more ) 516 * 3. reset the memory management unit 644 /* now, try to allocate the memory */ 649 /* wait for the memory allocation to finnish */ 660 /* We've got the memory */ 663 printf("SMC9000: Memory allocation timed out, resetting MMU.\n"); 672 printf("SMC9000: Memory allocation failed. \n"); 839 int memory; local 860 /* get the memory information */ 862 memory = ( inw(nic->ioaddr + MCR) >> 9 ) & 0x7; /* multiplier * [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
step_stats_collector.cc | 46 AllocatorMemoryUsed* memory = stats_->add_memory(); local 47 memory->set_allocator_name(allocator->Name()); 49 memory->set_total_bytes(std::get<0>(sizes)); 50 memory->set_peak_bytes(std::get<1>(sizes)); 51 memory->set_live_bytes(std::get<2>(sizes)); 55 memory->set_allocator_bytes_in_use(stats.bytes_in_use); 56 allocations_.push_back(std::make_pair(memory, tracking_allocator)); 61 AllocatorMemoryUsed* memory = alloc.first; local 63 auto* r = memory->add_allocation_records(); 146 // However hardware traces don't record memory usage, so we still have t [all...] |
/external/webp/src/enc/ |
picture_enc.c | 67 void* memory; local 79 memory = WebPSafeMalloc(argb_size + WEBP_ALIGN_CST, sizeof(*picture->argb)); 80 if (memory == NULL) { 83 picture->memory_argb_ = memory; 84 picture->argb = (uint32_t*)WEBP_ALIGN(memory); 178 // WebPMemoryWriter: Write-to-memory
|
/frameworks/av/services/soundtrigger/ |
SoundTriggerHalHidl.cpp | 37 using ::android::hidl::memory::V1_0::IMemory; 41 // Backs up by the vector with the contents of shared memory. 43 // not cleared if the memory is a null object. 47 sp<IMemory> memory; local 49 return std::make_pair(true, memory); 51 memory = mapMemory(m); 52 if (memory != nullptr) { 53 memory->read(); 54 vec->setToExternal(static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())), 55 memory->getSize()) 69 sp<IMemory> memory; local [all...] |
/frameworks/ml/nn/common/ |
Utils.cpp | 237 hidl_memory memory; local 239 // TODO: should we align memory size to nearest page? doesn't seem necessary... 244 memory = mem; 248 return memory; [all...] |
/frameworks/native/vulkan/tools/ |
vkinfo.cpp | 39 VkPhysicalDeviceMemoryProperties memory; member in struct:__anon46641::GpuInfo 131 vkGetPhysicalDeviceMemoryProperties(gpu, &info.memory); 502 for (uint32_t heap = 0; heap < info.memory.memoryHeapCount; heap++) { 503 if ((info.memory.memoryHeaps[heap].flags & 508 info.memory.memoryHeaps[heap].size / 0x100000, 509 info.memory.memoryHeaps[heap].size, strbuf.str().c_str()); 512 for (uint32_t type = 0; type < info.memory.memoryTypeCount; type++) { 513 if (info.memory.memoryTypes[type].heapIndex != heap) 516 info.memory.memoryTypes[type].propertyFlags;
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
Common.h | 150 void* memory = GetThreadPoolAllocator().allocate(sizeof(TString)); local 151 return new(memory) TString(s); 190 // Persistent string memory. Should only be used for strings that survive
|
/system/core/libunwindstack/include/unwindstack/ |
ElfInterface.h | 23 #include <memory> 34 class Memory; 52 ElfInterface(Memory* memory) : memory_(memory) {} 66 virtual bool Step(uint64_t rel_pc, uint64_t load_bias, Regs* regs, Memory* process_memory, 71 Memory* CreateGnuDebugdataMemory(); 73 Memory* memory() { return memory_; } function in class:unwindstack::ElfInterface 99 static uint64_t GetLoadBias(Memory* memory) [all...] |