HomeSort by relevance Sort by last modified time
    Searched defs:cast (Results 126 - 150 of 768) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
Node.java 428 nodes.add(clazz.cast(child));
756 consumer.accept(nodeType.cast(node));
803 return Optional.of(nodeType.cast(node));
816 final N castNode = nodeType.cast(node);
833 return Optional.of(nodeType.cast(n));
    [all...]
  /external/skia/src/jumper/
SkJumper_stages_lowp.cpp 160 SI D cast(S src) { function
195 SI U32 trunc_(F x) { return (U32)cast<I32>(x); }
241 F roundtrip = cast<F>(cast<I32>(x));
250 x = cast<F>(I32(dx)) + unaligned_load<F>(iota);
251 y = cast<F>(I32(dy)) + 0.5f;
521 return cast<U16>(v);
543 *r = cast<U16>(rgba.val[0]);
544 *g = cast<U16>(rgba.val[1]);
545 *b = cast<U16>(rgba.val[2])
    [all...]
  /external/skqp/src/jumper/
SkJumper_stages_lowp.cpp 160 SI D cast(S src) { function
195 SI U32 trunc_(F x) { return (U32)cast<I32>(x); }
241 F roundtrip = cast<F>(cast<I32>(x));
250 x = cast<F>(I32(dx)) + unaligned_load<F>(iota);
251 y = cast<F>(I32(dy)) + 0.5f;
521 return cast<U16>(v);
543 *r = cast<U16>(rgba.val[0]);
544 *g = cast<U16>(rgba.val[1]);
545 *b = cast<U16>(rgba.val[2])
    [all...]
  /external/tensorflow/tensorflow/contrib/labeled_tensor/
__init__.py 119 cast = _ops.cast variable
  /external/tensorflow/tensorflow/core/grappler/optimizers/
arithmetic_optimizer_test.cc 721 Output nhwc_fp32 = ops::Cast(s, nhwc_uint8, DT_FLOAT);
747 if (node.op() == "Cast") {
757 Output nhwc_uint8 = ops::Cast(s, nhwc_fp32, DT_UINT8);
776 EXPECT_EQ(node.input(0), "Cast");
1017 Output cast = ops::Cast(s, inputs, DT_FLOAT); local
1151 Output cast = ops::Cast(s, inputs, DT_INT8); local
    [all...]
arithmetic_optimizer.cc 218 } else if (node.op() == "Cast") {
228 } else if (node.op() == "Cast") {
649 // Reorder Cast and Transpose if beneficial.
653 // the cast and the transpose to make the transpose process smaller amount
655 // Transpose(Cast(image, dst_type), perm)
657 // Cast(Transpose(image, perm), dst_type)
660 // TODO(jingyue): This optimization can be generalized to a cast followed by
673 const NodeDef* cast = node_map_->GetNode(transpose->input(0)); local
674 if (cast->op() == "Cast") {
    [all...]
  /external/tensorflow/tensorflow/python/ops/
math_ops.py 744 @tf_export("cast")
745 def cast(x, dtype, name=None): function
755 tf.cast(x, tf.int32) # [1, 2], dtype=tf.int32
767 TypeError: If `x` cannot be cast to the `dtype`.
770 with ops.name_scope(name, "Cast", [x]) as name:
772 values_cast = cast(x.values, base_type, name=name)
777 # allows some conversions that cast() can't do, e.g. casting numbers to
782 return gen_math_ops.cast(x, base_type, name=name)
787 """Performs a safe saturating cast of `value` to `dtype`.
790 there is a danger that values would over or underflow in the cast, this o
    [all...]
  /external/v8/src/compiler/
types.h 329 static OtherNumberConstantType* cast(Type* type) { function in class:v8::internal::compiler::BitsetType::OtherNumberConstantType
358 static HeapConstantType* cast(Type* type) { function in class:v8::internal::compiler::BitsetType::HeapConstantType
411 static RangeType* cast(Type* type) { function in class:v8::internal::compiler::BitsetType::RangeType
480 static TupleType* cast(Type* type) { function in class:v8::internal::compiler::BitsetType::TupleType
504 static UnionType* cast(Type* type) { function in class:v8::internal::compiler::BitsetType::UnionType
583 HeapConstantType* AsHeapConstant() { return HeapConstantType::cast(this); }
585 return OtherNumberConstantType::cast(this);
587 RangeType* AsRange() { return RangeType::cast(this); }
588 TupleType* AsTuple() { return TupleType::cast(this); }
641 UnionType* AsUnion() { return UnionType::cast(this);
    [all...]
  /external/v8/src/full-codegen/
full-codegen.h 740 static const TestContext* cast(const ExpressionContext* context) { function in class:v8::internal::final::TestContext
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
RecyclerViewFocusRecoveryTest.java 153 FocusViewHolder fvh = cast(focusVh(4));
188 FocusViewHolder fvh = cast(focusVh(3));
214 FocusViewHolder fvh = cast(focusVh(0));
277 FocusViewHolder fvh = cast(focusVh(6));
302 FocusViewHolder newVh = cast(mRecyclerView.findViewHolderForAdapterPosition(6));
444 FocusViewHolder fvh = cast(mRecyclerView.findViewHolderForAdapterPosition(0));
463 ? cast(mRecyclerView.findViewHolderForAdapterPosition(
466 ? cast(mRecyclerView.findViewHolderForAdapterPosition(
468 cast(mRecyclerView.findViewHolderForAdapterPosition(0)));
670 cast(holder).setFocusable(false)
808 private <T extends FocusViewHolder> T cast(RecyclerView.ViewHolder vh) { method in class:RecyclerViewFocusRecoveryTest
    [all...]
  /libcore/ojluni/src/main/java/sun/invoke/util/
Wrapper.java 229 * Equivalent to {@code this.cast(this.zero(), type)}.
425 // return Wrapper.valueOf(type).cast(x, type);
428 /** Cast a wrapped value to the given type, which may be either a primitive or wrapper type.
438 public <T> T cast(Object x, Class<T> type) { method in class:Wrapper
444 * This is equivalent to {@link #cast}, except that it refuses to perform
453 // If the target wrapper is OBJECT, just do a reference cast.
459 type.cast(x);
466 return wtype.cast(x);
485 /** Cast a reference type to another reference type.
589 arrayType().cast(a); // throw NPE or CCE if bad typ
    [all...]
  /system/tools/aidl/
ast_java.h 152 const Type* cast; member in struct:android::aidl::java::Assignment
155 Assignment(Variable* lvalue, Expression* rvalue, const Type* cast);
223 struct Cast : public Expression {
227 Cast() = default;
228 Cast(const Type* type, Expression* expression);
229 virtual ~Cast() = default;
235 const Type* cast = nullptr; member in struct:android::aidl::java::VariableDeclaration
240 const Type* cast = NULL);
  /external/annotation-tools/annotation-file-utilities/src/annotator/specification/
IndexFileSpecification.java 308 * @param isCastInsertion {@code true} if this for a cast insertion, {@code false}
337 * @param isCastInsertion {@code true} if this for a cast insertion, {@code false}
343 // Use at most one receiver and one cast insertion and add all of the
347 CastInsertion cast = null; local
354 // Still insert even if it's a cast insertion with no outer
355 // annotations to just insert a cast, or insert a cast with
360 cast = pair.a;
401 if (cast == null) {
405 cast = insertions.a
530 CastInsertion cast = new CastInsertion(criteria, type); local
666 ATypeElement cast = entry.getValue(); local
    [all...]
  /external/annotation-tools/asmx/src/org/objectweb/asm/commons/
GeneratorAdapter.java 747 * Generates the instructions to cast a numerical value from one type to
751 * @param to the type into which this value must be cast.
753 public void cast(final Type from, final Type to) { method in class:GeneratorAdapter
762 cast(Type.INT_TYPE, to); method
771 cast(Type.INT_TYPE, to); method
780 cast(Type.INT_TYPE, to); method
    [all...]
  /external/eigen/Eigen/src/Geometry/
Transform.h 632 EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Transform,Transform<NewScalarType,Dim,Mode,Options> >::type cast() const function in class:Eigen::Transform
640 m_matrix = other.matrix().template cast<Scalar>();
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultisetNavigationTester.java 58 static <T> SortedMultiset<T> cast(Multiset<T> iterable) { method in class:MultisetNavigationTester
65 sortedMultiset = cast(getMultiset());
  /external/skia/src/gpu/
GrProcessor.h 183 template <typename T> const T& cast() const { return *static_cast<const T*>(this); } function in class:GrProcessor
  /external/skqp/src/gpu/
GrProcessor.h 193 template <typename T> const T& cast() const { return *static_cast<const T*>(this); } function in class:GrProcessor
  /external/tensorflow/tensorflow/core/graph/
graph_partition.cc 206 // Add a cast node that casts dtype to cast_dtype.
207 // NOTE(yuanbyu): Only cast for cross-device send/recv.
209 const string cast_op = (host_memory) ? "_HostCast" : "Cast";
216 NodeDef* cast = gdef->add_node(); local
217 *status = cast_builder.Finalize(cast);
220 // Connect the Send op to the cast.
221 send_from.Reset(cast->name(), 0, cast_dtype);
246 // NOTE(yuanbyu): Only cast for cross-device send/recv.
270 // Add the cast node (from cast_dtype to dtype) or an Identity node.
272 const string cast_op = (host_memory) ? "_HostCast" : "Cast";
277 NodeDef* cast = gdef->add_node(); local
    [all...]
  /external/turbine/java/com/google/turbine/binder/
ConstEvaluator.java 289 static Const cast(Type ty, Const value) { method in class:ConstEvaluator
967 coerced.add(cast(elementType, element)); method
985 return (Const.Value) cast(type, value);
  /external/v8/src/ast/
ast-types.h 409 static AstClassType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstClassType
440 static AstConstantType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstConstantType
502 static AstRangeType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstRangeType
531 static AstContextType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstContextType
559 static AstArrayType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstArrayType
631 static AstFunctionType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstFunctionType
658 static AstTupleType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstTupleType
684 static AstUnionType* cast(AstType* type) { function in class:v8::internal::AstBitsetType::AstUnionType
828 AstClassType* AsClass() { return AstClassType::cast(this); }
829 AstConstantType* AsConstant() { return AstConstantType::cast(this);
    [all...]
  /external/v8/src/wasm/
wasm-objects.cc 29 type* Container::name() { return type::cast(getter(field)); }
49 type* Container::name() { return type::cast(getter(field)); }
72 int32_t val = Smi::cast(value)->value();
77 HeapNumber* num = HeapNumber::cast(value);
85 return Smi::cast(value)->value();
88 HeapNumber* num = HeapNumber::cast(value);
126 handle(WasmCompiledModule::cast(weak_next->value()), isolate_);
138 handle(WasmCompiledModule::cast(weak_prev->value()), isolate_);
167 WasmInstanceObject::cast((*it)->weak_owning_instance()->value()),
243 return Handle<WasmModuleObject>::cast(module_object)
246 WasmModuleObject* WasmModuleObject::cast(Object* object) { function in class:WasmModuleObject
323 WasmTableObject* WasmTableObject::cast(Object* object) { function in class:WasmTableObject
367 WasmMemoryObject* WasmMemoryObject::cast(Object* object) { function in class:WasmMemoryObject
419 WasmInstanceObject* WasmInstanceObject::cast(Object* object) { function in class:WasmInstanceObject
472 WasmExportedFunction* WasmExportedFunction::cast(Object* object) { function in class:WasmExportedFunction
528 WasmSharedModuleData* WasmSharedModuleData::cast(Object* object) { function in class:WasmSharedModuleData
    [all...]
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/
repeated_field.h 322 static inline typename TypeHandler::Type* cast(void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
326 static inline const typename TypeHandler::Type* cast(const void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
812 TypeHandler::Delete(cast<TypeHandler>(elements_[i]));
825 return *cast<TypeHandler>(elements_[index]);
833 return cast<TypeHandler>(elements_[index]);
839 return cast<TypeHandler>(elements_[current_size_++]);
851 TypeHandler::Clear(cast<TypeHandler>(elements_[--current_size_]));
857 TypeHandler::Clear(cast<TypeHandler>(elements_[i]));
912 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i]));
920 return cast<TypeHandler>(elements_[current_size_++])
    [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/
repeated_field.h 322 static inline typename TypeHandler::Type* cast(void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
326 static inline const typename TypeHandler::Type* cast(const void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
812 TypeHandler::Delete(cast<TypeHandler>(elements_[i]));
825 return *cast<TypeHandler>(elements_[index]);
833 return cast<TypeHandler>(elements_[index]);
839 return cast<TypeHandler>(elements_[current_size_++]);
851 TypeHandler::Clear(cast<TypeHandler>(elements_[--current_size_]));
857 TypeHandler::Clear(cast<TypeHandler>(elements_[i]));
912 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i]));
920 return cast<TypeHandler>(elements_[current_size_++])
    [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/
repeated_field.h 322 static inline typename TypeHandler::Type* cast(void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
326 static inline const typename TypeHandler::Type* cast(const void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
812 TypeHandler::Delete(cast<TypeHandler>(elements_[i]));
825 return *cast<TypeHandler>(elements_[index]);
833 return cast<TypeHandler>(elements_[index]);
839 return cast<TypeHandler>(elements_[current_size_++]);
851 TypeHandler::Clear(cast<TypeHandler>(elements_[--current_size_]));
857 TypeHandler::Clear(cast<TypeHandler>(elements_[i]));
912 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i]));
920 return cast<TypeHandler>(elements_[current_size_++])
    [all...]

Completed in 1201 milliseconds

1 2 3 4 56 7 8 91011>>