Home
last modified time | relevance | path

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

12345678910>>...32

/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLEngineTest.java95 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap01()
123 ByteBuffer[] bbA = { null, ByteBuffer.allocate(10), null }; in testWrap02()
125 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap02()
138 bbA[0] = ByteBuffer.allocate(100); in testWrap02()
139 bbA[2] = ByteBuffer.allocate(20); in testWrap02()
155 ByteBuffer bbs = ByteBuffer.allocate(100); in testWrap03()
156 ByteBuffer bbd = ByteBuffer.allocate(10); in testWrap03()
185 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap04()
188 SSLEngineResult res = e.wrap(bb, ByteBuffer.allocate(10)); in testWrap04()
202 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap05()
[all …]
/external/v8/src/crankshaft/
Dhydrogen-escape-analysis.cc48 HAllocate* allocate = HAllocate::cast(instr); in CollectCapturedValues() local
49 if (!allocate->size()->IsInteger32Constant()) continue; in CollectCapturedValues()
50 int size_in_bytes = allocate->size()->GetInteger32Constant(); in CollectCapturedValues()
163 void HEscapeAnalysisPhase::AnalyzeDataFlow(HInstruction* allocate) { in AnalyzeDataFlow() argument
164 HBasicBlock* allocate_block = allocate->block(); in AnalyzeDataFlow()
185 if (instr != allocate) continue; in AnalyzeDataFlow()
186 state = NewStateForAllocation(allocate); in AnalyzeDataFlow()
192 if (load->object() != allocate) continue; in AnalyzeDataFlow()
206 if (store->object() != allocate) continue; in AnalyzeDataFlow()
227 if (instr->OperandAt(i) != allocate) continue; in AnalyzeDataFlow()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dallocate_size_hint.pass.cpp30 assert(a.allocate(10, (const void*)0) == (int*)10); in main()
37 assert(a.allocate(10, (const void*)10) == (int*)10); in main()
44 assert(a.allocate(10, (const void*)20) == (int*)10); in main()
52 assert(a.allocate(10, (const void*)0) == (int*)0); in main()
59 assert(a.allocate(10, (const void*)10) == (int*)10); in main()
66 assert(a.allocate(10, (const void*)20) == (int*)20); in main()
Dallocate_size.pass.cpp30 assert(a.allocate(10) == (int*)10); in main()
37 assert(a.allocate(10) == (int*)10); in main()
44 assert(a.allocate(10) == (int*)10); in main()
/external/llvm/unittests/Support/
DArrayRecyclerTest.cpp56 Object *A1 = DUT.allocate(Cap, Allocator); in TEST()
60 Object *A2 = DUT.allocate(Cap, Allocator); in TEST()
64 Object *A3 = DUT.allocate(Cap, Allocator); in TEST()
84 Object *A2x = DUT.allocate(Cap, Allocator); in TEST()
93 Object *A3x = DUT.allocate(Cap, Allocator); in TEST()
95 Object *A1x = DUT.allocate(Cap, Allocator); in TEST()
97 Object *A2y = DUT.allocate(Cap, Allocator); in TEST()
101 Object *A4 = DUT.allocate(Cap, Allocator); in TEST()
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dallocate_hint.pass.cpp27 value_type* allocate(std::size_t n) in allocate() function
39 value_type* allocate(std::size_t n) in allocate() function
44 value_type* allocate(std::size_t n, const void* p) in allocate() function
56 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == (int*)0xDEADBEEF); in main()
59 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == (int*)0xFEADBEEF); in main()
/external/clang/test/CodeGenCXX/
Dsections.cpp37 __declspec(allocate("read_flag_section")) int unreferenced = 0;
38 extern __declspec(allocate("read_flag_section")) int referenced = 42;
43 __declspec(allocate("no_section_attributes")) int implicitly_read_write = 42;
47 __declspec(allocate("long_section")) long long_var = 42;
51 __declspec(allocate("short_section")) short short_var = 42;
/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java75 Vector2 newVelocity = vectorPool.allocate(currentVelocity); in update()
135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision()
139 Vector2 relativeVelocity = vectorPool.allocate(velocity); in resolveCollision()
154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()
174 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision()
177 Vector2 entity1Velocity = vectorPool.allocate(velocity); in resolveCollision()
180 Vector2 entity2Velocity = vectorPool.allocate(otherVelocity); in resolveCollision()
183 Vector2 relativeVelocity = vectorPool.allocate(entity1Velocity); in resolveCollision()
199 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()
DDrawableFactory.java45 return mBitmapPool.allocate(); in allocateDrawableBitmap()
49 return mTiledBackgroundVertexGridPool.allocate(); in allocateTiledBackgroundVertexGrid()
53 return mScrollableBitmapPool.allocate(); in allocateScrollableBitmap()
91 public DrawableBitmap allocate() { in allocate() method in DrawableFactory.DrawableBitmapPool
92 DrawableBitmap result = super.allocate(); in allocate()
DTObjectPool.java35 public T allocate() { in allocate() method in TObjectPool
36 T object = (T)super.allocate(); in allocate()
/external/compiler-rt/lib/asan/
Dasan_win_dynamic_runtime_thunk.cc66 __declspec(allocate(".CRT$XTW")) void* before_global_dtors = 0;
67 __declspec(allocate(".CRT$XTY")) void* after_global_dtors = 0;
81 __declspec(allocate(".CRT$XID"))
96 __declspec(allocate(".CRT$XIZ")) int (*__asan_seh_interceptor)() = SetSEHFilter;
/external/clang/test/Rewriter/
Dobjc-modern-metadata-visibility.mm27 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_…
28 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long OBJC_IVAR_$_Sub$PrivateIvar;
29 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_…
31 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int O…
32 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int O…
33 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long int OBJC_IVAR_$_Sub$Private…
/external/valgrind/memcheck/tests/
Dmempool.c99 char *allocate(pool *p, int size) in allocate() function
121 x1 = allocate(p, 10); in test()
122 x2 = allocate(p, 20); in test()
124 x3 = allocate(p, 10); in test()
125 x4 = allocate(p, 20); in test()
141 x5 = allocate(p, 10); in test()
Dmempool.stderr.exp5 at 0x........: allocate (mempool.c:105)
13 at 0x........: allocate (mempool.c:105)
36 at 0x........: allocate (mempool.c:105)
41 at 0x........: allocate (mempool.c:105)
46 at 0x........: allocate (mempool.c:105)
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLEngineImplTest.java379 engine.wrap(ByteBuffer.allocate(0), ByteBuffer.allocate( in testSetGetUseClientMode()
454 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), in testCloseOutbound()
455 ByteBuffer.allocate(20000)); in testCloseOutbound()
476 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), in testCloseInbound()
477 ByteBuffer.allocate(20000)); in testCloseInbound()
505 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); in testCloseInbound2()
506 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize); in testCloseInbound2()
538 print(result = server.wrap(ByteBuffer.allocate(0), buffer)); in testCloseInbound2()
598 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); in testErrorProcessing()
599 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize); in testErrorProcessing()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.h101 void brw_emit_tri_setup( struct brw_sf_compile *c, bool allocate );
102 void brw_emit_line_setup( struct brw_sf_compile *c, bool allocate );
103 void brw_emit_point_setup( struct brw_sf_compile *c, bool allocate );
104 void brw_emit_point_sprite_setup( struct brw_sf_compile *c, bool allocate );
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DAbstractBoxParser.java65 ByteBuffer bb = ByteBuffer.allocate(8); in parseBox()
81 ByteBuffer bb = ByteBuffer.allocate(16); in parseBox()
98 header = ByteBuffer.allocate(16); in parseBox()
103 header = ByteBuffer.allocate(24); in parseBox()
108 header = ByteBuffer.allocate(32); in parseBox()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp117 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
118 …virtual de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequi…
127 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
128 …de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirem…
/external/clang/test/Sema/
Dpragma-section.c10 __declspec(allocate(".my_const")) int d = 1; // expected-error {{'d' causes a section type conflict…
15 __declspec(allocate(".my_seg")) int int_my_seg;
19 __declspec(allocate(".bad_seg")) int int_bad_seg = 1; // expected-note {{declared here}}
Dfreemain.c5 void* allocate(long size);
8 if (context) return allocate(size); in main()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp56 deUint32 allocate (void) in allocate() function in tcu::null::ObjectManager
488 return (GLuint)ctx->programs.allocate(); in glCreateProgram()
495 return (GLuint)ctx->shaders.allocate(); in glCreateShader()
521 textures[ndx] = ctx->textures.allocate(); in glGenTextures()
532 ids[ndx] = ctx->queries.allocate(); in glGenQueries()
543 buffers[ndx] = ctx->buffers.allocate(); in glGenBuffers()
554 renderbuffers[ndx] = ctx->renderbuffers.allocate(); in glGenRenderbuffers()
565 framebuffers[ndx] = ctx->framebuffers.allocate(); in glGenFramebuffers()
576 arrays[ndx] = ctx->vertexArrays.allocate(); in glGenVertexArrays()
587 samplers[ndx] = ctx->samplers.allocate(); in glGenSamplers()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtGenericPoolAllocator.cpp119 void * btGenericMemoryPool::allocate(size_t size_bytes) in allocate() function in btGenericMemoryPool
201 return pool->allocate(size_bytes); in failback_alloc()
215 void * btGenericPoolAllocator::allocate(size_t size_bytes) in allocate() function in btGenericPoolAllocator
222 ptr = m_pools[i]->allocate(size_bytes); in allocate()
268 return g_main_allocator.allocate(size); in btPoolAlloc()
/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp114 Variable* VariableScope::allocate (const VariableType& type, Variable::Storage storage, const char*… in allocate() function in rsg::VariableScope
160 ValueEntry* ValueScope::allocate (const Variable* variable) in allocate() function in rsg::ValueScope
237 Variable* VariableManager::allocate (const VariableType& type) in allocate() function in rsg::VariableManager
239 return allocate(type, Variable::STORAGE_LOCAL, m_nameAllocator.allocate().c_str()); in allocate()
242 Variable* VariableManager::allocate (const VariableType& type, Variable::Storage storage, const cha… in allocate() function in rsg::VariableManager
249 Variable* variable = varScope.allocate(type, Variable::STORAGE_LOCAL, name); in allocate()
252 ValueEntry* valueEntry = valueScope.allocate(variable); in allocate()
362 ValueEntry* newEntry = curScope.allocate(variable); in setValue()
478 newTopScope.allocate(var); in popValueScope()
/external/pdfium/third_party/bigint/
DBigUnsigned.cc156 allocate(len); in add()
205 allocate(len); in subtract()
326 allocate(len); in multiply()
476 q.allocate(q.len); in divideWithRemainder()
553 allocate(len); in bitAnd()
571 allocate(a2->len); in bitOr()
591 allocate(a2->len); in bitXor()
614 allocate(len); in bitShiftLeft()
650 allocate(len); in bitShiftRight()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java51 CharBuffer us = CharBuffer.allocate(0xFF*2); in TestUTF16Converter()
52 ByteBuffer bs1 = ByteBuffer.allocate(0xFF*8); in TestUTF16Converter()
53 ByteBuffer bs2 = ByteBuffer.allocate(0xFF*8); in TestUTF16Converter()
111 ByteBuffer newBS = ByteBuffer.allocate(bs1.capacity()); in TestUTF16Converter()
142 CharBuffer us = CharBuffer.allocate(0xFF*2); in TestUTF32Converter()
143 ByteBuffer bs1 = ByteBuffer.allocate(0xFF*8); in TestUTF32Converter()
144 ByteBuffer bs2 = ByteBuffer.allocate(0xFF*8); in TestUTF32Converter()
182 ByteBuffer newBS = ByteBuffer.allocate(bs1.capacity()); in TestUTF32Converter()
806 ByteBuffer target = ByteBuffer.allocate(30); in TestSurrogateBehavior()
1199 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
[all …]

12345678910>>...32