Home
last modified time | relevance | path

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

12345678910>>...55

/minix3/usr.bin/telnet/
H A Dutilities.c288 unsigned char *pointer, /* where suboption data sits */ in printsub() argument
298 (want_status_response && (pointer[0] == TELOPT_STATUS))) { in printsub()
305 i = pointer[length-2]; in printsub()
306 j = pointer[length-1]; in printsub()
333 switch (pointer[0]) { in printsub()
336 switch (pointer[1]) { in printsub()
338 fprintf(NetTrace, "IS \"%.*s\"", length-2, (char *)pointer+2); in printsub()
346 pointer[1], pointer[1]); in printsub()
355 switch (pointer[1]) { in printsub()
358 fprintf(NetTrace, "%.*s", length-2, (char *)pointer+2); in printsub()
[all …]
/minix3/libexec/telnetd/
H A Dutility.c516 unsigned char *pointer, /* where suboption data sits */ in printsub() argument
533 i = pointer[length - 2]; in printsub()
534 j = pointer[length - 1]; in printsub()
559 switch (pointer[0]) { in printsub()
562 switch (pointer[1]) { in printsub()
564 output_data("IS \"%.*s\"", length-2, (char *)pointer+2); in printsub()
571 pointer[1], pointer[1]); in printsub()
580 switch (pointer[1]) { in printsub()
582 output_data(" IS %.*s", length-2, (char *)pointer+2); in printsub()
585 if (pointer[1] == 1) in printsub()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/SemaObjC/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 *'}}
H A Dobjcbridge-attribute-arc.m44 …// expected-error {{cast of C pointer type 'CFTestingRef' (aka 'struct __CFError *') to Objective-…
70 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objectiv…
73 … *)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to O…
76 …r*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to O…
79 …cf2; // expected-error {{cast of C pointer type 'CFUColor2Ref' (aka 'union __CFUPrimeColor *') to …
82 …d)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointer ty…
86 …// expected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (…
90 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objectiv…
94 …// expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '…
101 …id)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorRef *') to Ob…
[all …]
H A 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 …]
H A 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}}
/minix3/external/bsd/llvm/dist/clang/test/Sema/
H A Dnonnull.c90 int evil_nonnull_func(int* pointer, void * pv) in evil_nonnull_func() argument
92 …if (pointer == NULL) { // expected-warning {{comparison of nonnull parameter 'pointer' equal to a… in evil_nonnull_func()
95 return *pointer; in evil_nonnull_func()
98 pointer = pv; in evil_nonnull_func()
99 if (!pointer) in evil_nonnull_func()
102 return *pointer; in evil_nonnull_func()
108 int another_evil_nonnull_func(int* pointer, char ch, void * pv) __attribute__((nonnull(1, 3)));
109 int another_evil_nonnull_func(int* pointer, char ch, void * pv) { in another_evil_nonnull_func() argument
110 …if (pointer == NULL) { // expected-warning {{comparison of nonnull parameter 'pointer' equal to a … in another_evil_nonnull_func()
113 return *pointer; in another_evil_nonnull_func()
[all …]
H A Dwarn-tautological-compare.c38 int test2(int* pointer, char ch, void * pv) { in test2() argument
39 if (!&pointer) { // expected-warning {{address of 'pointer' will always evaluate to 'true'}} in test2()
43 if (&pointer) { // expected-warning {{address of 'pointer' will always evaluate to 'true'}} in test2()
47 …if (&pointer == NULL) {} // expected-warning {{comparison of address of 'pointer' equal to a null … in test2()
49 …if (&pointer != NULL) {} // expected-warning {{comparison of address of 'pointer' not equal to a n… in test2()
/minix3/external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/
H A Dmacho-rebase.test6 # 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
H A Dmacho-bind.test5 # 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
/minix3/external/bsd/llvm/dist/clang/test/SemaOpenCL/
H A Daddress-spaces.cl10 …= gip; // expected-error {{assigning '__global int *' to 'int *' changes address space of pointer}}
11 … = &li; // expected-error {{assigning '__local int *' to 'int *' changes address space of pointer}}
12 …&ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of pointer}}
17 …xpected-error {{casting '__local int *' to type '__global int *' changes address space of pointer}}
18 …cted-error {{casting '__constant int *' to type '__global int *' changes address space of pointer}}
19 …rror {{casting 'const __constant int *' to type '__global int *' changes address space of pointer}}
20 … // expected-error {{casting 'int *' to type '__global int *' changes address space of pointer}}
22 …xpected-error {{casting '__global int *' to type '__local int *' changes address space of pointer}}
23 …ected-error {{casting '__constant int *' to type '__local int *' changes address space of pointer}}
24 …error {{casting 'const __constant int *' to type '__local int *' changes address space of pointer}}
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/
H A Dcryptlib.c189 static int (MS_FAR *add_lock_callback) (int *pointer, int amount,
244 CRYPTO_dynlock *pointer = NULL; in CRYPTO_get_new_dynlockid() local
260 pointer = (CRYPTO_dynlock *) OPENSSL_malloc(sizeof(CRYPTO_dynlock)); in CRYPTO_get_new_dynlockid()
261 if (pointer == NULL) { in CRYPTO_get_new_dynlockid()
265 pointer->references = 1; in CRYPTO_get_new_dynlockid()
266 pointer->data = dynlock_create_callback(__FILE__, __LINE__); in CRYPTO_get_new_dynlockid()
267 if (pointer->data == NULL) { in CRYPTO_get_new_dynlockid()
268 OPENSSL_free(pointer); in CRYPTO_get_new_dynlockid()
283 i = sk_CRYPTO_dynlock_push(dyn_locks, pointer) - 1; in CRYPTO_get_new_dynlockid()
288 (void)sk_CRYPTO_dynlock_set(dyn_locks, i, pointer); in CRYPTO_get_new_dynlockid()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/SemaObjCXX/
H A Dobjcbridge-attribute-arc.mm31 …// expected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C point…
57 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
60 …ror *)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
63 …rror*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
66 … *)cf2; // expected-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Obj…
69 …d)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointer ty…
73 …// expected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (…
77 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
81 …// expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '…
88 …id)(id)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objec…
[all …]
H A Dobjcbridge-attribute.mm31 …// expected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C point…
57 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
60 …ror *)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
63 …rror*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
66 … *)cf2; // expected-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Obj…
69 …d)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointer ty…
73 …// expected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (…
77 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
81 …// expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '…
88 …id)(id)cf; // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objec…
[all …]
H A Dobjcbridge-static-cast.mm31 …// expected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C point…
57 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
60 …r *>(cf); // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
63 …or*>(cf); // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objec…
66 …>(cf2); // expected-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Obj…
69 …<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointer ty…
73 …// expected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (…
77 …// expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C poi…
81 …// expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '…
88 …t<id>(cf); // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objec…
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/support/
H A Dtest_allocator.h49 typedef value_type* pointer; typedef
63 pointer address(reference x) const {return &x;} in address()
65 pointer allocate(size_type n, const void* = 0)
77 return (pointer)::operator new(n * sizeof(T));
79 void deallocate(pointer p, size_type n) in deallocate()
83 void construct(pointer p, const T& val) in construct()
86 void construct(pointer p, T&& val) in construct()
89 void destroy(pointer p) {p->~T();} in destroy()
109 typedef value_type* pointer; typedef
123 pointer address(reference x) const {return &x;} in address()
[all …]
/minix3/external/bsd/tcpdump/dist/
H A Dprint-sflow.c305 const u_char *pointer, u_int len) in print_sflow_counter_generic() argument
313 sflow_gen_counter = (const struct sflow_generic_counter_t *)pointer; in print_sflow_counter_generic()
351 const u_char *pointer, u_int len) in print_sflow_counter_ethernet() argument
358 sflow_eth_counter = (const struct sflow_ethernet_counter_t *)pointer; in print_sflow_counter_ethernet()
381 const u_char *pointer _U_, u_int len _U_) in print_sflow_counter_token_ring()
388 const u_char *pointer, u_int len) in print_sflow_counter_basevg() argument
395 sflow_100basevg_counter = (const struct sflow_100basevg_counter_t *)pointer; in print_sflow_counter_basevg()
424 const u_char *pointer, u_int len) in print_sflow_counter_vlan() argument
431 sflow_vlan_counter = (const struct sflow_vlan_counter_t *)pointer; in print_sflow_counter_vlan()
454 const u_char *pointer, u_int len) in print_sflow_counter_processor() argument
[all …]
/minix3/bin/sh/
H A Dmemalloc.h50 pointer ckmalloc(size_t);
51 pointer ckrealloc(pointer, int);
53 pointer stalloc(int);
54 void stunalloc(pointer);
77 #define ckfree(p) free((pointer)(p))
/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/
H A Dpointer_type.pass.cpp21 struct pointer {}; struct
28 static_assert((std::is_same<P::pointer, int*>::value), ""); in main()
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), ""); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/
H A Dpointer_type.pass.cpp21 struct pointer {}; struct
28 static_assert((std::is_same<P::pointer, int*>::value), ""); in main()
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), ""); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/
H A Dpointer_type.pass.cpp21 struct pointer {}; struct
28 static_assert((std::is_same<P::pointer, int*>::value), ""); in main()
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), ""); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/
H A Dpointer_type.pass.cpp21 struct pointer {}; struct
28 static_assert((std::is_same<P::pointer, int*>::value), ""); in main()
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), ""); in main()

12345678910>>...55