Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_json.c894 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_object_str() local
912 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
915 if (idx <= end_idx && str[idx] != '}') { in _parse_object_str()
916 while (idx <= end_idx) { in _parse_object_str()
928 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
929 if (idx > end_idx || str[idx] != ':') { in _parse_object_str()
934 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
954 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
957 if (idx > end_idx) break; in _parse_object_str()
968 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
[all …]
/external/python/cpython3/Modules/
D_json.c709 Py_ssize_t end_idx; in _parse_object_unicode() local
725 end_idx = PyUnicode_GET_LENGTH(pystr) - 1; in _parse_object_unicode()
735 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
738 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
743 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
763 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
764 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ':') { in _parse_object_unicode()
769 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
797 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
800 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == '}') in _parse_object_unicode()
[all …]
/external/trappy/trappy/plotter/
DUtils.py59 end_idx = data_frame.index.values[-1]
93 data[name].append([index, end_idx, row["__cpu"]])
97 return data, procs, [start_idx, end_idx]
/external/lisa/tools/scripts/power/
Dpower_average.py52 end_idx = np.abs(df.index - end).argmin()
53 df.drop(df.index[end_idx:], inplace=True)
/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp619 size_t end_idx = engine()->GetIndexAtEndOfLine(8U); in TEST_F() local
620 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
659 end_idx = engine()->GetIndexAtEndOfLine(7U); in TEST_F()
660 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
690 end_idx = engine()->GetIndexAtEndOfLine(7U); in TEST_F()
691 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
Dcfde_texteditengine.cpp1096 int32_t end_idx = start_idx + count - 1; in GetCharacterRectsInRange() local
1100 if (it->nStart <= end_idx && end_idx < it->nStart + it->nCount) { in GetCharacterRectsInRange()
1103 piece.Union(arr[end_idx - it->nStart]); in GetCharacterRectsInRange()
1123 size_t end_idx = iter.FindNextBreakPos(false); in BoundsForWordAt() local
1124 return {start_idx, end_idx - start_idx + 1}; in BoundsForWordAt()
/external/trappy/trappy/
Dbase.py79 end_idx = match.end()
81 string = string[:begin_idx] + exploded_str + string[end_idx:]
/external/scapy/scapy/layers/tls/
Dcert.py101 end_idx = s.find(b"-----END")
102 end_idx = s.find(b"\n", end_idx) + 1
103 pem_strings.append(s[start_idx:end_idx])
104 s = s[end_idx:]
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py369 for end_idx in xrange(samples_per_loop, len(self._stats[kname]),
372 self._stats[kname][start_idx:end_idx])
374 start_idx = end_idx
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h547 uptr end_idx = beg_idx + count * size; in PopulateFreeList() local
549 if (end_idx + size > region->mapped_user) { in PopulateFreeList()
552 while (end_idx + size > region->mapped_user + map_size) in PopulateFreeList()
554 CHECK_GE(region->mapped_user + map_size, end_idx); in PopulateFreeList()