/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
CharBufferTest.java | 194 CharBuffer other = CharBuffer.allocate(buf.capacity()); 559 CharBuffer other = CharBuffer.allocate(buf.capacity()); 574 buf.put(CharBuffer.allocate(buf.capacity() + 1)); 858 CharBuffer cb = CharBuffer.allocate(10); 884 CharBuffer cb = CharBuffer.allocate(1); 932 CharBuffer cb = CharBuffer.allocate(2); 939 CharBuffer cb = CharBuffer.allocate(10); 948 CharBuffer cb = CharBuffer.allocate(10); 958 CharBuffer cb = CharBuffer.allocate(10); 995 CharBuffer target = CharBuffer.allocate(10) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
allocators.cpp | 131 void* _STLP_CALL __malloc_alloc::allocate(size_t __n) function in class:__malloc_alloc 174 // 2. In all other cases, we allocate an object of size exactly 270 // if it is inconvenient to allocate the requested number. 361 /* We allocate memory in large chunks in order to avoid fragmenting */ 531 /* We allocate memory in large chunks in order to avoid fragmenting */ 569 // We were able to allocate at least one object and there is still enough 576 // We were not able to allocate enough for at least one object. 614 // Add node to list of available blocks and recursively allocate from it. 623 // We were not able to find something in a freelist, try to allocate a smaller amount. 667 // is currently trying to allocate a node (we're not thread-safe here) 990 void *_Pthread_alloc_impl::allocate(size_t& __n) { function in class:_Pthread_alloc_impl 1034 void *_Pthread_alloc_impl::allocate(size_t& __n, __state_type* __a) { function in class:_Pthread_alloc_impl 1102 void * _STLP_CALL _Pthread_alloc::allocate(size_t& __n) function in class:_Pthread_alloc 1106 void * _STLP_CALL _Pthread_alloc::allocate(size_t& __n, __state_type* __a) function in class:_Pthread_alloc [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
allocators.cpp | 131 void* _STLP_CALL __malloc_alloc::allocate(size_t __n) function in class:__malloc_alloc 174 // 2. In all other cases, we allocate an object of size exactly 270 // if it is inconvenient to allocate the requested number. 361 /* We allocate memory in large chunks in order to avoid fragmenting */ 531 /* We allocate memory in large chunks in order to avoid fragmenting */ 569 // We were able to allocate at least one object and there is still enough 576 // We were not able to allocate enough for at least one object. 614 // Add node to list of available blocks and recursively allocate from it. 623 // We were not able to find something in a freelist, try to allocate a smaller amount. 667 // is currently trying to allocate a node (we're not thread-safe here) 990 void *_Pthread_alloc_impl::allocate(size_t& __n) { function in class:_Pthread_alloc_impl 1034 void *_Pthread_alloc_impl::allocate(size_t& __n, __state_type* __a) { function in class:_Pthread_alloc_impl 1102 void * _STLP_CALL _Pthread_alloc::allocate(size_t& __n) function in class:_Pthread_alloc 1106 void * _STLP_CALL _Pthread_alloc::allocate(size_t& __n, __state_type* __a) function in class:_Pthread_alloc [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
reactive_socket_service.hpp | 230 // Allocate and construct an operation to wrap the handler. 234 asio_handler_alloc_helpers::allocate( 252 // Allocate and construct an operation to wrap the handler. 255 asio_handler_alloc_helpers::allocate( 313 // Allocate and construct an operation to wrap the handler. 317 asio_handler_alloc_helpers::allocate( 342 // Allocate and construct an operation to wrap the handler. 345 asio_handler_alloc_helpers::allocate( 400 // Allocate and construct an operation to wrap the handler. 403 asio_handler_alloc_helpers::allocate( [all...] |
reactive_socket_service_base.hpp | 201 // Allocate and construct an operation to wrap the handler. 204 asio_handler_alloc_helpers::allocate( 225 // Allocate and construct an operation to wrap the handler. 228 asio_handler_alloc_helpers::allocate( 272 // Allocate and construct an operation to wrap the handler. 275 asio_handler_alloc_helpers::allocate( 300 // Allocate and construct an operation to wrap the handler. 303 asio_handler_alloc_helpers::allocate( 357 // Allocate and construct an operation to wrap the handler. 360 asio_handler_alloc_helpers::allocate( [all...] |
/external/pdfium/third_party/agg23/ |
agg_array.h | 41 void allocate(unsigned size, unsigned extra_tail = 0); 122 void pod_array<T>::allocate(unsigned size, unsigned extra_tail) function in class:agg::pod_array 153 allocate(v.m_size); 444 int8u* allocate(unsigned size, unsigned alignment = 1) function in class:agg::pod_allocator 461 return allocate(size - align, alignment); 468 return allocate(size, alignment);
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
AesGcmTest.java | 229 ByteBuffer ctBuffer = ByteBuffer.allocate(outputSize); 238 ByteBuffer decrypted = ByteBuffer.allocate(outputSize); 278 ByteBuffer ctBuffer = ByteBuffer.allocate(outputSize); 288 ByteBuffer decrypted = ByteBuffer.allocate(outputSize); 335 ByteBuffer ctBuffer = ByteBuffer.allocate(test.ct.length - 1); 347 ByteBuffer decrypted = ByteBuffer.allocate(test.pt.length - 1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SinkChannelTest.java | 86 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 127 ByteBuffer readBuf = ByteBuffer.allocate(THREAD_NUM * BUFFER_SIZE); 195 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 292 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 496 ByteBuffer[] buf = {ByteBuffer.allocate(10),null}; 504 ByteBuffer target = ByteBuffer.allocate(10);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
alloc_traits.h | 211 typename = decltype(std::declval<_Alloc3*>()->allocate( 227 { return __a.allocate(__n, __hint); } 233 { return __a.allocate(__n); } 343 * @brief Allocate memory. 345 * @param __n The number of objects to allocate space for. 347 * Calls @c a.allocate(n) 350 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 351 { return __a.allocate(__n); } 354 * @brief Allocate memory. 356 * @param __n The number of objects to allocate space for 365 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
alloc_traits.h | 211 typename = decltype(std::declval<_Alloc3*>()->allocate( 227 { return __a.allocate(__n, __hint); } 233 { return __a.allocate(__n); } 343 * @brief Allocate memory. 345 * @param __n The number of objects to allocate space for. 347 * Calls @c a.allocate(n) 350 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 351 { return __a.allocate(__n); } 354 * @brief Allocate memory. 356 * @param __n The number of objects to allocate space for 365 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
alloc_traits.h | 211 typename = decltype(std::declval<_Alloc3*>()->allocate( 227 { return __a.allocate(__n, __hint); } 233 { return __a.allocate(__n); } 343 * @brief Allocate memory. 345 * @param __n The number of objects to allocate space for. 347 * Calls @c a.allocate(n) 350 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 351 { return __a.allocate(__n); } 354 * @brief Allocate memory. 356 * @param __n The number of objects to allocate space for 365 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
alloc_traits.h | 206 typename = decltype(std::declval<_Alloc3*>()->allocate( 224 { return __a.allocate(__n, __hint); } 230 { return __a.allocate(__n); } 349 * @brief Allocate memory. 351 * @param __n The number of objects to allocate space for. 353 * Calls @c a.allocate(n) 356 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 357 { return __a.allocate(__n); } 360 * @brief Allocate memory. 362 * @param __n The number of objects to allocate space for 371 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
alloc_traits.h | 206 typename = decltype(std::declval<_Alloc3*>()->allocate( 224 { return __a.allocate(__n, __hint); } 230 { return __a.allocate(__n); } 349 * @brief Allocate memory. 351 * @param __n The number of objects to allocate space for. 353 * Calls @c a.allocate(n) 356 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 357 { return __a.allocate(__n); } 360 * @brief Allocate memory. 362 * @param __n The number of objects to allocate space for 371 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
alloc_traits.h | 206 typename = decltype(std::declval<_Alloc3*>()->allocate( 224 { return __a.allocate(__n, __hint); } 230 { return __a.allocate(__n); } 349 * @brief Allocate memory. 351 * @param __n The number of objects to allocate space for. 353 * Calls @c a.allocate(n) 356 allocate(_Alloc& __a, size_type __n) function in struct:allocator_traits 357 { return __a.allocate(__n); } 360 * @brief Allocate memory. 362 * @param __n The number of objects to allocate space for 371 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) function in struct:allocator_traits [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Channel.java | 404 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.MESSAGE_HEADER_SIZE + len); 542 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.QUERY_RESP_HEADER_SIZE + len); 619 ByteBuffer header = ByteBuffer.allocate(ProtocolConstants.PACKET_HEADER_SIZE); 655 final ByteBuffer msg_data = ByteBuffer.allocate(remains); 673 final ByteBuffer query_data = ByteBuffer.allocate(remains); 773 ByteBuffer ret = ByteBuffer.allocate(buff.position() + extra);
|
/external/eigen/Eigen/src/SVD/ |
JacobiSVD.h | 55 void allocate(const JacobiSVD<MatrixType, QRPreconditioner>&) {} function in class:Eigen::internal::qr_preconditioner_impl 76 void allocate(const JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 122 void allocate(const JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 159 void allocate(const JacobiSVD<MatrixType, ColPivHouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 213 void allocate(const JacobiSVD<MatrixType, ColPivHouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 258 void allocate(const JacobiSVD<MatrixType, HouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 309 void allocate(const JacobiSVD<MatrixType, HouseholderQRPreconditioner>& svd) function in class:Eigen::internal::qr_preconditioner_impl 533 allocate(rows, cols, computationOptions); 581 void allocate(Index rows, Index cols, unsigned int computationOptions); 613 void JacobiSVD<MatrixType, QRPreconditioner>::allocate(Index rows, Index cols, unsigned int computationOptions function in class:Eigen::JacobiSVD [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapPixels.java | 112 IntBuffer dst = IntBuffer.allocate(n*n); 121 ShortBuffer dst = ShortBuffer.allocate(n*n);
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbMessage.java | 44 mMessageBuffer = ByteBuffer.allocate(24); 45 mDataBuffer = ByteBuffer.allocate(MAX_PAYLOAD);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFillRunner.java | 42 * The amount of time in ms we wait before continuing to allocate after the first GC is detected. 52 * The maximum amount of time in ms we wait before continuing to allocate. 85 * Attempts to allocate {@link android.graphics.Bitmap}s and returns {@code true} if there are more 86 * {@link android.graphics.Bitmap}s to allocate and {@code false} otherwise. 88 private boolean allocate() { method in class:BitmapPreFillRunner 136 if (allocate()) {
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
ArbitraryInstances.java | 223 .put(Buffer.class, ByteBuffer.allocate(0)) 224 .put(CharBuffer.class, CharBuffer.allocate(0)) 225 .put(ByteBuffer.class, ByteBuffer.allocate(0)) 226 .put(ShortBuffer.class, ShortBuffer.allocate(0)) 227 .put(IntBuffer.class, IntBuffer.allocate(0)) 228 .put(LongBuffer.class, LongBuffer.allocate(0)) 229 .put(FloatBuffer.class, FloatBuffer.allocate(0)) 230 .put(DoubleBuffer.class, DoubleBuffer.allocate(0))
|
/external/libchrome/base/containers/ |
stack_container.h | 21 // from which to allocate memory and overflows onto the heap. This stack buffer 36 // the container will allocate a small array which will "use up" the stack 108 pointer allocate(size_type n, void* hint = 0) { function in class:base::StackAllocator 114 return std::allocator<T>::allocate(n, hint);
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
toy_helpers.h | 259 bool allocate, 285 allocate << 13 |
|
/external/python/cpython2/Demo/threads/ |
find.py | 45 self.mutex = thread.allocate() 46 self.todo = thread.allocate()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
Relay.java | 95 byteBuffer = ByteBuffer.allocate(BUFFER_SIZE); 96 charBuffer = CharBuffer.allocate(BUFFER_SIZE);
|
/external/swiftshader/third_party/subzero/src/ |
IceAssembler.cpp | 57 new (Assemblr.allocate<AssemblerFixup>()) AssemblerFixup(); 66 AssemblerTextFixup *F = new (Assemblr.allocate<AssemblerTextFixup>()) 123 // Allocate the new data area and copy contents of the old one to it.
|