/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/ |
H A D | t1afm.c | 38 T1_Done_Metrics( FT_Memory memory, argument 112 FT_Memory memory = stream->memory; local 238 FT_Memory memory = stream->memory; local 257 stream->memory, 310 T1_Done_Metrics( memory, fi );
|
/external/svox/pico/lib/ |
H A D | picoapi.c | 73 void *memory, 85 if (memory == NULL) { 98 sys = (pico_System) picoos_raw_malloc(memory, size, sizeof(pico_system_t), 137 * pico_initialize : initializes the pico system private memory 138 * @param memory : pointer to a free and already allocated memory area 139 * @param size : size of the memory area 141 * @return PICO_OK : successful init, !PICO_OK : error on allocating private memory 146 void *memory, 151 return pico_initialize_priv(memory, siz 72 pico_initialize_priv( void *memory, const pico_Uint32 size, pico_Int16 enableMemProt, pico_System *system ) argument 145 pico_initialize( void *memory, const pico_Uint32 size, pico_System *system ) argument [all...] |
/external/webp/src/enc/ |
H A D | picture.c | 66 void* memory; local 78 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); 79 if (memory == NULL) { 83 picture->memory_argb_ = memory; 84 picture->argb = (uint32_t*)memory; 177 // WebPMemoryWriter: Write-to-memory
|
/external/chromium_org/base/memory/ |
H A D | shared_memory_unittest.cc | 6 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/shared_memory.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_); 63 SharedMemory memory; variable 64 bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); 66 rv = memory.Map(kDataSize); 68 int *ptr = static_cast<int*>(memory 493 SharedMemory memory; local 516 SharedMemory memory; local 635 SharedMemory memory; local 645 SharedMemory memory; local [all...] |
/external/chromium_org/base/metrics/ |
H A D | stats_table.cc | 8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/shared_memory.h" 19 // The StatsTable uses a shared memory segment that is laid out as follows 50 // At the shared-memory level, we have a lock. This lock protects the 51 // shared-memory table only, and is used when we create new counters (e.g. 53 // data from the table does not require any locking at the shared memory 63 // In order for external viewers to be able to read our shared memory, 88 // shared memory segment. Use this class to keep the data structure 92 // Various header information contained in the memory mapped segment. 154 void InitializeTable(void* memory, in 182 void* memory = shared_memory->memory(); local 227 InitializeTable(void* memory, int size, int max_counters, int max_threads) argument 241 ComputeMappedPointers(void* memory) argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | user_script_loader.cc | 14 #include "base/memory/shared_memory.h" 156 // Pickle user scripts and return pointer to the shared memory. 179 // Create the shared memory object. 191 // Copy the pickle to shared memory. 192 memcpy(shared_memory.memory(), pickle.data(), pickle.size()); 211 scoped_ptr<base::SharedMemory> memory = Serialize(*user_scripts); local 215 base::Bind(callback, base::Passed(&user_scripts), base::Passed(&memory))); 524 // though it removes the possibility that freeing the shared memory block
|
/external/chromium_org/content/browser/loader/ |
H A D | async_resource_handler.cc | 14 #include "base/memory/shared_memory.h" 71 DependentIOBuffer(ResourceBuffer* backing, char* memory) argument 72 : net::WrappedIOBuffer(memory), 250 char* memory = buffer_->Allocate(&allocation_size_); local 251 CHECK(memory); 253 *buf = new DependentIOBuffer(buffer_.get(), memory);
|
/external/chromium_org/mojo/gles2/ |
H A D | command_buffer_client_impl.cc | 20 void** memory, 34 handle->get(), 0, size, memory, MOJO_MAP_BUFFER_FLAG_NONE); 37 DCHECK(*memory); 96 void* memory = NULL; local 99 kSharedStateSize, &memory, &shared_state_handle_, &duped); 103 shared_state_ = static_cast<gpu::CommandBufferSharedState*>(memory); 167 void* memory = NULL; local 170 if (!CreateMapAndDupSharedBuffer(size, &memory, &handle, &duped)) 179 new MojoBufferBacking(handle.Pass(), memory, size)); 19 CreateMapAndDupSharedBuffer(size_t size, void** memory, mojo::ScopedSharedBufferHandle* handle, mojo::ScopedSharedBufferHandle* duped) argument
|
/external/chromium_org/remoting/host/ |
H A D | desktop_session_agent.cc | 9 #include "base/memory/shared_memory.h" 76 scoped_ptr<base::SharedMemory> memory(new base::SharedMemory()); 77 if (!memory->CreateAndMapAnonymous(size)) 80 new SharedBuffer(agent, memory.Pass(), size, id)); 89 scoped_ptr<base::SharedMemory> memory, 92 : SharedMemory(memory->memory(), size, 94 memory->handle(), 96 memory->handle().fd, 100 shared_memory_(memory 88 SharedBuffer(DesktopSessionAgent* agent, scoped_ptr<base::SharedMemory> memory, size_t size, int id) argument [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | policy_engine_opcodes.h | 252 // The factory works by creating the opcodes using a chunk of memory given 254 // (top) of the memory, while any string that an opcode needs is allocated from 255 // the end (bottom) of the memory. 276 // memory: base pointer to a chunk of memory where the opcodes are created. 277 // memory_size: the size in bytes of the memory chunk. 278 OpcodeFactory(char* memory, size_t memory_size) argument 279 : memory_top_(memory) { 283 // policy: contains the raw memory where the opcodes are created. 290 // Returns the available memory t [all...] |
H A D | policy_low_level.cc | 13 // A single rule can use at most this amount of memory. 57 // 'compile' them into a single memory region. Now, the rules are in random 61 // memory zone for the opcodes and the data and call RebindCopy on each rule 121 char* memory = new char[sizeof(PolicyBuffer) + kRuleBufferSize]; local 122 buffer_ = reinterpret_cast<PolicyBuffer*>(memory); 134 char* memory = new char[buffer_size]; local 135 buffer_ = reinterpret_cast<PolicyBuffer*>(memory);
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | PoolAlloc.h | 16 // allocate a large number of small requests for heap memory, with the 121 // Don't call the destructor just to free up the memory, call pop() 126 // Call push() to establish a new place to pop memory too. Does not 132 // Call pop() to free all memory allocated since the last call to push(), 133 // or if no last call to push, frees all memory since first allocation. 138 // Call popAll() to free all memory allocated. 143 // Call allocate() to actually acquire memory. Returns 0 if no memory 144 // available, otherwise a properly aligned pointer to 'numBytes' of memory. 152 // by calling pop(), and to not have to solve memory lea 188 initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) argument [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cffobjs.c | 171 FT_Memory memory = cffsize->face->memory; local 180 error = funcs->create( cffsize->face->memory, &priv, 191 error = funcs->create( cffsize->face->memory, &priv, 385 cff_strcpy( FT_Memory memory, argument 573 FT_Memory memory = cffface->memory; local 820 style_name = cff_strcpy( memory, fullp ); 838 cffface->family_name = cff_strcpy( memory, cid_font_name ); 845 cffface->style_name = cff_strcpy( memory, (cha 1026 FT_Memory memory; local [all...] |
H A D | cffparse.c | 786 FT_Memory memory = library->memory; local 800 FT_Memory memory = library->memory; local
|
/external/chromium_org/third_party/libxml/src/ |
H A D | threads.c | 451 "xmlGlobalInitMutexLock: out of memory\n"); 556 * global state. It is is used here to reclaim memory resources. 563 /* free any memory allocated in the thread's xmlLastError */ 585 "xmlGetGlobalState: out of memory\n"); 601 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 611 xmlFreeGlobalState(params->memory); 618 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 692 globalval = (xmlGlobalState *) (p ? p->memory : NULL); 703 "xmlGetGlobalState: out of memory\n"); 707 p->memory [all...] |
/external/chromium_org/v8/src/base/platform/ |
H A D | platform-freebsd.cc | 73 PosixMemoryMappedFile(FILE* file, void* memory, int size) argument 74 : file_(file), memory_(memory), size_(size) { } 76 virtual void* memory() { return memory_; } function in class:v8::base::PosixMemoryMappedFile 92 void* memory = local 94 return new PosixMemoryMappedFile(file, memory, size); 107 void* memory = local 109 return new PosixMemoryMappedFile(file, memory, size); 200 // Unmap extra memory reserved before and after the desired block.
|
H A D | platform-linux.cc | 16 // Ubuntu Dapper requires memory pages to be marked as 49 // PNaCL doesn't have this, so we always grab all of the memory, which is bad. 147 PosixMemoryMappedFile(FILE* file, void* memory, int size) argument 148 : file_(file), memory_(memory), size_(size) { } 150 virtual void* memory() { return memory_; } function in class:v8::base::PosixMemoryMappedFile 166 void* memory = local 173 return new PosixMemoryMappedFile(file, memory, size); 186 void* memory = local 193 return new PosixMemoryMappedFile(file, memory, size); 324 // Unmap extra memory reserve [all...] |
H A D | platform-openbsd.cc | 71 PosixMemoryMappedFile(FILE* file, void* memory, int size) argument 72 : file_(file), memory_(memory), size_(size) { } 74 virtual void* memory() { return memory_; } function in class:v8::base::PosixMemoryMappedFile 90 void* memory = local 92 return new PosixMemoryMappedFile(file, memory, size); 105 void* memory = local 107 return new PosixMemoryMappedFile(file, memory, size); 231 // Unmap extra memory reserved before and after the desired block.
|
H A D | platform-qnx.cc | 18 // QNX requires memory pages to be marked as executable. 122 PosixMemoryMappedFile(FILE* file, void* memory, int size) argument 123 : file_(file), memory_(memory), size_(size) { } 125 virtual void* memory() { return memory_; } function in class:v8::base::PosixMemoryMappedFile 141 void* memory = local 148 return new PosixMemoryMappedFile(file, memory, size); 161 void* memory = local 168 return new PosixMemoryMappedFile(file, memory, size); 267 // Unmap extra memory reserved before and after the desired block.
|
/external/freetype/src/cff/ |
H A D | cffobjs.c | 171 FT_Memory memory = cffsize->face->memory; local 180 error = funcs->create( cffsize->face->memory, &priv, 191 error = funcs->create( cffsize->face->memory, &priv, 385 cff_strcpy( FT_Memory memory, argument 573 FT_Memory memory = cffface->memory; local 820 style_name = cff_strcpy( memory, fullp ); 838 cffface->family_name = cff_strcpy( memory, cid_font_name ); 845 cffface->style_name = cff_strcpy( memory, (cha 1026 FT_Memory memory; local [all...] |
H A D | cffparse.c | 782 FT_Memory memory = library->memory; local 796 FT_Memory memory = library->memory; local
|
/external/libxml2/ |
H A D | threads.c | 452 "xmlGlobalInitMutexLock: out of memory\n"); 557 * global state. It is is used here to reclaim memory resources. 564 /* free any memory allocated in the thread's xmlLastError */ 586 "xmlGetGlobalState: out of memory\n"); 602 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 612 xmlFreeGlobalState(params->memory); 619 void *memory; member in struct:_xmlGlobalStateCleanupHelperParams 693 globalval = (xmlGlobalState *) (p ? p->memory : NULL); 704 "xmlGetGlobalState: out of memory\n"); 708 p->memory [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
H A D | cffobjs.c | 171 FT_Memory memory = cffsize->face->memory; local 180 error = funcs->create( cffsize->face->memory, &priv, 191 error = funcs->create( cffsize->face->memory, &priv, 385 cff_strcpy( FT_Memory memory, argument 574 FT_Memory memory = cffface->memory; local 821 style_name = cff_strcpy( memory, fullp ); 839 cffface->family_name = cff_strcpy( memory, cid_font_name ); 846 cffface->style_name = cff_strcpy( memory, (cha 1031 FT_Memory memory; local [all...] |
H A D | cffparse.c | 786 FT_Memory memory = library->memory; local 800 FT_Memory memory = library->memory; local
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsvideo.c | 61 int console, memory; local 67 memory = open(PS2_DEV_MEM, O_RDWR, 0); 68 if ( memory >= 0 ) { 69 close(memory); 71 return((console >= 0) && (memory >= 0)); 483 /* Memory map the DMA area for block memory transfer */ 531 /* Set up the memory for screen update DMA commands */ 565 /* We lie here - the screen memory isn't really the visible 566 display memory and still requires an update, but this
|