/art/test/080-oom-throw/src/ |
Main.java | 157 Object memory = eatAllMemory(); local 165 boolean memoryWasAllocated = (memory != null); 166 memory = null;
|
/bionic/tests/ |
buffer_tests.cpp | 63 // Set of multiple buffer alignment combinations to be used for string/memory 353 // src, create data that ends exactly at an unreadable memory boundary. 355 uint8_t* memory; local 356 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, 358 memset(memory, 0x23, 2*pagesize); 361 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_NONE) == 0); 364 uint8_t* buf = &memory[pagesize-i]; 368 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); 369 free(memory); 374 // src, create data that ends exactly at an unreadable memory boundary 376 uint8_t* memory; local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectExplorer.java | 17 package com.google.caliper.memory;
|
ObjectGraphMeasurer.java | 17 package com.google.caliper.memory; 19 import com.google.caliper.memory.ObjectExplorer.Feature;
|
/external/deqp/framework/platform/android/ |
tcuAndroidInternals.cpp | 65 RT* callConstructor4 (GenericFptr fptr, void* memory, size_t memorySize, T1 param1, T2 param2, T3 param3, T4 param4) 72 (void)((ABIFptr)fptr)(memory, param1, param2, param3, param4); 73 return reinterpret_cast<RT*>(memory); 77 ((ABIFptr)fptr)(memory, param1, param2, param3, param4); 78 return reinterpret_cast<RT*>(memory); 82 ((ABIFptr)fptr)(memory, param1, param2, param3, param4); 83 return reinterpret_cast<RT*>(memory); 87 ((ABIFptr)fptr)(memory, param1, param2, param3, param4); 88 return reinterpret_cast<RT*>(memory); 91 DE_UNREF(memory); 178 void* const memory = deMalloc(GRAPHICBUFFER_SIZE); local [all...] |
/external/elfutils/libebl/ |
eblwstrtab.c | 67 char memory[0]; member in struct:memoryblock 74 struct memoryblock *memory; member in struct:Ebl_WStrtab 125 newmem->next = st->memory; 126 st->memory = newmem; 127 st->backp = newmem->memory; 128 st->left = len - offsetof (struct memoryblock, memory); 137 struct memoryblock *mb = st->memory; 163 /* Make sure there is enough room in the memory block. */ 235 /* Allocate memory for the new string and its associated information. */ 255 /* We have an exact match with a substring. Free the memory [all...] |
/external/freetype/builds/amiga/src/base/ |
ftsystem.c | 21 /* low-level, i.e. memory management, i/o access as well as thread */ 89 APTR memory ) 91 ULONG *realmem = (ULONG *)memory - 1; 111 /* MEMORY MANAGEMENT INTERFACE */ 130 /* The memory allocation function. */ 133 /* memory :: A pointer to the memory object. */ 141 ft_alloc( FT_Memory memory, 145 return AllocVecPooled( memory->user, size ); 147 return Alloc_VecPooled( memory->user, size ) 477 FT_Memory memory; local [all...] |
/external/freetype/include/freetype/ |
ftsystem.h | 38 /* How FreeType manages memory and i/o. */ 41 /* This section contains various definitions related to memory */ 43 /* information if you want to use a custom memory manager or you own */ 62 * A handle to a given memory manager object, defined with an 75 * A function used to allocate `size' bytes from `memory'. 78 * memory :: 79 * A handle to the source memory manager. 85 * Address of new memory block. 0~in case of failure. 89 (*FT_Alloc_Func)( FT_Memory memory, 99 * A function used to release a given block of memory 341 FT_Memory memory; member in struct:FT_StreamRec_ [all...] |
/external/freetype/include/freetype/internal/ |
ftgloadr.h | 63 FT_Memory memory; member in struct:FT_GlyphLoaderRec_ 79 FT_GlyphLoader_New( FT_Memory memory,
|
/external/freetype/src/cache/ |
ftccache.c | 134 FT_Memory memory = cache->memory; local 188 FT_Memory memory = cache->memory; local 337 FT_Memory memory = cache->memory; local 391 if ( cache->memory ) 393 FT_Memory memory = cache->memory; local 403 cache->memory = NULL [all...] |
ftccmap.c | 99 FT_Memory memory = cache->memory; local 115 FT_Memory memory = cache->memory; local
|
ftcmru.h | 127 FT_Memory memory; member in struct:FTC_MruListRec_ 137 FT_Memory memory );
|
ftcsbits.c | 45 FT_Memory memory ) 73 FT_Memory memory = cache->memory; local 96 * out-of-memory condition. For all other errors (e.g., corresponding 101 * function below to see how out-of-memory is handled during a lookup. 112 FT_Memory memory = manager->memory; local 182 error = ftc_sbit_copy_bitmap( sbit, bitmap, memory ); 214 FT_Memory memory = cache->memory; local [all...] |
/external/freetype/src/cid/ |
cidgload.c | 55 FT_Memory memory = face->root.memory; local
|
/external/freetype/src/lzw/ |
ftlzw.c | 74 FT_Memory memory; /* memory allocator */ member in struct:FT_LZWFileRec_ 118 zip->memory = stream->memory; 143 zip->memory = NULL; 318 FT_Memory memory = stream->memory; local 351 FT_Memory memory; local 361 memory = source->memory; [all...] |
/external/freetype/src/psaux/ |
psfont.h | 65 FT_Memory memory; member in struct:CF2_FontRec_
|
/external/freetype/src/smooth/ |
ftsmooth.c | 103 FT_Memory memory = render->root.memory; local
|
/external/freetype/src/type1/ |
t1afm.c | 40 T1_Done_Metrics( FT_Memory memory, 114 FT_Memory memory = stream->memory; local 240 FT_Memory memory = stream->memory; local 252 T1_Done_Metrics( memory, (AFM_FontInfo)face->afm_data ); 269 stream->memory, 322 T1_Done_Metrics( memory, fi );
|
t1objs.c | 106 error = funcs->create( size->root.face->memory, 202 FT_Memory memory; local 209 memory = face->root.memory; 248 ft_hash_num_free( type1->subrs_hash, memory ); 262 T1_Done_Metrics( memory, (AFM_FontInfo)face->afm_data ); 607 /* compute random seed from some memory addresses */ 610 (FT_Offset)(char*)module->memory );
|
/external/google-breakpad/src/client/windows/unittests/ |
exception_handler_test.cc | 70 MiniDumpWithFullMemory | // Full memory from process. 273 // Minidump should have a memory listing, but no 64-bit memory. 344 // Minidump should have a memory listing, but no 64-bit memory. 396 // Test that an additional memory region can be included in the minidump. 402 // Get some heap memory. 403 uint8_t* memory = new uint8_t[kMemorySize]; local 404 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); 405 ASSERT_TRUE(memory); 457 uint8_t* memory = new uint8_t[kMemorySize]; local [all...] |
/external/google-breakpad/src/processor/ |
stackwalker_selftest.cc | 104 // process' memory space by pointer. 133 uint8_t* memory = 0; 134 *value = *reinterpret_cast<const T*>(&memory[address]); 318 SelfMemoryRegion memory; local 327 StackwalkerX86 stackwalker = StackwalkerX86(NULL, &context, &memory, NULL, 334 StackwalkerPPC stackwalker = StackwalkerPPC(NULL, &context, &memory, NULL, 342 StackwalkerSPARC stackwalker = StackwalkerSPARC(NULL, &context, &memory,
|
/external/libchrome/base/memory/ |
shared_memory.h | 14 #include "base/memory/shared_memory_handle.h" 35 // Options for creating a shared memory object. 47 // If true, and the shared memory already exists, Create() will open the 48 // existing shared memory and ignore the size parameter. If false, 49 // shared memory must not exist. This flag is meaningless unless 54 // Size of the shared memory object to be created. 65 // Platform abstraction for shared memory. Provides a C++ wrapper 66 // around the OS primitive for a memory mapped file. 79 // shared memory file. 97 // Closes a shared memory handle 191 void* memory() const { return memory_; } function in class:base::SharedMemory [all...] |
/external/mesa3d/src/amd/vulkan/ |
radv_wsi.c | 185 struct radv_device_memory *memory; local 197 memory = radv_device_memory_from_handle(memory_h); 202 memory->bo, &fd); 209 device->ws->buffer_set_metadata(memory->bo, &metadata);
|
/external/mesa3d/src/intel/vulkan/ |
anv_wsi.c | 188 struct anv_device_memory *memory; local 200 memory = anv_device_memory_from_handle(memory_h); 201 memory->bo.is_winsys_bo = true; 209 int ret = anv_gem_set_tiling(device, memory->bo.gem_handle, 218 int fd = anv_gem_handle_to_fd(device, memory->bo.gem_handle);
|
/external/protobuf/php/ext/google/protobuf/ |
storage.c | 17 #define DEREF(memory, type) *(type*)(memory) 64 const void* memory TSRMLS_DC) { 69 // return DBL2NUM(DEREF(memory, float)); 71 // return DBL2NUM(DEREF(memory, double)); 73 // return DEREF(memory, int8_t) ? Qtrue : Qfalse; 77 // return DEREF(memory, VALUE); 79 // int32_t val = DEREF(memory, int32_t); 88 return int32_to_zval(DEREF(memory, int32_t)); 91 // return LL2NUM(DEREF(memory, int64_t)) 418 void* memory = slot_memory(layout, storage, field); local 440 \/*field_type_class(field),*\/ memory, val, local 452 native_slot_set(upb_fielddef_type(field), \/*field_type_class(field),*\/ memory, local 462 void* memory = slot_memory(layout, storage, field); local 510 native_slot_init(upb_fielddef_type(field), memory); local 517 void* memory = slot_memory(layout, storage, field); local [all...] |