/frameworks/compile/mclinker/unittests/ |
LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); local 39 ASSERT_FALSE(0 == pointer); 45 Data* pointer = m_pTestee->allocate(); local 46 ASSERT_FALSE(0 == pointer); 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); local 53 ASSERT_TRUE(0 == pointer); 59 Data* pointer = m_pTestee->allocate(); local 60 m_pTestee->construct(pointer); 61 ASSERT_TRUE(1 == pointer->one); 62 ASSERT_TRUE(2 == pointer->two) 68 Data* pointer = m_pTestee->allocate(); local 79 Data* pointer = m_pTestee->allocate(10); local 88 Data* pointer = m_pTestee->allocate(10); local 100 Data* pointer = m_pTestee->allocate(); local 117 Data* pointer = m_pTestee->allocate(10); local [all...] |
RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); local 40 ASSERT_FALSE(0 == pointer); 46 Data* pointer = m_pTestee->allocate(); local 47 ASSERT_FALSE(0 == pointer); 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); local 54 ASSERT_TRUE(0 == pointer); 60 Data* pointer = m_pTestee->allocate(); local 61 m_pTestee->construct(pointer); 62 ASSERT_TRUE(1 == pointer->one); 63 ASSERT_TRUE(2 == pointer->two) 69 Data* pointer = m_pTestee->allocate(); local 80 Data* pointer = m_pTestee->allocate(10); local 89 Data* pointer = m_pTestee->allocate(10); local 101 Data* pointer = m_pTestee->allocate(); local 118 Data* pointer = m_pTestee->allocate(10); local [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
thread_info_base.hpp | 43 void* const pointer = this_thread->reusable_memory_; local 46 unsigned char* const mem = static_cast<unsigned char*>(pointer); 50 return pointer; 53 ::operator delete(pointer); 56 void* const pointer = ::operator new(size + 1); local 57 unsigned char* const mem = static_cast<unsigned char*>(pointer); 59 return pointer; 63 void* pointer, std::size_t size) 69 unsigned char* const mem = static_cast<unsigned char*>(pointer); 71 this_thread->reusable_memory_ = pointer; [all...] |
/external/libbrillo/brillo/ |
pointer_utils.h | 13 // AdvancePointer() is a helper function to advance void pointer by 15 inline void* AdvancePointer(void* pointer, ssize_t byte_offset) { 16 return reinterpret_cast<uint8_t*>(pointer) + byte_offset; 18 inline const void* AdvancePointer(const void* pointer, ssize_t byte_offset) { 19 return reinterpret_cast<const uint8_t*>(pointer) + byte_offset;
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/ |
pointer_type.pass.cpp | 14 // Test unique_ptr<T[]>::pointer type 21 struct pointer {}; struct in struct:Deleter 28 static_assert((std::is_same<P::pointer, int*>::value), ""); 32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/ |
pointer_type.pass.cpp | 14 // Test unique_ptr::pointer type 21 struct pointer {}; struct in struct:Deleter 28 static_assert((std::is_same<P::pointer, int*>::value), ""); 32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
pointer_type.pass.cpp | 14 // Test unique_ptr<T[]>::pointer type 21 struct pointer {}; struct in struct:Deleter 28 static_assert((std::is_same<P::pointer, int*>::value), ""); 32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/ |
pointer_type.pass.cpp | 14 // Test unique_ptr::pointer type 21 struct pointer {}; struct in struct:Deleter 28 static_assert((std::is_same<P::pointer, int*>::value), ""); 32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
|
/external/deqp/scripts/opengl/ |
gen_call_log_wrapper.py | 35 def pointer (size): function 90 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}), 91 "glDeleteFramebuffers": LogSpec({1: pointer(size = "n")}), 92 "glDeleteQueries": LogSpec({1: pointer(size = "n")}), 93 "glDeleteRenderbuffers": LogSpec({1: pointer(size = "n")}), 94 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}), 95 "glDeleteTextures": LogSpec({1: pointer(size = "n")}), 96 "glDeleteVertexArrays": LogSpec({1: pointer(size = "n")}), 97 "glDeleteProgramPipelines": LogSpec({1: pointer(size = "n")}), 124 "glGenBuffers": LogSpec({}, argOutPrints = {1: pointer(size = "n")}) [all...] |
/external/vixl/src/vixl/a64/ |
cpu-a64.h | 48 static T SetPointerTag(T pointer, uint64_t tag) { 54 uint64_t raw = (uint64_t)pointer; 55 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw)); 62 static uint64_t GetPointerTag(T pointer) { 66 uint64_t raw = (uint64_t)pointer; 67 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/gp_hash_table_map_/ |
find_no_store_hash_fn_imps.hpp | 43 inline typename PB_DS_CLASS_C_DEC::pointer
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/gp_hash_table_map_/ |
find_no_store_hash_fn_imps.hpp | 43 inline typename PB_DS_CLASS_C_DEC::pointer
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/gp_hash_table_map_/ |
find_no_store_hash_fn_imps.hpp | 43 inline typename PB_DS_CLASS_C_DEC::pointer
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/gp_hash_table_map_/ |
find_no_store_hash_fn_imps.hpp | 43 inline typename PB_DS_CLASS_C_DEC::pointer
|
/bionic/libc/malloc_debug/tests/ |
malloc_debug_unit_tests.cpp | 134 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(alloc_size)); local 135 ASSERT_TRUE(pointer != nullptr); 136 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { 137 ASSERT_EQ(0xeb, pointer[i]); 139 debug_free(pointer); 142 pointer = reinterpret_cast<uint8_t*>(debug_calloc(1, alloc_size)); 143 ASSERT_TRUE(pointer != nullptr); 144 for (size_t i = 0; i < debug_malloc_usable_size(pointer); i++) { 145 ASSERT_EQ(0, pointer[i]) << "Failed at byte " << i; 147 debug_free(pointer); 200 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 214 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 231 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 251 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 279 void* pointer = debug_malloc(10); local 312 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 357 void* pointer = debug_memalign(1024, 100); local 376 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 403 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 457 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 483 void* pointer = debug_malloc(200); local 519 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 702 void* pointer = debug_malloc(8192); local 784 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 811 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(200)); local 844 void* pointer = debug_malloc(200); local 878 void* pointer = debug_malloc(200); local 905 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(100)); local 1040 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(entry->size)); local 1223 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(1)); local 1249 void* pointer = debug_malloc(10); local 1321 void* pointer = debug_malloc(SIZE_MAX); local 1400 void* pointer = debug_malloc(100); local 1443 void* pointer = debug_malloc(1U << 31); local 1462 void* pointer = debug_malloc(150); local 1477 void* pointer; local 1495 void* pointer = debug_pvalloc(1); local 1507 void* pointer = debug_valloc(100); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
IdleHistory.py | 35 pointer = self.history_pointer 37 if pointer is not None and prefix is not None: 39 self._get_source("iomark", "end-1c") != self.history[pointer]: 40 pointer = prefix = None 41 if pointer is None or prefix is None: 44 pointer = nhist 47 pointer = -1 54 pointer = pointer - 1 56 pointer = pointer + [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
IdleHistory.py | 35 pointer = self.history_pointer 37 if pointer is not None and prefix is not None: 39 self._get_source("iomark", "end-1c") != self.history[pointer]: 40 pointer = prefix = None 41 if pointer is None or prefix is None: 44 pointer = nhist 47 pointer = -1 54 pointer = pointer - 1 56 pointer = pointer + [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
IdleHistory.py | 35 pointer = self.history_pointer 37 if pointer is not None and prefix is not None: 39 self._get_source("iomark", "end-1c") != self.history[pointer]: 40 pointer = prefix = None 41 if pointer is None or prefix is None: 44 pointer = nhist 47 pointer = -1 54 pointer = pointer - 1 56 pointer = pointer + [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
IdleHistory.py | 35 pointer = self.history_pointer 37 if pointer is not None and prefix is not None: 39 self._get_source("iomark", "end-1c") != self.history[pointer]: 40 pointer = prefix = None 41 if pointer is None or prefix is None: 44 pointer = nhist 47 pointer = -1 54 pointer = pointer - 1 56 pointer = pointer + [all...] |
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
pointer.pass.cpp | 15 // typedef Alloc::pointer | value_type* pointer; 29 typedef Ptr<T> pointer; typedef in struct:A 40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); 41 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
pointer.pass.cpp | 15 // typedef Alloc::pointer | value_type* pointer; 29 typedef Ptr<T> pointer; typedef in struct:A 40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); 41 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), "");
|
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_alloc.i | 23 typedef _Tp* pointer; 40 pointer 53 // __p is not permitted to be a null pointer. 55 deallocate(pointer __p, size_type __n); 60 void construct(pointer __p, const _Tp& __val); 61 void destroy(pointer __p); 70 typedef void* pointer;
|
/external/clang/test/Sema/ |
nonnull.c | 23 void bar(int i) __attribute__((nonnull(1))); // expected-warning {{'nonnull' attribute only applies to pointer arguments}} expected-warning {{'nonnull' attribute applied to function with no pointer arguments}} 27 void baz3(__attribute__((nonnull)) int x); // expected-warning {{'nonnull' attribute only applies to pointer arguments}} 90 int evil_nonnull_func(int* pointer, void * pv) 92 if (pointer == NULL) { // expected-warning {{comparison of nonnull parameter 'pointer' equal to a null pointer is 'false' on first encounter}} 95 return *pointer; 98 pointer = pv; 99 if (!pointer) [all...] |
/external/v8/src/ppc/ |
cpu-ppc.cc | 33 for (byte *pointer = start; pointer < end; pointer += kCacheLineSize) { 40 : "r"(pointer));
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatAttributes.java | 37 * Gets the pointer to the parser. We need this so we can get to the 43 * Gets the pointer to the underlying attribute array. Can be 0 if the 84 long pointer = getPointer(); local 85 if (pointer == 0) { 88 return getIndex(pointer, uri, localName); 95 long pointer = getPointer(); local 96 if (pointer == 0) { 99 return getIndexForQName(pointer, qName); 123 long pointer = getPointer(); local 124 if (pointer == 0) 134 long pointer = getPointer(); local [all...] |