Searched refs:end_idx (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Modules/ |
D | _json.c | 894 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.c | 709 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/ |
D | Utils.py | 59 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/ |
D | power_average.py | 52 end_idx = np.abs(df.index - end).argmin() 53 df.drop(df.index[end_idx:], inplace=True)
|
/external/pdfium/xfa/fde/ |
D | cfde_texteditengine_unittest.cpp | 619 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()
|
D | cfde_texteditengine.cpp | 1096 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/ |
D | base.py | 79 end_idx = match.end() 81 string = string[:begin_idx] + exploded_str + string[end_idx:]
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 101 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/ |
D | power_LoadTest.py | 369 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/ |
D | sanitizer_allocator.h | 547 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()
|