Home
last modified time | relevance | path

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

/third_party/mindspore/scripts/
Dsetdotlabelwidth49 end_idx = beg_idx + chars_per_row
50 if end_idx >= label_len:
53 texts.append(text[beg_idx:end_idx])
54 beg_idx = end_idx
62 end_idx = -1 # label end index, index of '"'
72 end_idx = line_text.find('"', beg_idx + len('label="'))
73 if end_idx >= 0: # the full label text is on one line
74 label = line_text[beg_idx + len('label="'):end_idx]
75 …rint('%slabel="%s"%s' % (line_text[0:beg_idx], process_label_text(label), line_text[end_idx + 1:]))
83 end_idx = line_text.find('"')
[all …]
/third_party/skia/third_party/externals/tint/src/
Ddemangler.cc46 auto end_idx = start_idx; in Demangle() local
47 while (str[end_idx] >= '0' && str[end_idx] <= '9') { in Demangle()
48 end_idx++; in Demangle()
50 auto len = end_idx - start_idx; in Demangle()
56 pos = end_idx; in Demangle()
/third_party/python/Modules/
D_json.c687 Py_ssize_t end_idx; in _parse_object_unicode() local
699 end_idx = PyUnicode_GET_LENGTH(pystr) - 1; in _parse_object_unicode()
709 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
712 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
717 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
734 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
735 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ':') { in _parse_object_unicode()
740 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
768 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
771 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == '}') in _parse_object_unicode()
[all …]
/third_party/f2fs-tools/tools/f2fs_io/
Df2fs_io.c613 u64 idx, end_idx, aligned_size; in do_randread() local
648 end_idx = (u64)(aligned_size - buf_size) / (u64)4096 + 1; in do_randread()
653 idx = rand() % end_idx; in do_randread()
/third_party/flatbuffers/src/
Didl_gen_kotlin.cpp1084 auto end_idx = in GenerateStructGetters() local
1095 writer.SetValue("end", end_idx); in GenerateStructGetters()
1106 writer.SetValue("end", end_idx); in GenerateStructGetters()