HomeSort by relevance Sort by last modified time
    Searched full:pointer (Results 1 - 25 of 16882) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/127-secondarydex/
expected.txt 3 Got null pointer exception
  /external/clang/test/Sema/
function-ptr.c 6 func = p; // expected-warning {{converts between void pointer and function pointer}}
7 p = func; // expected-warning {{converts between void pointer and function pointer}}
9 return p; // expected-warning {{converts between void pointer and function pointer}}
pointer-conversion.c 4 char const ** c2 = &c; // expected-warning {{discards qualifiers in nested pointer types}}
7 dchar *** c3 = &c2; // expected-warning {{discards qualifiers in nested pointer types}}
10 char ** c5 = &c4; // expected-warning {{discards qualifiers in nested pointer types}}
warn-null.c 5 // PR10837: Warn if a non-pointer-typed expression is folded to a null pointer
7 int *q = '\0'; // expected-warning{{expression which evaluates to zero treated as a null pointer constant}}
8 int *r = (1 - 1); // expected-warning{{expression which evaluates to zero treated as a null pointer constant}}
11 q = '\0'; // expected-warning{{expression which evaluates to zero treated as a null pointer constant}}
12 r = 1 - 1; // expected-warning{{expression which evaluates to zero treated as a null pointer constant}}
13 p = SOME_ADDR; // expected-warning{{expression which evaluates to zero treated as a null pointer constant}}
pointer-addition.c 7 b++; // expected-error {{arithmetic on a pointer to an incomplete type}}
8 b += 1; // expected-error {{arithmetic on a pointer to an incomplete type}}
9 c++; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
10 c += 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
11 c--; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
12 c -= 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
13 (void) c[1]; // expected-warning {{subscript of a pointer to void is a GNU extension}}
14 b = 1+b; // expected-error {{arithmetic on a pointer to an incomplete type}}
17 d += 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}}
18 d++; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}
    [all...]
  /external/llvm/test/tools/llvm-objdump/
macho-rebase.test 6 # CHECK: __DATA __data 0x00001010 pointer
7 # CHECK: __DATA __data 0x00001028 pointer
8 # CHECK: __DATA __data 0x00001030 pointer
9 # CHECK: __DATA __data 0x00001038 pointer
10 # CHECK: __DATA __data 0x00001040 pointer
11 # CHECK: __DATA __data 0x00001258 pointer
12 # CHECK: __DATA __mystuff 0x00001278 pointer
13 # CHECK: __DATA __mystuff 0x00001288 pointer
14 # CHECK: __DATA __mystuff 0x00001298 pointer
15 # CHECK: __DATA __mystuff 0x000012A8 pointer
    [all...]
macho-bind.test 5 # CHECK:__DATA __data 0x00001028 pointer 0 flat-namespace _any
6 # CHECK:__DATA __data 0x00001020 pointer 0 main-executable _fromApp
7 # CHECK:__DATA __data 0x00001018 pointer 0 this-image _myfunc
8 # CHECK:__DATA __data 0x00001000 pointer 0 libfoo _foo
9 # CHECK:__DATA __data 0x00001008 pointer 0 libbar _bar
10 # CHECK:__DATA __data 0x00001010 pointer 0 libSystem _malloc
macho-weak-bind.test 5 # CHECK: __DATA __data 0x100001018 pointer 0 __ZTISt12out_of_range
6 # CHECK: __DATA __data 0x100001020 pointer 0 __ZTISt12out_of_range
7 # CHECK: __DATA __data 0x100001028 pointer 0 __ZTISt12out_of_range
9 # CHECK: __DATA __data 0x100001018 pointer 0 __Znam
macho-bind2.test 3 # CHECK: __DATA __data 0x00001008 pointer 0 libSystem _malloc
4 # CHECK: __DATA __data 0x00001050 pointer 0 libSystem _malloc
5 # CHECK: __DATA __data 0x00001458 pointer 0 libSystem _malloc
  /external/valgrind/memcheck/tests/
pointer-trace.vgtest 1 prog: pointer-trace
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
infinite_recursion.py 106 ('p', POINTER(c_ubyte)),
113 ('max', POINTER(c_ubyte)),
114 ('q', POINTER(c_ubyte)),
115 ('pp', POINTER(POINTER(c_ubyte))),
128 ('data', POINTER(c_ubyte)),
139 ('data', POINTER(c_ubyte)),
148 ('enc', POINTER(c_ubyte)),
210 ('asn1_string', POINTER(ASN1_STRING)),
211 ('object', POINTER(ASN1_OBJECT))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/
infinite_recursion.py 106 ('p', POINTER(c_ubyte)),
113 ('max', POINTER(c_ubyte)),
114 ('q', POINTER(c_ubyte)),
115 ('pp', POINTER(POINTER(c_ubyte))),
128 ('data', POINTER(c_ubyte)),
139 ('data', POINTER(c_ubyte)),
148 ('enc', POINTER(c_ubyte)),
210 ('asn1_string', POINTER(ASN1_STRING)),
211 ('object', POINTER(ASN1_OBJECT))
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
get_allocation.rs 4 const int* pointer;
14 alloc_in = rsGetAllocation(pointer);
  /external/clang/test/Modules/Inputs/merge-nested-templates/
string.ii 9 template <typename pointer> struct basic_string {
10 typedef normal_iterator<pointer, basic_string> iterator;
  /external/clang/test/SemaObjC/
comptypes-7.m 27 obj = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id' from 'int'}}
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<MyProtocol>' from 'int'}}
31 obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'int *'}}
33 obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass *' from 'int'}}
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' from 'int'}}
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' from 'id'}}
40 i = obj_p; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' from 'id<MyProtocol>'}
    [all...]
arc-non-pod-memaccess.m 24 memcpy(sip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}} \
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 ownership-qualified type}} \
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 ownership-qualified type}} \
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-qualified type}} \
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-qualified type}} \
35 // expected-note{{explicitly cast the pointer to silence this warning}
    [all...]
  /external/clang/test/SemaCXX/
reinterpret-fn-obj-pedantic.cpp 7 void *vp = reinterpret_cast<void*>(fp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
8 (void)reinterpret_cast<fnptr>(vp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
warn-bad-memaccess.cpp 34 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
35 // expected-note {{explicitly cast the pointer to silence this warning}}
37 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
38 // expected-note {{explicitly cast the pointer to silence this warning}}
41 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
42 // expected-note {{explicitly cast the pointer to silence this warning}}
45 // expected-warning{{destination for this 'memmove' call is a pointer to dynamic class 'X1'; vtable pointer will be overwritten}} \
46 // expected-note {{explicitly cast the pointer to silence this warning}}
48 // expected-warning{{source of this 'memmove' call is a pointer to dynamic class 'X1'; vtable pointer will be moved}}
    [all...]
warn-undefined-bool-conversion.cpp 9 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true}}
12 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true}}
20 // expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true}}
23 // expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true}}
29 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true}
    [all...]
  /frameworks/compile/slang/tests/F_kernel_ptr_ret_val/
stderr.txt.expect 1 kernel_ptr_ret_val.rs:4:1: error: Compute kernel root() cannot return a pointer type: 'int *'
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3interfaces.h 45 /// Pointer to an instantiation of the 'class' #ANTLR3_BASE_RECOGNIZER
49 /// Pointer to an instantiation of 'class' #ANTLR3_RECOGNIZER_SHARED_STATE
54 /// Pointer to an instantiation of 'class' #ANTLR3_BITSET_LIST
59 /// Pointer to an instantiation of 'class' #ANTLR3_BITSET
64 /// Pointer to an instantiation of 'class' #ANTLR3_TOKEN_FACTORY
68 /// Pointer to an instantiation of 'class' #ANTLR3_COMMON_TOKEN
73 /// Pointer to an instantiation of 'class' #ANTLR3_EXCEPTION
78 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_BUCKET
82 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_ENTRY
86 /// Pointer to an instantiation of 'class' #ANTLR3_HASH_ENUM
    [all...]
  /external/clang/test/SemaOpenCL/
address-spaces.cl 10 ip = gip; // expected-error {{assigning '__global int *' to 'int *' changes address space of pointer}}
11 ip = &li; // expected-error {{assigning '__local int *' to 'int *' changes address space of pointer}}
12 ip = &ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of pointer}}
17 g = (global int*) l; // expected-error {{casting '__local int *' to type '__global int *' changes address space of pointer}}
18 g = (global int*) c; // expected-error {{casting '__constant int *' to type '__global int *' changes address space of pointer}}
19 g = (global int*) cc; // expected-error {{casting 'const __constant int *' to type '__global int *' changes address space of pointer}}
20 g = (global int*) p; // expected-error {{casting 'int *' to type '__global int *' changes address space of pointer}}
22 l = (local int*) g; // expected-error {{casting '__global int *' to type '__local int *' changes address space of pointer}}
23 l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' changes address space of pointer}}
24 l = (local int*) cc; // expected-error {{casting 'const __constant int *' to type '__local int *' changes address space of pointer}}
    [all...]
  /external/clang/test/Parser/
pointer_promotion.c 11 if (ip < cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
12 if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}}
13 if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}
14 if (ip < 7) {} // expected-warning {{comparison between pointer and integer ('int *' and 'int')}}
15 if (sint < ip) {} // expected-warning {{comparison between pointer and integer ('int' and 'int *')}}
16 if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
  /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...]

Completed in 304 milliseconds

1 2 3 4 5 6 7 8 91011>>