Searched defs:allocate (Results 1 - 25 of 110) sorted by path

12345

/external/chromium_org/base/containers/
H A Dstack_container.h19 // from which to allocate memory and overflows onto the heap. This stack buffer
34 // the container will allocate a small array which will "use up" the stack
106 pointer allocate(size_type n, void* hint = 0) { function in class:base::StackAllocator
112 return std::allocator<T>::allocate(n, hint);
/external/chromium_org/cc/resources/
H A Dresource_provider.cc1237 // Don't allocate a texture for a child.
1676 bool allocate = !resource->allocated; local
1693 if (allocate) {
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DChildProcessLauncher.java90 public ChildProcessConnection allocate( method in class:ChildProcessLauncher.ChildConnectionAllocator
95 Log.e(TAG, "Ran out of services to allocate.");
175 return getConnectionAllocator(inSandbox).allocate(context, deathCallback,
/external/chromium_org/courgette/
H A Dmemory_allocator.h181 pointer allocate(size_type count) { function in class:courgette::MemoryAllocator
183 // However, so that the allocation is properly aligned, we allocate an
211 pointer allocate(size_type count, const void* hint) { function in class:courgette::MemoryAllocator
212 return allocate(count);
267 pointer allocate(size_type count) {
274 pointer allocate(size_type count, const void* hint) {
275 return allocate(count);
342 T* new_buffer = alloc_.allocate(size);
395 // TODO(tommi): Should we allocate a new, smaller buffer?
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DVideoCapture.java89 boolean allocate(int width, int height, int frameRate) { method in class:VideoCapture
90 Log.d(TAG, "allocate: requested (" + width + "x" + height + ")@" +
95 Log.e(TAG, "allocate: Camera.open: " + ex);
109 Log.d(TAG, "allocate: orientation dev=" + mDeviceOrientation +
122 Log.e(TAG, "allocate: no fps range found");
137 Log.d(TAG, "allocate: fps set to " + frameRate);
148 Log.d(TAG, "allocate: supported (" +
161 Log.e(TAG, "allocate: can not find a multiple-of-32 resolution");
164 Log.d(TAG, "allocate: matched (" + matchedWidth + "x" + matchedHeight + ")");
208 Log.e(TAG, "allocate
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPODArena.h51 virtual void* allocate(size_t size) = 0;
59 // fastFree to allocate chunks of storage.
67 virtual void* allocate(size_t size) OVERRIDE { return fastMalloc(size); }
129 ptr = m_current->allocate(roundedSize);
136 ptr = m_current->allocate(roundedSize);
159 m_base = static_cast<uint8_t*>(m_allocator->allocate(size));
171 void* allocate(size_t size) function in class:blink::FINAL::FINAL
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioArray.h44 allocate(n);
52 // It's OK to call allocate() multiple times, but data will *not* be copied from an initial allocation
54 void allocate(size_t n) function in class:blink::AudioArray
75 // Initially we try to allocate the exact size, but if it's not aligned
76 // then we'll have to reallocate and from then on allocate extra.
95 extraAllocationBytes = alignment; // always allocate extra after the first alignment failure.
108 // no greater than max unsigned. This guarantee is enforced in allocate().
117 // This multiplication is made safe by the check in allocate().
129 // greater than m_size, which is safe due to the check in allocate().
141 // greater than m_size, which is safe due to the check in allocate()
[all...]
H A DAudioBus.cpp53 PassRefPtr<AudioBus> AudioBus::create(unsigned numberOfChannels, size_t length, bool allocate) argument
59 return adoptRef(new AudioBus(numberOfChannels, length, allocate));
62 AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate) argument
71 PassOwnPtr<AudioChannel> channel = allocate ? adoptPtr(new AudioChannel(length)) : adoptPtr(new AudioChannel(0, length));
/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DHandle.h258 Address allocate() function in class:blink::WrapperPersistentRegion
326 Address persistentSlot = region->allocate();
H A DHeap.cpp201 static PageMemoryRegion* allocate(size_t size, unsigned numPages) function in class:blink::PageMemoryRegion
219 // we allocate.
252 // returned as a whole and then allocate an aligned region
334 static PageMemory* allocate(size_t payloadSize) function in class:blink::PageMemory
345 PageMemoryRegion* pageMemoryRegion = PageMemoryRegion::allocate(allocationSize, 1);
640 return allocate(size, gcInfo);
756 // The free list entries are only pointer aligned (but when we allocate
920 // is not a multiple of 8 bytes we will allocate an extra
932 PageMemory* pageMemory = PageMemory::allocate(allocationSize);
1190 PageMemoryRegion* region = PageMemoryRegion::allocate(blinkPageSiz
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringImplCF.cpp54 static void* allocate(CFIndex size, CFOptionFlags, void*) function in namespace:WTF::StringWrapperCFAllocator
83 underlyingString->deref(); // Balanced by call to ref in allocate above.
97 underlyingString->deref(); // Balanced by call to ref in allocate above.
115 CFAllocatorContext context = { 0, 0, retain, release, copyDescription, allocate, reallocate, deallocate, preferredSize };
147 // CoreFoundation might not have to allocate anything, we clear currentString in case we did not execute allocate().
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DPoolAlloc.cpp70 // be obtained to allocate memory.
160 // Indicate there is no current page to allocate from.
207 void* TPoolAllocator::allocate(size_t numBytes) function in class:TPoolAllocator
231 // Safe to allocate from currentPageOffset.
265 // Need a simple page to allocate from.
H A DPoolAlloc.h16 // allocate a large number of small requests for heap memory, with the
143 // Call allocate() to actually acquire memory. Returns 0 if no memory
146 void* allocate(size_t numBytes);
204 size_t currentPageOffset; // next offset in top of inUseList to allocate from
207 tAllocStack stack; // stack of where to allocate from, to partition pool
264 // libCStd on some platforms have a different allocate/deallocate interface.
267 void* allocate(size_type n) { function in class:pool_allocator
268 return getAllocator().allocate(n);
270 void* allocate(size_type n, const void*) { function in class:pool_allocator
271 return getAllocator().allocate(
275 pointer allocate(size_type n) { function in class:pool_allocator
278 pointer allocate(size_type n, const void*) { function in class:pool_allocator
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DHandleAllocator.cpp8 // to allocate GL handles.
32 GLuint HandleAllocator::allocate() function in class:gl::HandleAllocator
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DExprNodes.py1102 # pre-allocate a Python version of the number
2589 # Note: One must call "allocate" and "release" on
2612 def allocate(self, code): member in class:TempNode
2623 assert False, "Remember to call allocate/release on TempNode"
5912 item.allocate(code)
6106 item.allocate(code)
6116 starred_target.allocate(code)
6141 item.allocate(code)
6347 # To be valid C++, we must allocate the memory on the stack
/external/chromium_org/third_party/icu/source/common/
H A Duniset_props.cpp419 inline UBool allocate() { function in class:UnicodeSetPointer
574 if (!scratch.allocate()) {
H A Dunistr.cpp154 // just allocate and do not do anything else
155 allocate(capacity);
157 // count > 0, allocate and fill the new string with count c's
162 if(allocate(capacity)) {
366 UnicodeString::allocate(int32_t capacity) { function in class:UnicodeString
371 // round up to a multiple of 16; then divide by 4 and allocate int32_t's
511 // -> allocate a new buffer and copy the contents
514 if(allocate(srcLength)) {
1415 // clone our array and allocate a bigger array if needed
1695 // allocate
[all...]
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_util.cpp245 return allocate(nBits, true);
263 bool BitSet::allocate(unsigned int nBits, bool zero) function in class:nv50_ir::BitSet
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_clip_util.c210 bool allocate,
218 assert(!(allocate && eot));
234 * urb entry - (I think... what about 'allocate'?)
237 allocate ? c->reg.R0 : retype(brw_null_reg(), BRW_REGISTER_TYPE_UD),
240 allocate,
243 allocate ? 1 : 0, /* response_length */
264 0, /* allocate */
380 1, /* allocate */
208 brw_clip_emit_vue(struct brw_clip_compile *c, struct brw_indirect vert, bool allocate, bool eot, GLuint header) argument
H A Dbrw_eu_emit.c486 bool allocate,
495 insn->bits3.urb_gen5.allocate = allocate;
502 bool allocate,
528 insn->bits3.urb_gen5.allocate = allocate;
535 insn->bits3.urb.allocate = allocate;
2429 bool allocate,
2467 allocate,
484 brw_set_ff_sync_message(struct brw_compile *p, struct brw_instruction *insn, bool allocate, GLuint response_length, bool end_of_thread) argument
500 brw_set_urb_message( struct brw_compile *p, struct brw_instruction *insn, bool allocate, bool used, GLuint msg_length, GLuint response_length, bool end_of_thread, bool complete, GLuint offset, GLuint swizzle_control ) argument
2425 brw_urb_WRITE(struct brw_compile *p, struct brw_reg dest, GLuint msg_reg_nr, struct brw_reg src0, bool allocate, bool used, GLuint msg_length, GLuint response_length, bool eot, bool writes_complete, GLuint offset, GLuint swizzle) argument
2555 brw_ff_sync(struct brw_compile *p, struct brw_reg dest, GLuint msg_reg_nr, struct brw_reg src0, bool allocate, GLuint response_length, bool eot) argument
[all...]
H A Dbrw_gs_emit.c171 bool allocate = !last; local
184 allocate ? c->reg.temp
188 allocate,
191 allocate ? 1 : 0, /* response length */
192 allocate ? 0 : 1, /* eot */
197 if (allocate) {
204 * De-allocate the URB entry that was previously allocated to this thread
215 false, /* allocate */
227 * have finished sending primitives down the pipeline, and to allocate a URB
245 1, /* allocate */
[all...]
H A Dbrw_sf_emit.c405 void brw_emit_tri_setup(struct brw_sf_compile *c, bool allocate) argument
412 if (allocate)
479 0, /* allocate */
493 void brw_emit_line_setup(struct brw_sf_compile *c, bool allocate) argument
501 if (allocate)
553 0, /* allocate */
565 void brw_emit_point_sprite_setup(struct brw_sf_compile *c, bool allocate) argument
572 if (allocate)
643 0, /* allocate */
657 void brw_emit_point_setup(struct brw_sf_compile *c, bool allocate) argument
[all...]
H A Dbrw_structs.h925 GLuint allocate:1; member in struct:brw_urb_immediate
1360 GLuint allocate:1; member in struct:brw_instruction::__anon14435::__anon14450

Completed in 561 milliseconds

12345