Searched refs:pointer (Results 1 - 25 of 836) sorted by relevance

1234567891011>>

/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/
H A Dpointer_type.pass.cpp14 // Test unique_ptr::pointer type
23 struct pointer {}; struct in struct:Deleter
28 typedef void pointer; typedef in struct:D2
32 static long pointer; member in struct:D3
39 static_assert((std::is_same<P::pointer, int*>::value), "");
43 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
48 static_assert(std::is_same<P::pointer, int*>::value, "");
52 static_assert(std::is_same<P::pointer, int*>::value, "");
/external/parameter-framework/asio/include/asio/detail/
H A Dthread_info_base.hpp43 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;
62 deallocate(thread_info_base* this_thread, void* pointer, std::size_t size) argument
[all...]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dthread_info_base.hpp43 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;
62 deallocate(thread_info_base* this_thread, void* pointer, std::size_t size) argument
[all...]
/external/libbrillo/brillo/
H A Dpointer_utils.h13 // AdvancePointer() is a helper function to advance void pointer by
15 inline void* AdvancePointer(void* pointer, ssize_t byte_offset) { argument
16 return reinterpret_cast<uint8_t*>(pointer) + byte_offset;
18 inline const void* AdvancePointer(const void* pointer, ssize_t byte_offset) { argument
19 return reinterpret_cast<const uint8_t*>(pointer) + byte_offset;
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/
H A Dpointer_type.pass.cpp14 // 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/pdfium/core/fxcrt/
H A Dfx_basic_memmgr.cpp14 void* FXMEM_DefaultRealloc(void* pointer, size_t new_size, int flags) { argument
15 return realloc(pointer, new_size);
17 void FXMEM_DefaultFree(void* pointer, int flags) { argument
18 free(pointer);
/external/deqp/scripts/opengl/
H A Dgen_call_log_wrapper.py35 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(siz
[all...]
/external/v8/src/ppc/
H A Dcpu-ppc.cc33 for (byte *pointer = start; pointer < end; pointer += kCacheLineSize) {
40 : "r"(pointer));
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dpointer.pass.cpp15 // typedef Alloc::pointer | value_type* pointer;
31 typedef Ptr<T> pointer; typedef in struct:A
44 typedef void pointer; typedef in struct:C
49 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), "");
50 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), "");
52 static_assert((std::is_same<std::allocator_traits<C<char> >::pointer, char*>::value), "");
H A Ddifference_type.pass.cpp16 // | pointer_traits<pointer>::difference_type difference_type;
42 struct pointer {}; struct in struct:C
61 struct pointer_traits<C<char>::pointer>
63 typedef C<char>::pointer pointer; typedef in struct:std::pointer_traits
/external/vixl/src/aarch64/
H A Dcpu-aarch64.h50 static T SetPointerTag(T pointer, uint64_t tag) { argument
56 uint64_t raw = (uint64_t)pointer;
57 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw));
64 static uint64_t GetPointerTag(T pointer) { argument
68 uint64_t raw = (uint64_t)pointer;
69 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw));
/external/clang/test/Sema/
H A Dnonnull.c23 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) argument
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)
109 another_evil_nonnull_func(int* pointer, char ch, void * pv) argument
131 yet_another_evil_nonnull_func(int* pointer) argument
[all...]
H A Dwarn-tautological-compare.c16 if (b == 0) {} // expected-warning {{comparison of array 'b' equal to a null pointer is always false}}
18 if (c.x == 0) {} // expected-warning {{comparison of array 'c.x' equal to a null pointer is always false}}
20 if (0 == str) {} // expected-warning {{comparison of array 'str' equal to a null pointer is always false}}
28 } else if (array != 0) { // expected-warning {{comparison of array 'array' not equal to a null pointer is always true}}
31 if (array == 0) // expected-warning {{comparison of array 'array' equal to a null pointer is always false}}
38 int test2(int* pointer, char ch, void * pv) { argument
39 if (!&pointer) { // expected-warning {{address of 'pointer' will always evaluate to 'true'}}
43 if (&pointer) { // expected-warning {{address of 'pointer' wil
[all...]
/external/libcxx/test/std/utilities/memory/pointer.traits/
H A Dpointer.pass.cpp15 // typedef Ptr pointer;
30 static_assert((std::is_same<std::pointer_traits<A>::pointer, A>::value), "");
31 static_assert((std::is_same<std::pointer_traits<int*>::pointer, int*>::value), "");
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
H A DStreamReader.java36 private int pointer = 0; field in class:StreamReader
66 int position = this.index + this.buffer.length() - this.pointer + em.start();
92 int position = this.index + this.buffer.length() - this.pointer + i;
104 return new Mark(name, this.index, this.line, this.column, this.buffer, this.pointer);
112 * read the next length characters and move the pointer.
117 if (this.pointer + length + 1 >= this.buffer.length()) {
122 ch = this.buffer.charAt(this.pointer);
123 this.pointer++;
125 if (Constant.LINEBR.has(ch) || (ch == '\r' && buffer.charAt(pointer) != '\n')) {
135 return this.buffer.charAt(this.pointer);
[all...]
/external/bison/lib/
H A Dmsvc-inval.c80 struct gl_msvc_inval_per_thread *pointer = local
82 if (pointer == NULL)
85 pointer =
88 if (pointer == NULL)
90 pointer = &not_per_thread;
91 TlsSetValue (tls_index, pointer);
93 return pointer;
/external/mesa3d/src/glx/
H A Dvertarr.c39 * \name Vertex array pointer bridge functions
50 GLsizei count, const GLvoid * pointer)
53 __indirect_glColorPointer(size, type, stride, pointer);
58 GLsizei count, const GLboolean * pointer)
61 __indirect_glEdgeFlagPointer(stride, pointer);
66 GLsizei count, const GLvoid * pointer)
69 __indirect_glIndexPointer(type, stride, pointer);
74 const GLvoid * pointer)
77 __indirect_glNormalPointer(type, stride, pointer);
82 GLsizei count, const GLvoid * pointer)
49 __indirect_glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) argument
57 __indirect_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean * pointer) argument
65 __indirect_glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) argument
73 __indirect_glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) argument
81 __indirect_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) argument
89 __indirect_glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer) argument
101 __indirect_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) argument
[all...]
/external/clang/test/SemaCXX/
H A Dreturn-stack-addr-2.cpp17 void *&pointer() { function in namespace:PR26599
/external/ltp/tools/top-LTP/proc/
H A Dalloc.h10 extern void *xcalloc(void *pointer, int size) MALLOC;
/external/parameter-framework/asio/include/asio/
H A Dhandler_alloc_hook.hpp47 * void asio_handler_deallocate(void* pointer, std::size_t size,
50 * ::operator delete(pointer);
68 void* pointer, std::size_t size, ...);
/external/parameter-framework/asio-1.10.6/include/asio/
H A Dhandler_alloc_hook.hpp47 * void asio_handler_deallocate(void* pointer, std::size_t size,
50 * ::operator delete(pointer);
68 void* pointer, std::size_t size, ...);
/external/compiler-rt/test/BlocksRuntime/
H A Dk-and-r.c8 // CONFIG error: incompatible block pointer types assigning
25 #error incompatible block pointer types assigning
29 #error incompatible block pointer types assigning
/external/valgrind/memcheck/tests/
H A Ddescr_belowsp.stderr.exp3 .... bytes below stack pointer
6 .... bytes below stack pointer
13 .... bytes below stack pointer
17 In stack guard protected page, .... bytes below stack pointer
20 .... bytes below stack pointer
23 In stack guard protected page, .... bytes below stack pointer
26 In stack guard protected page, .... bytes below stack pointer
/external/v8/src/zone/
H A Dzone-allocator.h17 typedef T* pointer; typedef in class:v8::internal::zone_allocator
39 pointer address(reference x) const { return &x; }
42 pointer allocate(size_type n, const void* hint = 0) {
43 return static_cast<pointer>(
46 void deallocate(pointer p, size_type) { /* noop for Zones */
52 void construct(pointer p, const T& val) {
55 void destroy(pointer p) { p->~T(); }
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/
H A DMark.java30 private int pointer; field in class:Mark
32 public Mark(String name, int index, int line, int column, String buffer, int pointer) { argument
39 this.pointer = pointer;
51 int start = pointer;
55 if (pointer - start > half) {
62 int end = pointer;
65 if (end - pointer > half) {
80 for (int i = 0; i < indent + pointer - start + head.length(); i++) {

Completed in 567 milliseconds

1234567891011>>