/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryAllocationTests.cpp | 21 * \brief Simple memory allocation tests. 56 namespace memory namespace in namespace:vkt 64 // possible memory allocations made by layers etc. 250 log << TestLog::Message << "Memory allocation count: " << m_config.memoryAllocationCount << TestLog::EndMessage; 254 log << TestLog::Message << "Memory is freed in reversed order. " << TestLog::EndMessage; 256 log << TestLog::Message << "Memory is freed in same order as allocated. " << TestLog::EndMessage; 258 log << TestLog::Message << "Memory is freed right after allocation. " << TestLog::EndMessage; 271 log << TestLog::Message << "Memory type index: " << m_memoryTypeIndex << TestLog::EndMessage; 274 m_result.fail("Invalid heap index defined for memory type."); 277 log << TestLog::Message << "Memory type: " << memoryType << TestLog::EndMessage 429 VkDeviceMemory memory; member in struct:vkt::memory::__anon17721::MemoryObject [all...] |
vktMemoryPipelineBarrierTests.cpp | 79 namespace memory namespace in namespace:vkt 586 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &allocationInfo)); 588 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0)); 590 return memory; 597 // Try next memory type/heap if out of memory 608 TCU_FAIL("Failed to allocate memory for buffer"); 636 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &allocationInfo)); 638 VK_CHECK(vkd.bindImageMemory(device, image, *memory, 0)); 640 return memory; [all...] |
vktMemoryRequirementsTests.cpp | 21 * \brief Buffer and image memory requirements tests. 46 namespace memory namespace in namespace:vkt 341 return allPass ? tcu::TestStatus::pass("Pass") : tcu::TestStatus::fail("Some memory requirements were incorrect"); 395 result.fail("VkMemoryRequirements memoryTypeBits contains bits for non-existing memory types"); 408 "Memory type includes VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT"); 433 "None of the required memory types included VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"); 436 "Required memory type doesn't include VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT and VK_MEMORY_PROPERTY_HOST_COHERENT_BIT"); 439 "Memory type bits aren't a superset of memory type bits for all usage flags combined"); 627 "Preferred and required flags for dedicated memory cannot be set to true at the same time") [all...] |
/external/freetype/src/autofit/ |
afhints.c | 39 FT_Memory memory, 103 FT_Memory memory, 663 FT_Memory memory ) 667 hints->memory = memory; 674 FT_Memory memory; local 678 if ( !( hints && hints->memory ) ) 681 memory = hints->memory; 713 hints->memory = NULL 742 FT_Memory memory = hints->memory; local [all...] |
afhints.h | 336 FT_Memory memory; member in struct:AF_GlyphHintsRec_ 417 FT_Memory memory, 425 FT_Memory memory, 430 FT_Memory memory );
|
/external/freetype/src/base/ |
ftdbgmem.c | 5 /* Memory debugger (body). */ 33 * memory, however. 42 FT_DumpMemory( FT_Memory memory ); 54 * site. This is useful to know where memory operations happen the 79 * We don't need a resizable array for the memory sources because 86 * memory block. If KEEPALIVE is defined, blocks that are freed by 89 * frees, at the price of a large memory footprint during execution. 133 FT_Memory memory; member in struct:FT_MemTableRec_ 229 FT_Memory memory = table->memory; local 245 FT_Memory memory = table->memory; local [all...] |
ftmac.c | 44 - Read the FOND resource into memory, then check whether there is a 48 its data into memory, massage it slightly so it becomes PFB data, wrap 49 it into a memory stream, load the Type 1 driver and delegate the rest 56 - If there is a TrueType font (an `sfnt' resource), read it into memory, 57 wrap it into a memory stream, load the TrueType driver and delegate 584 read_lwfn( FT_Memory memory, 717 error = read_lwfn( library->memory, res, &pfb_data, &pfb_size ); 742 FT_Memory memory = library->memory; local [all...] |
/external/freetype/src/bdf/ |
bdf.h | 220 FT_Memory memory; member in struct:bdf_font_t_ 258 FT_Memory memory,
|
/external/freetype/src/cff/ |
cffparse.c | 50 FT_Memory memory = library->memory; /* for FT_NEW_ARRAY */ local 83 FT_Memory memory = parser->library->memory; /* for FT_FREE */ local 1128 FT_Memory memory = library->memory; local 1142 FT_Memory memory = library->memory; local [all...] |
/external/freetype/src/pcf/ |
pcfread.c | 102 FT_Memory memory = FT_FACE( face )->memory; local 488 FT_Memory memory = FT_FACE( face )->memory; local 683 FT_Memory memory = FT_FACE( face )->memory; local 812 FT_Memory memory = FT_FACE( face )->memory; local 941 FT_Memory memory = FT_FACE( face )->memory; local 1227 FT_Memory memory = face->memory; local 1339 FT_Memory memory = FT_FACE( face )->memory; local [all...] |
/external/freetype/src/psaux/ |
psobjs.c | 64 /* memory :: The memory object to use for all subsequent */ 73 FT_Memory memory ) 78 table->memory = memory; 121 FT_Memory memory = table->memory; local 153 /* Adds an object to a PS_Table, possibly growing its memory block. */ 161 /* object :: The address of the object to copy in memory. */ 232 /* This function does NOT release the heap's memory block. It is up * 238 FT_Memory memory = table->memory; local 262 FT_Memory memory = table->memory; local 1140 FT_Memory memory = parser->memory; local 1221 FT_Memory memory = parser->memory; local [all...] |
/external/freetype/src/sfnt/ |
sfdriver.c | 473 get_win_string( FT_Memory memory, 534 get_apple_string( FT_Memory memory, 772 FT_Memory memory = face->root.memory; local 826 result = get_win_string( face->root.memory, 832 result = get_apple_string( face->root.memory, 1050 result = get_win_string( face->root.memory, 1056 result = get_apple_string( face->root.memory, [all...] |
sfobjs.c | 58 FT_Memory memory ) 93 FT_Memory memory ) 126 FT_Memory memory ); 136 FT_Memory memory = face->root.memory; local 280 result = convert( rec, memory ); 362 FT_Memory memory = stream->memory; local 400 FT_Memory memory = stream->memory; local 743 FT_Memory memory = stream->memory; local 947 FT_Memory memory = face->root.memory; local 1539 FT_Memory memory = face->root.stream->memory; local 1712 FT_Memory memory; local [all...] |
/external/freetype/src/type1/ |
t1load.c | 109 FT_Memory memory = face->root.memory; local 305 FT_Memory memory = face->root.memory; local 639 FT_Memory memory = face->root.memory; local 698 FT_Memory memory; local 723 memory = face->root.memory; 876 FT_Memory memory = face->root.memory local 1322 FT_Memory memory = parser->root.memory; local 1529 FT_Memory memory = parser->root.memory; local 1717 FT_Memory memory = parser->root.memory; local 2281 FT_Memory memory = parser->root.memory; local 2389 FT_Memory memory = face->root.memory; local [all...] |
/external/google-breakpad/src/client/linux/handler/ |
exception_handler_unittest.cc | 60 // Flush the instruction cache for a given memory range. 62 void FlushInstructionCache(const char* memory, uint32_t memory_size) { 64 long begin = reinterpret_cast<long>(memory); 81 long begin = reinterpret_cast<long>(memory); 90 cacheflush(const_cast<char*>(memory), memory_size, ICACHE); 489 // Test that memory around the instruction pointer is written 507 // Get some executable memory. 508 char* memory = local 515 if (!memory) 519 // of the block of memory, because the minidump should contain 12 600 char* memory = local 691 char* memory = local 834 char* memory = local 1076 uint8_t* memory = new uint8_t[kMemorySize]; local 1120 uint8_t* memory = new uint8_t[kMemorySize]; local [all...] |
/external/icu/icu4c/source/common/ |
utrie2.h | 85 * Open a frozen trie from its serialized from, stored in 32-bit-aligned memory. 87 * The memory must remain valid and unchanged as long as the trie is used. 92 * @param data a pointer to 32-bit-aligned memory containing the serialized form of a UTrie2 238 * Close a trie and release associated memory. 309 * Serialize a frozen trie into 32-bit aligned memory. 314 * @param data a pointer to 32-bit-aligned memory to be filled with the trie data, 334 * Get the UTrie version from 32-bit-aligned memory containing the serialized form 337 * @param data a pointer to 32-bit-aligned memory containing the serialized form 706 void *memory; /* serialized bytes; NULL if not frozen yet */ member in struct:UTrie2 707 int32_t length; /* number of serialized bytes at memory; 0 if not frozen yet * [all...] |
/external/kernel-headers/original/uapi/video/ |
sisfb.h | 84 __u32 memory; /* total video memory in KB */ member in struct:sisfb_info 119 __u32 sisfb_videooffset; /* Offset of viewport in video memory (in bytes) */ 158 /* ioctl for identifying and giving some info (esp. memory heap start) */ 187 /* ioctl for identifying and giving some info (esp. memory heap start) */ 198 /* For fb memory manager (FBIO_ALLOC, FBIO_FREE) */
|
/external/kmod/libkmod/ |
libkmod-elf.c | 50 const uint8_t *memory; member in struct:kmod_elf 93 static int elf_identify(const void *memory, uint64_t size) 95 const uint8_t *p = memory; 144 p = elf->memory + offset; 164 ELFDBG(elf, "size=%"PRIu16" offset=%"PRIu64" value=%"PRIu64" write memory=%p\n", 179 memcpy(elf->changed, elf->memory, elf->size); 180 elf->memory = elf->changed; 181 ELFDBG(elf, "copied memory to allow writing.\n"); 208 return elf->memory + offset; 227 uint64_t min_size, off = p - elf->memory; [all...] |
/external/libchrome/base/metrics/ |
field_trial_unittest.cc | 13 #include "base/memory/ptr_util.h" 1168 void* memory = field_trial_list.field_trial_allocator_->shared_memory(); local [all...] |
persistent_memory_allocator_unittest.cc | 7 #include <memory> 13 #include "base/memory/shared_memory.h" 106 // Get base memory info for later comparison. 201 // Check the internal histogram record of used memory. 215 // Create second allocator (read/write) using the same memory segment. 230 // Create a third allocator (read-only) using the same memory segment. 260 // Ensure that the memory state can be set. 267 // This allocation will go into the first memory page. 323 void* memory = mem_segment_.get(); local 324 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE) 485 char* memory = mem_segment_.get(); local [all...] |
/external/libpng/ |
pngwrite.c | 496 /* Initialize png_ptr structure, and allocate any memory needed */ 509 /* Alternate initialize png_ptr structure, and allocate any memory needed */ 937 /* Free any memory used in png_ptr struct without freeing the struct itself. */ 943 /* Free any memory zlib uses */ 947 /* Free our memory. png_free checks NULL for us. */ 965 /* The error handling and memory handling information is left intact at this 971 /* Free all memory used by the write. 1518 png_bytep memory; member in struct:__anon25699 [all...] |
/external/ltp/testcases/kernel/mem/lib/ |
mem.c | 111 * oom - allocates memory according to specified testcase and checks 113 * @testcase: selects how child allocates memory 116 * if zero, child keeps allocating memory until it gets killed 328 static void verify(char **memory, char value, int proc, 336 tst_res(TINFO, "child %d verifies memory content.", proc); 338 if (memcmp(memory[start], s, (end - start) * (end2 - start2)) 342 if (memory[j][i] != value) 345 proc, memory[j][i], proc, 369 struct ksm_merge_data ksm_merge_data, char **memory) 388 memory[j][i] = ksm_merge_data.data 402 char **memory; local 566 char **memory; local [all...] |
/external/pdfium/third_party/libpng16/ |
pngwrite.c | 485 /* Initialize png_ptr structure, and allocate any memory needed */ 498 /* Alternate initialize png_ptr structure, and allocate any memory needed */ 926 /* Free any memory used in png_ptr struct without freeing the struct itself. */ 932 /* Free any memory zlib uses */ 936 /* Free our memory. png_free checks NULL for us. */ 954 /* The error handling and memory handling information is left intact at this 960 /* Free all memory used by the write. 1507 png_bytep memory; member in struct:__anon31488 [all...] |
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_code.cc | 334 string_table_.GetIndex("Sum of operation total memory requests, " 339 string_table_.GetIndex("Sum of operation peak memory usage.")); 343 "Sum of operation allocated memory after finish.")); 411 // takes a lot of memory. 621 string memory = FormatMemory(total_bytes); local 623 memory = FormatMemory(bytes) + "/" + memory; 625 memory = "--/" + memory; 627 return memory; [all...] |
/external/v8/src/base/platform/ |
platform-posix.cc | 146 // Make a region of memory readable and writable. 286 PosixMemoryMappedFile(FILE* file, void* memory, size_t size) 287 : file_(file), memory_(memory), size_(size) {} 289 void* memory() const final { return memory_; } 305 void* const memory = local 308 if (memory != MAP_FAILED) { 309 return new PosixMemoryMappedFile(file, memory, size); 325 void* memory = mmap(OS::GetRandomMmapAddr(), result, local 327 if (memory != MAP_FAILED) { 328 return new PosixMemoryMappedFile(file, memory, result) [all...] |