/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/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
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/ |
H A D | OuterReferenceLambda.java | 21 protected final List<String> reference; field in class:OuterReferenceLambda 24 this.reference = names; 30 .filter(n -> reference.contains(n))
|
/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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
H A D | ProtoPool.java | 34 import org.jf.dexlib2.iface.reference.MethodProtoReference; 51 public void intern(@Nonnull MethodProtoReference reference) { argument 52 Integer prev = internedItems.put(reference, 0); 54 dexPool.stringSection.intern(getShorty(reference)); 55 dexPool.typeSection.intern(reference.getReturnType()); 56 dexPool.typeListSection.intern(reference.getParameterTypes()); 60 @Nonnull @Override public CharSequence getShorty(@Nonnull MethodProtoReference reference) { argument 61 return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType());
|
/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/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
H A D | MethodsResolutionTest.java | 88 SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolver()).solve(expression); 89 assertEquals(true, reference.isSolved()); 90 assertEquals("longParam", reference.getCorrespondingDeclaration().getName()); 94 SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolver()).solve(expression); 95 assertEquals(true, reference.isSolved()); 96 assertEquals("longParam", reference.getCorrespondingDeclaration().getName()); 100 SymbolReference<ResolvedMethodDeclaration> reference = JavaParserFacade.get(new ReflectionTypeSolver()).solve(expression); 101 assertEquals(true, reference.isSolved()); 102 assertEquals("longParam", reference.getCorrespondingDeclaration().getName()); 106 SymbolReference<ResolvedMethodDeclaration> reference [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/annotation-tools/asmx/src/org/objectweb/asm/ |
H A D | Label.java | 66 * Informations about forward references. Each forward reference is 69 * forward reference, while the second is the position of the first byte of 70 * the forward reference itself. In fact the sign of the first integer 71 * indicates if this reference uses 2 or 4 bytes, and its absolute value 151 * Puts a reference to this label in the bytecode of a method. If the 153 * directly. Otherwise, a null offset is written and a new forward reference 160 * @param wideOffset <tt>true</tt> if the reference must be stored in 4 189 * Adds a forward reference to this label. This method must be called only 190 * for a true forward reference, i.e. only if this label is not resolved 191 * yet. For backward references, the offset of the reference ca [all...] |