Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 1668) sorted by relevance

12345678910>>...67

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableReferenceFactory.java32 package org.jf.dexlib2.immutable.reference;
35 import org.jf.dexlib2.iface.reference.*;
42 public static ImmutableReference of(Reference reference) { in of() argument
43 if (reference instanceof StringReference) { in of()
44 return ImmutableStringReference.of((StringReference)reference); in of()
46 if (reference instanceof TypeReference) { in of()
47 return ImmutableTypeReference.of((TypeReference)reference); in of()
49 if (reference instanceof FieldReference) { in of()
50 return ImmutableFieldReference.of((FieldReference)reference); in of()
52 if (reference instanceof MethodReference) { in of()
[all …]
/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp114 bool comparePixelRGBA8 (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& resu… in comparePixelRGBA8() argument
122 const deUint32 x2 = (deUint32)de::min(x+1, reference.getWidth()-1); in comparePixelRGBA8()
125 const deUint32 y2 = (deUint32)de::min(y+1, reference.getHeight()-1); in comparePixelRGBA8()
127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8()
128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8()
129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8()
130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8()
131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8()
132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8()
133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8()
[all …]
DtcuImageCompare.cpp44 void computeScaleAndBias (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& re… in computeScaleAndBias() argument
53 estimatePixelValueRange(reference, refMin, refMax); in computeScaleAndBias()
91 …xels (const PixelBufferAccess& errorMask, const ConstPixelBufferAccess& reference, const ConstPixe… in findNumPositionDeviationFailingPixels() argument
95 const int width = reference.getWidth(); in findNumPositionDeviationFailingPixels()
96 const int height = reference.getHeight(); in findNumPositionDeviationFailingPixels()
97 const int depth = reference.getDepth(); in findNumPositionDeviationFailingPixels()
118 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels()
164 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels()
216 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in fuzzyCompare() argument
219 …extureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHe… in fuzzyCompare()
[all …]
DtcuImageCompare.hpp47 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& …
48 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& …
49 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& …
51 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
52 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
53 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
54 …g& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixe…
55 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
56 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
57 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe…
[all …]
/external/guava/guava/src/com/google/common/base/
DPresent.java33 private final T reference; field in Present
35 Present(T reference) { in Present() argument
36 this.reference = reference; in Present()
44 return reference; in get()
49 return reference; in or()
59 return reference; in or()
63 return reference; in orNull()
67 return Collections.singleton(reference); in asSet()
71 return new Present<V>(checkNotNull(function.apply(reference), in transform()
78 return reference.equals(other.reference); in equals()
[all …]
DEquivalence.java150 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) { in wrap() argument
151 return new Wrapper<S>(this, reference); in wrap()
174 @Nullable private final T reference; field in Equivalence.Wrapper
176 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() argument
178 this.reference = reference; in Wrapper()
183 return reference; in get()
205 return equivalence.equivalent(this.reference, that.reference); in equals()
215 return equivalence.hash(reference); in hashCode()
223 return equivalence + ".wrap(" + reference + ")"; in toString()
/external/libxml2/python/tests/
Dsync.py51 reference = "startDocument:startElement foo None:startElement bar2 None:endElement bar2:" variable
52 if log != reference:
54 print("Expected: %s" % reference)
63 reference = "startDocument:startElement foo None:startElement bar2 None:endElement bar2:" variable
64 if log != reference:
66 print("Expected: %s" % reference)
75 reference = "startDocument:startElement foo None:startElement bar2 None:" variable
76 if log != reference:
78 print("Expected: %s" % reference)
91 print("Expected: %s" % reference)
[all …]
/external/libxml2/result/
Dent_738805.xml.sax22 SAX.reference(a)
26 SAX.reference(a)
32 SAX.reference(a)
33 SAX.reference(b)
37 SAX.reference(a)
42 SAX.reference(a)
47 SAX.reference(a)
48 SAX.reference(b)
54 SAX.reference(a)
55 SAX.reference(b)
[all …]
Dent_738805.xml.sax222 SAX.reference(a)
26 SAX.reference(a)
32 SAX.reference(a)
33 SAX.reference(b)
37 SAX.reference(a)
42 SAX.reference(a)
47 SAX.reference(a)
48 SAX.reference(b)
54 SAX.reference(a)
55 SAX.reference(b)
[all …]
/external/liblzf/src/org/liblzf/
DCLZF.java167 int reference; in lzf_compress() local
179 reference = htab[hslot]; in lzf_compress()
182 if ((off = iidx - reference - 1) < MAX_OFF in lzf_compress()
184 && reference > 0 in lzf_compress()
185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress()
186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress()
187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress()
200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress()
304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress() local
309 reference -= in_data[iidx++] & 0xff; in lzf_decompress()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java34 import org.jf.dexlib2.iface.reference.*;
122 public static String getReferenceString(@Nonnull Reference reference) { in getReferenceString() argument
123 return getReferenceString(reference, null); in getReferenceString()
127 …public static String getReferenceString(@Nonnull Reference reference, @Nullable String containingC… in getReferenceString() argument
128 if (reference instanceof StringReference) { in getReferenceString()
129 …return String.format("\"%s\"", StringUtils.escapeString(((StringReference)reference).getString())); in getReferenceString()
131 if (reference instanceof TypeReference) { in getReferenceString()
132 return ((TypeReference)reference).getType(); in getReferenceString()
134 if (reference instanceof FieldReference) { in getReferenceString()
135 FieldReference fieldReference = (FieldReference)reference; in getReferenceString()
[all …]
/external/liblzf/cs/
DCLZF.cs167 long reference; in lzf_compress()
179 reference = htab[hslot]; in lzf_compress()
182 if ((off = iidx - reference - 1) < MAX_OFF in lzf_compress()
184 && reference > 0 in lzf_compress()
185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress()
186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress()
187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress()
200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress()
304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress()
309 reference -= in_data[iidx++]; in lzf_decompress()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstruction20bc.java38 import org.jf.dexlib2.iface.reference.Reference;
39 import org.jf.dexlib2.immutable.reference.ImmutableReference;
40 import org.jf.dexlib2.immutable.reference.ImmutableReferenceFactory;
49 @Nonnull protected final ImmutableReference reference; field in ImmutableInstruction20bc
53 @Nonnull Reference reference) { in ImmutableInstruction20bc() argument
56 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction20bc()
70 @Nonnull @Override public ImmutableReference getReference() { return reference; } in getReference()
71 @Override public int getReferenceType() { return ReferenceType.getReferenceType(reference); } in getReferenceType()
DImmutableInstruction31c.java37 import org.jf.dexlib2.iface.reference.Reference;
38 import org.jf.dexlib2.immutable.reference.ImmutableReference;
39 import org.jf.dexlib2.immutable.reference.ImmutableReferenceFactory;
48 @Nonnull protected final ImmutableReference reference; field in ImmutableInstruction31c
52 @Nonnull Reference reference) { in ImmutableInstruction31c() argument
55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction31c()
69 @Nonnull @Override public ImmutableReference getReference() { return reference; } in getReference()
DImmutableInstruction21c.java37 import org.jf.dexlib2.iface.reference.Reference;
38 import org.jf.dexlib2.immutable.reference.ImmutableReference;
39 import org.jf.dexlib2.immutable.reference.ImmutableReferenceFactory;
48 @Nonnull protected final ImmutableReference reference; field in ImmutableInstruction21c
52 @Nonnull Reference reference) { in ImmutableInstruction21c() argument
55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction21c()
69 @Nonnull @Override public ImmutableReference getReference() { return reference; } in getReference()
DImmutableInstruction3rc.java37 import org.jf.dexlib2.iface.reference.Reference;
38 import org.jf.dexlib2.immutable.reference.ImmutableReference;
39 import org.jf.dexlib2.immutable.reference.ImmutableReferenceFactory;
50 @Nonnull protected final ImmutableReference reference; field in ImmutableInstruction3rc
55 @Nonnull Reference reference) { in ImmutableInstruction3rc() argument
59 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction3rc()
75 @Nonnull @Override public ImmutableReference getReference() { return reference; } in getReference()
DImmutableInstruction22c.java37 import org.jf.dexlib2.iface.reference.Reference;
38 import org.jf.dexlib2.immutable.reference.ImmutableReference;
39 import org.jf.dexlib2.immutable.reference.ImmutableReferenceFactory;
49 @Nonnull protected final ImmutableReference reference; field in ImmutableInstruction22c
54 @Nonnull Reference reference) { in ImmutableInstruction22c() argument
58 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction22c()
74 @Nonnull @Override public ImmutableReference getReference() { return reference; } in getReference()
DImmutableInstructionFactory.java36 import org.jf.dexlib2.iface.reference.Reference;
77 @Nonnull Reference reference) { in makeInstruction20bc() argument
78 return new ImmutableInstruction20bc(opcode, verificationError, reference); in makeInstruction20bc()
88 @Nonnull Reference reference) { in makeInstruction21c() argument
89 return new ImmutableInstruction21c(opcode, registerA, reference); in makeInstruction21c()
126 @Nonnull Reference reference) { in makeInstruction22c() argument
127 return new ImmutableInstruction22c(opcode, registerA, registerB, reference); in makeInstruction22c()
164 @Nonnull Reference reference) { in makeInstruction31c() argument
165 return new ImmutableInstruction31c(opcode, registerA, reference); in makeInstruction31c()
193 @Nonnull Reference reference) { in makeInstruction35c() argument
[all …]
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp59 void render (tcu::Texture2D& reference);
77 void ReadPixelsTest::render (tcu::Texture2D& reference) in render() argument
126 const int coordX1 = (int)((-0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
127 const int coordY1 = (int)((-0.5f * reference.getHeight() / 2.0f) + reference.getHeight() / 2.0f); in render()
128 const int coordX2 = (int)(( 0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
129 const int coordY2 = (int)(( 0.5f * reference.getHeight() / 2.0f) + reference.getHeight() / 2.0f); in render()
131 for (int x = 0; x < reference.getWidth(); x++) in render()
136 for (int y = 0; y < reference.getHeight(); y++) in render()
139 reference.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), x, y); in render()
184 tcu::Texture2D reference(format, width, height); in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp72 void render (tcu::Texture2D& reference);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
108 void ReadPixelsTest::render (tcu::Texture2D& reference) in render() argument
125 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
127 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
136 if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
138 else if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
179 const int coordX1 = (int)((-0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
180 const int coordY1 = (int)((-0.5f * reference.getHeight() / 2.0f) + reference.getHeight() / 2.0f); in render()
181 const int coordX2 = (int)(( 0.5f * reference.getWidth() / 2.0f) + reference.getWidth() / 2.0f); in render()
[all …]
Des3fFloatStateQueryTests.cpp77 …virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) …
80 …virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) …
86 …fyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference) …
114 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
115 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
119 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
127 void GetBooleanVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
137 const GLboolean expectedGLState = reference ? GL_TRUE : GL_FALSE; in verifyFloat()
147 …GetBooleanVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloatExpanded() argument
149 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java394 MultiExceptionListIterator reference = in compareResultsForThisListOfStimuli() local
404 boolean threwException = stimulus.executeAndCompare(reference, target); in compareResultsForThisListOfStimuli()
415 List<E> elements = reference.getElements(); in compareResultsForThisListOfStimuli()
443 T reference, T target, IteratorOperation method) in internalExecuteAndCompare() argument
482 (MultiExceptionListIterator) reference; in internalExecuteAndCompare()
486 referenceReturnValue = method.execute(reference); in internalExecuteAndCompare()
585 abstract boolean executeAndCompare(ListIterator<E> reference, T target);
594 executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
596 assertEquals(reference.hasNext(), target.hasNext());
602 executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderInstruction20bc.java39 import org.jf.dexlib2.iface.reference.Reference;
48 @Nonnull protected final Reference reference; field in BuilderInstruction20bc
52 @Nonnull Reference reference) { in BuilderInstruction20bc() argument
55 this.reference = reference; in BuilderInstruction20bc()
59 @Nonnull @Override public Reference getReference() { return reference; } in getReference()
60 @Override public int getReferenceType() { return ReferenceType.getReferenceType(reference); } in getReferenceType()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp375 …ure2D::invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& img, tcu::Texture2D& reference) const in invokeGLES2()
382 …if (reference.getFormat().order == tcu::TextureFormat::DS || reference.getFormat().order == tcu::T… in invokeGLES2()
384 if (reference.getFormat().order == tcu::TextureFormat::S) in invokeGLES2()
388 gl.viewport(0, 0, reference.getWidth(), reference.getHeight()); in invokeGLES2()
440 tcu::Surface refSurface (reference.getWidth(), reference.getHeight()); in invokeGLES2()
441 tcu::Surface screen (reference.getWidth(), reference.getHeight()); in invokeGLES2()
444 tcu::copy(refSurface.getAccess(), reference.getLevel(0)); in invokeGLES2()
452 …uffer::invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& img, tcu::Texture2D& reference) const in invokeGLES2()
462 …if (reference.getFormat().order != tcu::TextureFormat::DS && reference.getFormat().order != tcu::T… in invokeGLES2()
470 …_GLW_CALL(gl, renderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, reference.getWidth(), reference.getHe… in invokeGLES2()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h55 pipe_reference_init(struct pipe_reference *reference, unsigned count) in pipe_reference_init() argument
57 p_atomic_set(&reference->count, count); in pipe_reference_init()
61 pipe_is_referenced(struct pipe_reference *reference) in pipe_is_referenced() argument
63 return p_atomic_read(&reference->count) != 0; in pipe_is_referenced()
74 struct pipe_reference *reference, in pipe_reference_described() argument
79 if(ptr != reference) { in pipe_reference_described()
81 if (reference) { in pipe_reference_described()
82 assert(pipe_is_referenced(reference)); in pipe_reference_described()
83 p_atomic_inc(&reference->count); in pipe_reference_described()
84 debug_reference(reference, get_desc, 1); in pipe_reference_described()
[all …]

12345678910>>...67