Home
last modified time | relevance | path

Searched refs:getChecked (Results 1 – 25 of 50) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DFuturesGetCheckedTest.java19 import static com.google.common.util.concurrent.Futures.getChecked;
57 assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class)); in testGetCheckedUntimed_success()
64 getChecked(future, TwoArgConstructorException.class); in testGetCheckedUntimed_interrupted()
78 getChecked(future, TwoArgConstructorException.class); in testGetCheckedUntimed_cancelled()
86 getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionChecked()
96 getChecked(FAILED_FUTURE_UNCHECKED_EXCEPTION, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionUnchecked()
105 getChecked(FAILED_FUTURE_ERROR, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionError()
114 getChecked(FAILED_FUTURE_OTHER_THROWABLE, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionOtherThrowable()
123 getChecked(RUNTIME_EXCEPTION_FUTURE, TwoArgConstructorException.class); in testGetCheckedUntimed_RuntimeException()
132 getChecked(ERROR_FUTURE, TwoArgConstructorException.class); in testGetCheckedUntimed_Error()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesGetCheckedTest.java19 import static com.google.common.util.concurrent.Futures.getChecked;
57 assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class)); in testGetCheckedUntimed_success()
64 getChecked(future, TwoArgConstructorException.class); in testGetCheckedUntimed_interrupted()
78 getChecked(future, TwoArgConstructorException.class); in testGetCheckedUntimed_cancelled()
86 getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionChecked()
96 getChecked(FAILED_FUTURE_UNCHECKED_EXCEPTION, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionUnchecked()
105 getChecked(FAILED_FUTURE_ERROR, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionError()
114 getChecked(FAILED_FUTURE_OTHER_THROWABLE, TwoArgConstructorException.class); in testGetCheckedUntimed_ExecutionExceptionOtherThrowable()
123 getChecked(RUNTIME_EXCEPTION_FUTURE, TwoArgConstructorException.class); in testGetCheckedUntimed_RuntimeException()
132 getChecked(ERROR_FUTURE, TwoArgConstructorException.class); in testGetCheckedUntimed_Error()
[all …]
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMTypes.cpp271 LLVMArrayType LLVMArrayType::getChecked(Location loc, LLVMType elementType, in getChecked() function in LLVMArrayType
274 return Base::getChecked(loc, elementType, numElements); in getChecked()
307 LLVMFunctionType LLVMFunctionType::getChecked(Location loc, LLVMType result, in getChecked() function in LLVMFunctionType
311 return Base::getChecked(loc, result, arguments, isVarArg); in getChecked()
351 LLVMIntegerType LLVMIntegerType::getChecked(Location loc, unsigned bitwidth) { in getChecked() function in LLVMIntegerType
352 return Base::getChecked(loc, bitwidth); in getChecked()
378 LLVMPointerType LLVMPointerType::getChecked(Location loc, LLVMType pointee, in getChecked() function in LLVMPointerType
380 return Base::getChecked(loc, pointee, addressSpace); in getChecked()
410 return Base::getChecked(loc, name, /*opaque=*/false); in getIdentifiedChecked()
422 return Base::getChecked(loc, types, isPacked); in getLiteralChecked()
[all …]
DLLVMTypeSyntax.cpp207 return LLVMFunctionType::getChecked(loc, returnType, {}, in parseFunctionType()
218 return LLVMFunctionType::getChecked(loc, returnType, argTypes, in parseFunctionType()
229 return LLVMFunctionType::getChecked(loc, returnType, argTypes, in parseFunctionType()
248 return LLVMPointerType::getChecked(loc, elementType, addressSpace); in parsePointerType()
279 return LLVMScalableVectorType::getChecked(loc, elementType, dims[1]); in parseVectorType()
280 return LLVMFixedVectorType::getChecked(loc, elementType, dims[0]); in parseVectorType()
301 return LLVMArrayType::getChecked(loc, elementType, dims[0]); in parseArrayType()
434 return LLVMIntegerType::getChecked( in parseTypeImpl()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DQuantTypes.cpp211 AnyQuantizedType AnyQuantizedType::getChecked(unsigned flags, Type storageType, in getChecked() function in AnyQuantizedType
216 return Base::getChecked(location, flags, storageType, expressedType, in getChecked()
248 UniformQuantizedType::getChecked(unsigned flags, Type storageType, in getChecked() function in UniformQuantizedType
252 return Base::getChecked(location, flags, storageType, expressedType, scale, in getChecked()
300 UniformQuantizedPerAxisType UniformQuantizedPerAxisType::getChecked( in getChecked() function in UniformQuantizedPerAxisType
305 return Base::getChecked(location, flags, storageType, expressedType, scales, in getChecked()
363 CalibratedQuantizedType CalibratedQuantizedType::getChecked(Type expressedType, in getChecked() function in CalibratedQuantizedType
367 return Base::getChecked(location, expressedType, min, max); in getChecked()
DTypeParser.cpp158 return AnyQuantizedType::getChecked(typeFlags, storageType, expressedType, in parseAnyType()
281 return UniformQuantizedPerAxisType::getChecked( in parseUniformType()
286 return UniformQuantizedType::getChecked(typeFlags, storageType, expressedType, in parseUniformType()
316 return CalibratedQuantizedType::getChecked(expressedType, min, max, loc); in parseCalibratedType()
/external/llvm-project/mlir/lib/IR/
DBuiltinTypes.cpp31 ComplexType ComplexType::getChecked(Type elementType, Location location) { in getChecked() function in ComplexType
32 return Base::getChecked(location, elementType); in getChecked()
168 OpaqueType OpaqueType::getChecked(Identifier dialect, StringRef typeData, in getChecked() function in OpaqueType
170 return Base::getChecked(location, dialect, typeData); in getChecked()
287 VectorType VectorType::getChecked(ArrayRef<int64_t> shape, Type elementType, in getChecked() function in VectorType
289 return Base::getChecked(location, shape, elementType); in getChecked()
341 RankedTensorType RankedTensorType::getChecked(ArrayRef<int64_t> shape, in getChecked() function in RankedTensorType
344 return Base::getChecked(location, shape, elementType); in getChecked()
368 UnrankedTensorType UnrankedTensorType::getChecked(Type elementType, in getChecked() function in UnrankedTensorType
370 return Base::getChecked(location, elementType); in getChecked()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h66 static ComplexType getChecked(Type elementType, Location location);
126 static IntegerType getChecked(unsigned width, Location location);
132 static IntegerType getChecked(unsigned width, SignednessSemantics signedness,
303 static OpaqueType getChecked(Identifier dialect, StringRef typeData,
421 static VectorType getChecked(ArrayRef<int64_t> shape, Type elementType,
475 static RankedTensorType getChecked(ArrayRef<int64_t> shape, Type elementType,
505 static UnrankedTensorType getChecked(Type elementType, Location location);
608 static MemRefType getChecked(ArrayRef<int64_t> shape, Type elementType,
654 static UnrankedMemRefType getChecked(Type elementType, unsigned memorySpace,
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DQuantTypes.h211 static AnyQuantizedType getChecked(unsigned flags, Type storageType,
270 getChecked(unsigned flags, Type storageType, Type expressedType, double scale,
328 getChecked(unsigned flags, Type storageType, Type expressedType,
392 static CalibratedQuantizedType getChecked(Type expressedType, double min,
/external/guava/android/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java44 static <V, X extends Exception> V getChecked(Future<V> future, Class<X> exceptionClass) throws X { in getChecked() method in FuturesGetChecked
45 return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass); in getChecked()
51 static <V, X extends Exception> V getChecked( in getChecked() method in FuturesGetChecked
67 static <V, X extends Exception> V getChecked( in getChecked() method in FuturesGetChecked
DFutures.java1138 public static <V, X extends Exception> V getChecked(Future<V> future, Class<X> exceptionClass)
1140 return FuturesGetChecked.getChecked(future, exceptionClass);
1190 public static <V, X extends Exception> V getChecked(
1192 return FuturesGetChecked.getChecked(future, exceptionClass, timeout, unit);
/external/guava/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java44 static <V, X extends Exception> V getChecked(Future<V> future, Class<X> exceptionClass) throws X { in getChecked() method in FuturesGetChecked
45 return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass); in getChecked()
51 static <V, X extends Exception> V getChecked( in getChecked() method in FuturesGetChecked
67 static <V, X extends Exception> V getChecked( in getChecked() method in FuturesGetChecked
DFutures.java1171 public static <V, X extends Exception> V getChecked(Future<V> future, Class<X> exceptionClass)
1173 return FuturesGetChecked.getChecked(future, exceptionClass);
1222 public static <V, X extends Exception> V getChecked(
1224 return getChecked(future, exceptionClass, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
1274 public static <V, X extends Exception> V getChecked(
1276 return FuturesGetChecked.getChecked(future, exceptionClass, timeout, unit);
/external/llvm-project/mlir/lib/CAPI/IR/
DBuiltinTypes.cpp174 return wrap(VectorType::getChecked( in mlirVectorTypeGetChecked()
203 return wrap(RankedTensorType::getChecked( in mlirRankedTensorTypeGetChecked()
214 return wrap(UnrankedTensorType::getChecked(unwrap(elementType), unwrap(loc))); in mlirUnrankedTensorTypeGetChecked()
246 return wrap(MemRefType::getChecked( in mlirMemRefTypeContiguousGetChecked()
275 return wrap(UnrankedMemRefType::getChecked(unwrap(elementType), memorySpace, in mlirUnrankedMemRefTypeGetChecked()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java25 import static com.google.common.util.concurrent.FuturesGetChecked.getChecked;
123 getChecked(validator, immediateFuture(""), exceptionClass); in addOtherEntries()
147 tmp += getChecked(validator, future, exceptionType).hashCode(); in benchmarkGetChecked()
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java25 import static com.google.common.util.concurrent.FuturesGetChecked.getChecked;
123 getChecked(validator, immediateFuture(""), exceptionClass); in addOtherEntries()
147 tmp += getChecked(validator, future, exceptionType).hashCode(); in benchmarkGetChecked()
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DFakeQuantSupport.cpp126 return UniformQuantizedType::getChecked(flags, storageType, expressedType, in fakeQuantAttrsToType()
134 return UniformQuantizedType::getChecked(flags, storageType, expressedType, in fakeQuantAttrsToType()
181 return UniformQuantizedPerAxisType::getChecked( in fakeQuantAttrsToType()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMTypes.h276 static LLVMArrayType getChecked(Location loc, LLVMType elementType,
318 static LLVMFunctionType getChecked(Location loc, LLVMType result,
355 static LLVMIntegerType getChecked(Location loc, unsigned bitwidth);
385 static LLVMPointerType getChecked(Location loc, LLVMType pointee,
541 static LLVMFixedVectorType getChecked(Location loc, LLVMType elementType,
567 static LLVMScalableVectorType getChecked(Location loc, LLVMType elementType,
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_types.h78 static Derived getChecked(ArrayRef<StringAttr> attrs, Location loc) { in getChecked() function
79 return Base::getChecked(loc, attrs); in getChecked()
Dtfr_ops.cc609 return TFRTensorType::getChecked(attrs, loc); in parseType()
611 return TFRTensorListType::getChecked(attrs, loc); in parseType()
613 return TFRAttrType::getChecked(loc); in parseType()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_types.h116 static TensorFlowType getChecked(Type type, MLIRContext* context, in getChecked() function
209 static Derived getChecked(ArrayRef<TensorType> subtypes, MLIRContext* context, in getChecked() function
211 return Base::getChecked(loc, subtypes); in getChecked()
/external/llvm-project/mlir/test/mlir-tblgen/
Dtypedefs.td64 // DECL: static ::mlir::Type getChecked(::mlir::Location loc, int widthOfSomething, ::mlir::test::S…
117 static IntegerType getChecked(unsigned width, Location location);
134 // DECL-NEXT: static IntegerType getChecked(unsigned width, Location location);
/external/autotest/frontend/client/src/autotest/afe/
DCheckBoxPanel.java26 public List<ICheckBox> getChecked() { in getChecked() method in CheckBoxPanel
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestTypeDefs.td79 return getChecked(loc, signedness, width);
92 static IntegerType getChecked(unsigned width, Location location);
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_traits.h80 return UniformQuantizedType::getChecked( in GetResultQuantizedType()

12