Searched refs:from_index (Results 1 – 9 of 9) sorted by relevance
/third_party/boost/boost/geometry/algorithms/detail/overlay/ |
D | copy_segments.hpp | 100 signed_size_type const from_index = seg_id.segment_index + 1; in apply() local 103 BOOST_GEOMETRY_ASSERT(from_index < static_cast<signed_size_type>(boost::size(view))); in apply() 106 boost::begin(view) + from_index); in apply() 111 signed_size_type const count = from_index <= to_index in apply() 112 ? to_index - from_index + 1 in apply() 114 - from_index + to_index + 1; in apply() 167 signed_size_type const from_index = seg_id.segment_index + 1; in apply() local 170 if ( from_index > to_index in apply() 171 || from_index < 0 in apply() 177 signed_size_type const count = to_index - from_index + 1; in apply() [all …]
|
/third_party/skia/modules/skottie/src/animator/ |
D | ShapeKeyframeAnimator.cpp | 130 const auto from_index = kFloatsPerVertex * from_vertex, in operator SkPath() local 133 const SkPoint p0 = SkPoint{ (*this)[from_index + kX_Index], in operator SkPath() 134 (*this)[from_index + kY_Index] }, in operator SkPath() 137 c0 = SkPoint{ (*this)[from_index + kOutX_Index], in operator SkPath() 138 (*this)[from_index + kOutY_Index] } + p0, in operator SkPath()
|
/third_party/python/Tools/scripts/ |
D | mailerdaemon.py | 101 from_index = len(data) 103 from_index = res.start(0) 109 res = regexp[0].search(data, 0, from_index) 116 res = regexp[1].match(data, res.end(0), from_index) 122 res = regexp.search(data, 0, from_index)
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumbermatcher.cc | 122 size_t from_index = 0; in AllNumberGroupsRemainGrouped() local 126 from_index = normalized_candidate.find(country_code) + country_code.size(); in AllNumberGroupsRemainGrouped() 133 from_index = normalized_candidate.find(formatted_number_groups.at(i), in AllNumberGroupsRemainGrouped() 134 from_index); in AllNumberGroupsRemainGrouped() 135 if (from_index == string::npos) { in AllNumberGroupsRemainGrouped() 139 from_index += formatted_number_groups.at(i).length(); in AllNumberGroupsRemainGrouped() 140 if (i == 0 && from_index < normalized_candidate.length()) { in AllNumberGroupsRemainGrouped() 153 if (!ndd_prefix.empty() && isdigit(normalized_candidate.at(from_index))) { in AllNumberGroupsRemainGrouped() 161 from_index - formatted_number_groups.at(i).length()), in AllNumberGroupsRemainGrouped() 169 return normalized_candidate.substr(from_index) in AllNumberGroupsRemainGrouped()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/ |
D | gather_actor.cc | 116 size_t from_index = IntToSize(result_arrow->from_output_index_); in SendOutput() local 117 const auto &front_node = data_nodes_[from_index].first; in SendOutput() 120 input_device_tensors_[from_index]) { in SendOutput()
|
D | switch_actor.cc | 408 size_t from_index = branch_inputs_pos_[index][IntToSize(result_arrow->from_output_index_)]; in SendOutput() local 411 for (const auto &backend_node : backend_parameters_[from_index]) { in SendOutput() 414 …o::GetMutableOutputAddr(backend_node.first, j, false).get() == input_device_tensors_[from_index]) { in SendOutput()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/ |
D | ecma-builtin-typedarray-prototype.c | 1718 uint32_t from_index; in ecma_builtin_typedarray_prototype_index_of() local 1729 from_index = 0; in ecma_builtin_typedarray_prototype_index_of() 1746 from_index = ((num_var >= 0) ? (uint32_t) num_var in ecma_builtin_typedarray_prototype_index_of() 1755 for (int32_t position = (int32_t) from_index * info.element_size; in ecma_builtin_typedarray_prototype_index_of() 1797 uint32_t from_index; in ecma_builtin_typedarray_prototype_last_index_of() local 1809 from_index = info.length - 1; in ecma_builtin_typedarray_prototype_last_index_of() 1827 from_index = ((num_var >= 0) ? (uint32_t) JERRY_MIN (num_var, info.length - 1) in ecma_builtin_typedarray_prototype_last_index_of() 1836 for (int32_t position = (int32_t) from_index * info.element_size; in ecma_builtin_typedarray_prototype_last_index_of()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/ |
D | graph_scheduler.h | 208 void LinkDataArrowForSwitchActor(SwitchActor *const from_actor, const size_t from_index,
|
D | graph_scheduler.cc | 1809 void GraphScheduler::LinkDataArrowForSwitchActor(SwitchActor *from_actor, const size_t from_index, in LinkDataArrowForSwitchActor() argument 1821 if (from_actor->branch_inputs_pos_[i].size() <= from_index) { in LinkDataArrowForSwitchActor() 1823 … << " from index:" << from_index << " output size:" << from_actor->branch_inputs_pos_[i].size() in LinkDataArrowForSwitchActor() 1827 …std::make_shared<DataArrow>(from_actor->branch_inputs_pos_[i][from_index], to_actor->GetAID(), to_… in LinkDataArrowForSwitchActor()
|