/third_party/skia/third_party/externals/tint/src/ |
D | traits_test.cc | 38 static_assert(SignatureOfT<decltype(&F1)>::parameter_count == 1, ""); in TEST() 39 static_assert(SignatureOfT<decltype(&F3)>::parameter_count == 3, ""); in TEST() 58 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST() 59 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST() 78 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST() 79 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST() 98 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST() 99 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST() 111 static_assert(SignatureOfT<F1>::parameter_count == 1, ""); in TEST() 112 static_assert(SignatureOfT<F3>::parameter_count == 3, ""); in TEST() [all …]
|
/third_party/node/deps/v8/src/compiler/ |
D | frame-states.h | 87 FrameStateFunctionInfo(FrameStateType type, int parameter_count, in FrameStateFunctionInfo() argument 91 parameter_count_(parameter_count), in FrameStateFunctionInfo() 96 int parameter_count() const { return parameter_count_; } in parameter_count() function 116 JSToWasmFrameStateFunctionInfo(FrameStateType type, int parameter_count, in JSToWasmFrameStateFunctionInfo() argument 120 : FrameStateFunctionInfo(type, parameter_count, local_count, shared_info), in JSToWasmFrameStateFunctionInfo() 151 int parameter_count() const { in parameter_count() function 152 return info_ == nullptr ? 0 : info_->parameter_count(); in parameter_count() 178 int parameter_count, Node* outer_frame_state,
|
D | linkage.cc | 212 int parameter_count = static_cast<int>(ParameterCount()); in ToEncodedCSignature() local 213 EncodedCSignature sig(parameter_count); in ToEncodedCSignature() 214 CHECK_LT(parameter_count, EncodedCSignature::kInvalidParamCount); in ToEncodedCSignature() 216 for (int i = 0; i < parameter_count; ++i) { in ToEncodedCSignature() 329 const size_t parameter_count = function_count + in GetCEntryStubCallDescriptor() local 334 static_cast<size_t>(parameter_count)); in GetCEntryStubCallDescriptor() 388 const size_t parameter_count = in GetJSCallDescriptor() local 391 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor() 448 const size_t parameter_count = in GetStubCallDescriptor() local 454 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetStubCallDescriptor() [all …]
|
D | linkage.h | 324 size_t ParameterCount() const { return location_sig_->parameter_count(); } in NON_EXPORTED_BASE() 366 size_t InputCount() const { return 1 + location_sig_->parameter_count(); } in NON_EXPORTED_BASE() 515 int parameter_count, in NON_EXPORTED_BASE() 575 static int GetStubCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 576 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE() 580 static constexpr int GetJSCallNewTargetParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 581 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE() 585 static constexpr int GetJSCallArgCountParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 586 return parameter_count + 1; // Parameter (arity + 1) is special. in NON_EXPORTED_BASE() 590 static constexpr int GetJSCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE() [all …]
|
D | frame-states.cc | 115 Node* context, Node** parameters, int parameter_count, in CreateBuiltinContinuationFrameStateCommon() argument 123 common->StateValues(parameter_count, SparseInputMask::Dense()); in CreateBuiltinContinuationFrameStateCommon() 124 Node* params_node = graph->NewNode(op_param, parameter_count, parameters); in CreateBuiltinContinuationFrameStateCommon() 130 frame_type, parameter_count, 0, shared, signature) in CreateBuiltinContinuationFrameStateCommon() 132 frame_type, parameter_count, 0, shared); in CreateBuiltinContinuationFrameStateCommon() 136 common->CreateFrameStateFunctionInfo(frame_type, parameter_count, 0, in CreateBuiltinContinuationFrameStateCommon() 151 int parameter_count, Node* outer_frame_state, in CreateStubBuiltinContinuationFrameState() argument
|
D | bytecode-analysis.h | 25 BytecodeLoopAssignments(int parameter_count, int register_count, Zone* zone); 34 int parameter_count() const { return parameter_count_; } in parameter_count() function 70 LoopInfo(int parent_offset, int parameter_count, int register_count, in LoopInfo() 73 assignments_(parameter_count, register_count, zone), in LoopInfo()
|
D | osr.h | 32 static int FirstStackSlotIndex(int parameter_count) { in FirstStackSlotIndex() argument 34 return 1 + parameter_count; // receiver + params in FirstStackSlotIndex()
|
D | c-linkage.cc | 157 for (size_t i = 0; i < msig->parameter_count(); i++) { in BuildParameterLocations() 194 for (size_t i = 0; i < msig->parameter_count(); i++) { in BuildParameterLocations() 228 DCHECK_LE(msig->parameter_count(), static_cast<size_t>(kMaxCParameters)); in GetSimplifiedCDescriptor() 231 msig->parameter_count()); in GetSimplifiedCDescriptor() 235 for (size_t i = 0; i < msig->parameter_count(); i++) { in GetSimplifiedCDescriptor()
|
D | js-inlining.cc | 97 static_cast<int>(n.Parameters().signature()->parameter_count())); in InlineJSWasmCall() 251 Node* node, FrameState outer_frame_state, int parameter_count, in CreateArtificialFrameState() argument 255 parameter_count + JSCallOrConstructNode::kReceiverOrNewTargetInputCount; in CreateArtificialFrameState() 268 for (int i = 0; i < parameter_count; i++) { in CreateArtificialFrameState() 719 int parameter_count = in ReduceJSCall() local 721 DCHECK_EQ(parameter_count, start.FormalParameterCountWithoutReceiver()); in ReduceJSCall() 722 if (call.argument_count() != parameter_count) { in ReduceJSCall()
|
D | js-create-lowering.cc | 273 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments() 313 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments() 363 int argument_count = args_state_info.parameter_count() - 1; in ReduceJSCreateArguments() 1430 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateArguments() 1459 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateRestArguments() 1491 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateAliasedArguments() 1496 int parameter_count = in TryAllocateAliasedArguments() local 1498 if (parameter_count == 0) { in TryAllocateAliasedArguments() 1503 int mapped_count = std::min(argument_count, parameter_count); in TryAllocateAliasedArguments() 1547 int idx = shared.context_parameters_start() + parameter_count - 1 - i; in TryAllocateAliasedArguments() [all …]
|
D | osr.cc | 18 : parameter_count_(info->bytecode_array()->parameter_count()), in OsrHelper()
|
/third_party/node/deps/v8/src/codegen/ |
D | signature.h | 20 constexpr Signature(size_t return_count, size_t parameter_count, in Signature() argument 23 parameter_count_(parameter_count), in Signature() 32 size_t parameter_count() const { return parameter_count_; } in parameter_count() function 57 if (parameter_count() != other.parameter_count()) return false; 66 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument 68 parameter_count_(parameter_count), in Builder() 73 static_cast<int>(return_count + parameter_count))) {} in Builder() 133 size_t seed = base::hash_value(sig.parameter_count()); in hash_value()
|
D | interface-descriptors.cc | 14 Flags flags, int return_count, int parameter_count, in InitializeRegisters() argument 39 param_count_ = parameter_count; in InitializeRegisters()
|
/third_party/node/deps/v8/src/maglev/ |
D | maglev-register-frame-array.h | 30 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in RegisterFrameArray() 55 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in CopyFrom() 82 static int DataSize(int register_count, int parameter_count) { in DataSize() argument 91 interpreter::Register::FromParameterIndex(parameter_count - 1); in DataSize() 95 T* data_begin(int parameter_count) const { in data_begin() argument 97 interpreter::Register::FromParameterIndex(parameter_count - 1) in data_begin()
|
D | maglev-interpreter-frame-state.h | 101 for (int i = 0; i < info.parameter_count(); i++) { in ForEachParameter() 109 for (int i = 0; i < info.parameter_count(); i++) { in ForEachParameter() 120 f(live_registers_and_accumulator_[info.parameter_count() + live_reg++], in ForEachLocal() 130 f(live_registers_and_accumulator_[info.parameter_count() + live_reg++], in ForEachLocal() 179 return info.parameter_count() + liveness->live_value_count(); in SizeFor()
|
D | maglev-code-gen-state.h | 63 int parameter_count() const { return compilation_unit_->parameter_count(); } in parameter_count() function
|
D | maglev-graph-processor.h | 62 int parameter_count() const { return compilation_unit_->parameter_count(); } in parameter_count() function
|
/third_party/node/deps/v8/src/execution/ |
D | encoded-c-signature.h | 26 EncodedCSignature(uint32_t bitfield, int parameter_count) in EncodedCSignature() 27 : bitfield_(bitfield), parameter_count_(parameter_count) {} in EncodedCSignature() 28 explicit EncodedCSignature(int parameter_count) in EncodedCSignature() 29 : parameter_count_(parameter_count) {} in EncodedCSignature()
|
/third_party/node/deps/v8/src/deoptimizer/ |
D | deoptimized-frame-info.cc | 29 int parameter_count = in DeoptimizedFrameInfo() local 37 DCHECK_EQ(parameter_count, in DeoptimizedFrameInfo() 47 parameters_.resize(static_cast<size_t>(parameter_count)); in DeoptimizedFrameInfo() 48 for (int i = 0; i < parameter_count; i++) { in DeoptimizedFrameInfo()
|
D | frame-description.h | 60 FrameDescription(uint32_t frame_size, int parameter_count) in FrameDescription() argument 62 parameter_count_(parameter_count), in FrameDescription() 114 int parameter_slots = parameter_count(); 175 int parameter_count() { return parameter_count_; } in parameter_count() function
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-objects.cc | 1420 static_cast<int>(function.sig->parameter_count()), wrapper)); in GetOrCreateWasmInternalFunction() 1632 DCHECK_LE(sig->parameter_count(), std::numeric_limits<int>::max()); in New() 1633 int sig_size = static_cast<int>(sig->parameter_count()); in New() 1653 DCHECK_LE(sig->parameter_count(), std::numeric_limits<int>::max()); in MatchesSignature() 1654 int sig_size = static_cast<int>(sig->parameter_count()); in MatchesSignature() 1667 int param_count = static_cast<int>(sig->parameter_count()); in MatchesSignature() 1848 for (size_t i = 0; i < sig->parameter_count(); ++i) { in GetEncodedSize() 2033 if (sig->parameter_count() != other_sig->parameter_count() || in MatchesSignature() 2073 int parameter_count = static_cast<int>(sig->parameter_count()); in New() local 2098 call_target, callable, return_count, parameter_count, serialized_sig, in New() [all …]
|
D | wasm-subtyping.cc | 81 if (sub_func->parameter_count() != super_func->parameter_count() || in ValidFunctionSubtypeDefinition() 86 for (uint32_t i = 0; i < sub_func->parameter_count(); i++) { in ValidFunctionSubtypeDefinition()
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins.cc | 58 constexpr KindSpecificData(int parameter_count, in KindSpecificData() argument 60 : parameter_count(static_cast<int16_t>(parameter_count)) {} in KindSpecificData() 65 int16_t parameter_count; // For TFJ builtins. member 205 return builtin_metadata[ToInt(builtin)].data.parameter_count; in GetStackParameterCount()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ast_function.cpp | 1203 const unsigned parameter_count = in process_vec_mat_constructor() local 1206 if (parameter_count == 0 in process_vec_mat_constructor() 1208 constructor_type->vector_elements != parameter_count) in process_vec_mat_constructor() 1210 constructor_type->matrix_columns != parameter_count)) { in process_vec_mat_constructor() 1308 const unsigned parameter_count = in process_array_constructor() local 1312 if ((parameter_count == 0) || in process_array_constructor() 1313 (!is_unsized_array && (constructor_type->length != parameter_count))) { in process_array_constructor() 1327 parameter_count); in process_array_constructor() 1329 assert(constructor_type->length == parameter_count); in process_array_constructor() 1380 parameter_count); in process_array_constructor() [all …]
|
/third_party/node/deps/v8/src/interpreter/ |
D | bytecode-array-writer.cc | 42 IsolateT* isolate, int register_count, int parameter_count, in ToBytecodeArray() argument 51 bytecode_size, &bytecodes()->front(), frame_size, parameter_count, in ToBytecodeArray() 59 Isolate* isolate, int register_count, int parameter_count, 63 LocalIsolate* isolate, int register_count, int parameter_count,
|