Home
last modified time | relevance | path

Searched refs:end_idx (Results 1 – 22 of 22) 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/arm-trusted-firmware/common/
Druntime_svc.c93 uint8_t index, start_idx, end_idx; in runtime_svc_init() local
147 end_idx = (uint8_t)get_unique_oen(service->end_oen, in runtime_svc_init()
149 assert(start_idx <= end_idx); in runtime_svc_init()
150 assert(end_idx < MAX_RT_SVCS); in runtime_svc_init()
151 for (; start_idx <= end_idx; start_idx++) in runtime_svc_init()
/external/python/cpython3/Modules/
D_json.c684 Py_ssize_t end_idx; in _parse_object_unicode() local
696 end_idx = PyUnicode_GET_LENGTH(pystr) - 1; in _parse_object_unicode()
706 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
709 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
714 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
731 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
732 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ':') { in _parse_object_unicode()
737 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
765 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
768 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == '}') in _parse_object_unicode()
[all …]
/external/llvm-project/lldb/include/lldb/Target/
DUnwind.h36 uint32_t GetFramesUpTo(uint32_t end_idx) { in GetFramesUpTo() argument
40 bool behaves_like_zeroth_frame = (end_idx == 0); in GetFramesUpTo()
42 for (idx = 0; idx < end_idx; idx++) { in GetFramesUpTo()
DStackFrameList.h95 void GetFramesUpTo(uint32_t end_idx);
97 void GetOnlyConcreteFramesUpTo(uint32_t end_idx, Unwind &unwinder);
/external/llvm-project/lldb/source/Target/
DStackFrameList.cpp220 void StackFrameList::GetOnlyConcreteFramesUpTo(uint32_t end_idx, in GetOnlyConcreteFramesUpTo() argument
223 assert(m_frames.size() <= end_idx && "Expected there to be frames to fill"); in GetOnlyConcreteFramesUpTo()
225 if (end_idx < m_concrete_frames_fetched) in GetOnlyConcreteFramesUpTo()
228 uint32_t num_frames = unwinder.GetFramesUpTo(end_idx); in GetOnlyConcreteFramesUpTo()
229 if (num_frames <= end_idx + 1) { in GetOnlyConcreteFramesUpTo()
433 void StackFrameList::GetFramesUpTo(uint32_t end_idx) { in GetFramesUpTo() argument
440 if (m_frames.size() > end_idx || GetAllFramesFetched()) in GetFramesUpTo()
446 GetOnlyConcreteFramesUpTo(end_idx, unwinder); in GetFramesUpTo()
460 if (end_idx > 0 && end_idx != UINT32_MAX) { in GetFramesUpTo()
463 if (end_idx > 0) in GetFramesUpTo()
[all …]
/external/llvm-project/lldb/examples/python/
Dsymbolication.py607 end_idx = inst_idx
609 end_idx = pc_index + insts_after_pc
610 if end_idx > inst_idx:
611 end_idx = inst_idx
612 for i in range(start_idx, end_idx + 1):
/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp700 size_t end_idx = engine()->GetIndexAtEndOfLine(8U); in TEST_F() local
701 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
740 end_idx = engine()->GetIndexAtEndOfLine(7U); in TEST_F()
741 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
771 end_idx = engine()->GetIndexAtEndOfLine(7U); in TEST_F()
772 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
Dcfde_texteditengine.cpp1189 int32_t end_idx = start_idx + count - 1; in GetCharacterRectsInRange() local
1193 if (it->nStart <= end_idx && end_idx < it->nStart + it->nCount) { in GetCharacterRectsInRange()
1196 piece.Union(arr[end_idx - it->nStart]); in GetCharacterRectsInRange()
1216 size_t end_idx = iter.FindNextBreakPos(false); in BoundsForWordAt() local
1217 return {start_idx, end_idx - start_idx + 1}; in BoundsForWordAt()
/external/llvm-project/debuginfo-tests/dexter/dex/heuristic/
DHeuristic.py293 def reportdiff(start_idx, segment, end_idx): argument
295 expected_linenos = filt_lines(start_idx, segment, end_idx, '-')
296 seen_linenos = filt_lines(start_idx, segment, 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/llvm-project/clang/utils/hmaptool/
Dhmaptool101 end_idx = self.strtable.index('\0', idx)
102 return self.strtable[idx:end_idx]
/external/llvm-project/lldb/tools/lldb-vscode/
Dlldb-vscode.cpp2656 int64_t end_idx = 0; in request_setVariable() local
2660 end_idx = start_idx + g_vsc.num_locals; in request_setVariable()
2664 end_idx = start_idx + g_vsc.num_globals; in request_setVariable()
2668 end_idx = start_idx + g_vsc.num_regs; in request_setVariable()
2679 for (int64_t i = end_idx - 1; i >= start_idx; --i) { in request_setVariable()
2840 const int64_t end_idx = start_idx + ((count == 0) ? num_children : count); in request_variables() local
2841 for (auto i = start_idx; i < end_idx; ++i) { in request_variables()
2855 const int64_t end_idx = start + ((count == 0) ? num_children : count); in request_variables() local
2856 for (auto i = start; i < end_idx; ++i) { in request_variables()
/external/f2fs-tools/tools/f2fs_io/
Df2fs_io.c675 u64 idx, end_idx, aligned_size; in do_randread() local
710 end_idx = (u64)(aligned_size - buf_size) / (u64)4096 + 1; in do_randread()
715 idx = rand() % end_idx; in do_randread()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py443 for end_idx in xrange(samples_per_loop, len(self._stats[kname]),
446 self._stats[kname][start_idx:end_idx])
448 start_idx = end_idx
/external/llvm-project/lldb/tools/debugserver/source/
DRNBRemote.cpp1110 size_t end_idx = idx; in CommDataReceived() local
1116 end_idx = idx + 1; // The command is one byte long... in CommDataReceived()
1121 end_idx = data.find('#', idx + 1); in CommDataReceived()
1122 if (end_idx == std::string::npos || end_idx + 3 > data_size) { in CommDataReceived()
1123 end_idx = std::string::npos; in CommDataReceived()
1127 end_idx += 3; in CommDataReceived()
1135 if (end_idx == std::string::npos) { in CommDataReceived()
1143 idx = end_idx; in CommDataReceived()
1144 } else if (idx < end_idx) { in CommDataReceived()
1147 if (m_packets_recvd == 1 && (end_idx == idx + 1) && data[idx] == '+') { in CommDataReceived()
[all …]
/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.py647 end_idx = list(scope.keys()).index(end)
648 return list(scope.keys())[start_idx:end_idx + 1]
/external/libtextclassifier/native/utils/java/
Djni-cache.cc165 TC3_GET_METHOD(matcher, end_idx, "end", "(I)I"); in Create()
/external/flatbuffers/src/
Didl_gen_kotlin.cpp1016 auto end_idx = in GenerateStructGetters() local
1027 writer.SetValue("end", end_idx); in GenerateStructGetters()
1038 writer.SetValue("end", end_idx); in GenerateStructGetters()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_ops.cc194 const auto shard = [&](Tindex start_idx, Tindex end_idx) -> void { in operator ()() argument
195 for (Tindex i = start_idx; i < end_idx; ++i) { in operator ()()
222 const auto shard = [&](Tindex start_idx, Tindex end_idx) -> void { in operator ()() argument
223 for (Tindex i = start_idx; i < end_idx; ++i) { in operator ()()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp7526 const auto end_idx = *offset_idx + binding->descriptorCount; in ValidateDynamicOffsetAlignment() local
7527 for (uint32_t current_idx = *offset_idx; current_idx < end_idx; current_idx++) { in ValidateDynamicOffsetAlignment()
7536 *offset_idx = end_idx; in ValidateDynamicOffsetAlignment()