HomeSort by relevance Sort by last modified time
    Searched refs:cast (Results 51 - 75 of 3080) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/llvm/lib/Analysis/
AssumptionCache.cpp 67 assert(&F == cast<Instruction>(VH)->getParent()->getParent() &&
69 assert(match(cast<CallInst>(VH), m_Intrinsic<Intrinsic::assume>()) &&
86 OS << " " << *cast<CallInst>(VH)->getArgOperand(0) << "\n";
92 auto I = ACT->AssumptionCaches.find_as(cast<Function>(getValPtr()));
121 AssumptionSet.insert(cast<CallInst>(VH));
123 for (const BasicBlock &B : cast<Function>(*I.first))
126 assert(AssumptionSet.count(cast<CallInst>(&II)) &&
  /external/tensorflow/tensorflow/contrib/training/python/training/
sgdr_learning_rate_decay.py 136 global_step = math_ops.cast(global_step, dtype)
137 t_0 = math_ops.cast(initial_period_steps, dtype)
138 t_mul = math_ops.cast(t_mul, dtype)
139 m_mul = math_ops.cast(m_mul, dtype)
141 c_one = math_ops.cast(constant_op.constant(1.0), dtype)
142 c_half = math_ops.cast(constant_op.constant(0.5), dtype)
143 c_pi = math_ops.cast(constant_op.constant(math.pi), dtype)
  /external/v8/src/objects/
module-inl.h 36 ? ModuleInfo::cast(code())
55 return FixedArray::cast(get(kModuleRequestsIndex));
59 return FixedArray::cast(get(kSpecialExportsIndex));
63 return FixedArray::cast(get(kRegularExportsIndex));
67 return FixedArray::cast(get(kRegularImportsIndex));
71 return FixedArray::cast(get(kNamespaceImportsIndex));
75 return FixedArray::cast(get(kModuleRequestPositionsIndex));
shared-function-info-inl.h 106 return ScopeInfo::cast(value)->HasSharedFunctionName();
115 if (ScopeInfo::cast(value)->HasFunctionName()) {
116 return String::cast(ScopeInfo::cast(value)->FunctionName());
120 return String::cast(value);
126 ScopeInfo::cast(maybe_scope_info)->SetFunctionName(name);
137 return AbstractCode::cast(GetBytecodeArray());
139 return AbstractCode::cast(GetCode());
288 ScopeInfo* info = ScopeInfo::cast(maybe_scope_info);
305 ScopeInfo* info = ScopeInfo::cast(maybe_scope_info)
    [all...]
  /external/python/cpython2/Lib/ctypes/test/
test_cast.py 12 ptr = cast(array, POINTER(c_int))
16 ptr = cast(array, POINTER(c_short))
28 ptr = cast(c_void_p(address), POINTER(c_int))
31 ptr = cast(address, POINTER(c_int))
40 p = cast(array, POINTER(c_char_p))
52 p = cast((c_int * 4)(1, 2, 3, 4), POINTER(c_int))
76 self.assertEqual(cast(cast(s, c_void_p), c_char_p).value,
82 self.assertEqual(cast(cast(s, c_void_p), c_wchar_p).value
    [all...]
test_memfunctions.py 42 self.assertEqual(cast(a, c_char_p).value, "abcdef")
43 self.assertEqual(cast(a, POINTER(c_byte))[:7],
45 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
47 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
49 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
51 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
  /external/v8/src/ic/
call-optimization.cc 17 Initialize(isolate, Handle<JSFunction>::cast(function));
19 Initialize(isolate, Handle<FunctionTemplateInfo>::cast(function));
27 JSFunction* constructor = JSFunction::cast(holder_map->GetConstructor());
51 JSObject* raw_prototype = JSObject::cast(object_map->prototype());
68 Handle<Map> map(HeapObject::cast(*receiver)->map(), holder->GetIsolate());
91 object = JSObject::cast(prototype);
103 CallHandlerInfo::cast(function_template_info->call_code()), isolate);
107 handle(FunctionTemplateInfo::cast(function_template_info->signature()),
129 api_call_info_ = handle(CallHandlerInfo::cast(info->call_code()), isolate);
133 handle(FunctionTemplateInfo::cast(info->signature()), isolate)
    [all...]
  /external/tensorflow/tensorflow/contrib/sparsemax/python/ops/
sparsemax.py 67 1, math_ops.cast(dims, logits.dtype) + 1, dtype=logits.dtype)
71 k_z = math_ops.reduce_sum(math_ops.cast(z_check, dtypes.int32), axis=1)
82 tau_z = (tau_sum - 1) / math_ops.cast(k_z, logits.dtype)
86 math_ops.cast(0, logits.dtype), z - tau_z[:, array_ops.newaxis])
91 array_ops.fill([obs, dims], math_ops.cast(float("nan"), logits.dtype)),
  /external/v8/src/
field-type.cc 37 FieldType* FieldType::Class(i::Map* map) { return FieldType::cast(map); }
45 FieldType* FieldType::cast(Object* object) { function in class:v8::internal::FieldType
54 return Map::cast(this);
88 return HeapObject::cast(value)->map() == Map::cast(this);
roots-inl.h 21 return type::cast(heap_->roots_[Heap::k##camel_name##RootIndex]); \
32 return String::cast(heap_->roots_[Heap::k##name##RootIndex]); \
43 return Symbol::cast(heap_->roots_[Heap::k##name##RootIndex]); \
54 return Symbol::cast(heap_->roots_[Heap::k##name##RootIndex]); \
66 return Map::cast(heap_->roots_[Heap::k##Name##MapRootIndex]); \
77 return Map::cast(heap_->roots_[Heap::k##Name##Size##MapRootIndex]); \
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
MCFragment.cpp 255 delete cast<MCAlignFragment>(this);
258 delete cast<MCDataFragment>(this);
261 delete cast<MCCompactEncodedInstFragment>(this);
264 delete cast<MCFillFragment>(this);
267 delete cast<MCRelaxableFragment>(this);
270 delete cast<MCOrgFragment>(this);
273 delete cast<MCDwarfLineAddrFragment>(this);
276 delete cast<MCDwarfCallFrameFragment>(this);
279 delete cast<MCLEBFragment>(this);
282 delete cast<MCPaddingFragment>(this)
    [all...]
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
JavaSymbolSolver.java 50 return resultClass.cast(new JavaParserMethodDeclaration((MethodDeclaration)node, typeSolver));
55 return resultClass.cast(resolved);
61 return resultClass.cast(resolved);
68 return resultClass.cast(resolved);
77 return resultClass.cast(resolved);
83 return resultClass.cast(resolved);
90 return resultClass.cast(resolved);
100 return resultClass.cast(resolved);
106 return resultClass.cast(resolved);
113 return resultClass.cast(result.getCorrespondingDeclaration())
    [all...]
  /external/tensorflow/tensorflow/contrib/opt/python/training/
adamax.py 117 math_ops.cast(beta1_power, var.dtype.base_dtype),
118 math_ops.cast(self._lr_t, var.dtype.base_dtype),
119 math_ops.cast(self._beta1_t, var.dtype.base_dtype),
120 math_ops.cast(self._beta2_t, var.dtype.base_dtype),
121 math_ops.cast(self._epsilon_t, var.dtype.base_dtype),
130 math_ops.cast(beta1_power, grad.dtype.base_dtype),
131 math_ops.cast(self._lr_t, grad.dtype.base_dtype),
132 math_ops.cast(self._beta1_t, grad.dtype.base_dtype),
133 math_ops.cast(self._beta2_t, grad.dtype.base_dtype),
134 math_ops.cast(self._epsilon_t, grad.dtype.base_dtype)
    [all...]
adam_gs_optimizer.py 142 self._global_step_on_worker = math_ops.cast(
153 math_ops.cast(beta1_power, var.dtype.base_dtype),
154 math_ops.cast(beta2_power, var.dtype.base_dtype),
155 math_ops.cast(self._lr_t, var.dtype.base_dtype),
156 math_ops.cast(self._beta1_t, var.dtype.base_dtype),
157 math_ops.cast(self._beta2_t, var.dtype.base_dtype),
158 math_ops.cast(self._epsilon_t, var.dtype.base_dtype),
170 math_ops.cast(beta1_power, grad.dtype.base_dtype),
171 math_ops.cast(beta2_power, grad.dtype.base_dtype),
172 math_ops.cast(self._lr_t, grad.dtype.base_dtype)
    [all...]
powersign.py 118 math_ops.cast(self._lr_t, var.dtype.base_dtype),
119 math_ops.cast(self._logbase_t, var.dtype.base_dtype),
120 math_ops.cast(self._sign_decay_t, var.dtype.base_dtype),
121 math_ops.cast(self._beta_t, var.dtype.base_dtype),
130 math_ops.cast(self._lr_t, var.dtype.base_dtype),
131 math_ops.cast(self._logbase_t, var.dtype.base_dtype),
132 math_ops.cast(self._sign_decay_t, var.dtype.base_dtype),
133 math_ops.cast(self._beta_t, var.dtype.base_dtype),
138 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype)
139 beta_t = math_ops.cast(self._beta_t, var.dtype.base_dtype
    [all...]
  /external/clang/lib/AST/
ExprClassification.cpp 99 llvm_unreachable("Invalid value category of implicit cast.");
196 cast<SubstNonTypeTemplateParmExpr>(E)->getReplacement());
201 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType())
202 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase());
209 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
211 return ClassifyDecl(Ctx, cast<DeclRefExpr>(E)->getDecl());
215 return ClassifyMemberExpr(Ctx, cast<MemberExpr>(E));
218 switch (cast<UnaryOperator>(E)->getOpcode()) {
227 return ClassifyInternal(Ctx, cast<UnaryOperator>(E)->getSubExpr());
233 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens()
    [all...]
  /external/llvm/lib/MC/
MCFragment.cpp 262 delete cast<MCAlignFragment>(this);
265 delete cast<MCDataFragment>(this);
268 delete cast<MCCompactEncodedInstFragment>(this);
271 delete cast<MCFillFragment>(this);
274 delete cast<MCRelaxableFragment>(this);
277 delete cast<MCOrgFragment>(this);
280 delete cast<MCDwarfLineAddrFragment>(this);
283 delete cast<MCDwarfCallFrameFragment>(this);
286 delete cast<MCLEBFragment>(this);
289 delete cast<MCSafeSEHFragment>(this)
    [all...]
  /external/skia/src/utils/
SkJSON.h 81 * @return The record cast as facade type T&.
92 * @return The record cast as facade type T*.
168 const T* cast() const { function
175 T* cast() { return const_cast<T*>(const_cast<const Value*>(this)->cast<T>()); } function
185 ? *this->cast<const T*>()
187 : reinterpret_cast<T*>(*this->cast<uintptr_t>() & kTagPointerMask);
221 return *this->cast<bool>();
237 ? static_cast<double>(*this->cast<int32_t>())
238 : static_cast<double>(*this->cast<float>())
    [all...]
  /external/skqp/src/utils/
SkJSON.h 81 * @return The record cast as facade type T&.
92 * @return The record cast as facade type T*.
168 const T* cast() const { function
175 T* cast() { return const_cast<T*>(const_cast<const Value*>(this)->cast<T>()); } function
185 ? *this->cast<const T*>()
187 : reinterpret_cast<T*>(*this->cast<uintptr_t>() & kTagPointerMask);
221 return *this->cast<bool>();
237 ? static_cast<double>(*this->cast<int32_t>())
238 : static_cast<double>(*this->cast<float>())
    [all...]
  /external/tensorflow/tensorflow/python/training/
adam.py 153 math_ops.cast(beta1_power, var.dtype.base_dtype),
154 math_ops.cast(beta2_power, var.dtype.base_dtype),
155 math_ops.cast(self._lr_t, var.dtype.base_dtype),
156 math_ops.cast(self._beta1_t, var.dtype.base_dtype),
157 math_ops.cast(self._beta2_t, var.dtype.base_dtype),
158 math_ops.cast(self._epsilon_t, var.dtype.base_dtype),
170 math_ops.cast(beta1_power, grad.dtype.base_dtype),
171 math_ops.cast(beta2_power, grad.dtype.base_dtype),
172 math_ops.cast(self._lr_t, grad.dtype.base_dtype),
173 math_ops.cast(self._beta1_t, grad.dtype.base_dtype)
    [all...]
  /external/python/cpython3/Lib/ctypes/test/
test_memfunctions.py 43 self.assertEqual(cast(a, c_char_p).value, b"abcdef")
44 self.assertEqual(cast(a, POINTER(c_byte))[:7],
46 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
48 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
50 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
52 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
  /external/clang/lib/Frontend/
ASTConsumers.cpp 74 return cast<NamedDecl>(D)->getQualifiedNameAsString();
206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC);
211 const EnumDecl* ED = cast<EnumDecl>(DC);
220 const RecordDecl* RD = cast<RecordDecl>(DC);
229 const CXXRecordDecl* RD = cast<CXXRecordDecl>(DC);
262 const FunctionDecl* FD = cast<FunctionDecl>(DC);
282 const CXXMethodDecl* D = cast<CXXMethodDecl>(DC);
311 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC);
339 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC);
355 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC)
    [all...]
  /external/swiftshader/third_party/subzero/crosstest/
test_cast_main.cpp 10 // Driver for crosstesting cast operations.
99 COMPARE(cast, FromType, bool, Val, FromTypeString);
100 COMPARE(cast, FromType, uint8_t, Val, FromTypeString);
101 COMPARE(cast, FromType, myint8_t, Val, FromTypeString);
102 COMPARE(cast, FromType, uint16_t, Val, FromTypeString);
103 COMPARE(cast, FromType, int16_t, Val, FromTypeString);
104 COMPARE(cast, FromType, uint32_t, Val, FromTypeString);
105 COMPARE(cast, FromType, int32_t, Val, FromTypeString);
106 COMPARE(cast, FromType, uint64, Val, FromTypeString);
107 COMPARE(cast, FromType, int64, Val, FromTypeString)
    [all...]
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
Injector.java 80 int idValue = InjectView.class.cast(annotation).value();
82 Object injectedValue = fieldType.cast(mActivity.findViewById(idValue));
  /external/guava/guava-gwt/test/com/google/common/
GwtTestSuite.java 42 Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz; local
43 suite.addTestSuite(cast);

Completed in 276 milliseconds

1 23 4 5 6 7 8 91011>>