Searched refs:InferredType (Results 1 – 5 of 5) sorted by relevance
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | BytecodeTypeInference.java | 42 private final ArrayList<InferredType> localVariableSlots; 43 private final ArrayList<InferredType> operandStack = new ArrayList<>(); 67 public InferredType getTypeOfOperandFromTop(int offsetFromTop) { in getTypeOfOperandFromTop() 100 push(InferredType.NULL); in visitInsn() 109 push(InferredType.INT); in visitInsn() 113 push(InferredType.LONG); in visitInsn() 114 push(InferredType.TOP); in visitInsn() 119 push(InferredType.FLOAT); in visitInsn() 123 push(InferredType.DOUBLE); in visitInsn() 124 push(InferredType.TOP); in visitInsn() [all …]
|
D | TryWithResourcesRewriter.java | 31 import com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType; 292 InferredType exceptionClass = typeInference.getTypeOfOperandFromTop(1); in visitMethodInsn() 311 InferredType resourceType = typeInference.getTypeOfOperandFromTop(0); in visitMethodInsn()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | BytecodeTypeInferenceTest.java | 20 import com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType; 54 InferredType type = InferredType.createUninitializedType(label); in testUninitializedInferType() 55 assertThat(type.descriptor()).isEqualTo(InferredType.UNINITIALIZED_PREFIX); in testUninitializedInferType() 61 ImmutableMap<String, InferredType> map = in testNonUninitializedInferType() 62 ImmutableMap.<String, InferredType>builder() in testNonUninitializedInferType() 63 .put("Z", InferredType.BOOLEAN) in testNonUninitializedInferType() 64 .put("B", InferredType.BYTE) in testNonUninitializedInferType() 65 .put("I", InferredType.INT) in testNonUninitializedInferType() 66 .put("F", InferredType.FLOAT) in testNonUninitializedInferType() 67 .put("D", InferredType.DOUBLE) in testNonUninitializedInferType() [all …]
|
D | FrameInfoTest.java | 20 import com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType; 38 FrameInfo.create(ImmutableList.of(InferredType.INT), ImmutableList.of(InferredType.BYTE)); in testFieldsAreSetCorrectly() 39 assertThat(info.locals()).containsExactly(InferredType.INT).inOrder(); in testFieldsAreSetCorrectly() 40 assertThat(info.stack()).containsExactly(InferredType.BYTE).inOrder(); in testFieldsAreSetCorrectly() 45 ImmutableList.of(InferredType.INT, InferredType.BYTE), in testFieldsAreSetCorrectly() 46 ImmutableList.of(InferredType.BOOLEAN, InferredType.LONG)); in testFieldsAreSetCorrectly() 47 assertThat(info.locals()).containsExactly(InferredType.INT, InferredType.BYTE).inOrder(); in testFieldsAreSetCorrectly() 48 assertThat(info.stack()).containsExactly(InferredType.BOOLEAN, InferredType.LONG).inOrder(); in testFieldsAreSetCorrectly()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypePropagation.cpp | 808 const auto *InferredType = in checkPostObjCMessage() local 810 assert(InferredType); in checkPostObjCMessage() 812 State = State->set<MostSpecializedTypeArgsMap>(RetSym, InferredType); in checkPostObjCMessage()
|