Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 25 of 69) sorted by relevance

123

/third_party/boost/tools/quickbook/src/
Dvalue_tags.hpp23 BOOST_PP_SEQ_ENUM(values), end_index}; \
40 return boost::irange(start_index, (int)end_index); \
44 return value >= start_index && value < (int)end_index; \
59 end_index}; \
76 return boost::irange(start_index, (int)end_index); \
80 return value >= start_index && value < (int)end_index; \
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dcommunication_op_fusion.cc38 size_t end_index) { in GenerateKernelBuildInfo() argument
39 if (end_index >= communication_op_info.communication_op_nodes.size()) { in GenerateKernelBuildInfo()
48 for (size_t idx = start_index; idx <= end_index; ++idx) { in GenerateKernelBuildInfo()
312 … size_t start_index, size_t end_index) const { in CreateFusedCommunicationOp()
318 if (end_index >= communication_op_info.communication_op_nodes.size()) { in CreateFusedCommunicationOp()
321 for (size_t idx = start_index; idx <= end_index; ++idx) { in CreateFusedCommunicationOp()
335 auto final_node = communication_op_info.communication_op_nodes[end_index]; in CreateFusedCommunicationOp()
336 size_t node_num = end_index - start_index + 1; in CreateFusedCommunicationOp()
350 for (size_t idx = start_index; idx <= end_index; ++idx) { in CreateFusedCommunicationOp()
369 auto kernel_build_info = GenerateKernelBuildInfo(communication_op_info, start_index, end_index); in CreateFusedCommunicationOp()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dadaptive_avg_pool2d_grad_impl.cu23 __device__ inline uint end_index(uint a, uint b, uint c) { in end_index() function
42 uint oh1 = end_index(ih, input_height, output_height); in AdaptiveAvgPool2DGradKernel()
47 uint ow1 = end_index(iw, input_width, output_width); in AdaptiveAvgPool2DGradKernel()
76 uint oh1 = end_index(ih, input_height, output_height); in AdaptiveAvgPool2DGradKernel()
81 uint ow1 = end_index(iw, input_width, output_width); in AdaptiveAvgPool2DGradKernel()
110 uint oh1 = end_index(ih, input_height, output_height); in AdaptiveAvgPool2DGradKernel()
115 uint ow1 = end_index(iw, input_width, output_width); in AdaptiveAvgPool2DGradKernel()
144 uint oh1 = end_index(ih, input_height, output_height); in AdaptiveAvgPool2DGradKernel()
149 uint ow1 = end_index(iw, input_width, output_width); in AdaptiveAvgPool2DGradKernel()
Dadaptive_avg_pool2d_impl.cu23 __device__ inline uint end_index(uint a, uint b, uint c) { in end_index() function
37 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
42 uint iw1 = end_index(ow, output_width, input_width); in AdaptiveAvgPool2DKernel()
68 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
73 uint iw1 = end_index(ow, output_width, input_width); in AdaptiveAvgPool2DKernel()
99 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
104 uint iw1 = end_index(ow, output_width, input_width); in AdaptiveAvgPool2DKernel()
130 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
135 uint iw1 = end_index(ow, output_width, input_width); in AdaptiveAvgPool2DKernel()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dnonmappable_leaf_op.cc225 int64_t end_index = (static_cast<int64_t>(device_id_) + 1) * num_rows_per_shard_; in NeedPushFileToBlockQueue() local
229 if (pre_count < end_index && pre_count + filename_numrows_[file_name] >= end_index) { in NeedPushFileToBlockQueue()
230 *end_offset = end_index - pre_count; in NeedPushFileToBlockQueue()
236 if (pre_count >= start_index && pre_count < end_index) { in NeedPushFileToBlockQueue()
239 if (pre_count + filename_numrows_[file_name] >= end_index) { in NeedPushFileToBlockQueue()
240 *end_offset = end_index - pre_count; in NeedPushFileToBlockQueue()
/third_party/gn/src/base/strings/
Dstring_split.cc133 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local
134 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT()
135 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT()
136 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT()
138 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
/third_party/glib/glib/gnulib/gl_cv_func_printf_infinite/
Dmeson.build15 strisnan (const char *string, size_t start_index, size_t end_index)
17 if (start_index < end_index)
21 if (start_index + 3 <= end_index
25 if (start_index == end_index
26 || (string[start_index] == '(' && string[end_index - 1] == ')'))
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dsplit_with_over_lap_base.c25 int end_index = end_indices[slice_idx]; in DoSplitWithOverlapParallel() local
28 int out_stride = (end_index - start_index) * param->inner_stride_ * param->element_bytes_; in DoSplitWithOverlapParallel()
/third_party/boost/boost/graph/detail/
Dincremental_components.hpp63 component_index_iterator(value_type end_index) in component_index_iterator() argument
64 : m_current_index(end_index) in component_index_iterator()
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc159 Py_ssize_t end_index = index; in Insert() local
160 if (end_index < 0) end_index += length; in Insert()
161 if (end_index < 0) end_index = 0; in Insert()
162 for (Py_ssize_t i = length; i > end_index; i --) { in Insert()
/third_party/glib/glib/gnulib/gl_cv_func_printf_infinite_long_double/
Dmeson.build114 strisnan (const char *string, size_t start_index, size_t end_index)
116 if (start_index < end_index)
120 if (start_index + 3 <= end_index
124 if (start_index == end_index
125 || (string[start_index] == '(' && string[end_index - 1] == ')'))
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_primitive_restart.c181 GLuint end_index; in vbo_sw_primitive_restart_common_start() local
246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start()
254 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start; in vbo_sw_primitive_restart_common_start()
266 if (sub_end_index >= end_index) { in vbo_sw_primitive_restart_common_start()
/third_party/libsnd/
Dmake_lite.py156 end_index = string.find (source_code, end_comment)
157 if start_index < 0 or end_index < start_index:
159 end_index += len (end_comment)
160 source_code = source_code [:start_index-1] + source_code [end_index:] ;
/third_party/ffmpeg/libavformat/
Difv.c59 uint32_t end_index, i; in read_index() local
63 end_index = ifv->total_vframes; in read_index()
66 end_index = ifv->total_aframes; in read_index()
70 for (i = start_index; i < end_index; i++) { in read_index()
/third_party/boost/libs/geometry/test/algorithms/detail/sections/
Dsectionalize.cpp99 BOOST_CHECK_EQUAL(int(sec.count), int(sec.end_index - sec.begin_index)); in test_sectionalize()
100 previous_index = sec.end_index; in test_sectionalize()
120 out_sections << s[i].begin_index << ".." << s[i].end_index; in test_sectionalize()
185 out << "] " << s[i].begin_index << ".." << s[i].end_index; in test_sectionalize()
/third_party/gn/src/base/json/
Djson_parser.cc620 int end_index = start_index; in ConsumeNumber() local
629 end_index = index_; in ConsumeNumber()
638 end_index = index_; in ConsumeNumber()
652 end_index = index_; in ConsumeNumber()
674 std::string_view num_string(num_start, end_index - start_index); in ConsumeNumber()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc229 int32_t end_index, in SearchUShort() argument
244 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort()
284 int32_t end_index, in SearchULong() argument
300 int32_t location_end = ReadULongAsInt(end_index + location * end_offset); in SearchULong()
Dreadable_font_data.h210 int32_t end_index,
245 int32_t end_index,
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc229 int32_t end_index, in SearchUShort() argument
244 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort()
284 int32_t end_index, in SearchULong() argument
300 int32_t location_end = ReadULongAsInt(end_index + location * end_offset); in SearchULong()
Dreadable_font_data.h210 int32_t end_index,
245 int32_t end_index,
/third_party/mindspore/mindspore/lite/src/runtime/
Druntime_pass.cc127 auto end_index = std::distance(kernels->begin(), end_iter); in Nc4hw4PassMatch() local
130 if (start_index > traspose_nhwc2nchw_index || traspose_nhwc2nchw_index > end_index || in Nc4hw4PassMatch()
131 end_index > transpose_nchw2nhwc_index) { in Nc4hw4PassMatch()
/third_party/weston/clients/
Deditor.c358 attr1->end_index = entry->cursor + index + length; in text_input_preedit_styling()
364 attr2->end_index = entry->cursor + index + length; in text_input_preedit_styling()
630 int end_index = MAX(entry->cursor, entry->anchor); in editor_copy_cut() local
631 int len = end_index - start_index; in editor_copy_cut()
844 int end_index = MAX(entry->cursor, entry->anchor); in text_entry_update_layout() local
854 attr->end_index = end_index; in text_entry_update_layout()
859 attr->end_index = end_index; in text_entry_update_layout()
873 attr->end_index = entry->cursor + strlen(entry->preedit.text); in text_entry_update_layout()
1106 uint32_t end_index = entry->anchor < entry->cursor ? entry->cursor : entry->anchor; in text_entry_delete_selected_text() local
1111 text_entry_delete_text(entry, start_index, end_index - start_index); in text_entry_delete_selected_text()
/third_party/boost/boost/geometry/algorithms/detail/buffer/
Dturn_in_original_visitor.hpp190 && section.begin_index < section.end_index in point_in_original()
197 boost::begin(original.m_ring) + section.end_index + 1, in point_in_original()
/third_party/boost/boost/test/utils/basic_cstring/
Dbasic_cstring.hpp162 self_type substr( size_type beg_index, size_type end_index = npos ) const;
587 basic_cstring<CharT>::substr( size_type beg_index, size_type end_index ) const in substr()
591 : end_index > size() in substr()
593 : self_type( m_begin + beg_index, m_begin + end_index ); in substr()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc218 size_t end_index = pickers_.size() - 1; in Pick() local
220 while (end_index > start_index) { in Pick()
221 mid = (start_index + end_index) / 2; in Pick()
223 end_index = mid; in Pick()

123