/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
H A D | ImmutableReferenceFactory.java | 32 package org.jf.dexlib2.immutable.reference; 35 import org.jf.dexlib2.iface.reference.*; 42 public static ImmutableReference of(Reference reference) { argument 43 if (reference instanceof StringReference) { 44 return ImmutableStringReference.of((StringReference)reference); 46 if (reference instanceof TypeReference) { 47 return ImmutableTypeReference.of((TypeReference)reference); 49 if (reference instanceof FieldReference) { 50 return ImmutableFieldReference.of((FieldReference)reference); 52 if (reference instanceo 62 of(int referenceType, Reference reference) argument [all...] |
H A D | ImmutableReference.java | 32 package org.jf.dexlib2.immutable.reference; 35 import org.jf.dexlib2.iface.reference.*;
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
H A D | Preconditions.java | 27 * Ensures that an object reference passed as a parameter to the calling 30 * @param reference an object reference 31 * @return the non-null reference that was validated 32 * @throws NullPointerException if {@code reference} is null 34 public static <T> T checkNotNull(T reference) { argument 35 if (reference == null) { 38 return reference;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/ |
H A D | Reference.java | 32 package org.jf.dexlib2.iface.reference;
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Present.java | 29 * Implementation of an {@link Optional} containing a reference. 33 private final T reference; field in class:Present 35 Present(T reference) { argument 36 this.reference = reference; 44 return reference; 49 return reference; 59 return reference; 63 return reference; 67 return Collections.singleton(reference); [all...] |
H A D | Verify.java | 128 * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default 131 * @return {@code reference}, guaranteed to be non-null, for convenience 133 public static <T> T verifyNotNull(@Nullable T reference) { argument 134 return verifyNotNull(reference, "expected a non-null reference"); 138 * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a custom 150 * @return {@code reference}, guaranteed to be non-null, for convenience 153 @Nullable T reference, 156 verify(reference != null, errorMessageTemplate, errorMessageArgs); 157 return reference; 152 verifyNotNull( @ullable T reference, @Nullable String errorMessageTemplate, @Nullable Object... errorMessageArgs) argument [all...] |
/external/harfbuzz_ng/test/shaping/ |
H A D | run-tests.sh | 11 reference=false 12 if test "x$1" = x--reference; then 13 reference=true 22 $reference || echo "Running tests in $f" 25 $reference || echo "Skipping $fontfile:$unicodes" 28 $reference || echo "Testing $fontfile:$unicodes" 35 if $reference; then 48 $reference || echo "$fails tests failed." 51 $reference || echo "All tests passed."
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
H A D | IPerfOutput.java | 19 /** Indicator for no reference time given */ 23 * Reports the result of a time measurement with a optional reference time 30 * @param reference 31 * optional reference time in nano seconds 33 void writeTimeResult(String description, long duration, long reference); argument 36 * Reports the result of a byte size measurement with a optional reference 43 * @param reference 44 * optional reference size in bytes 46 void writeByteResult(String description, long size, long reference); argument
|
H A D | PerfOutputWriter.java | 44 final long reference) { 46 if (reference == NO_REFERENCE) { 49 final double rms = (double) reference / 1000000; 54 public void writeByteResult(String description, long size, long reference) { argument 58 if (reference == NO_REFERENCE) { 61 writeResult(description, size, reference, "%.0f", "bytes"); 72 final double reference, String fmt, String unit) { 73 double overhead = 100 * (subject - reference) / reference; 76 format(fmt, Double.valueOf(reference)), uni 43 writeTimeResult(final String description, final long duration, final long reference) argument 71 writeResult(final String description, final double subject, final double reference, String fmt, String unit) argument [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/ |
H A D | ReferenceType.java | 34 import org.jf.dexlib2.iface.reference.*; 62 public static int getReferenceType(Reference reference) { argument 63 if (reference instanceof StringReference) { 65 } else if (reference instanceof TypeReference) { 67 } else if (reference instanceof FieldReference) { 69 } else if (reference instanceof MethodReference) { 71 } else if (reference instanceof MethodProtoReference) { 74 throw new IllegalStateException("Invalid reference"); 79 * Validate a specific reference type. Note that the NONE placeholder is specifically not considered valid here. 93 super("Invalid reference typ [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
H A D | ReferenceFormatter.java | 32 import org.jf.dexlib2.iface.reference.*; 47 Reference reference) throws IOException { 50 writeStringReference(writer, ((StringReference)reference).getString()); 53 writer.write(((TypeReference)reference).getType()); 56 ReferenceUtil.writeMethodDescriptor(writer, (MethodReference)reference); 59 ReferenceUtil.writeFieldDescriptor(writer, (FieldReference)reference); 62 throw new IllegalStateException("Unknown reference type"); 46 writeReference(IndentingWriter writer, int referenceType, Reference reference) argument
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/ |
H A D | BuilderInstruction21c.java | 38 import org.jf.dexlib2.iface.reference.Reference; 47 @Nonnull protected final Reference reference; field in class:BuilderInstruction21c 51 @Nonnull Reference reference) { 54 this.reference = reference; 58 @Nonnull @Override public Reference getReference() { return reference; } 49 BuilderInstruction21c(@onnull Opcode opcode, int registerA, @Nonnull Reference reference) argument
|
H A D | BuilderInstruction31c.java | 38 import org.jf.dexlib2.iface.reference.Reference; 47 @Nonnull protected final Reference reference; field in class:BuilderInstruction31c 51 @Nonnull Reference reference) { 54 this.reference = reference; 58 @Nonnull @Override public Reference getReference() { return reference; } 49 BuilderInstruction31c(@onnull Opcode opcode, int registerA, @Nonnull Reference reference) argument
|
H A D | BuilderInstruction20bc.java | 39 import org.jf.dexlib2.iface.reference.Reference; 48 @Nonnull protected final Reference reference; field in class:BuilderInstruction20bc 52 @Nonnull Reference reference) { 55 this.reference = reference; 59 @Nonnull @Override public Reference getReference() { return reference; } 60 @Override public int getReferenceType() { return ReferenceType.getReferenceType(reference); } 50 BuilderInstruction20bc(@onnull Opcode opcode, int verificationError, @Nonnull Reference reference) argument
|
/external/doclava/res/assets/templates/components/ |
H A D | masthead.cs | 4 <?cs if:reference && reference.apilevels ?>
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
H A D | ImmutableInstruction20bc.java | 38 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 class:ImmutableInstruction20bc 53 @Nonnull Reference reference) { 56 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); 70 @Nonnull @Override public ImmutableReference getReference() { return reference; } 71 @Override public int getReferenceType() { return ReferenceType.getReferenceType(reference); } 51 ImmutableInstruction20bc(@onnull Opcode opcode, int verificationError, @Nonnull Reference reference) argument
|
H A D | ImmutableInstruction21c.java | 37 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 class:ImmutableInstruction21c 52 @Nonnull Reference reference) { 55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); 69 @Nonnull @Override public ImmutableReference getReference() { return reference; } 50 ImmutableInstruction21c(@onnull Opcode opcode, int registerA, @Nonnull Reference reference) argument
|
H A D | ImmutableInstruction22c.java | 37 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 class:ImmutableInstruction22c 54 @Nonnull Reference reference) { 58 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); 74 @Nonnull @Override public ImmutableReference getReference() { return reference; } 51 ImmutableInstruction22c(@onnull Opcode opcode, int registerA, int registerB, @Nonnull Reference reference) argument
|
H A D | ImmutableInstruction31c.java | 37 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 class:ImmutableInstruction31c 52 @Nonnull Reference reference) { 55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); 69 @Nonnull @Override public ImmutableReference getReference() { return reference; } 50 ImmutableInstruction31c(@onnull Opcode opcode, int registerA, @Nonnull Reference reference) argument
|
H A D | ImmutableInstruction3rc.java | 37 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 class:ImmutableInstruction3rc 55 @Nonnull Reference reference) { 59 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); 75 @Nonnull @Override public ImmutableReference getReference() { return reference; } 52 ImmutableInstruction3rc(@onnull Opcode opcode, int startRegister, int registerCount, @Nonnull Reference reference) argument
|
/external/libxml2/python/tests/ |
H A D | sync.py | 51 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) 126 reference = "startDocument:startElement foo None:" variable [all...] |
/external/llvm/test/MC/AsmParser/ |
H A D | dot-symbol.s | 1 # Historically 'as' treats '.' as a reference to the current location in
|
/external/swiftshader/third_party/LLVM/test/MC/AsmParser/ |
H A D | dot-symbol.s | 1 # Historically 'as' treats '.' as a reference to the current location in
|
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/ |
H A D | types.pass.cpp | 23 // typedef value_type&& reference; 38 typedef Reference reference; typedef in struct:DummyIt 52 static_assert((std::is_same<typename R::reference, typename R::value_type&&>::value), ""); 54 static_assert((std::is_same<typename R::reference, typename T::reference>::value), ""); 70 static_assert(std::is_same<It::reference, int>::value, ""); 75 static_assert(std::is_same<It::reference, std::reference_wrapper<int> >::value, ""); 78 // Check that move_iterator uses whatever reference type it's given 79 // when it's not a reference. 82 static_assert(std::is_same<It::reference, lon [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
H A D | ProtoPool.java | 34 import org.jf.dexlib2.iface.reference.MethodProtoReference; 57 public void intern(@Nonnull MethodProtoReference reference) { argument 58 Integer prev = internedItems.put(reference, 0); 60 stringPool.intern(getShorty(reference)); 61 typePool.intern(reference.getReturnType()); 62 typeListPool.intern(reference.getParameterTypes()); 66 @Nonnull @Override public CharSequence getShorty(@Nonnull MethodProtoReference reference) { argument 67 return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType());
|