/prebuilts/go/darwin-x86/test/ |
method2.go | 18 func (p P) val() int { return 1 } // ERROR "receiver.* pointer|invalid pointer or interface receiver" 19 func (p *P1) val() int { return 1 } // ERROR "receiver.* pointer|invalid pointer or interface receiver" 24 func (p I) val() int { return 1 } // ERROR "receiver.*interface|invalid pointer or interface receiver" 25 func (p *I1) val() int { return 1 } // ERROR "receiver.*interface|invalid pointer or interface receiver" 41 var _ = (T).g() // ERROR "needs pointer receiver|undefined"
|
/prebuilts/go/linux-x86/test/ |
method2.go | 18 func (p P) val() int { return 1 } // ERROR "receiver.* pointer|invalid pointer or interface receiver" 19 func (p *P1) val() int { return 1 } // ERROR "receiver.* pointer|invalid pointer or interface receiver" 24 func (p I) val() int { return 1 } // ERROR "receiver.*interface|invalid pointer or interface receiver" 25 func (p *I1) val() int { return 1 } // ERROR "receiver.*interface|invalid pointer or interface receiver" 41 var _ = (T).g() // ERROR "needs pointer receiver|undefined"
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/ |
malloc_allocator.h | 61 typedef _Tp* pointer; typedef in class:malloc_allocator 87 pointer 97 pointer 103 pointer __ret = static_cast<_Tp*>(std::malloc(__n * sizeof(_Tp))); 109 // __p is not permitted to be a null pointer. 111 deallocate(pointer __p, size_type) 131 construct(pointer __p, const _Tp& __val) 135 destroy(pointer __p) { __p->~_Tp(); }
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
malloc_allocator.h | 61 typedef _Tp* pointer; typedef in class:malloc_allocator 87 pointer 97 pointer 103 pointer __ret = static_cast<_Tp*>(std::malloc(__n * sizeof(_Tp))); 109 // __p is not permitted to be a null pointer. 111 deallocate(pointer __p, size_type) 131 construct(pointer __p, const _Tp& __val) 135 destroy(pointer __p) { __p->~_Tp(); }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
unique_ptr.h | 66 "can't delete pointer to incomplete type"); 98 "can't delete pointer to incomplete type"); 111 // use SFINAE to determine whether _Del::pointer exists 115 static typename _Up::pointer __test(typename _Up::pointer*); 130 typedef typename _Pointer::type pointer; typedef in class:unique_ptr 138 "constructed with null function pointer deleter"); } 141 unique_ptr(pointer __p) noexcept 144 "constructed with null function pointer deleter"); } 146 unique_ptr(pointer __p 324 typedef typename _Pointer::type pointer; typedef in class:unique_ptr [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
unique_ptr.h | 66 "can't delete pointer to incomplete type"); 98 "can't delete pointer to incomplete type"); 111 // use SFINAE to determine whether _Del::pointer exists 115 static typename _Up::pointer __test(typename _Up::pointer*); 130 typedef typename _Pointer::type pointer; typedef in class:unique_ptr 138 "constructed with null function pointer deleter"); } 141 unique_ptr(pointer __p) noexcept 144 "constructed with null function pointer deleter"); } 146 unique_ptr(pointer __p 324 typedef typename _Pointer::type pointer; typedef in class:unique_ptr [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
capsule.c | 8 void *pointer;
member in struct:__anon4494 19 if (!capsule || !PyCapsule_CheckExact(capsule) || capsule->pointer == NULL) {
44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor)
48 if (!pointer) {
49 PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
58 capsule->pointer = pointer;
74 capsule->pointer != NULL &&
93 return capsule->pointer;
134 PyCapsule_SetPointer(PyObject *o, void *pointer)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
capsule.c | 8 void *pointer;
member in struct:__anon4839 19 if (!capsule || !PyCapsule_CheckExact(capsule) || capsule->pointer == NULL) {
44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor)
48 if (!pointer) {
49 PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
58 capsule->pointer = pointer;
74 capsule->pointer != NULL &&
93 return capsule->pointer;
134 PyCapsule_SetPointer(PyObject *o, void *pointer)
[all...] |
/external/python/cpython2/Objects/ |
capsule.c | 8 void *pointer; member in struct:__anon32898 19 if (!capsule || !PyCapsule_CheckExact(capsule) || capsule->pointer == NULL) { 44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) 48 if (!pointer) { 49 PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer"); 58 capsule->pointer = pointer; 74 capsule->pointer != NULL && 93 return capsule->pointer; 134 PyCapsule_SetPointer(PyObject *o, void *pointer) [all...] |
/external/python/cpython3/Objects/ |
capsule.c | 8 void *pointer; member in struct:__anon33527 19 if (!capsule || !PyCapsule_CheckExact(capsule) || capsule->pointer == NULL) { 44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) 48 if (!pointer) { 49 PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer"); 58 capsule->pointer = pointer; 74 capsule->pointer != NULL && 93 return capsule->pointer; 134 PyCapsule_SetPointer(PyObject *o, void *pointer) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/ |
Mark.java | 30 private int pointer; field in class:Mark 32 public Mark(String name, int index, int line, int column, String buffer, int pointer) { 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++) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
PointerTrackerQueue.java | 47 public void add(final Element pointer) { 50 Log.d(TAG, "add: " + pointer + " " + this); 55 expandableArray.set(arraySize, pointer); 57 expandableArray.add(pointer); 63 public void remove(final Element pointer) { 66 Log.d(TAG, "remove: " + pointer + " " + this); 73 if (element == pointer) { 75 Log.w(TAG, "Found duplicated element in remove: " + pointer); 95 public void releaseAllPointersOlderThan(final Element pointer, final long eventTime) { 98 Log.d(TAG, "releaseAllPointerOlderThan: " + pointer + " " + this) [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
Allocators.h | 93 typedef typename ChunkType::value_type* pointer; typedef in class:mcld::LinearAllocatorBase 110 pointer address(reference X) const { return &X; } 119 void construct(pointer pPtr, const_reference pValue) { 128 void construct(pointer pPtr) { chunk_type::construct(pPtr); } 132 void destroy(pointer pPtr) { chunk_type::destroy(pPtr); } 139 pointer allocate(size_type N) { 147 pointer result = 0; 156 pointer allocate() { 160 pointer result = 0; 171 void deallocate(pointer& pPtr, size_type N) 309 typedef DataType* pointer; typedef in class:mcld::MallocAllocator 354 typedef void* pointer; typedef in class:mcld::MallocAllocator [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
InMemoryStruct.h | 1 //===- InMemoryStruct.h - Indirect Struct Access Smart Pointer --*- C++ -*-===// 21 /// in the common case can be accessed from a direct pointer to a memory mapped 28 typedef value_type *pointer; typedef in class:llvm::InMemoryStruct 32 /// \brief The smart pointer target. 36 /// pointer. 44 InMemoryStruct(pointer Value) : Target(Value) {} 57 assert(Target && "Cannot dereference null pointer"); 61 assert(Target && "Cannot dereference null pointer"); 68 pointer operator->() {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 74 node>::other::pointer, 76 typename type_traits::pointer, 87 node>::other::pointer, 89 typename type_traits::pointer, 100 node>::other::pointer, 102 typename type_traits::pointer, 113 node>::other::pointer, 115 typename type_traits::pointer, 186 node>::other::pointer, 188 typename type_traits::pointer, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 74 node>::other::pointer, 76 typename type_traits::pointer, 87 node>::other::pointer, 89 typename type_traits::pointer, 100 node>::other::pointer, 102 typename type_traits::pointer, 113 node>::other::pointer, 115 typename type_traits::pointer, 186 node>::other::pointer, 188 typename type_traits::pointer, [all...] |
/bionic/libc/malloc_debug/ |
RecordData.h | 68 explicit AllocEntry(void* pointer); 80 MallocEntry(void* pointer, size_t size); 94 explicit FreeEntry(void* pointer); 105 CallocEntry(void* pointer, size_t size, size_t nmemb); 119 ReallocEntry(void* pointer, size_t size, void* old_pointer); 134 MemalignEntry(void* pointer, size_t size, size_t alignment);
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
gtest-message.h | 78 // can stream a NULL char pointer to it in the former, but not in the 80 // class hides this difference by treating a NULL char pointer as 111 // Streams a value (either a pointer or not) to this object. 118 // Streams a non-pointer value to this object. 125 // Streams a pointer value to this object. 128 // stream a pointer to a Message, this definition will be used as it 130 // [temp.func.order].) If you stream a non-pointer, then the 133 // The reason for this overload is that streaming a NULL pointer to 139 inline Message& operator <<(T* const& pointer) { // NOLINT 140 if (pointer == NULL) [all...] |
/external/googletest/googletest/include/gtest/ |
gtest-message.h | 81 // can stream a NULL char pointer to it in the former, but not in the 83 // class hides this difference by treating a NULL char pointer as 106 // Streams a value (either a pointer or not) to this object. 113 // Streams a non-pointer value to this object. 135 // Streams a pointer value to this object. 138 // stream a pointer to a Message, this definition will be used as it 140 // [temp.func.order].) If you stream a non-pointer, then the 143 // The reason for this overload is that streaming a NULL pointer to 149 inline Message& operator <<(T* const& pointer) { // NOLINT 150 if (pointer == NULL) 153 *ss_ << pointer; local 210 *ss_ << pointer; local [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/ |
hash_unique_ptr.pass.cpp | 33 using pointer = typename UPtr::pointer; 38 test_hash_enabled_for_type<pointer>(); 44 using pointer = typename UPtr::pointer; 46 test_hash_disabled_for_type<pointer>();
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
gtest-message.h | 81 // can stream a NULL char pointer to it in the former, but not in the 83 // class hides this difference by treating a NULL char pointer as 106 // Streams a value (either a pointer or not) to this object. 113 // Streams a non-pointer value to this object. 135 // Streams a pointer value to this object. 138 // stream a pointer to a Message, this definition will be used as it 140 // [temp.func.order].) If you stream a non-pointer, then the 143 // The reason for this overload is that streaming a NULL pointer to 149 inline Message& operator <<(T* const& pointer) { // NOLINT 150 if (pointer == NULL) 153 *ss_ << pointer; local 210 *ss_ << pointer; local [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-message.h | 78 // can stream a NULL char pointer to it in the former, but not in the 80 // class hides this difference by treating a NULL char pointer as 111 // Streams a value (either a pointer or not) to this object. 118 // Streams a non-pointer value to this object. 125 // Streams a pointer value to this object. 128 // stream a pointer to a Message, this definition will be used as it 130 // [temp.func.order].) If you stream a non-pointer, then the 133 // The reason for this overload is that streaming a NULL pointer to 139 inline Message& operator <<(T* const& pointer) { // NOLINT 140 if (pointer == NULL) [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
gtest-message.h | 81 // can stream a NULL char pointer to it in the former, but not in the 83 // class hides this difference by treating a NULL char pointer as 106 // Streams a value (either a pointer or not) to this object. 113 // Streams a non-pointer value to this object. 135 // Streams a pointer value to this object. 138 // stream a pointer to a Message, this definition will be used as it 140 // [temp.func.order].) If you stream a non-pointer, then the 143 // The reason for this overload is that streaming a NULL pointer to 149 inline Message& operator <<(T* const& pointer) { // NOLINT 150 if (pointer == NULL) 153 *ss_ << pointer; local 210 *ss_ << pointer; local [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest-message.h | 78 // can stream a NULL char pointer to it in the former, but not in the 80 // class hides this difference by treating a NULL char pointer as 112 // Streams a value (either a pointer or not) to this object. 119 // Streams a non-pointer value to this object. 126 // Streams a pointer value to this object. 129 // stream a pointer to a Message, this definition will be used as it 131 // [temp.func.order].) If you stream a non-pointer, then the 134 // The reason for this overload is that streaming a NULL pointer to 140 inline Message& operator <<(T* const& pointer) { // NOLINT 141 if (pointer == NULL) [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
gtest-message.h | 78 // can stream a NULL char pointer to it in the former, but not in the 80 // class hides this difference by treating a NULL char pointer as 111 // Streams a value (either a pointer or not) to this object. 118 // Streams a non-pointer value to this object. 125 // Streams a pointer value to this object. 128 // stream a pointer to a Message, this definition will be used as it 130 // [temp.func.order].) If you stream a non-pointer, then the 133 // The reason for this overload is that streaming a NULL pointer to 139 inline Message& operator <<(T* const& pointer) { // NOLINT 140 if (pointer == NULL) [all...] |