/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/bison/lib/ |
H A D | printf-parse.c | 106 argument *memory; \ 113 /* Overflow, would lead to out of memory. */ \ 115 memory = (argument *) (a->arg != a->direct_alloc_arg \ 118 if (memory == NULL) \ 119 /* Out of memory. */ \ 122 memcpy (memory, a->arg, a->count * sizeof (argument)); \ 123 a->arg = memory; \ 170 /* n too large, would lead to out of memory later. */ 247 /* n too large, would lead to out of memory later. */ 304 /* n too large, would lead to out of memory 585 DIRECTIVE *memory; local [all...] |
H A D | vasnprintf.c | 1 /* vsprintf with automatic memory allocation. 340 Return the allocated memory in case of success, NULL in case of memory 412 Return the allocated memory in case of success, NULL in case of memory 463 The room for q[j] can be allocated at the memory location of r[n+j]. 842 Return the allocated memory - containing the decimal digits in low-to-high 844 of memory allocation failure. */ 897 Return the allocated memory in case of success, NULL in case of memory 1072 scale10_round_decimal_decoded(int e, mpn_t m, void *memory, int n) argument 1298 void *memory = decode_long_double (x, &e, &m); local 1316 void *memory = decode_double (x, &e, &m); local 5553 DCHAR_T *memory; local [all...] |
/external/bluetooth/bluedroid/bta/hf_client/ |
H A D | bta_hf_client_at.c | 1627 void bta_hf_client_send_at_atd(char *number, UINT32 memory) argument 1640 at_len = snprintf(buf, sizeof(buf), "ATD>%u;\r", memory);
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_ashmem_allocator.cc | 5 #include "base/memory/discardable_memory_ashmem_allocator.h" 21 #include "base/memory/scoped_vector.h" 82 DPLOG(ERROR) << "Failed to map memory."; 93 DPLOG(ERROR) << "Failed to unmap memory."; 107 DLOG(ERROR) << "Failed to unpin memory."; 162 scoped_ptr<DiscardableAshmemChunk> memory = ReuseFreeChunk_Locked( local 164 if (memory) 165 return memory.Pass(); 173 memory.reset( 182 return memory [all...] |
H A D | discardable_memory_ashmem_allocator_unittest.cc | 5 #include "base/memory/discardable_memory_ashmem_allocator.h" 10 #include "base/memory/discardable_memory.h" 11 #include "base/memory/scoped_ptr.h" 38 void WriteToDiscardableAshmemChunk(DiscardableAshmemChunk* memory, argument 42 static_cast<char*>(memory->Memory())[0] = 'a'; 43 static_cast<char*>(memory->Memory())[size - 1] = 'a'; 48 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); 49 ASSERT_TRUE(memory); 50 WriteToDiscardableAshmemChunk(memory.get(), size); 54 scoped_ptr<DiscardableAshmemChunk> memory(allocator [all...] |
H A D | shared_memory.h | 33 // the underlying OS handle to a shared memory segment. 37 // A SharedMemoryId is sufficient to identify a given shared memory segment on a 43 // Options for creating a shared memory object. 57 // Size of the shared memory object to be created. 62 // If true, and the shared memory already exists, Create() will open the 63 // existing shared memory and ignore the size parameter. If false, 64 // shared memory must not exist. This flag is meaningless unless 75 // Platform abstraction for shared memory. Provides a C++ wrapper 76 // around the OS primitive for a memory mapped file. 89 // shared memory fil 188 void *memory() const { return memory_; } function in class:base::SharedMemory [all...] |
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/cc/resources/ |
H A D | resource_provider_unittest.cc | 14 #include "base/memory/ref_counted.h" 61 scoped_ptr<base::SharedMemory> memory, 85 uint32_t* pixels = reinterpret_cast<uint32_t*>(shared_memory->memory()); 60 SharedMemoryReleaseCallback( scoped_ptr<base::SharedMemory> memory, uint32 sync_point, bool lost_resource, BlockingTaskRunner* main_thread_task_runner) argument
|
H A D | shared_bitmap.cc | 14 base::SharedMemory* memory, 17 : memory_(memory), 18 pixels_(static_cast<uint8*>(memory_->memory())), 13 SharedBitmap( base::SharedMemory* memory, const SharedBitmapId& id, const base::Callback<void(SharedBitmap* bitmap)>& free_callback) argument
|
H A D | shared_bitmap.h | 10 #include "base/memory/shared_memory.h" 22 SharedBitmap(base::SharedMemory* memory, 42 base::SharedMemory* memory() { return memory_; } function in class:cc::SharedBitmap
|
/external/chromium_org/cc/test/ |
H A D | test_shared_bitmap_manager.cc | 12 delete shared_bitmap->memory(); 24 scoped_ptr<base::SharedMemory> memory(new base::SharedMemory); 25 memory->CreateAndMapAnonymous(size.GetArea() * 4); 27 bitmap_map_[id] = memory.get(); 29 new SharedBitmap(memory.release(), id, base::Bind(&FreeSharedBitmap))); 43 base::SharedMemory* memory) { 46 bitmap_map_[id] = memory; 48 new SharedBitmap(memory, id, base::Bind(&IgnoreSharedBitmap))); 42 GetBitmapForSharedMemory( base::SharedMemory* memory) argument
|
/external/chromium_org/chrome/browser/chromeos/memory/ |
H A D | oom_priority_manager.cc | 5 #include "chrome/browser/chromeos/memory/oom_priority_manager.h" 30 #include "chrome/browser/chromeos/memory/low_memory_observer.h" 69 // or not the user experienced a low memory event. If you change this interval 110 // memory event in an attempt to identify the culprit, then discards a tab and 137 base::SystemMemoryInfoKB memory; local 138 if (base::GetSystemMemoryInfo(&memory) && memory.gem_size != -1) { 140 log_string += base::UTF16ToASCII(ui::FormatBytes(memory.gem_size)); 282 // memory to convert the URL prefix constants into std::strings. 306 // memory stat 354 base::SystemMemoryInfoKB memory; local [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/chrome/browser/history/ |
H A D | top_sites_impl.cc | 14 #include "base/memory/ref_counted_memory.h" 174 const base::RefCountedMemory* memory, 200 AddTemporaryThumbnail(url, memory, score); 204 return SetPageThumbnailEncoded(url, memory, score); 172 SetPageThumbnailToJPEGBytes( const GURL& url, const base::RefCountedMemory* memory, const ThumbnailScore& score) argument
|
/external/chromium_org/chrome/browser/themes/ |
H A D | browser_theme_pack.cc | 10 #include "base/memory/ref_counted_memory.h" 11 #include "base/memory/scoped_ptr.h" 267 // Do a memcpy to avoid misaligned memory access. 441 // Returns a piece of memory with the contents of the file |path|. 887 scoped_refptr<base::RefCountedMemory> memory = local 889 if (memory.get()) 890 png_map[scale_factors_[i]] = memory; 906 base::RefCountedMemory* memory = NULL; local 912 memory = data_pack_->GetStaticMemory(raw_id); 916 memory [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
H A D | bg.js | 15 "about:memory": "transform!.mp3",
|
/external/chromium_org/chromecast/media/cma/ipc/ |
H A D | media_message.cc | 36 scoped_ptr<MediaMemoryChunk> memory(memory_allocator.Run(msg_size)); 37 if (!memory) 40 return scoped_ptr<MediaMessage>(new MediaMessage(type, memory.Pass())); 46 scoped_ptr<MediaMemoryChunk> memory) { 47 return scoped_ptr<MediaMessage>(new MediaMessage(type, memory.Pass())); 52 scoped_ptr<MediaMemoryChunk> memory) { 53 return scoped_ptr<MediaMessage>(new MediaMessage(memory.Pass())); 67 MediaMessage::MediaMessage(uint32 type, scoped_ptr<MediaMemoryChunk> memory) argument 70 msg_(static_cast<SerializedMsg*>(memory->data())), 72 mem_(memory 44 CreateMessage( uint32 type, scoped_ptr<MediaMemoryChunk> memory) argument 51 MapMessage( scoped_ptr<MediaMemoryChunk> memory) argument 94 MediaMessage(scoped_ptr<MediaMemoryChunk> memory) argument [all...] |
/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);
|
H A D | redirect_to_file_resource_handler.cc | 36 DependentIOBuffer(net::IOBuffer* backing, char* memory) argument 37 : net::WrappedIOBuffer(memory),
|
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | video_capture_buffer_pool.cc | 10 #include "base/memory/scoped_ptr.h" 47 void** memory, 58 *memory = buffer->shared_memory.memory(); 154 // |size| can be 0 for buffers that do not require memory backing. 46 GetBufferInfo(int buffer_id, void** memory, size_t* size) argument
|
H A D | video_capture_buffer_pool_unittest.cc | 10 #include "base/memory/ref_counted.h" 11 #include "base/memory/scoped_ptr.h" 57 void* memory; local 59 pool_->GetBufferInfo(buffer_id, &memory, &size); 61 return scoped_ptr<Buffer>(new Buffer(pool_, buffer_id, memory, size)); 95 // Touch the memory. 188 // the lifetime of the underlying memory. 192 // Touch the memory.
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | software_frame_manager_unittest.cc | 9 #include "base/memory/scoped_vector.h" 10 #include "base/memory/shared_memory.h" 42 scoped_ptr<base::SharedMemory> memory = local 44 memory->CreateAnonymous(4); 46 4, memory->handle(), base::GetCurrentProcessHandle(), frame.bitmap_id); 47 allocated_memory_.push_back(memory.release()); 236 // Take out a reference on the current frame and make the memory manager
|
/external/chromium_org/content/child/ |
H A D | child_shared_bitmap_manager.cc | 19 delete bitmap->memory(); 49 scoped_ptr<base::SharedMemory> memory; local 54 memory = make_scoped_ptr(new base::SharedMemory(handle, false)); 55 CHECK(memory->Map(memory_size)); 57 memory.reset(ChildThread::AllocateSharedMemory(memory_size, sender_)); 58 CHECK(memory); 59 base::SharedMemoryHandle handle_to_send = memory->handle(); 64 memory.release(), id, base::Bind(&FreeSharedMemory, sender_)));
|