Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 1090) sorted by relevance

12345678910>>...44

/external/clang/test/SemaObjC/
Dcomptypes-7.m27 …obj = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id' from '…
28 obj = j; // expected-warning {{incompatible pointer types assigning to 'id' from 'int *'}}
30 …obj_p = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id<MyPro…
31 …obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'in…
33 …obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass …
34 …obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}}
36 …obj_C = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'Class' f…
37 obj_C = j; // expected-warning {{incompatible pointer types assigning to 'Class' from 'int *'}}
39 …i = obj; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
40 …i = obj_p; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
[all …]
Darc-non-pod-memaccess.m24 …memcpy(sip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
25 // expected-note{{explicitly cast the pointer to silence this warning}}
26 …memcpy(wip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
27 // expected-note{{explicitly cast the pointer to silence this warning}}
28 …memcpy(aip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
29 // expected-note{{explicitly cast the pointer to silence this warning}}
32 …memcpy(ptr, sip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
33 // expected-note{{explicitly cast the pointer to silence this warning}}
34 …memcpy(ptr, wip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
35 // expected-note{{explicitly cast the pointer to silence this warning}}
[all …]
Darc-type-conversion.m10 …(void)(int*)arg; // expected-error {{cast of an Objective-C pointer to 'int *' is disallowed with …
12 …(void)(__autoreleasing id*)arg; // expected-error {{cast of an Objective-C pointer to '__autorelea…
13 …(void)(id*)arg; // expected-error {{cast of an Objective-C pointer to '__strong id *' is disallowe…
17 …(void)(void**)arg; // expected-error {{cast of an Objective-C pointer to 'void **' is disallowed w…
18 …cvt((void*)arg); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type 'void…
19 …// expected-error {{implicit conversion of C pointer type 'void *' to Objective-C pointer type 'id…
25 …return arg; // expected-error {{implicit conversion of Objective-C pointer type 'id' to C pointer
58 …sip = vp; // expected-error{{implicit conversion of a non-Objective-C pointer type 'void *' to '__…
59 …wip = vp; // expected-error{{implicit conversion of a non-Objective-C pointer type 'void *' to '__…
60 …aip = vp; // expected-error{{implicit conversion of a non-Objective-C pointer type 'void *' to '__…
[all …]
Dwarn-incompatible-builtin-types.m13 …[f foo:f]; // expected-warning {{incompatible pointer types sending 'Foo *' to parameter of type '…
14 c = f; // expected-warning {{incompatible pointer types assigning to 'Class' from 'Foo *'}}
24 s1 = i; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'id'}}
25 i = s1; // expected-warning {{incompatible pointer types assigning to 'id' from 'SEL'}}
29 s1 = c; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Class'}}
31 c = s1; // expected-warning {{incompatible pointer types assigning to 'Class' from 'SEL'}}
35 f = c; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'Class'}}
37 f = s1; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'SEL'}}
41 s1 = f; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Foo *'}}
Darc-unbridged-cast.m87 …FStringRef) string]; // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
100 …FStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
101 …FStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
102 …FStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
105 …FStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
109 …FStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
113 …StringRef) string)); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
114 …StringRef) string)); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
115 …StringRef) string)); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
118 …StringRef) string)); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type '…
[all …]
Dattr-malloc.m4 - (id) test1 __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
13 __attribute((malloc)) id (*f)(); // expected-warning {{functions returning a pointer type}}
14 __attribute((malloc)) bptr (*g)(); // expected-warning {{functions returning a pointer type}}
15 __attribute((malloc)) void *(^h)(); // expected-warning {{functions returning a pointer type}}
Darc-nsconsumed-errors.m6 …ribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializin…
10 …ribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializin…
12 blk d = ^void (id arg1, id arg2) {}; // expected-error {{incompatible block pointer types initializ…
14 …s_consumed)) id arg1, id arg2){}; // expected-error {{incompatible block pointer types initializin…
16 …ribute((ns_consumed)) id arg2){}; // expected-error {{incompatible block pointer types initializin…
20 blk1 d4 = ^void (id arg1, id arg2) {}; // expected-error {{incompatible block pointer types initial…
/external/openssl/crypto/
Dcryptlib.c187 static int (MS_FAR *add_lock_callback)(int *pointer,int amount,
239 CRYPTO_dynlock *pointer = NULL; in CRYPTO_get_new_dynlockid() local
256 pointer = (CRYPTO_dynlock *)OPENSSL_malloc(sizeof(CRYPTO_dynlock)); in CRYPTO_get_new_dynlockid()
257 if (pointer == NULL) in CRYPTO_get_new_dynlockid()
262 pointer->references = 1; in CRYPTO_get_new_dynlockid()
263 pointer->data = dynlock_create_callback(__FILE__,__LINE__); in CRYPTO_get_new_dynlockid()
264 if (pointer->data == NULL) in CRYPTO_get_new_dynlockid()
266 OPENSSL_free(pointer); in CRYPTO_get_new_dynlockid()
280 i=sk_CRYPTO_dynlock_push(dyn_locks,pointer) - 1; in CRYPTO_get_new_dynlockid()
284 (void)sk_CRYPTO_dynlock_set(dyn_locks,i,pointer); in CRYPTO_get_new_dynlockid()
[all …]
/external/icu4c/common/
Duhash.c145 if (hash->keyDeleter != NULL && e->key.pointer != NULL && in _uhash_setElement()
146 e->key.pointer != key.pointer) { /* Avoid double deletion */ in _uhash_setElement()
147 (*hash->keyDeleter)(e->key.pointer); in _uhash_setElement()
150 if (oldValue.pointer != NULL && in _uhash_setElement()
151 oldValue.pointer != value.pointer) { /* Avoid double deletion */ in _uhash_setElement()
152 (*hash->valueDeleter)(oldValue.pointer); in _uhash_setElement()
154 oldValue.pointer = NULL; in _uhash_setElement()
163 e->key.pointer = key.pointer; in _uhash_setElement()
168 e->value.pointer = value.pointer; in _uhash_setElement()
184 empty.pointer = NULL; empty.integer = 0; in _uhash_internalRemoveElement()
[all …]
Duvector.cpp100 if (elements[i].pointer != 0 && deleter != 0) { in assign()
101 (*deleter)(elements[i].pointer); in assign()
126 elements[count++].pointer = obj; in addElement()
132 elements[count].pointer = NULL; // Pointers may be bigger than ints. in addElement()
140 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
141 (*deleter)(elements[index].pointer); in setElementAt()
143 elements[index].pointer = obj; in setElementAt()
150 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
152 (*deleter)(elements[index].pointer); in setElementAt()
154 elements[index].pointer = NULL; in setElementAt()
[all …]
/external/opencv/cv/src/
Dcvconvhull.cpp199 icvCalcAndWritePtIndices( CvPoint** pointer, int* stack, int start, int end, in CV_IMPLEMENT_QSORT()
211 CvPoint* ptr = (CvPoint*)pointer[stack[i]]; in CV_IMPLEMENT_QSORT()
232 CvPoint** pointer = 0; in cvConvexHull2() local
332 CV_CALL( pointer = (CvPoint**)cvAlloc( ptseq->total*sizeof(pointer[0]) )); in cvConvexHull2()
334 pointerf = (CvPoint2D32f**)pointer; in cvConvexHull2()
340 pointer[i] = (CvPoint*)reader.ptr; in cvConvexHull2()
347 icvSortPointsByPointers_32s( pointer, total, 0 ); in cvConvexHull2()
350 int y = pointer[i]->y; in cvConvexHull2()
351 if( pointer[miny_ind]->y > y ) in cvConvexHull2()
353 if( pointer[maxy_ind]->y < y ) in cvConvexHull2()
[all …]
/external/v8/src/
Dsmall-pointer-list.h80 void Add(T* pointer) { in Add() argument
81 ASSERT(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add()
83 data_ = reinterpret_cast<intptr_t>(pointer) | kSingletonTag; in Add()
89 list->Add(pointer); in Add()
94 list()->Add(pointer); in Add()
112 void RemoveElement(T* pointer) { in RemoveElement() argument
115 if (pointer == single_value()) { in RemoveElement()
120 list()->RemoveElement(pointer); in RemoveElement()
148 int CountOccurrences(T* pointer, int start, int end) const { in CountOccurrences() argument
152 return (single_value() == pointer) ? 1 : 0; in CountOccurrences()
[all …]
/external/google-diff-match-patch/name/fraser/neil/plaintext/
Ddiff_match_patch.java287 ListIterator<Diff> pointer = diffs.listIterator(); in diff_compute() local
288 Diff thisDiff = pointer.next(); in diff_compute()
303 pointer.previous(); in diff_compute()
305 pointer.previous(); in diff_compute()
306 pointer.remove(); in diff_compute()
309 pointer.add(newDiff); in diff_compute()
318 thisDiff = pointer.hasNext() ? pointer.next() : null; in diff_compute()
794 ListIterator<Diff> pointer = diffs.listIterator(); in diff_cleanupSemantic() local
799 Diff thisDiff = pointer.next(); in diff_cleanupSemantic()
815 thisDiff = pointer.previous(); in diff_cleanupSemantic()
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp562 static void OnPrepared(JNIEnv* env, jobject obj, int duration, int width, int height, int pointer) in OnPrepared() argument
564 if (pointer) { in OnPrepared()
565 … WebCore::MediaPlayerPrivate* player = reinterpret_cast<WebCore::MediaPlayerPrivate*>(pointer); in OnPrepared()
570 static void OnEnded(JNIEnv* env, jobject obj, int pointer) in OnEnded() argument
572 if (pointer) { in OnEnded()
573 … WebCore::MediaPlayerPrivate* player = reinterpret_cast<WebCore::MediaPlayerPrivate*>(pointer); in OnEnded()
578 static void OnRequestPlay(JNIEnv* env, jobject obj, int pointer) in OnRequestPlay() argument
580 if (pointer) { in OnRequestPlay()
581 … WebCore::MediaPlayerPrivate* player = reinterpret_cast<WebCore::MediaPlayerPrivate*>(pointer); in OnRequestPlay()
586 static void OnPaused(JNIEnv* env, jobject obj, int pointer) in OnPaused() argument
[all …]
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/
Dalloca.c51 typedef void *pointer; /* generic pointer type */ typedef
53 typedef char *pointer; /* generic pointer type */
59 extern pointer xmalloc();
140 pointer
164 free ((pointer) hp); /* collect garbage */
180 register pointer new = xmalloc (sizeof (header) + size);
191 return (pointer)((char *)new + sizeof(header));
/external/embunit/inc/
DAssertImpl.h53 #define TEST_ASSERT_NULL(pointer)\ argument
54 TEST_ASSERT_MESSAGE(pointer == NULL,#pointer " was not null.")
56 #define TEST_ASSERT_NOT_NULL(pointer)\ argument
57 TEST_ASSERT_MESSAGE(pointer != NULL,#pointer " was null.")
/external/webkit/Source/WebCore/platform/mac/
DSoftLinking.h86 static type pointer##name; \
90 return pointer##name; \
95 void** pointer = static_cast<void**>(dlsym(framework##Library(), #name)); \
96 ASSERT(pointer); \
97 pointer##name = static_cast<type>(*pointer); \
99 return pointer##name; \
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DPoolAlloc.h243 typedef T* pointer; typedef
253 pointer address(reference x) const { return &x; } in address()
275 pointer allocate(size_type n) { in allocate()
276 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
278 pointer allocate(size_type n, const void*) { in allocate()
279 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
281 void deallocate(pointer, size_type) {} in deallocate() argument
284 void construct(pointer p, const T& val) { new ((void *)p) T(val); } in construct()
285 void destroy(pointer p) { p->T::~T(); } in destroy()
/external/srtp/crypto/cipher/
Dnull_cipher.c58 uint8_t *pointer; in null_cipher_alloc() local
64 pointer = (uint8_t*)crypto_alloc(sizeof(null_cipher_ctx_t) + sizeof(cipher_t)); in null_cipher_alloc()
65 if (pointer == NULL) in null_cipher_alloc()
69 *c = (cipher_t *)pointer; in null_cipher_alloc()
71 (*c)->state = pointer + sizeof(cipher_t); in null_cipher_alloc()
/external/gtest/include/gtest/
Dgtest-message.h139 inline Message& operator <<(T* const& pointer) { // NOLINT
140 if (pointer == NULL) {
143 ::GTestStreamToHelper(ss_.get(), pointer);
202 inline void StreamHelper(internal::true_type /*dummy*/, T* pointer) { in StreamHelper() argument
203 if (pointer == NULL) { in StreamHelper()
206 ::GTestStreamToHelper(ss_.get(), pointer); in StreamHelper()
/external/protobuf/gtest/include/gtest/
Dgtest-message.h134 inline Message& operator <<(T* const& pointer) { // NOLINT
135 if (pointer == NULL) {
138 ::GTestStreamToHelper(ss_, pointer);
196 inline void StreamHelper(internal::true_type /*dummy*/, T* pointer) { in StreamHelper() argument
197 if (pointer == NULL) { in StreamHelper()
200 ::GTestStreamToHelper(ss_, pointer); in StreamHelper()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-message.h134 inline Message& operator <<(T* const& pointer) { // NOLINT
135 if (pointer == NULL) {
138 ::GTestStreamToHelper(ss_, pointer);
196 inline void StreamHelper(internal::true_type dummy, T* pointer) { in StreamHelper() argument
197 if (pointer == NULL) { in StreamHelper()
200 ::GTestStreamToHelper(ss_, pointer); in StreamHelper()
/external/chromium/testing/gtest/include/gtest/
Dgtest-message.h139 inline Message& operator <<(T* const& pointer) { // NOLINT
140 if (pointer == NULL) {
143 ::GTestStreamToHelper(ss_.get(), pointer);
202 inline void StreamHelper(internal::true_type /*dummy*/, T* pointer) { in StreamHelper() argument
203 if (pointer == NULL) { in StreamHelper()
206 ::GTestStreamToHelper(ss_.get(), pointer); in StreamHelper()
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h139 inline Message& operator <<(T* const& pointer) { // NOLINT
140 if (pointer == NULL) {
143 ::GTestStreamToHelper(ss_.get(), pointer);
202 inline void StreamHelper(internal::true_type /*dummy*/, T* pointer) { in StreamHelper() argument
203 if (pointer == NULL) { in StreamHelper()
206 ::GTestStreamToHelper(ss_.get(), pointer); in StreamHelper()
/external/libffi/src/x86/
Dwin32.S72 # If the return value pointer is NULL, assume no return value.
87 # Load %ecx with the pointer to storage for the return value
95 # Load %ecx with the pointer to storage for the return value
103 # Load %ecx with the pointer to storage for the return value
111 # Load %ecx with the pointer to storage for the return value
119 # Load %ecx with the pointer to storage for the return value
127 # Load %ecx with the pointer to storage for the return value
135 # Load %ecx with the pointer to storage for the return value
183 # If the return value pointer is NULL, assume no return value.
198 # Load %ecx with the pointer to storage for the return value
[all …]

12345678910>>...44