Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 1766) sorted by relevance

12345678910>>...71

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DHandleAllocator_unittest.cpp35 GLuint handle = allocator.allocate(); in TEST()
61 GLuint normalHandle = allocator.allocate(); in TEST()
75 GLuint result = limitedAllocator.allocate(); in TEST()
89 GLint finalResult = limitedAllocator.allocate(); in TEST()
101 GLuint normalHandle = allocator.allocate(); in TEST()
114 GLuint normalHandle = allocator.allocate(); in TEST()
128 allocatedList[count] = allocator.allocate(); in TEST()
146 EXPECT_EQ(1u, allocator.allocate()); in TEST()
147 EXPECT_EQ(2u, allocator.allocate()); in TEST()
148 EXPECT_EQ(4u, allocator.allocate()); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DHandleAllocator_unittest.cpp35 GLuint handle = allocator.allocate(); in TEST()
61 GLuint normalHandle = allocator.allocate(); in TEST()
75 GLuint result = limitedAllocator.allocate(); in TEST()
89 GLint finalResult = limitedAllocator.allocate(); in TEST()
101 GLuint normalHandle = allocator.allocate(); in TEST()
114 GLuint normalHandle = allocator.allocate(); in TEST()
128 allocatedList[count] = allocator.allocate(); in TEST()
146 EXPECT_EQ(1u, allocator.allocate()); in TEST()
147 EXPECT_EQ(2u, allocator.allocate()); in TEST()
148 EXPECT_EQ(4u, allocator.allocate()); in TEST()
[all …]
DHandleRangeAllocator_unittest.cpp34 GLuint id1 = allocator->allocate(); in TEST_F()
39 GLuint id2 = allocator->allocate(); in TEST_F()
65 ids[i] = allocator->allocate(); in TEST_F()
73 GLuint id2 = allocator->allocate(); in TEST_F()
82 GLuint id = allocator->allocate(); in TEST_F()
87 GLuint id2 = allocator->allocate(); in TEST_F()
90 GLuint id3 = allocator->allocate(); in TEST_F()
126 GLuint id1 = allocator->allocate(); in TEST_F()
131 GLuint id2 = allocator->allocate(); in TEST_F()
132 GLuint id3 = allocator->allocate(); in TEST_F()
[all …]
/third_party/boost/libs/smart_ptr/test/
Dshared_ptr_alloc_construct11_test.cpp13 unsigned allocate; member
29 T* allocate(std::size_t size) { in allocate() function in creator
31 ++state_->allocate; in allocate()
37 --state_->allocate; in deallocate()
86 BOOST_TEST(state.allocate == 1); in main()
89 BOOST_TEST(state.allocate == 0); in main()
95 BOOST_TEST(state.allocate == 1); in main()
98 BOOST_TEST(state.allocate == 0); in main()
105 BOOST_TEST(state.allocate == 1); in main()
108 BOOST_TEST(state.allocate == 0); in main()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DPoolAlloc.h75 void *allocate(size_type n) { return getAllocator().allocate(n); } in allocate() function
76 void *allocate(size_type n, const void *) { return getAllocator().allocate(n); } in allocate() function
79 pointer allocate(size_type n) in allocate() function
81 return static_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
83 pointer allocate(size_type n, const void *) in allocate() function
85 return static_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DPoolAlloc.h75 void *allocate(size_type n) { return getAllocator().allocate(n); } in allocate() function
76 void *allocate(size_type n, const void *) { return getAllocator().allocate(n); } in allocate() function
79 pointer allocate(size_type n) in allocate() function
81 return static_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
83 pointer allocate(size_type n, const void *) in allocate() function
85 return static_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
/third_party/boost/boost/range/detail/
Dany_iterator_wrapper.hpp76 return new (buffer.allocate(sizeof(*this))) in clone()
94 return new (buffer.allocate(sizeof(result_type))) in clone_const_ref()
112 return new (buffer.allocate(sizeof(result_type))) in clone_reference_as_value()
158 return new (buffer.allocate(sizeof(*this))) in clone()
176 return new (buffer.allocate(sizeof(result_type))) in clone_const_ref()
194 return new (buffer.allocate(sizeof(result_type))) in clone_reference_as_value()
250 return new (buffer.allocate(sizeof(*this))) in clone()
268 return new (buffer.allocate(sizeof(result_type))) in clone_const_ref()
286 return new (buffer.allocate(sizeof(result_type))) in clone_reference_as_value()
342 return new (buffer.allocate(sizeof(*this))) in clone()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DX87.cpp92 const uint32_t T1 = allocate##MemorySize(); \ in TEST_F()
94 const uint32_t T2 = allocate##MemorySize(); \ in TEST_F()
96 const uint32_t T3 = allocate##MemorySize(); \ in TEST_F()
98 const uint32_t T4 = allocate##MemorySize(); \ in TEST_F()
100 const uint32_t T5 = allocate##MemorySize(); \ in TEST_F()
102 const uint32_t T6 = allocate##MemorySize(); \ in TEST_F()
104 const uint32_t T7 = allocate##MemorySize(); \ in TEST_F()
107 const uint32_t N7 = allocate##MemorySize(); \ in TEST_F()
109 const uint32_t N6 = allocate##MemorySize(); \ in TEST_F()
111 const uint32_t N5 = allocate##MemorySize(); \ in TEST_F()
[all …]
/third_party/skia/tests/
DSkBlockAllocatorTest.cpp64 pool->template allocate<4>(pool->preallocSize() / 2); in add_block()
71 auto br = pool->template allocate<1>(1); in alloc_byte()
132 auto p1 = pool->allocate<1>(14); in DEF_TEST()
135 auto p2 = pool->allocate<2>(24); in DEF_TEST()
138 auto p4 = pool->allocate<4>(28); in DEF_TEST()
141 auto p8 = pool->allocate<8>(40); in DEF_TEST()
144 auto p16 = pool->allocate<16>(64); in DEF_TEST()
147 auto p32 = pool->allocate<32>(96); in DEF_TEST()
156 auto pAvail = pool->allocate<4>(avail); in DEF_TEST()
162 auto pNextBlock = pool->allocate<4>(4); in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DPoolAlloc.h154 void* allocate(size_t numBytes);
281 void* allocate(size_type n) { in allocate() function
282 return getAllocator().allocate(n); in allocate()
284 void* allocate(size_type n, const void*) { in allocate() function
285 return getAllocator().allocate(n); in allocate()
289 pointer allocate(size_type n) { in allocate() function
290 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
292 pointer allocate(size_type n, const void*) { in allocate() function
293 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
/third_party/skia/third_party/externals/angle2/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
68 void *allocation = poolAllocator.allocate(numBytes); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
67 void *allocation = poolAllocator.allocate((rand() % (1024 * 4)) + 1); in TEST_P()
/third_party/e2fsprogs/tests/f_unshare_blocks_no_space/
Dexpect.128 clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block
29 Couldn't clone file: Could not allocate block in ext2 filesystem
40 clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block
41 Couldn't clone file: Could not allocate block in ext2 filesystem
52 clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block
53 Couldn't clone file: Could not allocate block in ext2 filesystem
64 clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block
65 Couldn't clone file: Could not allocate block in ext2 filesystem
76 clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block
77 Couldn't clone file: Could not allocate block in ext2 filesystem
[all …]
/third_party/boost/boost/coroutine/detail/
Dsymmetric_coroutine_call.hpp67 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
91 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
115 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
139 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
163 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
187 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
211 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
235 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
323 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
347 stack_alloc.allocate( stack_ctx, attrs.size); in symmetric_coroutine_call()
[all …]
/third_party/boost/libs/context/test/
Dtest_fcontext.cpp39 void * allocate( std::size_t size) const in allocate() function in simple_stack_allocator
132 void * sp = alloc.allocate( stack_allocator::default_stacksize()); in f9()
195 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_setup()
204 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_start()
217 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_jump()
230 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_result()
242 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_arg()
254 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_transfer()
270 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_exception()
281 void * sp = alloc.allocate( stack_allocator::default_stacksize() ); in test_fp()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInstX8632.h93 return new (Func->allocate<X86OperandMem>()) X86OperandMem(
100 return new (Func->allocate<X86OperandMem>()) X86OperandMem( in create()
158 return new (Func->allocate<VariableSplit>()) VariableSplit(Func, Var, Part); in create()
384 return new (Func->allocate<InstX86FakeRMW>())
445 return new (Func->allocate<InstX86Label>()) InstX86Label(Func, Target); in create()
478 return new (Func->allocate<InstX86Br>()) in create()
485 return new (Func->allocate<InstX86Br>()) in create()
496 return new (Func->allocate<InstX86Br>()) in create()
505 return new (Func->allocate<InstX86Br>()) in create()
555 return new (Func->allocate<InstX86Jmp>()) InstX86Jmp(Func, Target); in create()
[all …]
DIceInstX8664.h88 return new (Func->allocate<X86OperandMem>())
95 return new (Func->allocate<X86OperandMem>()) in create()
323 return new (Func->allocate<InstX86FakeRMW>())
384 return new (Func->allocate<InstX86Label>()) InstX86Label(Func, Target); in create()
417 return new (Func->allocate<InstX86Br>()) in create()
424 return new (Func->allocate<InstX86Br>()) in create()
435 return new (Func->allocate<InstX86Br>()) in create()
444 return new (Func->allocate<InstX86Br>()) in create()
494 return new (Func->allocate<InstX86Jmp>()) InstX86Jmp(Func, Target); in create()
516 return new (Func->allocate<InstX86Call>()) in create()
[all …]
/third_party/boost/boost/asio/detail/
Dhandler_alloc_helpers.hpp54 inline void* allocate(std::size_t s, Handler& h) in allocate() function
63 return boost::asio::detail::thread_info_base::allocate( in allocate()
125 T* allocate(std::size_t n) in allocate() function in boost::asio::detail::hook_allocator
128 boost_asio_handler_alloc_helpers::allocate(sizeof(T) * n, handler_)); in allocate()
203 static op* allocate(Handler& handler) \
213 return a.allocate(1); \
249 static op* allocate(const Alloc& a) \
256 return a1.allocate(1); \
/third_party/boost/libs/asio/include/boost/asio/detail/
Dhandler_alloc_helpers.hpp54 inline void* allocate(std::size_t s, Handler& h) in allocate() function
63 return boost::asio::detail::thread_info_base::allocate( in allocate()
125 T* allocate(std::size_t n) in allocate() function in boost::asio::detail::hook_allocator
128 boost_asio_handler_alloc_helpers::allocate(sizeof(T) * n, handler_)); in allocate()
203 static op* allocate(Handler& handler) \
213 return a.allocate(1); \
249 static op* allocate(const Alloc& a) \
256 return a1.allocate(1); \
/third_party/flutter/skia/src/gpu/
DGrMemoryPool.h47 void* allocate(size_t size);
138 std::unique_ptr<Op> allocate(OpArgs&&... opArgs) { in allocate() function
139 char* mem = (char*) fMemoryPool.allocate(sizeof(Op)); in allocate()
143 void* allocate(size_t size) { in allocate() function
144 return fMemoryPool.allocate(size); in allocate()
/third_party/boost/libs/core/test/
Dalloc_construct_test.cpp43 type* p = a.allocate(1); in test_construct()
55 type* p = a.allocate(1); in test_construct_value()
69 type* p = a.allocate(1); in test_construct_args()
82 type* p = a.allocate(3); in test_construct_n()
96 type* p = a.allocate(3); in test_construct_n_list()
111 type* p = a.allocate(3); in test_construct_n_iterator()
/third_party/boost/libs/align/test/
Daligned_allocator_adaptor_test.cpp34 T* allocate(std::size_t size, const void* = 0) { in allocate() function in A
77 int* p = a.allocate(1); in test_allocate()
85 int* p = a.allocate(1); in test_allocate()
86 int* q = a.allocate(1, p); in test_allocate()
95 int* p = a.allocate(0); in test_allocate()
104 int* p = a.allocate(1); in test_construct()
/third_party/skia/third_party/externals/swiftshader/src/System/
DMemory.cpp36 #undef allocate
76 static void *allocate(size_t bytes, size_t alignment, bool clearToZero) in allocate() function
104 return allocate(bytes, alignment, false); in allocateUninitialized()
109 return allocate(bytes, alignment, true); in allocateZero()
116 return allocate(bytes, alignment, !__has_feature(memory_sanitizer)); in allocateZeroOrPoison()
/third_party/boost/libs/fiber/doc/
Dstack.qbk32 [`a.allocate()`]
39 [deallocates the stack created by `a.allocate()`]
43 [important The implementation of `allocate()` might include logic to protect
48 `allocate()` results in undefined behaviour.]
81 stack_context allocate();
88 [member_heading protected_fixedsize..allocate]
90 stack_context allocate();
128 stack_context allocate();
146 request from the system the first time that `*this` needs to allocate system
151 [member_heading pooled_fixedsize..allocate]
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DResourceManager.cpp89 return mBufferNameSpace.allocate(); in createBuffer()
95 GLuint name = mProgramShaderNameSpace.allocate(); in createShader()
113 GLuint name = mProgramShaderNameSpace.allocate(); in createProgram()
123 return mTextureNameSpace.allocate(); in createTexture()
129 return mRenderbufferNameSpace.allocate(); in createRenderbuffer()
135 return mSamplerNameSpace.allocate(); in createSampler()
141 GLuint name = mFenceSyncNameSpace.allocate(); in createFenceSync()

12345678910>>...71