Home
last modified time | relevance | path

Searched refs:first_index (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/boost/core/
Dlightweight_test.hpp318 typename std::iterator_traits<InputIterator1>::difference_type first_index = 0; in test_all_eq_impl() local
328 ++first_index; in test_all_eq_impl()
344 …output << " [" << first_index << "] '" << test_output_impl(*first_it) << "' != '" << test_output_i… in test_all_eq_impl()
347 ++first_index; in test_all_eq_impl()
352 first_index += std::distance(first_it, first_end); in test_all_eq_impl()
354 if (first_index != second_index) in test_all_eq_impl()
358 …"): Container sizes differ in function '" << function << "': size(" << first_index << ") != size("… in test_all_eq_impl()
362 output << " [*] size(" << first_index << ") != size(" << second_index << ")"; in test_all_eq_impl()
389 typename std::iterator_traits<InputIterator1>::difference_type first_index = 0; in test_all_with_impl() local
399 ++first_index; in test_all_with_impl()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/
Dyuv_scaler_para_set.cc79 ss >> yuv_scaler_paraset->scale[cnt].taps_4[index->first_index++]; in GetParaSet()
81 index->first_index = index->first_index - 1; in GetParaSet()
86 if (index->first_index == kScalerCoffNb4) { // read finish in GetParaSet()
87 index->first_index = 0; in GetParaSet()
Dyuv_scaler_para_set.h32 uint32_t first_index; member
35 ScalerCoefficientIndex() : first_index(0), second_index() {} in ScalerCoefficientIndex()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dmixup_batch_op.cc58 std::vector<int64_t> first_index = in ComputeLabels()
65 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&first_value, first_index)); in ComputeLabels()
67 …RETURN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_valu… in ComputeLabels()
70 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&first_value, first_index)); in ComputeLabels()
72 …RETURN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_valu… in ComputeLabels()
Dcutmix_batch_op.cc161 std::vector<int64_t> first_index = in ComputeLabel()
167 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&first_value, first_index)); in ComputeLabel()
170 … (*out_labels)->SetItemAt(first_index, label_lam * first_value + (1 - label_lam) * second_value)); in ComputeLabel()
173 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&first_value, first_index)); in ComputeLabel()
176 … (*out_labels)->SetItemAt(first_index, label_lam * first_value + (1 - label_lam) * second_value)); in ComputeLabel()
/third_party/ffmpeg/libavformat/
Dimg2dec.c114 int range, last_index, range1, first_index; in find_image_range() local
117 for (first_index = start_index; first_index < start_index + start_index_range; first_index++) { in find_image_range()
118 if (av_get_frame_filename(buf, sizeof(buf), path, first_index) < 0) { in find_image_range()
128 if (first_index == start_index + start_index_range) in find_image_range()
132 last_index = first_index; in find_image_range()
155 *pfirst_index = first_index; in find_image_range()
185 int first_index = 1, last_index = 1; in ff_img_read_header() local
270 first_index = 0; in ff_img_read_header()
276 if (find_image_range(s1->pb, &first_index, &last_index, s->path, in ff_img_read_header()
290 first_index = 0; in ff_img_read_header()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_generator.cc385 nlohmann::json first_index; in GetTensorName() local
387 first_index = tag_desc; in GetTensorName()
392 first_index = tag_desc[position.first]; in GetTensorName()
395 if (!first_index.is_array() || first_index.size() <= position.second) { in GetTensorName()
396 …MS_LOG(ERROR) << "Node [" << first_index.dump() << "] has no enough value [" << position.second <<… in GetTensorName()
399 auto const &second_index = first_index[position.second]; in GetTensorName()
417 nlohmann::json *first_index; in SetTensorName() local
419 first_index = tag_desc; in SetTensorName()
424 first_index = &((*tag_desc)[position.first]); in SetTensorName()
427 if (!first_index->is_array() || first_index->size() <= position.second) { in SetTensorName()
[all …]
/third_party/skia/src/shaders/gradients/
DSk4fGradientBase.cpp193 const int first_index = reverse ? count - 1 : 0; in init() local
194 const int last_index = count - 1 - first_index; in init()
203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init()
/third_party/flutter/skia/src/shaders/gradients/
DSk4fGradientBase.cpp193 const int first_index = reverse ? count - 1 : 0; in init() local
194 const int last_index = count - 1 - first_index; in init()
203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init()
/third_party/boost/boost/graph/
Dincremental_components.hpp163 IndexType first_index = (*m_components)[component_index]; in operator []() local
166 component_iterator(m_index_list->begin(), first_index), in operator []()
/third_party/boost/boost/heap/
Dd_ary_heap.hpp328 const size_t first_index = first_child_index(index); in top_child_index() local
331 const container_iterator first_child = q_.begin() + first_index; in top_child_index()
356 const size_t first_index = first_child_index(index); in last_child_index() local
357 const size_type last_index = (std::min)(first_index + D - 1, size() - 1); in last_child_index()
/third_party/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp242 unsigned first_index) in process_block_array() argument
256 binding_stride, ctx, prog, first_index); in process_block_array()
261 *block_index - first_index, ctx, prog); in process_block_array()
/third_party/mesa3d/src/intel/vulkan/
DgenX_query.c653 uint32_t first_index, uint32_t num_queries) in emit_zero_queries() argument
665 anv_query_address(pool, first_index + i); in emit_zero_queries()
680 anv_query_address(pool, first_index + i); in emit_zero_queries()
690 mi_memset(b, khr_perf_query_data_address(pool, first_index + i, p, false), in emit_zero_queries()
693 … khr_perf_query_availability_address(pool, first_index + i, p), in emit_zero_queries()
704 anv_query_address(pool, first_index + i); in emit_zero_queries()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c679 … bool first_index, /**< whether search for first (t) or last (f) index */ in ecma_builtin_helper_string_find_index() argument
692 *ret_index_p = first_index ? start_pos : original_len; in ecma_builtin_helper_string_find_index()
749 if (first_index) in ecma_builtin_helper_string_find_index()
Decma-builtin-helpers.h60 …er_string_find_index (ecma_string_t *original_str_p, ecma_string_t *search_str_p, bool first_index,
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dgstttmlrender.c121 guint first_index; member
1591 range->first_index = start_index; in gst_ttml_render_get_line_char_ranges()
1605 range->first_index, range->last_index); in gst_ttml_render_get_line_char_ranges()
1629 range->first_index, range->last_index); in gst_ttml_render_get_line_char_ranges()
1631 pango_layout_index_to_pos (render->layout, range->first_index, &rect); in gst_ttml_render_get_line_char_ranges()
1649 if (end_index > range->first_index) { in gst_ttml_render_get_line_char_ranges()
1651 new_range->first_index = end_index + 1; in gst_ttml_render_get_line_char_ranges()
1655 new_range->first_index, new_range->last_index); in gst_ttml_render_get_line_char_ranges()
1660 "end:%u", range->first_index, range->last_index); in gst_ttml_render_get_line_char_ranges()
1856 GST_CAT_LOG (ttmlrender_debug, "range start:%u end:%u", range->first_index, in gst_ttml_render_split_block()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc333 int first_index = proto_file.find_first_of("/", start_index); in GeneratedMetadataFileName() local
365 while (first_index != string::npos) { in GeneratedMetadataFileName()
367 file_no_suffix.substr(start_index, first_index - start_index), true); in GeneratedMetadataFileName()
369 start_index = first_index + 1; in GeneratedMetadataFileName()
370 first_index = file_no_suffix.find_first_of("/", start_index); in GeneratedMetadataFileName()
382 file_no_suffix.substr(file_name_start, first_index - file_name_start), true); in GeneratedMetadataFileName()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc502 void OS2Table::Builder::SetUsFirstCharIndex(int32_t first_index) { in SetUsFirstCharIndex() argument
503 InternalWriteData()->WriteUShort(Offset::kUsFirstCharIndex, first_index); in SetUsFirstCharIndex()
Dos2_table.h382 void SetUsFirstCharIndex(int32_t first_index);
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc502 void OS2Table::Builder::SetUsFirstCharIndex(int32_t first_index) { in SetUsFirstCharIndex() argument
503 InternalWriteData()->WriteUShort(Offset::kUsFirstCharIndex, first_index); in SetUsFirstCharIndex()
Dos2_table.h382 void SetUsFirstCharIndex(int32_t first_index);
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_private.h492 unsigned first_index; member
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc4236 uint32_t first_index = 1; in MakeAccessChain() local
4255 def_use_mgr_->GetDef(inst.GetSingleWordInOperand(first_index)); in MakeAccessChain()
4296 first_index = first_index + 1; in MakeAccessChain()
4332 for (uint32_t index = first_index; index < num_in_operands; ++index) { in MakeAccessChain()
4342 << " is invalid after following " << (index - first_index) in MakeAccessChain()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_stream_assign.cc1539 size_t first_index = UINT32_MAX; in InsertEventBetweenHcom() local
1544 first_index = item.second.front(); in InsertEventBetweenHcom()
1558 if (i == first_index) { in InsertEventBetweenHcom()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cComputeShaderTests.cpp3783 GLuint first_index[4]; in Run() member

12