/toolchain/binutils/binutils-2.27/gas/ |
hash.c | 56 struct obstack memory; member in struct:hash_control 71 switch --reduce-memory-overheads, or set to other values by using 91 obstack_begin (&ret->memory, chunksize); 93 ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc); 115 /* Delete a hash table, freeing all allocated memory. */ 120 obstack_free (&table->memory, 0); 220 p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof (*p)); 257 p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof (*p)); 347 obstack_free (&table->memory, p);
|
/toolchain/binutils/binutils-2.27/intl/ |
relocatable.c | 110 char *memory; local 114 memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); 116 if (memory != NULL) 119 memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); 120 orig_prefix = memory; 121 memory += orig_prefix_len + 1; 122 memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); 123 curr_prefix = memory; 129 /* Don't worry about wasted memory here - this function is usually only
|
/art/runtime/interpreter/ |
shadow_frame.h | 61 uint8_t* memory = new uint8_t[ComputeSize(num_vregs)]; local 62 return CreateShadowFrameImpl(num_vregs, link, method, dex_pc, memory); 68 uint8_t* memory = reinterpret_cast<uint8_t*>(sf); local 69 delete[] memory; 335 // Create ShadowFrame for interpreter using provided memory. 340 void* memory) { 341 return new (memory) ShadowFrame(num_vregs, link, method, dex_pc, true);
|
/art/runtime/ |
oat.cc | 57 // Reserve enough memory. 58 void* memory = operator new (needed_size); local 61 return new (memory) OatHeader(instruction_set,
|
/external/freetype/src/cff/ |
cffobjs.c | 85 FT_Memory memory = cffsize->face->memory; local 179 FT_Memory memory = cffsize->face->memory; local 188 error = funcs->create( cffsize->face->memory, &priv, 199 error = funcs->create( cffsize->face->memory, &priv, 393 cff_strcpy( FT_Memory memory, 607 FT_Memory memory = cffface->memory; local 887 cffface->family_name = cff_strcpy( memory, family_name ) 1126 FT_Memory memory; local [all...] |
/external/freetype/src/psaux/ |
t1decode.c | 1975 FT_Memory memory = decoder->builder.memory; local [all...] |
/external/freetype/src/pshinter/ |
pshrec.c | 51 FT_Memory memory ) 63 FT_Memory memory ) 83 FT_Memory memory, 96 error = ps_hint_table_ensure( table, count, memory ); 125 FT_Memory memory ) 138 FT_Memory memory ) 187 FT_Memory memory ) 195 error = ps_mask_ensure( mask, idx + 1, memory ); 213 FT_Memory memory ) 220 ps_mask_done( mask, memory ); 806 FT_Memory memory = hints->memory; local 867 FT_Memory memory = hints->memory; local 899 FT_Memory memory = hints->memory; local 960 FT_Memory memory = hints->memory; local 1002 FT_Memory memory = hints->memory; local 1047 FT_Memory memory = hints->memory; local 1092 FT_Memory memory = hints->memory; local [all...] |
/external/freetype/src/type42/ |
t42parse.c | 138 FT_Memory memory, 145 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory ); 157 /* the base dictionary, loading the whole font into memory. */ 160 /* in the case of a memory-based stream. Otherwise, we allocate */ 163 /* parser->in_memory is set if we have a memory stream. */ 186 /* if it is a memory-based resource, set up pointers */ 199 /* read segment in memory */ 222 FT_Memory memory = parser->root.memory; local 320 FT_Memory memory = parser->root.memory local 533 FT_Memory memory = parser->root.memory; local 781 FT_Memory memory = parser->root.memory; local [all...] |
/external/freetype/src/winfonts/ |
winfnt.c | 191 FT_Memory memory = FT_FACE( face )->memory; local 276 FT_Memory memory = FT_FACE( face )->memory; local 693 FT_Memory memory; local 699 memory = FT_FACE_MEMORY( face ); 717 FT_Memory memory = FT_FACE_MEMORY( face ); local 1077 FT_Memory memory = FT_FACE_MEMORY( slot->face ) local [all...] |
/external/libchrome/base/memory/ |
shared_memory_unittest.cc | 5 #include "base/memory/shared_memory.h" 10 #include <memory> 14 #include "base/memory/shared_memory_handle.h" 44 // Each thread will open the shared memory. Each thread will take a different 4 46 // Verify that each thread's value in the shared memory is always correct. 53 SharedMemory memory; local 54 memory.Delete(s_test_name_); 60 SharedMemory memory; variable 61 bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); 63 rv = memory.Map(kDataSize) 215 SharedMemory memory; local 444 SharedMemory memory; local 467 SharedMemory memory; local 639 SharedMemory memory; local 645 SharedMemory memory; local 675 SharedMemory memory; local [all...] |
/external/libunwind/include/ |
libunwind_i.h | 42 memory per thread even when the thread never uses libunwind at 327 /* This structure should contain memory that will not change during local 356 memory; member in union:elf_image::__anon25801 392 to memory when known not to need to validate and know the access
|
/external/libxml2/ |
threads.c | 445 "xmlGlobalInitMutexLock: out of memory\n"); 554 * global state. It is is used here to reclaim memory resources. 561 /* free any memory allocated in the thread's xmlLastError */ 583 "xmlGetGlobalState: out of memory\n"); 599 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 609 xmlFreeGlobalState(params->memory); 616 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 690 globalval = (xmlGlobalState *) (p ? p->memory : NULL); 701 "xmlGetGlobalState: out of memory\n"); 705 p->memory = tsd [all...] |
/external/mesa3d/src/vulkan/wsi/ |
wsi_common_wayland.c | 478 VkDeviceMemory memory; member in struct:wsi_wl_image 641 &image->memory, 670 image->image, image->memory); 685 chain->images[i].memory);
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
repeated_field.c | 94 void* memory = (void *) (((uint8_t *)self->elements) + off); local 95 VALUE val = native_slot_get(field_type, field_type_class, memory); 120 void* memory; local 125 memory = RepeatedField_memoryat(self, index, element_size); 126 return native_slot_get(field_type, field_type_class, memory); 163 void* memory; local 180 memory = RepeatedField_memoryat(self, index, element_size); 181 native_slot_set(field_type, field_type_class, memory, val); 216 void* memory; local 219 memory = (void *) (((uint8_t *)self->elements) + self->size * element_size) 232 void* memory; local 256 void* memory; local 585 void* memory = (((uint8_t *)self->elements) + i * element_size); local [all...] |
storage.c | 41 #define DEREF(memory, type) *(type*)(memory) 111 void* memory, VALUE value) { 112 native_slot_set_value_and_case(type, type_class, memory, value, NULL, 0); 116 void* memory, VALUE value, 119 // Note that in order to atomically change the value in memory and the case 120 // value (w.r.t. Ruby VM calls), we must set the value at |memory| only after 128 DEREF(memory, float) = NUM2DBL(value); 134 DEREF(memory, double) = NUM2DBL(value); 145 DEREF(memory, int8_t) = val 535 void* memory = slot_memory(layout, storage, field); local 610 void* memory = slot_memory(layout, storage, field); local 633 memory, val, local 644 memory, val); local 655 void* memory = slot_memory(layout, storage, field); local 702 native_slot_init(upb_fielddef_type(field), memory); local 713 void* memory = slot_memory(layout, storage, field); local 718 native_slot_mark(upb_fielddef_type(field), memory); local 723 native_slot_mark(upb_fielddef_type(field), memory); local [all...] |
/external/tensorflow/tensorflow/core/util/ |
stat_summarizer.cc | 202 for (const auto& mem : ns.memory()) { 225 stream << "Memory (bytes): "; 393 const float memory = entry.second.second / 1000.0f; local 407 InitField(stream, 10) << memory; 452 stream << GetStatsByMetric("Top by Memory Use", BY_MEMORY,
|
/frameworks/base/core/java/android/text/ |
Selection.java | 82 * to <code>stop</code> and the memory horizontal to <code>memory</code>. 84 private static void setSelection(Spannable text, int start, int stop, int memory) { 96 updateMemory(text, memory); 101 * Update the memory position for text. This is used to ensure vertical navigation of lines 105 private static void updateMemory(Spannable text, int memory) { 106 if (memory > -1) { 108 if (memory != currentMemory) { 109 text.setSpan(SELECTION_MEMORY, memory, memory, Spanned.SPAN_POINT_POINT) 238 int memory = getSelectionMemory(text); local [all...] |
/frameworks/ml/nn/runtime/ |
ExecutionBuilder.cpp | 77 state = ModelArgumentInfo::MEMORY; 89 state = ModelArgumentInfo::MEMORY; 160 const Memory* memory, size_t offset, size_t length) { 169 if (!memory->validateSize(offset, length)) { 173 uint32_t poolIndex = mMemories.add(memory); 200 const Memory* memory, size_t offset, size_t length) { 209 if (!memory->validateSize(offset, length)) { 213 uint32_t poolIndex = mMemories.add(memory); 483 const Memory* memory = mExecutionBuilder->mMemories[builderPoolIndex]; local [all...] |
/frameworks/native/libs/binder/ |
MemoryDealer.cpp | 222 // might kick out the memory region that's allocated and/or written 243 sp<IMemory> memory; local 246 memory = new Allocation(this, heap(), offset, size); 248 return memory; 277 // align all the memory blocks on a cache-line boundary 296 // memory that is already freed.
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
TfTestLauncher.java | 64 name = "hprof-heap-memory", 380 InputStreamSource memory = null; local 384 memory = new FileInputStreamSource(tmpGzip); 385 listener.testLog("hprof", LogDataType.GZIP, memory); 390 StreamUtil.cancel(memory);
|
/art/runtime/jit/ |
jit.cc | 170 memory_use_("Memory used for compilation", 16), 171 lock_("JIT memory use lock"), 476 void** memory = nullptr; local 514 // Allocate memory to put shadow frame values. The osr stub will copy that memory to 518 memory = reinterpret_cast<void**>(malloc(frame_size)); 519 CHECK(memory != nullptr); 520 memset(memory, 0, frame_size); 523 memory[0] = method; 552 (reinterpret_cast<int32_t*>(memory))[slot_offset / sizeof(int32_t)] = vreg_value [all...] |
/bionic/libc/kernel/uapi/video/ |
sisfb.h | 67 __u32 memory; member in struct:sisfb_info
|
/external/ImageMagick/MagickCore/ |
memory.c | 13 % MagickCore Memory Allocation Methods % 36 % Segregate our memory requirements from any program that calls our API. This 38 % memory corruption. 40 % Our custom memory allocation manager implements a best-fit allocation policy 43 % sizes. It is based on the paper, "Fast Memory Allocation using Lazy Fits." 46 % By default, ANSI memory methods are called (e.g. malloc). Use the 47 % custom memory allocator by defining MAGICKCORE_ANONYMOUS_MEMORY_SUPPORT 48 % to allocate memory with private anonymous mapping rather than from the 63 #include "MagickCore/memory-private.h" 228 % AcquireAlignedMemory() returns a pointer to a block of memory at least siz 247 *memory; local 457 *memory; local 1165 *memory; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferTests.cpp | 71 // 'UMA' systems where device memory counts against system memory 76 // 'LMA' systems where device memory is local to the GPU 314 Move<VkDeviceMemory> memory; local 322 // Create the test buffer and a memory allocation for it 324 // Create a minimal buffer first to get the supported memory types 348 // However on a system where device memory is shared with the system, the maximum size 349 // should be tested against the platform memory limits as significant portion of the heap 360 while (*memory == DE_NULL) 391 errorMsg << "Requied memory size (" << memReqs.size << " bytes) smaller than the buffer's size (" << size << " bytes)!" 587 Move<VkDeviceMemory> memory; local [all...] |
vktApiGetMemoryCommitment.cpp | 22 * \brief Memory Commitment tests 632 Move<VkDeviceMemory> memory = allocateMemory(vkd, device, &memAllocInfo, (const VkAllocationCallbacks*)DE_NULL); local 634 vkd.getDeviceMemoryCommitment(device, memory.get(), &pCommittedMemoryInBytes); 638 log << TestLog::Message << "Warning: Memory commitment not null before binding." << TestLog::EndMessage; 741 Move<VkDeviceMemory> memory = allocateMemory(vkd, device, &memAllocInfo, (const VkAllocationCallbacks*)DE_NULL); local 743 vkd.getDeviceMemoryCommitment(device, memory.get(), &pCommittedMemoryInBytes); 760 de::MovePtr<tcu::TestCaseGroup> getMemoryCommitmentTests (new tcu::TestCaseGroup(testCtx, "get_memory_commitment", "Memory Commitment Tests"));
|