Home
last modified time | relevance | path

Searched refs:cast (Results 1 - 25 of 1457) sorted by relevance

12345678910>>...59

/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_constructor_expression_test.cc94 // cast<Int>(2.3f) in TEST_F()
97 auto* cast = Construct(ty.Of(alias), 2.3f); in TEST_F() local
98 WrapInFunction(cast); in TEST_F()
103 EXPECT_EQ(b.GenerateExpression(cast), 1u); in TEST_F()
169 auto* cast = Construct<bool>(true); in TEST_F() local
170 WrapInFunction(cast); in TEST_F()
176 EXPECT_EQ(b.GenerateExpression(cast), 3u); in TEST_F()
186 auto* cast = Construct<i32>(2); in TEST_F() local
187 WrapInFunction(cast); in TEST_F()
192 EXPECT_EQ(b.GenerateExpression(cast), in TEST_F()
201 auto* cast = Construct<u32>(2u); TEST_F() local
216 auto* cast = Construct<f32>(2.0f); TEST_F() local
231 auto* cast = vec2<bool>(true); TEST_F() local
249 auto* cast = vec2<bool>(var); TEST_F() local
272 auto* cast = vec2<f32>(2.0f); TEST_F() local
290 auto* cast = vec2<f32>(var); TEST_F() local
312 auto* cast = vec2<f32>(2.0f, 2.0f); TEST_F() local
329 auto* cast = vec2<f32>(value); TEST_F() local
346 auto* cast = vec3<f32>(2.0f); TEST_F() local
362 auto* cast = vec3<bool>(true); TEST_F() local
378 auto* cast = vec3<f32>(2.0f, 2.0f, 2.0f); TEST_F() local
394 auto* cast = vec3<f32>(2.0f, vec2<f32>(2.0f, 2.0f)); TEST_F() local
416 auto* cast = vec3<f32>(vec2<f32>(2.0f, 2.0f), 2.0f); TEST_F() local
439 auto* cast = vec3<f32>(value); TEST_F() local
456 auto* cast = vec4<bool>(true); TEST_F() local
472 auto* cast = vec4<f32>(2.0f); TEST_F() local
488 auto* cast = vec4<f32>(2.0f, 2.0f, 2.0f, 2.0f); TEST_F() local
504 auto* cast = vec4<f32>(2.0f, 2.0f, vec2<f32>(2.0f, 2.0f)); TEST_F() local
526 auto* cast = vec4<f32>(2.0f, vec2<f32>(2.0f, 2.0f), 2.0f); TEST_F() local
548 auto* cast = vec4<f32>(vec2<f32>(2.0f, 2.0f), 2.0f, 2.0f); TEST_F() local
570 auto* cast = vec4<f32>(vec2<f32>(2.0f, 2.0f), vec2<f32>(2.0f, 2.0f)); TEST_F() local
594 auto* cast = vec4<f32>(2.0f, vec3<f32>(2.0f, 2.0f, 2.0f)); TEST_F() local
617 auto* cast = vec4<f32>(vec3<f32>(2.0f, 2.0f, 2.0f), 2.0f); TEST_F() local
641 auto* cast = vec4<f32>(value); TEST_F() local
688 auto* cast = vec2<f32>(2.0f); TEST_F() local
704 auto* cast = vec2<f32>(vec2<f32>(2.0f, 2.0f)); TEST_F() local
722 auto* cast = vec3<f32>(vec3<f32>(2.0f, 2.0f, 2.0f)); TEST_F() local
740 auto* cast = vec4<f32>(vec4<f32>(2.0f, 2.0f, 2.0f, 2.0f)); TEST_F() local
758 auto* cast = vec3<f32>(2.0f); TEST_F() local
774 auto* cast = vec3<f32>(2.0f, vec2<f32>(2.0f, 2.0f)); TEST_F() local
797 auto* cast = vec3<f32>(vec2<f32>(2.0f, 2.0f), 2.0f); TEST_F() local
820 auto* cast = vec4<f32>(2.0f); TEST_F() local
836 auto* cast = vec4<f32>(2.0f, 2.0f, vec2<f32>(2.0f, 2.0f)); TEST_F() local
859 auto* cast = vec4<f32>(2.0f, vec2<f32>(2.0f, 2.0f), 2.0f); TEST_F() local
882 auto* cast = vec4<f32>(vec2<f32>(2.0f, 2.0f), 2.0f, 2.0f); TEST_F() local
905 auto* cast = vec4<f32>(vec2<f32>(2.0f, 2.0f), vec2<f32>(2.0f, 2.0f)); TEST_F() local
930 auto* cast = vec4<f32>(2.0f, vec3<f32>(2.0f, 2.0f, 2.0f)); TEST_F() local
955 auto* cast = vec4<f32>(vec3<f32>(2.0f, 2.0f, 2.0f), 2.0f); TEST_F() local
980 auto* cast = mat2x2<f32>(vec2<f32>(2.0f, 2.0f), vec2<f32>(2.0f, 2.0f)); TEST_F() local
998 auto* cast = mat3x2<f32>(vec2<f32>(2.0f, 2.0f), vec2<f32>(2.0f, 2.0f), TEST_F() local
1017 auto* cast = mat4x2<f32>(vec2<f32>(2.0f, 2.0f), vec2<f32>(2.0f, 2.0f), TEST_F() local
1036 auto* cast = TEST_F() local
1055 auto* cast = TEST_F() local
1075 auto* cast = TEST_F() local
1095 auto* cast = mat2x4<f32>(vec4<f32>(2.0f, 2.0f, 2.0f, 2.0f), TEST_F() local
1114 auto* cast = mat3x4<f32>(vec4<f32>(2.0f, 2.0f, 2.0f, 2.0f), TEST_F() local
1134 auto* cast = mat4x4<f32>( TEST_F() local
1154 auto* cast = array<f32, 5>(2.0f, 2.0f, 2.0f, 2.0f, 2.0f); TEST_F() local
1437 auto* cast = Construct<i32>(2u); TEST_F() local
1455 auto* cast = Construct<u32>(2); TEST_F() local
1473 auto* cast = Construct<i32>(2.4f); TEST_F() local
1491 auto* cast = Construct<u32>(2.4f); TEST_F() local
1509 auto* cast = Construct<f32>(2); TEST_F() local
1527 auto* cast = Construct<f32>(2u); TEST_F() local
1547 auto* cast = vec3<i32>("i"); TEST_F() local
1573 auto* cast = vec3<i32>("i"); TEST_F() local
1599 auto* cast = vec3<u32>("i"); TEST_F() local
1625 auto* cast = vec3<u32>("i"); TEST_F() local
1651 auto* cast = vec3<f32>("i"); TEST_F() local
1677 auto* cast = vec3<f32>("i"); TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_cast.cpp10 // Implementation for crosstesting cast operations.
22 ToType __attribute__((noinline)) cast(FromType a) { in cast() function
32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { in cast() function
46 // cast<A,B>() to be instantiated in the resulting bitcode file for
49 static ToType f(bool a) { return cast<bool, ToType>(a); } in f()
50 static ToType f(myint8_t a) { return cast<myint8_t, ToType>(a); } in f()
51 static ToType f(uint8_t a) { return cast<uint8_t, ToType>(a); } in f()
52 static ToType f(int16_t a) { return cast<int16_t, ToType>(a); } in f()
53 static ToType f(uint16_t a) { return cast<uint16_t, ToType>(a); } in f()
54 static ToType f(int32_t a) { return cast<int32_ in f()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstruction.cpp101 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); in setHasNoUnsignedWrap()
105 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
109 cast<PossiblyExactOperator>(this)->setIsExact(b); in setIsExact()
113 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
117 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); in hasNoSignedWrap()
126 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(false); in dropPoisonGeneratingFlags()
127 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(false); in dropPoisonGeneratingFlags()
134 cast<PossiblyExactOperator>(this)->setIsExact(false); in dropPoisonGeneratingFlags()
138 cast<GetElementPtrInst>(this)->setIsInBounds(false); in dropPoisonGeneratingFlags()
146 return cast<PossiblyExactOperato in isExact()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DIntrinsicInst.h42 /// This allows the standard isa/dyncast/cast functionality to work with calls
55 // Methods for support type inquiry through isa, cast, and dyn_cast:
62 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof()
82 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
102 return cast<DILocalVariable>(getRawVariable()); in getVariable()
106 return cast<DIExpression>(getRawExpression()); in getExpression()
110 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata(); in getRawVariable()
114 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); in getRawExpression()
133 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
149 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicIns in classof()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceInstrumentation.cpp64 instrumentAlloca(Context, llvm::cast<InstAlloca>(Instr)); in instrumentInst()
67 instrumentArithmetic(Context, llvm::cast<InstArithmetic>(Instr)); in instrumentInst()
70 instrumentBr(Context, llvm::cast<InstBr>(Instr)); in instrumentInst()
73 instrumentCall(Context, llvm::cast<InstCall>(Instr)); in instrumentInst()
76 instrumentCast(Context, llvm::cast<InstCast>(Instr)); in instrumentInst()
79 instrumentExtractElement(Context, llvm::cast<InstExtractElement>(Instr)); in instrumentInst()
82 instrumentFcmp(Context, llvm::cast<InstFcmp>(Instr)); in instrumentInst()
85 instrumentIcmp(Context, llvm::cast<InstIcmp>(Instr)); in instrumentInst()
88 instrumentInsertElement(Context, llvm::cast<InstInsertElement>(Instr)); in instrumentInst()
91 instrumentIntrinsic(Context, llvm::cast<InstIntrinsi in instrumentInst()
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dcl_stubs.cpp74 return device->cast<Device>().getInfo(param_name, param_value_size, param_value, in GetDeviceInfo()
84 return in_device->cast<Device>().createSubDevices(properties, num_devices, out_devices, in CreateSubDevices()
90 Device &dev = device->cast<Device>(); in RetainDevice()
100 Device &dev = device->cast<Device>(); in ReleaseDevice()
159 context->cast<Context>().retain(); in RetainContext()
165 Context &ctx = context->cast<Context>(); in ReleaseContext()
179 return context->cast<Context>().getInfo(param_name, param_value_size, param_value, in GetContextInfo()
197 return context->cast<Context>().createCommandQueueWithProperties(device, properties, errorCode); in CreateCommandQueueWithProperties()
202 command_queue->cast<CommandQueue>().retain(); in RetainCommandQueue()
208 CommandQueue &queue = command_queue->cast<CommandQueu in ReleaseCommandQueue()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroInstr.h57 return cast<ConstantInt>(getArgOperand(IndexArg)); in getRawIndex()
60 // Methods to support type inquiry through isa, cast, and dyn_cast:
65 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
72 // Methods to support type inquiry through isa, cast, and dyn_cast:
77 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
99 // Methods to support type inquiry through isa, cast, and dyn_cast:
108 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
121 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise()
134 auto *Inst = cast<Instruction>(Arg); in clearPromise()
173 Result.Resumers = cast<ConstantArra in getInfo()
[all...]
/third_party/skia/third_party/skcms/src/
H A DTransform_inl.h107 // (T)v is a cast when N == 1 and a bit-pun when N>1,
108 // so we use cast<T>(v) to actually cast or bit_pun<T>(v) to bit-pun.
110 SI D cast(const S& v) { in cast() function
132 // To serve both those ends, we use this function to_fixed() instead of direct cast().
135 SI U16 to_fixed(F f) { return cast<U16>(f + 0.5f); } in to_fixed()
137 SI U32 to_fixed(F f) { return (U32)cast<I32>(f + 0.5f); } in to_fixed()
169 U32 wide = cast<U32>(half); in F_from_Half()
203 return cast<U16>(if_then_else(em < 0x38800000, (U32)F0 in Half_from_F()
244 // and integer santizer catches that this implicit cast change in floor_()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DTraits.hpp82 static Bool cast(bool);
88 static Byte cast(uint8_t);
94 static SByte cast(int8_t);
100 static Short cast(int16_t);
106 static UShort cast(uint16_t);
112 static Int cast(int32_t);
118 static UInt cast(uint32_t);
124 static Float cast(float);
130 static Float4 cast(float[4]);
137 using type = Long; /* static Long cast(uint64_
251 static type cast(T v) { return CToReactor<T>::cast(v); } cast() function
257 static type cast(T v) { return type(v); } cast() function
263 static type cast(T v) { return type(v); } cast() function
269 static type cast(T v) { return type(v); } cast() function
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_deref.c30 is_trivial_deref_cast(nir_deref_instr *cast) in is_trivial_deref_cast() argument
32 nir_deref_instr *parent = nir_src_as_deref(cast->parent); in is_trivial_deref_cast()
36 return cast->modes == parent->modes && in is_trivial_deref_cast()
37 cast->type == parent->type && in is_trivial_deref_cast()
38 cast->dest.ssa.num_components == parent->dest.ssa.num_components && in is_trivial_deref_cast()
39 cast->dest.ssa.bit_size == parent->dest.ssa.bit_size; in is_trivial_deref_cast()
271 return deref->cast.ptr_stride; in nir_deref_instr_array_stride()
325 /* A cast doesn't contribute to the offset */ in nir_deref_instr_get_const_offset()
364 /* A cast doesn't contribute to the offset */ in nir_build_deref_offset()
478 * paths. Look to see if either contains cast o in compare_deref_paths()
927 is_trivial_array_deref_cast(nir_deref_instr *cast) is_trivial_array_deref_cast() argument
952 opt_remove_restricting_cast_alignments(nir_deref_instr *cast) opt_remove_restricting_cast_alignments() argument
1025 opt_remove_cast_cast(nir_deref_instr *cast) opt_remove_cast_cast() argument
1068 opt_remove_sampler_cast(nir_deref_instr *cast) opt_remove_sampler_cast() argument
1118 opt_replace_struct_wrapper_cast(nir_builder *b, nir_deref_instr *cast) opt_replace_struct_wrapper_cast() argument
1147 opt_deref_cast(nir_builder *b, nir_deref_instr *cast) opt_deref_cast() argument
1245 is_vector_bitcast_deref(nir_deref_instr *cast, nir_component_mask_t mask, bool is_write) is_vector_bitcast_deref() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp59 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
63 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
80 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
95 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
105 return cast<VPInstruction>(Op)->getParent() != &this->BB; in areVectorizable()
123 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()
125 auto *VPI = cast<VPInstruction>(&I); in areVectorizable()
140 return cast<LoadInst>(cast<VPInstructio in areVectorizable()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_cast_test.cc25 auto* cast = Construct<f32>(1); in TEST_F() local
26 WrapInFunction(cast); in TEST_F()
31 ASSERT_TRUE(gen.EmitExpression(out, cast)) << gen.error(); in TEST_F()
36 auto* cast = vec3<f32>(vec3<i32>(1, 2, 3)); in TEST_F() local
37 WrapInFunction(cast); in TEST_F()
42 ASSERT_TRUE(gen.EmitExpression(out, cast)) << gen.error(); in TEST_F()
47 auto* cast = Construct<u32>(std::numeric_limits<int32_t>::min()); in TEST_F() local
48 WrapInFunction(cast); in TEST_F()
53 ASSERT_TRUE(gen.EmitExpression(out, cast)) << gen.error(); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp277 const auto *SeqR = cast<ConstantDataSequential>(R); in cmpConstants()
291 const APInt &LInt = cast<ConstantInt>(L)->getValue(); in cmpConstants()
292 const APInt &RInt = cast<ConstantInt>(R)->getValue(); in cmpConstants()
296 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF(); in cmpConstants()
297 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF(); in cmpConstants()
301 const ConstantArray *LA = cast<ConstantArray>(L); in cmpConstants()
302 const ConstantArray *RA = cast<ConstantArray>(R); in cmpConstants()
303 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements(); in cmpConstants()
304 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); in cmpConstants()
308 if (int Res = cmpConstants(cast<Constan in cmpConstants()
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_cast.py12 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(
[all...]
/third_party/node/deps/v8/src/objects/
H A Dobjects-inl.h77 return IsHeapObject() && HeapObject::cast(*this).InSharedHeap(); in InSharedHeap()
81 return IsHeapObject() && HeapObject::cast(*this).InSharedWritableHeap(); in InSharedWritableHeap()
86 return IsHeapObject() && HeapObject::cast(*this).Is##type_(); \
89 return IsHeapObject() && HeapObject::cast(*this).Is##type_(cage_base); \
108 return IsHeapObject() && HeapObject::cast(*this).Is##Type(); \
132 return IsHeapObject() && HeapObject::cast(*this).IsNullOrUndefined(); in IsNullOrUndefined()
138 return IsSymbol() && !Symbol::cast(*this).is_private(); in IsPublicSymbol()
141 return IsSymbol() && Symbol::cast(*this).is_private(); in IsPrivateSymbol()
227 Foreign::cast(*this).foreign_address() != kNullAddress; in DEF_GETTER()
240 return StringShape(String::cast(*thi in DEF_GETTER()
1268 FreshlyAllocatedBigInt FreshlyAllocatedBigInt::cast(Object object) { cast() function in v8::internal::FreshlyAllocatedBigInt
[all...]
H A Dtemplates.cc30 return handle(SharedFunctionInfo::cast(current_info), isolate); in GetOrCreateSharedFunctionInfo()
35 name_string = Handle<String>::cast(name); in GetOrCreateSharedFunctionInfo()
37 name_string = handle(String::cast(info->class_name()), isolate); in GetOrCreateSharedFunctionInfo()
83 JSFunction fun = JSFunction::cast(cons_obj); in IsTemplateFor()
86 type = FunctionTemplateInfo::cast(cons_obj); in IsTemplateFor()
94 type = FunctionTemplateInfo::cast(type).GetParentTemplate(); in IsTemplateFor()
108 Map map = HeapObject::cast(object).map(); in IsLeafTemplateForApiObject()
111 JSFunction fun = JSFunction::cast(constructor_obj); in IsLeafTemplateForApiObject()
135 Object maybe_name = FunctionTemplateInfo::cast(getter).cached_property_name(); in TryGetCachedPropertyName()
137 return Name::cast(maybe_nam in TryGetCachedPropertyName()
[all...]
H A Dname-inl.h74 return String::cast(*this).SlowEquals(String::cast(other)); in Equals()
83 return String::SlowEquals(isolate, Handle<String>::cast(one), in Equals()
84 Handle<String>::cast(two)); in Equals()
117 return String::cast(*this).ComputeAndSetHash(); in EnsureHash()
125 return String::cast(*this).ComputeAndSetHash(access_guard); in EnsureHash()
135 return IsSymbol(cage_base) && Symbol::cast(*this).is_interesting_symbol(); in DEF_GETTER()
139 return this->IsSymbol(cage_base) && Symbol::cast(*this).is_private(); in DEF_GETTER()
144 this->IsSymbol(cage_base) && Symbol::cast(*this).is_private_name(); in DEF_GETTER()
151 this->IsSymbol(cage_base) && Symbol::cast(*thi in DEF_GETTER()
[all...]
H A Dobjects.cc212 Handle<Map> map(HeapObject::cast(*this).map(), isolate); in OptimalType()
230 HeapNumber::cast(*object).value_as_bits(kRelaxedLoad), kRelaxedStore); in NewStorageFor()
246 HeapNumber::cast(*object).value_as_bits(kRelaxedLoad)); in WrapForRead()
265 Handle<HeapObject>::cast(object)->map().GetConstructorFunctionIndex(); in ToObjectImpl()
280 JSFunction::cast(native_context->get(constructor_function_index)), in ToObjectImpl()
284 Handle<JSPrimitiveWrapper>::cast(result)->set_value(*object); in ToObjectImpl()
292 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); in ConvertReceiver()
308 return String::ToNumber(isolate, Handle<String>::cast(input)); in ConvertToNumberOrNumeric()
311 return Oddball::ToNumber(isolate, Handle<Oddball>::cast(input)); in ConvertToNumberOrNumeric()
325 JSReceiver::ToPrimitive(isolate, Handle<JSReceiver>::cast(inpu in ConvertToNumberOrNumeric()
[all...]
H A Dcall-site-info.cc21 JSFunction fun = JSFunction::cast(function()); in IsPromiseAll()
27 JSFunction fun = JSFunction::cast(function()); in IsPromiseAllSettled()
33 JSFunction fun = JSFunction::cast(function()); in IsPromiseAny()
205 if (sourceURL->IsString()) return Handle<String>::cast(sourceURL); in FormatEvalOrigin()
218 Handle<Script> eval_script(Script::cast(eval_shared->script()), isolate); in FormatEvalOrigin()
230 builder.AppendString(Handle<String>::cast(eval_script_name)); in FormatEvalOrigin()
284 Handle<JSFunction> function(JSFunction::cast(info->function()), isolate); in GetFunctionName()
301 Handle<JSFunction> function(JSFunction::cast(info->function()), isolate); in GetFunctionDebugName()
334 auto pair = AccessorPair::cast(value); in InferMethodNameFromFastObject()
359 auto pair = AccessorPair::cast(valu in InferMethodNameFromDictionary()
[all...]
H A Dshared-function-info-inl.h74 return PreparseData::cast(get_child_raw(index)); in get_child()
157 return ScopeInfo::cast(value).HasSharedFunctionName(); in HasSharedName()
166 if (ScopeInfo::cast(value).HasFunctionName()) { in Name()
167 return String::cast(ScopeInfo::cast(value).FunctionName()); in Name()
171 return String::cast(value); in Name()
177 ScopeInfo::cast(maybe_scope_info).SetFunctionName(name); in SetName()
188 Script::cast(script()).compilation_type() == in is_script()
201 return AbstractCode::cast(GetBytecodeArray(isolate)); in abstract_code()
203 return AbstractCode::cast(FromCode in abstract_code()
[all...]
H A Ddebug-objects.cc88 return BreakPointInfo::cast(break_point_info).GetBreakPointCount(isolate) > 0; in HasBreakPoint()
97 BreakPointInfo::cast(break_points().get(i)); in GetBreakPointInfo()
112 BreakPointInfo::cast(debug_info->break_points().get(i)), isolate); in ClearBreakPoint()
129 isolate, Handle<BreakPointInfo>::cast(break_point_info), break_point); in SetBreakPoint()
174 return Handle<Object>(BreakPointInfo::cast(break_point_info).break_points(), in GetBreakPoints()
185 BreakPointInfo::cast(break_points().get(i)); in GetBreakPointCount()
199 BreakPointInfo::cast(debug_info->break_points().get(i)), isolate); in FindBreakPointInfo()
246 if (IsEqual(BreakPoint::cast(break_point_info->break_points()), in ClearBreakPoint()
256 FixedArray::cast(break_point_info->break_points()), isolate); in ClearBreakPoint()
261 if (IsEqual(BreakPoint::cast(old_arra in ClearBreakPoint()
[all...]
H A Dmodule.cc32 SourceTextModule::cast(module).GetScript().GetNameOrSourceURL().Print(os); in PrintModuleName()
34 SyntheticModule::cast(module).name().Print(os); in PrintModuleName()
93 auto self = SourceTextModule::cast(*module); in RecordError()
114 SourceTextModule::cast(*module).requested_modules(), isolate) in ResetGraph()
125 ResetGraph(isolate, Handle<Module>::cast(descendant)); in ResetGraph()
141 ? SourceTextModule::cast(*module).regular_exports().length() in Reset()
142 : SyntheticModule::cast(*module).export_names().length(); in Reset()
146 SourceTextModule::Reset(isolate, Handle<SourceTextModule>::cast(module)); in Reset()
170 isolate, Handle<SourceTextModule>::cast(module), module_specifier, in ResolveExport()
174 isolate, Handle<SyntheticModule>::cast(modul in ResolveExport()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCFragment.cpp252 delete cast<MCAlignFragment>(this); in destroy()
255 delete cast<MCDataFragment>(this); in destroy()
258 delete cast<MCCompactEncodedInstFragment>(this); in destroy()
261 delete cast<MCFillFragment>(this); in destroy()
264 delete cast<MCRelaxableFragment>(this); in destroy()
267 delete cast<MCOrgFragment>(this); in destroy()
270 delete cast<MCDwarfLineAddrFragment>(this); in destroy()
273 delete cast<MCDwarfCallFrameFragment>(this); in destroy()
276 delete cast<MCLEBFragment>(this); in destroy()
279 delete cast<MCBoundaryAlignFragmen in destroy()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationCL.cpp62 platform = &nativePlatform->cast<Platform>(); in ValidateContextProperties()
178 const CommandQueue &queue = commandQueue->cast<CommandQueue>(); in ValidateCommandQueueAndEventWaitList()
209 if (&queue.getContext() != &(*events++)->cast<Event>().getContext()) in ValidateCommandQueueAndEventWaitList()
228 const Buffer &buf = buffer->cast<Buffer>(); in ValidateEnqueueBuffer()
365 const Image &img = image->cast<Image>(); in ValidateEnqueueImage()
526 const cl_version version = platform->cast<Platform>().getVersion(); in ValidateGetPlatformInfo()
585 const Device &dev = device->cast<Device>(); in ValidateGetDeviceInfo()
703 if (!Device::IsValid(*devices) || &(*devices)->cast<Device>().getPlatform() != platform) in ValidateCreateContext()
795 const CommandQueue &queue = command_queue->cast<CommandQueue>(); in ValidateGetCommandQueueInfo()
832 const Context &ctx = context->cast<Contex in ValidateCreateBuffer()
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dpending-optimization-table.cc42 : handle(ObjectHashTable::cast( in PreparedForOptimization()
62 : handle(Handle<ObjectHashTable>::cast(table)->Lookup( in IsHeuristicOptimizationAllowed()
69 DCHECK(Handle<Tuple2>::cast(entry)->value2().IsSmi()); in IsHeuristicOptimizationAllowed()
70 FunctionStatusFlags status(Smi::ToInt(Handle<Tuple2>::cast(entry)->value2())); in IsHeuristicOptimizationAllowed()
83 : handle(Handle<ObjectHashTable>::cast(table)->Lookup( in MarkedForOptimization()
97 DCHECK(Handle<Tuple2>::cast(entry)->value2().IsSmi()); in MarkedForOptimization()
98 FunctionStatusFlags status(Smi::ToInt(Handle<Tuple2>::cast(entry)->value2())); in MarkedForOptimization()
101 Handle<Tuple2>::cast(entry)->set_value2(Smi::FromInt(status)); in MarkedForOptimization()
102 table = ObjectHashTable::Put(Handle<ObjectHashTable>::cast(table), in MarkedForOptimization()
116 handle(ObjectHashTable::cast( in FunctionWasOptimized()
[all...]

Completed in 27 milliseconds

12345678910>>...59