/external/tensorflow/tensorflow/compiler/xla/ |
primitive_util.h | 39 PrimitiveType NativeToPrimitiveType() { 53 inline PrimitiveType NativeToPrimitiveType<bool>() { 59 inline PrimitiveType NativeToPrimitiveType<uint8>() { 64 inline PrimitiveType NativeToPrimitiveType<uint16>() { 69 inline PrimitiveType NativeToPrimitiveType<uint32>() { 74 inline PrimitiveType NativeToPrimitiveType<uint64>() { 80 inline PrimitiveType NativeToPrimitiveType<int8>() { 85 inline PrimitiveType NativeToPrimitiveType<int16>() { 90 inline PrimitiveType NativeToPrimitiveType<int32>() { 95 inline PrimitiveType NativeToPrimitiveType<int64>() [all...] |
primitive_util.cc | 23 bool IsFloatingPointType(PrimitiveType type) { 27 bool IsComplexType(PrimitiveType type) { return type == C64; } 29 bool IsSignedIntegralType(PrimitiveType type) { 33 bool IsUnsignedIntegralType(PrimitiveType type) { 37 bool IsIntegralType(PrimitiveType type) { 41 int BitWidth(PrimitiveType type) { 78 PrimitiveType ComplexComponentType(PrimitiveType complex_type) {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_element_type_converter.h | 32 HloElementTypeConverter(PrimitiveType eliminate_type, 33 PrimitiveType replace_with_type); 43 PrimitiveType eliminate_type_; 44 PrimitiveType replace_with_type_;
|
elemental_ir_emitter.h | 95 virtual StatusOr<llvm::Value*> EmitErfInv(PrimitiveType prim_type, 98 virtual StatusOr<llvm::Value*> EmitErfcInv(PrimitiveType prim_type, 101 virtual StatusOr<llvm::Value*> EmitAtan2(PrimitiveType prim_type, 105 virtual StatusOr<llvm::Value*> EmitLog(PrimitiveType prim_type, 108 virtual StatusOr<llvm::Value*> EmitSin(PrimitiveType prim_type, 111 virtual StatusOr<llvm::Value*> EmitCos(PrimitiveType prim_type, 114 virtual StatusOr<llvm::Value*> EmitExp(PrimitiveType prim_type, 117 virtual StatusOr<llvm::Value*> EmitPow(PrimitiveType prim_type,
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/ |
PrimitiveType.java | 36 public final class PrimitiveType extends Type<PrimitiveType> implements NodeWithAnnotations<PrimitiveType> { 38 public static final PrimitiveType BYTE_TYPE = new PrimitiveType(Primitive.Byte); 40 public static final PrimitiveType SHORT_TYPE = new PrimitiveType(Primitive.Short); 42 public static final PrimitiveType INT_TYPE = new PrimitiveType(Primitive.Int); 44 public static final PrimitiveType LONG_TYPE = new PrimitiveType(Primitive.Long) [all...] |
ClassOrInterfaceType.java | 86 return PrimitiveType.unboxMap.containsKey(name); 89 public PrimitiveType toUnboxedType() throws UnsupportedOperationException { 93 return new PrimitiveType(PrimitiveType.unboxMap.get(name));
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
type_util.h | 25 // Converts a Tensorflow DataType to an XLA PrimitiveType. 26 Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
arithmetic.h | 28 Computation CreateScalarAddComputation(PrimitiveType type, 32 Computation CreateScalarMultiplyComputation(PrimitiveType type, 36 Computation CreateScalarGeComputation(PrimitiveType type, 40 Computation CreateScalarMaxComputation(PrimitiveType type, 44 Computation CreateScalarMinComputation(PrimitiveType type,
|
arithmetic.cc | 33 Computation CreateScalarComputation(const string& name, PrimitiveType type, 52 Computation CreateScalarAddComputation(PrimitiveType type, 60 Computation CreateScalarMultiplyComputation(PrimitiveType type, 68 Computation CreateScalarGeComputation(PrimitiveType type, 76 Computation CreateScalarMaxComputation(PrimitiveType type, 84 Computation CreateScalarMinComputation(PrimitiveType type,
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
PrimitiveType.java | 54 public final class PrimitiveType extends Type implements NodeWithAnnotations<PrimitiveType> { 56 public static PrimitiveType booleanType() { 57 return new PrimitiveType(Primitive.BOOLEAN); 60 public static PrimitiveType charType() { 61 return new PrimitiveType(Primitive.CHAR); 64 public static PrimitiveType byteType() { 65 return new PrimitiveType(Primitive.BYTE); 68 public static PrimitiveType shortType() { 69 return new PrimitiveType(Primitive.SHORT) [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
elemental_ir_emitter.h | 61 StatusOr<llvm::Value*> EmitErfcInv(PrimitiveType prim_type, 64 StatusOr<llvm::Value*> EmitLog(PrimitiveType prim_type, 67 StatusOr<llvm::Value*> EmitSin(PrimitiveType prim_type, 70 StatusOr<llvm::Value*> EmitCos(PrimitiveType prim_type, 73 StatusOr<llvm::Value*> EmitExp(PrimitiveType prim_type, 76 StatusOr<llvm::Value*> EmitPow(PrimitiveType prim_type, llvm::Value* lhs, 79 StatusOr<llvm::Value*> EmitAtan2(PrimitiveType prim_type, llvm::Value* lhs, 95 tensorflow::gtl::ArraySlice<PrimitiveType> input_type, 96 PrimitiveType output_type, 105 tensorflow::gtl::ArraySlice<PrimitiveType> input_types [all...] |
elemental_ir_emitter.cc | 72 tensorflow::gtl::ArraySlice<PrimitiveType> input_types, 73 PrimitiveType output_type) const { 82 std::vector<PrimitiveType> converted_input_types(input_types.begin(), 117 tensorflow::gtl::ArraySlice<PrimitiveType> input_types, 118 PrimitiveType output_type) const { 142 tensorflow::gtl::ArraySlice<PrimitiveType> input_types, 143 PrimitiveType output_type) const { 145 for (PrimitiveType input_type : input_types) { 161 PrimitiveType lhs_input_type = op->operand(0)->shape().element_type(); 162 PrimitiveType rhs_input_type = op->operand(1)->shape().element_type() [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ |
ASTHelper.java | 42 import com.github.javaparser.ast.type.PrimitiveType; 46 import com.github.javaparser.ast.type.PrimitiveType.Primitive; 58 public static final PrimitiveType BYTE_TYPE = new PrimitiveType(Primitive.Byte); 60 public static final PrimitiveType SHORT_TYPE = new PrimitiveType(Primitive.Short); 62 public static final PrimitiveType INT_TYPE = new PrimitiveType(Primitive.Int); 64 public static final PrimitiveType LONG_TYPE = new PrimitiveType(Primitive.Long) [all...] |
/frameworks/layoutlib/bridge/src/android/text/ |
Primitive.java | 24 public final @NonNull PrimitiveType type; 34 * Use {@code PrimitiveType#getNewPrimitive()} 36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { 43 public static enum PrimitiveType {
|
OptimizingLineBreaker.java | 20 import android.text.Primitive.PrimitiveType; 27 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY; 50 assert p.type == PrimitiveType.PENALTY; 65 if (p.type == PrimitiveType.PENALTY) { 160 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) { 162 if (p.type == PrimitiveType.BOX) { 165 } else if (p.type == PrimitiveType.VARIABLE) { 191 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/ |
PrimitiveTypeMetaModel.java | 8 super(superBaseNodeMetaModel, com.github.javaparser.ast.type.PrimitiveType.class, "PrimitiveType", "com.github.javaparser.ast.type", false, false);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/type/ |
PrimitiveType.java | 32 public final class PrimitiveType extends Type { 64 public PrimitiveType() { 67 public PrimitiveType(final Primitive type) { 71 public PrimitiveType(final int beginLine, final int beginColumn, final int endLine, final int endColumn,
|
ClassOrInterfaceType.java | 83 return PrimitiveType.unboxMap.containsKey(name); 86 public PrimitiveType toUnboxedType() throws UnsupportedOperationException { 88 return new PrimitiveType(PrimitiveType.unboxMap.get(name));
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithVariablesTest.java | 26 import com.github.javaparser.ast.type.PrimitiveType; 37 assertEquals(PrimitiveType.intType(), declaration.getCommonType()); 67 assertEquals(PrimitiveType.intType(), declaration.getElementType()); 73 assertEquals(PrimitiveType.intType(), declaration.getElementType());
|
/art/test/959-invoke-polymorphic-accessors/src/ |
Main.java | 82 private enum PrimitiveType { 460 static boolean resultFor(PrimitiveType actualType, PrimitiveType expectedType, 468 PrimitiveType primitive, 474 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IPUT)); 476 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SPUT)); 478 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IGET)); 480 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SGET)); 484 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT)); 486 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT)) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
MethodHandleAccessorsTest.java | 55 private static enum PrimitiveType { 433 static boolean resultFor(PrimitiveType actualType, PrimitiveType expectedType, 441 PrimitiveType primitive, 447 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IPUT)); 449 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SPUT)); 451 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IGET)); 453 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SGET)); 457 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT)); 459 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT)) [all...] |
/frameworks/base/core/jni/ |
scoped_nullable_primitive_array.h | 53 template<typename JavaArrayType, typename PrimitiveType, class Traits, size_t preallocSize = 10> 77 const PrimitiveType* get() const { return mRawArray; } 78 const PrimitiveType& operator[](size_t n) const { return mRawArray[n]; } 84 PrimitiveType* mRawArray; 86 PrimitiveType mBuffer[preallocSize];
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
TransformationsTest.java | 12 import com.github.javaparser.ast.type.PrimitiveType; 74 cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setType(new ArrayType(PrimitiveType.intType())); 82 fd.addVariable(new VariableDeclarator(PrimitiveType.intType(), "b")); 90 fd.addVariable(new VariableDeclarator(new ArrayType(PrimitiveType.intType()), "b")); 113 md.addParameter(new ArrayType(PrimitiveType.intType()), "p1"); 138 md.setType(PrimitiveType.intType());
|
/external/swiftshader/src/OpenGL/libGL/ |
Device.hpp | 25 enum PrimitiveType 62 void drawIndexedPrimitive(PrimitiveType type, unsigned int indexOffset, unsigned int primitiveCount, int indexSize); 63 void drawPrimitive(PrimitiveType primitiveType, unsigned int primiveCount);
|
/external/deqp/framework/referencerenderer/ |
rrRenderer.hpp | 91 PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement); // !< primitive list for drawArrays-like call 92 PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices); // !< primitive list for drawElements-like call 98 inline PrimitiveType getPrimitiveType (void) const { return m_primitiveType; } 102 const PrimitiveType m_primitiveType;
|