Home
last modified time | relevance | path

Searched full:pointer (Results 1 – 25 of 9158) sorted by relevance

12345678910>>...367

/external/golang-protobuf/proto/
Dpointer_unsafe.go46 // A field identifies a field in a struct, accessible from a pointer.
58 // zeroField is a noop when calling pointer.offset.
66 // The pointer type below is for the new table-driven encoder/decoder.
67 // The implementation here uses unsafe.Pointer to create a generic pointer.
70 type pointer struct { struct
71 p unsafe.Pointer
74 // size of pointer
77 // toPointer converts an interface of pointer type to a pointer
79 func toPointer(i *Message) pointer {
80 // Super-tricky - read pointer out of data word of interface value.
[all …]
Dpointer_reflect.go47 // A field identifies a field in a struct, accessible from a pointer.
60 // zeroField is a noop when calling pointer.offset.
66 // The pointer type is for the table-driven decoder.
67 // The implementation here uses a reflect.Value of pointer type to
68 // create a generic pointer. In pointer_unsafe.go we use unsafe
70 type pointer struct { struct
74 // toPointer converts an interface of pointer type to a pointer
76 func toPointer(i *Message) pointer {
77 return pointer{v: reflect.ValueOf(*i)}
80 // toAddrPointer converts an interface to a pointer that points to
[all …]
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dpointer_unsafe.go46 // A field identifies a field in a struct, accessible from a pointer.
58 // zeroField is a noop when calling pointer.offset.
66 // The pointer type below is for the new table-driven encoder/decoder.
67 // The implementation here uses unsafe.Pointer to create a generic pointer.
70 type pointer struct { struct
71 p unsafe.Pointer
74 // size of pointer
77 // toPointer converts an interface of pointer type to a pointer
79 func toPointer(i *Message) pointer {
80 // Super-tricky - read pointer out of data word of interface value.
[all …]
Dpointer_reflect.go47 // A field identifies a field in a struct, accessible from a pointer.
60 // zeroField is a noop when calling pointer.offset.
66 // The pointer type is for the table-driven decoder.
67 // The implementation here uses a reflect.Value of pointer type to
68 // create a generic pointer. In pointer_unsafe.go we use unsafe
70 type pointer struct { struct
74 // toPointer converts an interface of pointer type to a pointer
76 func toPointer(i *Message) pointer {
77 return pointer{v: reflect.ValueOf(*i)}
80 // toAddrPointer converts an interface to a pointer that points to
[all …]
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py106 ('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)),
212 ('integer', POINTER(ASN1_INTEGER)),
[all …]
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py106 ('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)),
212 ('integer', POINTER(ASN1_INTEGER)),
[all …]
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp44 Pointer<Byte> cache = task + OFFSET(VertexTask,vertexCache); in generate()
45 Pointer<Byte> vertexCache = cache + OFFSET(VertexCache,vertex); in generate()
46 Pointer<Byte> tagCache = cache + OFFSET(VertexCache,tag); in generate()
48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask,vertexCount)); in generate()
49 UInt primitiveNumber = *Pointer<UInt>(task + OFFSET(VertexTask, primitiveStart)); in generate()
52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate()
56 UInt index = *Pointer<UInt>(batch); in generate()
60 If(*Pointer<UInt>(tagCache + tagIndex) != indexQ) in generate()
62 *Pointer<UInt>(tagCache + tagIndex) = indexQ; in generate()
69 Pointer<Byte> cacheLine0 = vertexCache + tagIndex * UInt((int)sizeof(Vertex)); in generate()
[all …]
DSetupRoutine.cpp40 Function<Bool(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in generate()
42 Pointer<Byte> primitive(function.Arg<0>()); in generate()
43 Pointer<Byte> tri(function.Arg<1>()); in generate()
44 Pointer<Byte> polygon(function.Arg<2>()); in generate()
45 Pointer<Byte> data(function.Arg<3>()); in generate()
47 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData,constants)); in generate()
59 Pointer<Byte> v0 = tri + V0; in generate()
60 Pointer<Byte> v1 = tri + V1; in generate()
61 Pointer<Byte> v2 = tri + V2; in generate()
66 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
[all …]
DPixelRoutine.cpp51 …void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte… in quad()
76 Float4 xxxx = Float4(Float(x)) + *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16); in quad()
86 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad()
109 Float4 yyyy = Float4(Float(y)) + *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16); in quad()
121 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad()
122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
123 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad()
247 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q… in quad()
255 AddAtomic(Pointer<Long>(&profiler.ropOperations), 4); in quad()
281 …Float4 PixelRoutine::interpolateCentroid(Float4 &x, Float4 &y, Float4 &rhw, Pointer<Byte> planeEqu… in interpolateCentroid()
[all …]
/external/swiftshader/src/Shader/
DVertexRoutine.cpp44 Pointer<Byte> cache = task + OFFSET(VertexTask,vertexCache); in generate()
45 Pointer<Byte> vertexCache = cache + OFFSET(VertexCache,vertex); in generate()
46 Pointer<Byte> tagCache = cache + OFFSET(VertexCache,tag); in generate()
48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask,vertexCount)); in generate()
49 UInt primitiveNumber = *Pointer<UInt>(task + OFFSET(VertexTask, primitiveStart)); in generate()
52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate()
56 UInt index = *Pointer<UInt>(batch); in generate()
60 If(*Pointer<UInt>(tagCache + tagIndex) != indexQ) in generate()
62 *Pointer<UInt>(tagCache + tagIndex) = indexQ; in generate()
69 Pointer<Byte> cacheLine0 = vertexCache + tagIndex * UInt((int)sizeof(Vertex)); in generate()
[all …]
DSetupRoutine.cpp40 Function<Bool(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in generate()
42 Pointer<Byte> primitive(function.Arg<0>()); in generate()
43 Pointer<Byte> tri(function.Arg<1>()); in generate()
44 Pointer<Byte> polygon(function.Arg<2>()); in generate()
45 Pointer<Byte> data(function.Arg<3>()); in generate()
47 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData,constants)); in generate()
61 Pointer<Byte> v0 = tri + V0; in generate()
62 Pointer<Byte> v1 = tri + V1; in generate()
63 Pointer<Byte> v2 = tri + V2; in generate()
68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
[all …]
DPixelRoutine.cpp51 …void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte… in quad()
76 Float4 xxxx = Float4(Float(x)) + *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16); in quad()
86 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad()
109 Float4 yyyy = Float4(Float(y)) + *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16); in quad()
121 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad()
122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
123 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad()
247 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q… in quad()
255 AddAtomic(Pointer<Long>(&profiler.ropOperations), 4); in quad()
281 …Float4 PixelRoutine::interpolateCentroid(Float4 &x, Float4 &y, Float4 &rhw, Pointer<Byte> planeEqu… in interpolateCentroid()
[all …]
/external/wayland-protocols/freedesktop.org/unstable/pointer-constraints/
Dpointer-constraints-unstable-v1.xml28 <description summary="protocol for constraining pointer motions">
30 the motion of a pointer. Possible constraints include confining pointer
33 In order to constrain the pointer, a client must first bind the global
34 interface "wp_pointer_constraints" which, if a compositor supports pointer
50 <description summary="constrain the movement of a pointer">
51 The global interface exposing pointer constraining functionality. It
52 exposes two requests: lock_pointer for locking the pointer to its
53 position, and confine_pointer for locking the pointer to a region.
72 summary="pointer constraint already requested on that surface"/>
82 <description summary="the pointer constraint is defunct once deactivated">
[all …]
/external/swiftshader/src/Renderer/
DBlitter.cpp224 bool Blitter::read(Float4 &c, Pointer<Byte> element, const State &state) in read()
231 c.xyz = Float(Int(*Pointer<Byte>(element))); in read()
235 c.w = Float(Int(*Pointer<Byte>(element))); in read()
239 c.x = Float(Int(*Pointer<SByte>(element))); in read()
244 c.x = Float(Int(*Pointer<Byte>(element))); in read()
248 c.x = Float(Int(*Pointer<Short>(element))); in read()
252 c.x = Float(Int(*Pointer<UShort>(element))); in read()
256 c.x = Float(*Pointer<Int>(element)); in read()
260 c.x = Float(*Pointer<UInt>(element)); in read()
264 c = Float4(*Pointer<Byte4>(element)).zyxw; in read()
[all …]
/external/clang/test/SemaCXX/
Dwarn-undefined-bool-conversion.cpp9 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test1()
12 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test1()
20 …// expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; pointer may be ass… in foo()
23 …// expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; pointer may be ass… in foo()
29 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in bar()
32 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in bar()
52 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test()
54 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test()
56 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test()
59 …ning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer in test()
[all …]
Dwarn-bad-memaccess.cpp34 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \ in test_warn()
35 // expected-note {{explicitly cast the pointer to silence this warning}} in test_warn()
37 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \ in test_warn()
38 // expected-note {{explicitly cast the pointer to silence this warning}} in test_warn()
41 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \ in test_warn()
42 // expected-note {{explicitly cast the pointer to silence this warning}} in test_warn()
45 …ted-warning{{destination for this 'memmove' call is a pointer to dynamic class 'X1'; vtable pointe… in test_warn()
46 // expected-note {{explicitly cast the pointer to silence this warning}} in test_warn()
48 … expected-warning{{source of this 'memmove' call is a pointer to dynamic class 'X1'; vtable pointe… in test_warn()
49 // expected-note {{explicitly cast the pointer to silence this warning}} in test_warn()
[all …]
Dnullability.cpp13 // Nullability applies to all pointer types.
16 …xpected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'nullptr_t'}}
26 …; // expected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'int'}}
27 …// expected-error@-1{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'null…
39 …xpected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'AddNonNull<…
40 …xpected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'AddNonNull2…
41 …xpected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'AddNonNull2…
46 …xpected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'AddNonNull<…
75 …xpected-warning{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable poin… in AssignAndInitNonNull()
76 …xpected-warning{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable poin… in AssignAndInitNonNull()
[all …]
/external/deqp/scripts/opengl/
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(size = "n")}),
[all …]
/external/swiftshader/src/Device/
DBlitter.cpp224 bool Blitter::read(Float4 &c, Pointer<Byte> element, const State &state) in read()
231 c.w = Float(Int(*Pointer<Byte>(element)) & Int(0xF)); in read()
232 c.x = Float((Int(*Pointer<Byte>(element)) >> 4) & Int(0xF)); in read()
233 c.y = Float(Int(*Pointer<Byte>(element + 1)) & Int(0xF)); in read()
234 c.z = Float((Int(*Pointer<Byte>(element + 1)) >> 4) & Int(0xF)); in read()
238 c.x = Float(Int(*Pointer<SByte>(element))); in read()
243 c.x = Float(Int(*Pointer<Byte>(element))); in read()
247 c.x = Float(Int(*Pointer<Short>(element))); in read()
251 c.x = Float(Int(*Pointer<UShort>(element))); in read()
255 c.x = Float(*Pointer<Int>(element)); in read()
[all …]
/external/swiftshader/src/Main/
DFrameBuffer.cpp175 Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in copyRoutine()
177 Pointer<Byte> dst(function.Arg<0>()); in copyRoutine()
178 Pointer<Byte> src(function.Arg<1>()); in copyRoutine()
179 Pointer<Byte> cursor(function.Arg<2>()); in copyRoutine()
183 Pointer<Byte> d = dst + y * dStride; in copyRoutine()
184 Pointer<Byte> s = src + y * sStride; in copyRoutine()
201 *Pointer<Int4>(d, 1) = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine()
211 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine()
213 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine()
224 Short4 c0 = As<UShort4>(Swizzle(*Pointer<Short4>(s + 0), 0xC6)) >> 8; in copyRoutine()
[all …]
/external/clang/test/OpenMP/
Dtarget_data_use_device_ptr_messages.cpp24 …xpected-note {{to match this '('}} expected-error {{expected pointer or reference to pointer in 'u… in func()
26 …t data map(i) use_device_ptr(i) // expected-error {{expected pointer or reference to pointer in 'u… in func()
28 …t data map(i) use_device_ptr(j) // expected-error {{expected pointer or reference to pointer in 'u… in func()
34 …t data map(i) use_device_ptr(aa) // expected-error{{expected pointer or reference to pointer in 'u… in func()
36 …et data map(i) use_device_ptr(e) // expected-error{{expected pointer or reference to pointer in 'u… in func()
38 …et data map(i) use_device_ptr(g) // expected-error{{expected pointer or reference to pointer in 'u… in func()
40 …a map(i) use_device_ptr(k,i,j) // expected-error2 {{expected pointer or reference to pointer in 'u… in func()
42 …et data map(i) use_device_ptr(d) // expected-error{{expected pointer or reference to pointer in 'u… in func()
44 …t data map(i) use_device_ptr(da) // expected-error{{expected pointer or reference to pointer in 'u… in func()
140 …expected-note {{to match this '('}} expected-error{{expected pointer or reference to pointer in 'u… in tmain()
[all …]
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzsyscall_solaris_amd64.go403 …r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0…
412 …= sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa…
424 …r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uin…
433 …r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsa…
442 …_, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsaf…
450 …all6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintp…
463 …r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgethostname)), 2, uintptr(unsafe.Pointer(_p0))…
477 …, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintp…
490 …:= sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)…
498 …r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr…
[all …]
/external/antlr/runtime/C/include/
Dantlr3interfaces.h45 /// 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/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 …]
/external/swiftshader/src/WSI/
DFrameBuffer.cpp175 Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in copyRoutine()
177 Pointer<Byte> dst(function.Arg<0>()); in copyRoutine()
178 Pointer<Byte> src(function.Arg<1>()); in copyRoutine()
179 Pointer<Byte> cursor(function.Arg<2>()); in copyRoutine()
183 Pointer<Byte> d = dst + y * dStride; in copyRoutine()
184 Pointer<Byte> s = src + y * sStride; in copyRoutine()
199 *Pointer<Int4>(d, 1) = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine()
208 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine()
210 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine()
221 Short4 c0 = As<UShort4>(Swizzle(*Pointer<Short4>(s + 0), 0xC6)) >> 8; in copyRoutine()
[all …]

12345678910>>...367