Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 2269) sorted by relevance

12345678910>>...91

/external/chromium_org/third_party/libjingle/source/talk/base/
Dbyteorder.h47 inline void Set8(void* memory, size_t offset, uint8 v) { in Set8() argument
48 static_cast<uint8*>(memory)[offset] = v; in Set8() local
51 inline uint8 Get8(const void* memory, size_t offset) { in Get8() argument
52 return static_cast<const uint8*>(memory)[offset]; in Get8()
55 inline void SetBE16(void* memory, uint16 v) { in SetBE16() argument
56 Set8(memory, 0, static_cast<uint8>(v >> 8)); in SetBE16()
57 Set8(memory, 1, static_cast<uint8>(v >> 0)); in SetBE16()
60 inline void SetBE32(void* memory, uint32 v) { in SetBE32() argument
61 Set8(memory, 0, static_cast<uint8>(v >> 24)); in SetBE32()
62 Set8(memory, 1, static_cast<uint8>(v >> 16)); in SetBE32()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dbyteorder.h30 inline void Set8(void* memory, size_t offset, uint8 v) { in Set8() argument
31 static_cast<uint8*>(memory)[offset] = v; in Set8() local
34 inline uint8 Get8(const void* memory, size_t offset) { in Get8() argument
35 return static_cast<const uint8*>(memory)[offset]; in Get8()
38 inline void SetBE16(void* memory, uint16 v) { in SetBE16() argument
39 Set8(memory, 0, static_cast<uint8>(v >> 8)); in SetBE16()
40 Set8(memory, 1, static_cast<uint8>(v >> 0)); in SetBE16()
43 inline void SetBE32(void* memory, uint32 v) { in SetBE32() argument
44 Set8(memory, 0, static_cast<uint8>(v >> 24)); in SetBE32()
45 Set8(memory, 1, static_cast<uint8>(v >> 16)); in SetBE32()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dfxft_ftsystem.c89 ft_alloc( FT_Memory memory, in ft_alloc() argument
92 FT_UNUSED( memory ); in ft_alloc()
103 ft_allocdebug( FT_Memory memory, in ft_allocdebug() argument
106 FT_UNUSED( memory ); in ft_allocdebug()
133 ft_realloc( FT_Memory memory, in ft_realloc() argument
138 FT_UNUSED( memory ); in ft_realloc()
163 ft_free( FT_Memory memory, in ft_free() argument
166 FT_UNUSED( memory ); in ft_free()
326 ft_mem_debug_init( FT_Memory memory );
329 ft_mem_debug_done( FT_Memory memory );
[all …]
Dftutil.c50 ft_mem_alloc( FT_Memory memory, in ft_mem_alloc() argument
55 FT_Pointer block = ft_mem_qalloc( memory, size, &error ); in ft_mem_alloc()
66 ft_mem_qalloc( FT_Memory memory, in ft_mem_qalloc() argument
76 block = memory->alloc( memory, size ); in ft_mem_qalloc()
92 ft_mem_realloc( FT_Memory memory, in ft_mem_realloc() argument
102 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc()
114 ft_mem_qrealloc( FT_Memory memory, in ft_mem_qrealloc() argument
135 ft_mem_free( memory, block ); in ft_mem_qrealloc()
146 block = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc()
155 block2 = memory->realloc( memory, cur_size, new_size, block ); in ft_mem_qrealloc()
[all …]
Dftdbgmem.c42 FT_DumpMemory( FT_Memory memory );
133 FT_Memory memory; member
229 FT_Memory memory = table->memory; in ft_mem_table_alloc() local
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
245 FT_Memory memory = table->memory; in ft_mem_table_free() local
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
Dfxft_ftinit.c127 FT_Memory memory; in ft_destroy_default_module_classes() local
135 memory = library->memory; in ft_destroy_default_module_classes()
159 FT_Memory memory; in ft_create_default_module_classes() local
166 memory = library->memory; in ft_create_default_module_classes()
236 FT_Memory memory; in FT_Init_FreeType() local
242 memory = FT_New_Memory(); in FT_Init_FreeType()
243 if ( !memory ) in FT_Init_FreeType()
252 error = FT_New_Library( memory, alibrary ); in FT_Init_FreeType()
254 FT_Done_Memory( memory ); in FT_Init_FreeType()
269 FT_Memory memory = library->memory; in FT_Done_FreeType() local
[all …]
/external/chromium_org/third_party/freetype/src/base/
Dftsystem.c69 ft_alloc( FT_Memory memory, in ft_alloc() argument
72 FT_UNUSED( memory ); in ft_alloc()
99 ft_realloc( FT_Memory memory, in ft_realloc() argument
104 FT_UNUSED( memory ); in ft_realloc()
125 ft_free( FT_Memory memory, in ft_free() argument
128 FT_UNUSED( memory ); in ft_free()
276 ft_mem_debug_init( FT_Memory memory );
279 ft_mem_debug_done( FT_Memory memory );
289 FT_Memory memory; in FT_New_Memory() local
292 memory = (FT_Memory)ft_smalloc( sizeof ( *memory ) ); in FT_New_Memory()
[all …]
Dftdbgmem.c42 FT_DumpMemory( FT_Memory memory );
133 FT_Memory memory; member
229 FT_Memory memory = table->memory; in ft_mem_table_alloc() local
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
245 FT_Memory memory = table->memory; in ft_mem_table_free() local
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
Dftutil.c50 ft_mem_alloc( FT_Memory memory, in ft_mem_alloc() argument
55 FT_Pointer block = ft_mem_qalloc( memory, size, &error ); in ft_mem_alloc()
66 ft_mem_qalloc( FT_Memory memory, in ft_mem_qalloc() argument
76 block = memory->alloc( memory, size ); in ft_mem_qalloc()
92 ft_mem_realloc( FT_Memory memory, in ft_mem_realloc() argument
102 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc()
114 ft_mem_qrealloc( FT_Memory memory, in ft_mem_qrealloc() argument
135 ft_mem_free( memory, block ); in ft_mem_qrealloc()
146 block = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc()
155 block2 = memory->realloc( memory, cur_size, new_size, block ); in ft_mem_qrealloc()
[all …]
/external/freetype/src/base/
Dftsystem.c69 ft_alloc( FT_Memory memory, in ft_alloc() argument
72 FT_UNUSED( memory ); in ft_alloc()
99 ft_realloc( FT_Memory memory, in ft_realloc() argument
104 FT_UNUSED( memory ); in ft_realloc()
125 ft_free( FT_Memory memory, in ft_free() argument
128 FT_UNUSED( memory ); in ft_free()
276 ft_mem_debug_init( FT_Memory memory );
279 ft_mem_debug_done( FT_Memory memory );
289 FT_Memory memory; in FT_New_Memory() local
292 memory = (FT_Memory)ft_smalloc( sizeof ( *memory ) ); in FT_New_Memory()
[all …]
Dftdbgmem.c42 FT_DumpMemory( FT_Memory memory );
133 FT_Memory memory; member
229 FT_Memory memory = table->memory; in ft_mem_table_alloc() local
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
245 FT_Memory memory = table->memory; in ft_mem_table_free() local
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
Dftutil.c50 ft_mem_alloc( FT_Memory memory, in ft_mem_alloc() argument
55 FT_Pointer block = ft_mem_qalloc( memory, size, &error ); in ft_mem_alloc()
66 ft_mem_qalloc( FT_Memory memory, in ft_mem_qalloc() argument
76 block = memory->alloc( memory, size ); in ft_mem_qalloc()
92 ft_mem_realloc( FT_Memory memory, in ft_mem_realloc() argument
102 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc()
114 ft_mem_qrealloc( FT_Memory memory, in ft_mem_qrealloc() argument
135 ft_mem_free( memory, block ); in ft_mem_qrealloc()
146 block = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc()
155 block2 = memory->realloc( memory, cur_size, new_size, block ); in ft_mem_qrealloc()
[all …]
/external/chromium_org/base/memory/
Ddiscardable_memory_ashmem_allocator_unittest.cc38 void WriteToDiscardableAshmemChunk(DiscardableAshmemChunk* memory, in WriteToDiscardableAshmemChunk() argument
42 static_cast<char*>(memory->Memory())[0] = 'a'; in WriteToDiscardableAshmemChunk()
43 static_cast<char*>(memory->Memory())[size - 1] = 'a'; in WriteToDiscardableAshmemChunk()
48 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); in TEST_F() local
49 ASSERT_TRUE(memory); in TEST_F()
50 WriteToDiscardableAshmemChunk(memory.get(), size); in TEST_F()
54 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(0)); in TEST_F() local
55 ASSERT_FALSE(memory); in TEST_F()
59 scoped_ptr<DiscardableAshmemChunk> memory( in TEST_F() local
63 ASSERT_FALSE(memory); in TEST_F()
[all …]
Ddiscardable_memory_unittest.cc74 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); in TEST_P() local
75 ASSERT_TRUE(memory); in TEST_P()
76 void* addr = memory->Memory(); in TEST_P()
79 memory->Unlock(); in TEST_P()
81 EXPECT_NE(DISCARDABLE_MEMORY_LOCK_STATUS_FAILED, memory->Lock()); in TEST_P()
82 addr = memory->Memory(); in TEST_P()
85 memory->Unlock(); in TEST_P()
90 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); in TEST_P() local
91 ASSERT_TRUE(memory); in TEST_P()
96 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); in TEST_P() local
[all …]
Dshared_memory_unittest.cc53 SharedMemory memory; in CleanUp() local
54 memory.Delete(s_test_name_); in CleanUp()
63 SharedMemory memory; in ThreadMain() local
64 bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); in ThreadMain()
66 rv = memory.Map(kDataSize); in ThreadMain()
68 int *ptr = static_cast<int*>(memory.memory()) + id_; in ThreadMain()
79 memory.Close(); in ThreadMain()
122 volatile int* const ptr = static_cast<int*>(memory2.memory()); in ThreadMain()
170 EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers. in TEST()
173 ASSERT_NE(memory1.memory(), static_cast<void*>(NULL)); in TEST()
[all …]
/external/lldb/test/pexpect-2.4/
DANSI.py18 screen = fsm.memory[0]
23 fsm.memory.append (fsm.input_symbol)
27 ns = fsm.memory.pop()
29 fsm.memory.append (ns)
33 screen = fsm.memory[0]
38 count = int(fsm.memory.pop())
39 screen = fsm.memory[0]
44 screen = fsm.memory[0]
49 count = int(fsm.memory.pop())
50 screen = fsm.memory[0]
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
Dpshrec.c51 FT_Memory memory ) in ps_hint_table_done() argument
63 FT_Memory memory ) in ps_hint_table_ensure() argument
83 FT_Memory memory, in ps_hint_table_alloc() argument
96 error = ps_hint_table_ensure( table, count, memory ); in ps_hint_table_alloc()
125 FT_Memory memory ) in ps_mask_done() argument
138 FT_Memory memory ) in ps_mask_ensure() argument
187 FT_Memory memory ) in ps_mask_set_bit() argument
198 error = ps_mask_ensure( mask, idx + 1, memory ); in ps_mask_set_bit()
216 FT_Memory memory ) in ps_mask_table_done() argument
223 ps_mask_done( mask, memory ); in ps_mask_table_done()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c51 FT_Memory memory ) in ps_hint_table_done() argument
63 FT_Memory memory ) in ps_hint_table_ensure() argument
83 FT_Memory memory, in ps_hint_table_alloc() argument
96 error = ps_hint_table_ensure( table, count, memory ); in ps_hint_table_alloc()
125 FT_Memory memory ) in ps_mask_done() argument
138 FT_Memory memory ) in ps_mask_ensure() argument
187 FT_Memory memory ) in ps_mask_set_bit() argument
198 error = ps_mask_ensure( mask, idx + 1, memory ); in ps_mask_set_bit()
216 FT_Memory memory ) in ps_mask_table_done() argument
223 ps_mask_done( mask, memory ); in ps_mask_table_done()
[all …]
/external/chromium_org/third_party/freetype/src/pshinter/
Dpshrec.c51 FT_Memory memory ) in ps_hint_table_done() argument
63 FT_Memory memory ) in ps_hint_table_ensure() argument
83 FT_Memory memory, in ps_hint_table_alloc() argument
96 error = ps_hint_table_ensure( table, count, memory ); in ps_hint_table_alloc()
125 FT_Memory memory ) in ps_mask_done() argument
138 FT_Memory memory ) in ps_mask_ensure() argument
187 FT_Memory memory ) in ps_mask_set_bit() argument
198 error = ps_mask_ensure( mask, idx + 1, memory ); in ps_mask_set_bit()
216 FT_Memory memory ) in ps_mask_table_done() argument
223 ps_mask_done( mask, memory ); in ps_mask_table_done()
[all …]
/external/chromium_org/third_party/pexpect/
DANSI.py39 screen = fsm.memory[0]
44 fsm.memory.append (fsm.input_symbol)
48 ns = fsm.memory.pop()
50 fsm.memory.append (ns)
54 screen = fsm.memory[0]
59 count = int(fsm.memory.pop())
60 screen = fsm.memory[0]
65 screen = fsm.memory[0]
70 count = int(fsm.memory.pop())
71 screen = fsm.memory[0]
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/
Dmemory_pool_posix.h26 int32_t PopMemory(MemoryType*& memory);
27 int32_t PushMemory(MemoryType*& memory);
70 int32_t MemoryPoolImpl<MemoryType>::PopMemory(MemoryType*& memory) in PopMemory() argument
75 memory = NULL; in PopMemory()
83 memory = NULL; in PopMemory()
87 memory = _memoryPool.front(); in PopMemory()
94 int32_t MemoryPoolImpl<MemoryType>::PushMemory(MemoryType*& memory) in PushMemory() argument
96 if(memory == NULL) in PushMemory()
106 delete memory; in PushMemory() local
107 memory = NULL; in PushMemory()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
Dftmemory.h114 ft_mem_alloc( FT_Memory memory,
119 ft_mem_qalloc( FT_Memory memory,
124 ft_mem_realloc( FT_Memory memory,
132 ft_mem_qrealloc( FT_Memory memory,
144 ft_mem_allocdebug( FT_Memory memory,
149 ft_mem_qallocdebug( FT_Memory memory,
154 ft_mem_reallocdebug( FT_Memory memory,
162 ft_mem_qreallocdebug( FT_Memory memory,
172 ft_mem_free( FT_Memory memory,
178 ft_mem_free( memory, (ptr) ); \
[all …]
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
Dftmemory.h114 ft_mem_alloc( FT_Memory memory,
119 ft_mem_qalloc( FT_Memory memory,
124 ft_mem_realloc( FT_Memory memory,
132 ft_mem_qrealloc( FT_Memory memory,
144 ft_mem_allocdebug( FT_Memory memory,
149 ft_mem_qallocdebug( FT_Memory memory,
154 ft_mem_reallocdebug( FT_Memory memory,
162 ft_mem_qreallocdebug( FT_Memory memory,
172 ft_mem_free( FT_Memory memory,
178 ft_mem_free( memory, (ptr) ); \
[all …]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smar…
19 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/default
23 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_…
27 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr…
31 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/weak_ptr
35 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer…
39 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_…
43 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer
47 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer…
51 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_…
[all …]
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.sing…
19 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert04
23 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer01
27 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert07
31 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer_deleter03
35 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer03
39 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer_deleter04
43 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move02
47 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer02
51 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert05
[all …]

12345678910>>...91