Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_json.c891 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_object_str() local
909 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
912 if (idx <= end_idx && str[idx] != '}') { in _parse_object_str()
913 while (idx <= end_idx) { in _parse_object_str()
925 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
926 if (idx > end_idx || str[idx] != ':') { in _parse_object_str()
931 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
951 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
954 if (idx > end_idx) break; in _parse_object_str()
965 while (idx <= end_idx && IS_WHITESPACE(str[idx])) idx++; in _parse_object_str()
[all …]
/external/u-boot/fs/fat/
Dfat_write.c149 int j, end_idx = 0; in str2slot() local
155 end_idx++; in str2slot()
160 end_idx++; in str2slot()
166 end_idx++; in str2slot()
171 end_idx++; in str2slot()
177 end_idx++; in str2slot()
182 end_idx++; in str2slot()
191 for (; end_idx < 5; end_idx++) { in str2slot()
192 slotptr->name0_4[end_idx * 2] = 0xff; in str2slot()
193 slotptr->name0_4[end_idx * 2 + 1] = 0xff; in str2slot()
[all …]
/external/python/cpython3/Modules/
D_json.c712 Py_ssize_t end_idx; in _parse_object_unicode() local
724 end_idx = PyUnicode_GET_LENGTH(pystr) - 1; in _parse_object_unicode()
734 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
737 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
742 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
762 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
763 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ':') { in _parse_object_unicode()
768 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
796 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
799 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == '}') in _parse_object_unicode()
[all …]
/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/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.py408 for end_idx in xrange(samples_per_loop, len(self._stats[kname]),
411 self._stats[kname][start_idx:end_idx])
413 start_idx = end_idx
/external/tensorflow/tensorflow/contrib/bigtable/
DREADME.md193 end_idx = index + 1
195 end_idx_str = tf.as_string(end_idx * 10000, width=5, fill='0')
198 return table.scan_range(start_idx, end_idx, columns=columns)
/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()
/external/fonttools/Lib/fontTools/voltLib/
Dparser.py637 end_idx = list(scope.keys()).index(end)
638 return list(scope.keys())[start_idx:end_idx + 1]
/external/libtextclassifier/utils/java/
Djni-cache.cc145 TC3_GET_METHOD(matcher, end_idx, "end", "(I)I"); in Create()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp6944 const auto end_idx = *offset_idx + binding->descriptorCount; in ValidateDynamicOffsetAlignment() local
6945 for (uint32_t current_idx = *offset_idx; current_idx < end_idx; current_idx++) { in ValidateDynamicOffsetAlignment()
6954 *offset_idx = end_idx; in ValidateDynamicOffsetAlignment()