Home
last modified time | relevance | path

Searched refs:Pointer (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp45 Pointer<Byte> cache = task + OFFSET(VertexTask, vertexCache); in generate()
46 Pointer<Byte> vertexCache = cache + OFFSET(VertexCache, vertex); in generate()
47 Pointer<UInt> tagCache = Pointer<UInt>(cache + OFFSET(VertexCache, tag)); in generate()
49 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask, vertexCount)); in generate()
72 Pointer<Byte> cacheEntry = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
81 batch = Pointer<UInt>(Pointer<Byte>(batch) + sizeof(uint32_t)); in generate()
89 void VertexRoutine::readInput(Pointer<UInt> &batch) in readInput()
98Pointer<Byte> input = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, input) + sizeof(void *) * (i… in readInput()
99 UInt stride = *Pointer<UInt>(data + OFFSET(DrawData, stride) + sizeof(uint32_t) * (i / 4)); in readInput()
100 Int baseVertex = *Pointer<Int>(data + OFFSET(DrawData, baseVertex)); in readInput()
[all …]
DSetupRoutine.cpp40 Pointer<Byte> device(function.Arg<0>()); in generate()
41 Pointer<Byte> primitive(function.Arg<1>()); in generate()
42 Pointer<Byte> tri(function.Arg<2>()); in generate()
43 Pointer<Byte> polygon(function.Arg<3>()); in generate()
44 Pointer<Byte> data(function.Arg<4>()); in generate()
46 Pointer<Byte> constants = device + OFFSET(vk::Device, constants); in generate()
56 Pointer<Byte> v0 = tri + V0; in generate()
57 Pointer<Byte> v1 = tri + V1; in generate()
58 Pointer<Byte> v2 = tri + V2; in generate()
63 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate()
[all …]
DPixelRoutine.cpp71 void PixelRoutine::quad(Pointer<Byte> cBuffer[MAX_COLOR_BUFFERS], Pointer<Byte> &zBuffer, Pointer<B… in quad()
100 …xFragment = SIMD::Float(Float(x)) + xMorton - SIMD::Float(*Pointer<Float>(primitive + OFFSET(Primi… in quad()
110 …x -= SIMD::Float(*Pointer<Float>(constants + OFFSET(Constants, SampleLocationsX) + q * sizeof(floa… in quad()
117 z[q] += SIMD::Float(*Pointer<Float>(primitive + OFFSET(Primitive, zBias))); in quad()
157 …xCentroid += SIMD::Float(*Pointer<Float4>(constants + OFFSET(Constants, sampleX[q]) + 16 * cMask[q… in quad()
158 …yCentroid += SIMD::Float(*Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q… in quad()
159 weight += SIMD::Float(*Pointer<Float4>(constants + OFFSET(Constants, weight) + 16 * cMask[q])); in quad()
334 void PixelRoutine::stencilTest(const Pointer<Byte> &sBuffer, const Int &x, Int sMask[4], const Samp… in stencilTest()
345 Pointer<Byte> buffer = sBuffer + x; in stencilTest()
349 buffer += q * *Pointer<Int>(data + OFFSET(DrawData, stencilSliceB)); in stencilTest()
[all …]
DVertexRoutine.hpp41 Pointer<Byte> device;
42 Pointer<Byte> vertex;
43 Pointer<UInt> batch;
44 Pointer<Byte> task;
45 Pointer<Byte> data;
60 Pointer<Byte> constants;
71 virtual void program(Pointer<UInt> &batch, UInt &vertexCount) = 0;
75 …Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, Pointer<UInt> &batc…
77 void readInput(Pointer<UInt> &batch);
80 void writeCache(Pointer<Byte> &vertexCache, Pointer<UInt> &tagCache, Pointer<UInt> &batch);
[all …]
DSetupRoutine.hpp36 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin…
37 …void edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Ya, const Int &…
38 void conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
39 void conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
DSamplerCore.hpp62 SamplerCore(Pointer<Byte> &constants, const Sampler &state, SamplerFunction function);
64 …SIMD::Float4 sampleTexture(Pointer<Byte> &texture, SIMD::Float uvwa[4], const SIMD::Float &dRef, c…
67 …Vector4f sampleTexture128(Pointer<Byte> &texture, Float4 uvwa[4], const Float4 &dRef, const Float …
70 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa…
71 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
72 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vec…
73 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vect…
74 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
75 …Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4i &offset, const…
76 …Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &…
[all …]
DSpirvShaderSampling.cpp131 …rr::Function<Void(Pointer<Byte>, Pointer<SIMD::Float>, Pointer<SIMD::Float>, Pointer<Byte>)> funct… in emitWriteRoutine()
133 Pointer<Byte> descriptor = function.Arg<0>(); in emitWriteRoutine()
134 Pointer<SIMD::Float> coord = function.Arg<1>(); in emitWriteRoutine()
135 Pointer<SIMD::Float> texelAndMask = function.Arg<2>(); in emitWriteRoutine()
136 Pointer<Byte> constants = function.Arg<3>(); in emitWriteRoutine()
147 …rr::Function<Void(Pointer<Byte>, Pointer<SIMD::Float>, Pointer<SIMD::Float>, Pointer<Byte>)> funct… in emitSamplerRoutine()
149 Pointer<Byte> texture = function.Arg<0>(); in emitSamplerRoutine()
150 Pointer<SIMD::Float> in = function.Arg<1>(); in emitSamplerRoutine()
151 Pointer<SIMD::Float> out = function.Arg<2>(); in emitSamplerRoutine()
152 Pointer<Byte> constants = function.Arg<3>(); in emitSamplerRoutine()
[all …]
/external/swiftshader/src/Device/
DBlitter.cpp327 Float4 Blitter::readFloat4(Pointer<Byte> element, const State &state) in readFloat4()
334 c.w = Float(Int(*Pointer<Byte>(element)) & Int(0xF)); in readFloat4()
335 c.x = Float((Int(*Pointer<Byte>(element)) >> 4) & Int(0xF)); in readFloat4()
336 c.y = Float(Int(*Pointer<Byte>(element + 1)) & Int(0xF)); in readFloat4()
337 c.z = Float((Int(*Pointer<Byte>(element + 1)) >> 4) & Int(0xF)); in readFloat4()
341 c.x = Float(Int(*Pointer<SByte>(element))); in readFloat4()
347 c.x = Float(Int(*Pointer<Byte>(element))); in readFloat4()
352 c.x = Float(Int(*Pointer<Short>(element))); in readFloat4()
357 c.x = Float(Int(*Pointer<UShort>(element))); in readFloat4()
361 c.x = Float(*Pointer<Int>(element)); in readFloat4()
[all …]
DQuadRasterizer.cpp43 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive, yMin)); in generate()
44 Int yMax = *Pointer<Int>(primitive + OFFSET(Primitive, yMax)); in generate()
63 UInt clusterOcclusion = *Pointer<UInt>(data + OFFSET(DrawData, occlusion) + 4 * cluster); in generate()
65 *Pointer<UInt>(data + OFFSET(DrawData, occlusion) + 4 * cluster) = clusterOcclusion; in generate()
73 Pointer<Byte> cBuffer[MAX_COLOR_BUFFERS]; in rasterize()
74 Pointer<Byte> zBuffer; in rasterize()
75 Pointer<Byte> sBuffer; in rasterize()
83 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, colorBuffer[index])) + yMin * *Po… in rasterize()
89 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, depthBuffer)) + yMin * *Pointer<Int>(dat… in rasterize()
94 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, stencilBuffer)) + yMin * *Pointer<Int>(d… in rasterize()
[all …]
/external/cronet/net/base/
Dpriority_queue.h50 class Pointer {
53 Pointer() : priority_(kNullPriority) { in Pointer() function
64 Pointer(const Pointer& p) in Pointer() function
72 Pointer& operator=(const Pointer& p) {
93 bool Equals(const Pointer& other) const { in Equals()
98 *this = Pointer(); in Reset()
114 Pointer(Priority priority, const ListIterator& iterator) in Pointer() function
147 Pointer Insert(T value, Priority priority) { in Insert()
160 return Pointer(priority, std::prev(list.end())); in Insert()
165 Pointer InsertAtFront(T value, Priority priority) { in InsertAtFront()
[all …]
/external/swiftshader/tests/ReactorUnitTests/
DReactorSIMD.cpp36 Pointer<Int> r = Pointer<Int>(function.Arg<0>()); in TEST()
37 Pointer<Int> a = Pointer<Int>(function.Arg<1>()); in TEST()
38 Pointer<Int> b = Pointer<Int>(function.Arg<2>()); in TEST()
42 SIMD::Int x = *Pointer<SIMD::Int>(&a[i]); in TEST()
43 SIMD::Int y = *Pointer<SIMD::Int>(&b[i]); in TEST()
47 *Pointer<SIMD::Int>(&r[i]) = z; in TEST()
75 Pointer<Int> r = Pointer<Int>(function.Arg<0>()); in TEST()
80 *Pointer<SIMD::Int>(r) = x; in TEST()
102 Pointer<Int> r = Pointer<Int>(function.Arg<0>()); in TEST()
103 Pointer<Int> a = Pointer<Int>(function.Arg<1>()); in TEST()
[all …]
DReactorUnitTests.cpp59 Pointer<Int> p = function.Arg<0>(); in TEST()
131 Pointer<Byte> secondary = Call(secondaryGenerator, z); in TEST()
291 Pointer<Int> p = &z; in TEST()
309 Pointer<Int> p = nullptr; in TEST()
314 If(p != Pointer<Int>(nullptr)) in TEST()
338 Pointer<Int> p = nullptr; in TEST()
344 If(p != Pointer<Int>(nullptr)) in TEST()
399 Int x = *Pointer<Int>(ConstantPointer(&c)); in TEST()
452 Pointer<Int> p; in TEST()
485 Pointer<Int> p = &a; in TEST()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_handlers_cxx.cc35 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, in HandleDynamicTypeCacheMiss() argument
37 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
42 DynamicTypeInfo DTI = getDynamicTypeInfoFromObject((void*)Pointer); in HandleDynamicTypeCacheMiss()
55 << TypeCheckKinds[Data->TypeCheckKind] << (void*)Pointer << Data->Type; in HandleDynamicTypeCacheMiss()
60 Diag(Pointer, DL_Note, "object has a possibly invalid vptr: abs(offset to top) too big") in HandleDynamicTypeCacheMiss()
62 << Range(Pointer, Pointer + sizeof(uptr), "possibly invalid vptr"); in HandleDynamicTypeCacheMiss()
64 Diag(Pointer, DL_Note, "object has invalid vptr") in HandleDynamicTypeCacheMiss()
66 << Range(Pointer, Pointer + sizeof(uptr), "invalid vptr"); in HandleDynamicTypeCacheMiss()
69 Diag(Pointer, DL_Note, "object is of type %0") in HandleDynamicTypeCacheMiss()
71 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %0"); in HandleDynamicTypeCacheMiss()
[all …]
/external/golang-protobuf/internal/impl/
Dpointer_unsafe.go19 type Pointer unsafe.Pointer type
40 type pointer struct{ p unsafe.Pointer }
43 func pointerOf(p Pointer) pointer { argument
44 return pointer{p: unsafe.Pointer(p)}
49 return pointer{p: unsafe.Pointer(v.Pointer())}
55 Type unsafe.Pointer
56 Data unsafe.Pointer
58 return pointer{p: (*ifaceHeader)(unsafe.Pointer(&v)).Data}
72 return pointer{p: unsafe.Pointer(uintptr(p.p) + uintptr(f))}
119 return pointer{p: *(*unsafe.Pointer)(p.p)}
[all …]
/external/golang-protobuf/reflect/protoreflect/
Dvalue_unsafe.go18 Data unsafe.Pointer
22 Data unsafe.Pointer
27 Type unsafe.Pointer
28 Data unsafe.Pointer
48 func typeOf(t interface{}) unsafe.Pointer {
49 return (*ifaceHeader)(unsafe.Pointer(&t)).Type
62 typ unsafe.Pointer // 8B
65 ptr unsafe.Pointer // 8B
76 p := (*stringHeader)(unsafe.Pointer(&v))
80 p := (*sliceHeader)(unsafe.Pointer(&v))
[all …]
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dlayout_test.cc370 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
371 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
376 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
377 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
378 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
380 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
382 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
383 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
384 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dlayout_test.cc372 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
374 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3).Pointer<0>(p)))); in TEST()
379 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
381 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
383 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
385 0, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
387 12, Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L(3, 5).Pointer<1>(p)))); in TEST()
[all …]
/external/go-cmp/cmp/
Dreport_references.go22 func formatPointer(p value.Pointer, withDelims bool) string { argument
34 type pointerReferences [][2]value.Pointer
36 … *pointerReferences) PushPair(vx, vy reflect.Value, d diffMode, deref bool) (pp [2]value.Pointer) {
45 pp = [2]value.Pointer{value.PointerOf(vx), value.PointerOf(vy)}
47 pp = [2]value.Pointer{value.PointerOf(vx), value.Pointer{}}
49 pp = [2]value.Pointer{value.Pointer{}, value.PointerOf(vy)}
55 func (ps *pointerReferences) Push(v reflect.Value) (p value.Pointer, seen bool) {
62 *ps = append(*ps, [2]value.Pointer{p, p})
72 type trunkReferences struct{ pp [2]value.Pointer }
76 type trunkReference struct{ p value.Pointer }
[all …]
/external/python/cffi/testing/cffi1/
Dtest_parse_c_type.py144 Pointer = make_getter('POINTER') variable
182 assert parse("int*") == [Prim(lib._CFFI_PRIM_INT), '->', Pointer(0)]
184 Pointer(0), Pointer(1), '->', Pointer(2)]
188 Pointer(0), '->', OpenArray(1)]
190 Pointer(0), Pointer(1),
193 NoOp(3), '->', Pointer(1), OpenArray(0)]
195 NoOp(3), '->', Pointer(1),
198 Pointer(0), Pointer(1),
199 NoOp(2), Pointer(3), '->', Pointer(4)]
201 Pointer(0), Pointer(1),
[all …]

12345678910>>...38