Home
last modified time | relevance | path

Searched refs:search_len (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dsearchsorted_cpu_kernel.cc37 search_len = sequence_shape_.back(); in InitKernel()
67 auto seq_start = (seq_dim == 1) ? sequence : sequence + (i / search_repeat) * search_len; in Launch()
68 … auto result = right_ ? std::upper_bound(seq_start, seq_start + search_len, values[i]) - seq_start in Launch()
69 … : CustomizedLowerBound(seq_start, seq_start + search_len, values[i]) - seq_start; in Launch()
92 for (size_t j = 0; j < search_len - 1; j++) { in CheckParam()
93 if (sequence[i * search_len + j] > sequence[i * search_len + j + 1]) { in CheckParam()
Dsearchsorted_cpu_kernel.h42 size_t search_len{0};
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c588 const ecma_length_t search_len = ecma_string_get_length (search_str_p); in ecma_builtin_helper_string_prototype_object_index_of() local
590 if (search_len + start > original_len) in ecma_builtin_helper_string_prototype_object_index_of()
685 const ecma_length_t search_len = ecma_string_get_length (search_str_p); in ecma_builtin_helper_string_find_index() local
687 if (search_len <= original_len) in ecma_builtin_helper_string_find_index()
689 if (!search_len) in ecma_builtin_helper_string_find_index()
721 if (match_len < search_len && in ecma_builtin_helper_string_find_index()
728 while (match_len < search_len && in ecma_builtin_helper_string_find_index()
737 if (match_len == search_len) in ecma_builtin_helper_string_find_index()
751 if ((searching = (index <= original_len - search_len))) in ecma_builtin_helper_string_find_index()
/third_party/libcoap/examples/
Dcoap-rd.c259 size_t search_len, in parse_param() argument
267 if (!search_len) in parse_param()
270 while (search_len <= data_len) { in parse_param()
273 if (memcmp(search, data, search_len) == 0) { in parse_param()
274 data += search_len; in parse_param()
275 data_len -= search_len; in parse_param()
/third_party/ffmpeg/libavformat/
Dty.c156 const uint8_t *buffer, int search_len) in find_es_header() argument
160 for (count = 0; count < search_len; count++) { in find_es_header()