/external/caliper/caliper/src/test/java/com/google/caliper/memory/ |
ObjectGraphMeasurerTest.java | 17 package com.google.caliper.memory; 19 import com.google.caliper.memory.ObjectGraphMeasurer.Footprint;
|
/external/e2fsprogs/intl/ |
printf-parse.c | 76 /* Out of memory. */ 89 argument *memory; \ 96 /* Overflow, would lead to out of memory. */ \ 98 memory = (a->arg \ 101 if (memory == NULL) \ 102 /* Out of memory. */ \ 104 a->arg = memory; \ 151 /* n too large, would lead to out of memory later. */ 221 /* n too large, would lead to out of memory later. */ 278 /* n too large, would lead to out of memory 505 DIRECTIVE *memory; local [all...] |
/external/freetype/src/autofit/ |
afglobal.c | 341 FT_Memory memory; local 345 memory = face->memory; 391 FT_Memory memory = globals->face->memory; local 459 FT_Memory memory = globals->face->memory; local
|
/external/freetype/src/base/ |
ftgloadr.c | 70 FT_GlyphLoader_New( FT_Memory memory, 79 loader->memory = memory; 107 FT_Memory memory = loader->memory; local 132 FT_Memory memory = loader->memory; local 169 FT_Memory memory = loader->memory; local 205 FT_Memory memory = loader->memory local 284 FT_Memory memory = loader->memory; local [all...] |
ftglyph.c | 293 FT_Memory memory = library->memory; local 637 FT_Memory memory = glyph->library->memory; local
|
ftinit.c | 126 FT_Memory memory; local 134 memory = library->memory; 158 FT_Memory memory; local 165 memory = library->memory; 323 FT_Memory memory; local 331 memory = FT_New_Memory(); 332 if ( !memory ) 334 FT_ERROR(( "FT_Init_FreeType: cannot find memory manager\n" )) 358 FT_Memory memory; local [all...] |
/external/freetype/src/cache/ |
ftcmanag.h | 36 /* total amount of `cache memory' within the manager. */ 94 FT_Memory memory; member in struct:FTC_ManagerRec_
|
/external/freetype/src/cid/ |
cidobjs.c | 147 error = funcs->create( cidsize->face->memory, priv, &globals ); 198 FT_Memory memory; local 208 memory = cidface->memory; 492 /* compute random seed from some memory addresses */ 495 (FT_Offset)(char*)module->memory );
|
/external/freetype/src/lzw/ |
ftzopen.c | 123 FT_Memory memory = state->memory; local 160 FT_Memory memory = state->memory; local 170 * Note that the `suffix' array is located in the same memory block 214 state->memory = source->memory; 230 FT_Memory memory = state->memory; local
|
/external/freetype/src/otvalid/ |
otvmod.c | 48 FT_Memory memory = FT_FACE_MEMORY( face ); local 219 FT_Memory memory = FT_FACE_MEMORY( face ); local 230 FT_Memory memory = FT_FACE_MEMORY( face ); local
|
/external/freetype/src/sfnt/ |
ttpost.c | 164 FT_Memory memory = stream->memory; local 319 FT_Memory memory = stream->memory; local 425 FT_Memory memory = face->root.memory; local
|
/external/freetype/src/truetype/ |
ttpload.c | 324 FT_Memory memory = stream->memory; local 526 FT_Memory memory = stream->memory; local 605 FT_Memory memory = stream->memory; local
|
/external/swiftshader/src/OpenGL/compiler/ |
PoolAlloc.cpp | 93 // be obtained to allocate memory. 250 // much memory the caller asked for. allocationSize is the total 266 unsigned char* memory = reinterpret_cast<unsigned char *>(inUseList) + currentPageOffset; local 270 return initializeAllocation(inUseList, memory, numBytes); 283 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); 284 if (memory == 0) 288 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); 289 inUseList = memory; 294 return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(memory) + headerSkip); 300 tHeader* memory; local [all...] |
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_show.cc | 18 #include <memory> 139 string memory = FormatMemory(total_bytes); local 141 memory = FormatMemory(bytes) + "/" + memory; 143 memory = "--/" + memory; 145 return memory;
|
/external/webrtc/webrtc/base/ |
systeminfo.cc | 162 // Returns the amount of installed physical memory in Bytes. Cacheable. 165 int64_t memory = -1; local 172 memory = status.ullTotalPhys; 178 size_t len = sizeof(memory); 179 int error = sysctlbyname("hw.memsize", &memory, &len, NULL, 0); 180 if (error || memory == 0) 181 memory = -1; 183 memory = static_cast<int64_t>(sysconf(_SC_PHYS_PAGES)) * 185 if (memory < 0) { 189 memory = -1 [all...] |
/frameworks/ml/nn/runtime/test/ |
TestValidation.cpp | 225 ANeuralNetworksMemory* memory; local 227 memoryFd, 0, &memory), 231 memory, 0, sizeof(float)), 239 memory, 0, sizeof(float)), 242 // This should fail, since memory is not the size of a float32. 244 memory, 0, memorySize), 249 memory, 0, sizeof(float)), 254 memory, memorySize + 1, 258 // This should fail, since requested size is larger than the memory. 260 memory, memorySize - 3 485 ANeuralNetworksMemory* memory; local 531 ANeuralNetworksMemory* memory; local [all...] |
/hardware/interfaces/soundtrigger/2.1/default/ |
SoundTriggerHw.cpp | 29 using android::hidl::memory::V1_0::IMemory; 39 // Backs up by the vector with the contents of shared memory. 41 // not cleared if the memory is a null object. 45 sp<IMemory> memory; local 47 return std::make_pair(true, memory); 49 memory = mapMemory(m); 50 if (memory != nullptr) { 51 memory->read(); 52 vec->setToExternal(static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())), 53 memory->getSize()) 67 sp<IMemory> memory; local [all...] |
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
SimpleLruResourcePool.java | 17 package com.android.camera.processing.memory; 26 * Simple resource based memory pool that can automatically return 27 * items back to the memory pool when closed.
|
/system/core/libunwindstack/include/unwindstack/ |
Elf.h | 22 #include <memory> 29 #include <unwindstack/Memory.h> 53 Elf(Memory* memory) : memory_(memory) {} 68 bool Step(uint64_t rel_pc, uint64_t adjusted_rel_pc, Regs* regs, Memory* process_memory, 71 ElfInterface* CreateInterfaceFromMemory(Memory* memory); 89 Memory* memory() { return memory_.get(); function in class:unwindstack::Elf [all...] |
/system/core/libunwindstack/tests/ |
DexFilesTest.cpp | 20 #include <memory> 29 #include <unwindstack/Memory.h> 61 MemoryFake* memory = new MemoryFake; variable 62 ElfFake* elf = new ElfFake(memory); 64 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); 72 memory = new MemoryFake; 73 elf = new ElfFake(memory); 75 interface = new ElfInterfaceFake(memory); 83 memory = new MemoryFake; 84 elf = new ElfFake(memory); [all...] |
JitDebugTest.cpp | 20 #include <memory> 29 #include <unwindstack/Memory.h> 59 MemoryFake* memory = new MemoryFake; variable 60 ElfFake* elf = new ElfFake(memory); 62 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); 69 memory = new MemoryFake; 70 elf = new ElfFake(memory); 72 interface = new ElfInterfaceFake(memory); 79 memory = new MemoryFake; 80 elf = new ElfFake(memory); [all...] |
UnwindOfflineTest.cpp | 37 #include <unwindstack/Memory.h> 49 MemoryOffline* memory = new MemoryOffline; local 50 ASSERT_TRUE(memory->Init(file_name.c_str(), 0)); 51 parts->Add(memory); 157 std::shared_ptr<Memory> process_memory_; 281 MemoryOfflineParts* memory = new MemoryOfflineParts; local 282 AddMemory(dir_ + "descriptor.data", memory); 283 AddMemory(dir_ + "stack.data", memory); 285 AddMemory(dir_ + "entry" + std::to_string(i) + ".data", memory); 286 AddMemory(dir_ + "jit" + std::to_string(i) + ".data", memory); 574 MemoryOfflineParts* memory = new MemoryOfflineParts; local 976 MemoryOfflineParts* memory = new MemoryOfflineParts; local [all...] |
/system/extras/memory_replay/ |
Action.cpp | 67 void* memory = malloc(size_); variable 70 memset(memory, 1, size_); 71 pointers->Add(key_pointer_, memory); 87 void* memory = calloc(n_elements_, size_); variable 90 memset(memory, 0, n_elements_ * size_); 91 pointers->Add(key_pointer_, memory); 117 void* memory = realloc(old_memory, size_); variable 120 memset(memory, 1, size_); 121 pointers->Add(key_pointer_, memory); 140 void* memory = memalign(align_, size_) variable 162 void* memory = pointers->Remove(key_pointer_); variable 164 free(memory); variable [all...] |
/system/libhidl/libhidlcache/ |
HidlMemoryCache.cpp | 19 #include <android/hidl/memory/1.0/IMemory.h> 20 #include <android/hidl/memory/token/1.0/IMemoryToken.h> 28 using IMemoryToken = ::android::hidl::memory::token::V1_0::IMemoryToken; 29 using IMemory = ::android::hidl::memory::V1_0::IMemory; 103 sp<IMemory> memory = nullptr; local 105 [&](const hidl_memory& mem) { memory = new IMemoryCacheable(mapMemory(mem), key); }); 110 mCached[key] = memory; 111 return memory;
|
/art/runtime/verifier/ |
register_line-inl.h | 191 void* memory = verifier->GetScopedAllocator().Alloc(ComputeSize(num_regs)); local 192 return new (memory) RegisterLine(num_regs, verifier);
|