Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 25 of 75) sorted by relevance

123

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dmock.py87 end_index = self._read_data.find('\n', self._read_pos) + 1
88 if not end_index:
89 end_index = len(self._read_data)
90 return self._read_up_to(end_index)
97 end_index = min(len(self._read_data), self._read_pos + length)
98 return self._read_up_to(end_index)
100 def _read_up_to(self, end_index): argument
101 line = self._read_data[self._read_pos:end_index]
102 self._read_pos = end_index
/external/ceres-solver/internal/ceres/
Dsplit.cc96 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
99 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
100 if (end_index == string::npos) { in SplitStringToIteratorUsing()
104 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
/external/opencv/cv/src/
Dcvapprox.cpp558 slice.end_index = count - 1; in icvApproxPolyDP_32s()
603 slice.end_index = right_slice.start_index += slice.start_index; in icvApproxPolyDP_32s()
606 right_slice.end_index = slice.start_index; in icvApproxPolyDP_32s()
607 if( right_slice.end_index < right_slice.start_index ) in icvApproxPolyDP_32s()
608 right_slice.end_index += count; in icvApproxPolyDP_32s()
622 cvSetSeqReaderPos( &reader, slice.end_index ); in icvApproxPolyDP_32s()
628 if( slice.end_index > slice.start_index + 1 ) in icvApproxPolyDP_32s()
637 for( i = slice.start_index + 1; i < slice.end_index; i++ ) in icvApproxPolyDP_32s()
653 assert( slice.end_index > slice.start_index ); in icvApproxPolyDP_32s()
666 right_slice.end_index = slice.end_index; in icvApproxPolyDP_32s()
[all …]
/external/chromium_org/base/i18n/
Drtl.cc288 size_t end_index = text->length() - 1; in UnadjustStringForLocaleDirection() local
289 char16 end = text->at(end_index); in UnadjustStringForLocaleDirection()
292 --end_index; in UnadjustStringForLocaleDirection()
296 text->substr(begin_index, end_index - begin_index + 1); in UnadjustStringForLocaleDirection()
387 size_t end_index = text.length() - 1; in StripWrappingBidiControlCharacters() local
388 if (text[end_index] == kPopDirectionalFormatting) in StripWrappingBidiControlCharacters()
389 --end_index; in StripWrappingBidiControlCharacters()
390 return text.substr(begin_index, end_index - begin_index + 1); in StripWrappingBidiControlCharacters()
/external/chromium_org/ui/base/l10n/
Dl10n_util_collator.h130 unsigned int end_index, in SortVectorWithStringKey() argument
132 DCHECK(begin_index < end_index && in SortVectorWithStringKey()
133 end_index <= static_cast<unsigned int>(elements->size())); in SortVectorWithStringKey()
142 elements->begin() + end_index, in SortVectorWithStringKey()
145 sort(elements->begin() + begin_index, elements->begin() + end_index, c); in SortVectorWithStringKey()
/external/chromium_org/sdch/open-vcdiff/src/
Dblockhash.cc204 void BlockHash::AddAllBlocksThroughIndex(int end_index) { in AddAllBlocksThroughIndex() argument
205 if (end_index > static_cast<int>(source_size_)) { in AddAllBlocksThroughIndex()
207 " with index " << end_index in AddAllBlocksThroughIndex()
212 if (end_index <= last_index_added) { in AddAllBlocksThroughIndex()
214 " with index " << end_index in AddAllBlocksThroughIndex()
219 int end_limit = end_index; in AddAllBlocksThroughIndex()
/external/chromium_org/chrome/browser/
Dcrash_upload_list_win.cc73 size_t end_index = message.find(pattern_suffix, start_index); in ProcessPossibleCrashLogRecord() local
74 if (end_index != std::wstring::npos) { in ProcessPossibleCrashLogRecord()
76 message.substr(start_index, end_index - start_index); in ProcessPossibleCrashLogRecord()
/external/mesa3d/src/mesa/vbo/
Dvbo_primitive_restart.c172 GLuint end_index; in vbo_sw_primitive_restart() local
203 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart()
211 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start; in vbo_sw_primitive_restart()
223 if (sub_end_index >= end_index) { in vbo_sw_primitive_restart()
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
Dvbo_primitive_restart.c172 GLuint end_index; in vbo_sw_primitive_restart() local
203 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart()
211 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start; in vbo_sw_primitive_restart()
223 if (sub_end_index >= end_index) { in vbo_sw_primitive_restart()
/external/chromium_org/base/strings/
Dstring_split.cc71 const typename STR::size_type end_index = str.find(s, begin_index); in SplitStringUsingSubstrT() local
72 if (end_index == STR::npos) { in SplitStringUsingSubstrT()
79 const STR term = str.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
83 begin_index = end_index + s.size(); in SplitStringUsingSubstrT()
/external/chromium_org/ui/gfx/geometry/
Dr_tree_base.cc232 size_t end_index = std::min(max_children, children_.size() - min_children); in Split() local
235 end_index, in Split()
239 end_index, in Split()
249 ChooseSplitIndex(min_children, end_index, low_bounds, high_bounds); in Split()
352 size_t end_index, in ChooseSplitIndex() argument
362 for (size_t p = start_index + 1; p < end_index; ++p) { in ChooseSplitIndex()
383 size_t end_index, in SmallestMarginSum() argument
388 DCHECK_LE(start_index, end_index); in SmallestMarginSum()
389 DCHECK_LE(end_index, low_bounds.size()); in SmallestMarginSum()
393 for (; i != (low_bounds.begin() + end_index); ++i, ++j) { in SmallestMarginSum()
/external/chromium_org/tools/ipc_fuzzer/mutate/
Dmessage_util.cc92 size_t end_index = INT_MAX; in main() local
96 end_index = static_cast<size_t>(temp); in main()
132 bool valid = (i >= start_index && i < end_index); in main()
/external/chromium_org/chromeos/ime/
Dcomposition_text_unittest.cc46 EXPECT_EQ(text.underline_attributes()[i].end_index, in TEST()
47 text2.underline_attributes()[i].end_index); in TEST()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc172 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
175 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
176 if (end_index == string::npos) { in SplitStringToIteratorUsing()
180 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
181 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
209 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local
213 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()
214 if (end_index == string::npos) { in SplitStringToIteratorAllowEmpty()
218 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorAllowEmpty()
219 begin_index = end_index + 1; in SplitStringToIteratorAllowEmpty()
/external/chromium_org/chrome/browser/history/
Dvisit_database.cc559 size_t start_index = 0, end_index = 0; in GetVisitsSource() local
560 while (end_index < visits_size) { in GetVisitsSource()
561 start_index = end_index; in GetVisitsSource()
562 end_index = end_index + batch_size < visits_size ? end_index + batch_size in GetVisitsSource()
569 for (size_t j = start_index; j < end_index; j++) { in GetVisitsSource()
/external/chromium_org/extensions/common/
Dmessage_bundle.cc242 std::string::size_type end_index = in ReplaceVariables() local
244 if (end_index == message->npos) in ReplaceVariables()
249 message->substr(beg_index, end_index - beg_index); in ReplaceVariables()
265 end_index - beg_index + var_begin_delimiter_size + in ReplaceVariables()
/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc171 int32_t end_index, in SearchUShort() argument
186 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort()
226 int32_t end_index, in SearchULong() argument
242 int32_t location_end = ReadULongAsInt(end_index + location * end_offset); in SearchULong()
Dreadable_font_data.h203 int32_t end_index,
238 int32_t end_index,
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc171 int32_t end_index, in SearchUShort() argument
186 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort()
226 int32_t end_index, in SearchULong() argument
242 int32_t location_end = ReadULongAsInt(end_index + location * end_offset); in SearchULong()
Dreadable_font_data.h203 int32_t end_index,
238 int32_t end_index,
/external/lldb/include/lldb/Symbol/
DSymtab.h60 …_type, std::vector<uint32_t>& indexes, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) co…
61 …value, std::vector<uint32_t>& indexes, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) co…
62 …ility, std::vector<uint32_t>& matches, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) co…
/external/chromium_org/tools/relocation_packer/src/
Drun_length_encoder.cc70 size_t end_index, in Uncondense() argument
80 for (size_t i = start_index; i < end_index; i += 2) { in Uncondense()
/external/chromium_org/base/json/
Djson_parser.cc809 int end_index = start_index; in ConsumeNumber() local
818 end_index = index_; in ConsumeNumber()
831 end_index = index_; in ConsumeNumber()
843 end_index = index_; in ConsumeNumber()
867 StringPiece num_string(num_start, end_index - start_index); in ConsumeNumber()
/external/chromium_org/content/browser/fileapi/
Dcopy_or_move_operation_delegate_unittest.cc677 size_t end_index = records.size(); in TEST() local
682 end_index = j; in TEST()
688 ASSERT_NE(end_index, records.size()); in TEST()
689 ASSERT_NE(begin_index, end_index); in TEST()
694 EXPECT_EQ(FileSystemOperation::END_COPY_ENTRY, records[end_index].type); in TEST()
695 EXPECT_EQ(dest_url, records[end_index].dest_url); in TEST()
699 EXPECT_EQ(begin_index + 1, end_index); in TEST()
703 for (size_t j = begin_index + 1; j < end_index; ++j) { in TEST()
/external/chromium_org/v8/src/
Djsregexp.cc1807 int end_index, in EmitUseLookupTable() argument
1819 for (int i = start_index; i <= end_index; i++) { in EmitUseLookupTable()
1842 for (int i = start_index; i < end_index; i++) { in EmitUseLookupTable()
1865 int end_index, in CutOutRange() argument
1885 for (int j = cut_index + 1; j < end_index; j++) { in CutOutRange()
1895 int end_index, in SplitSearchSpace() argument
1903 int last = ranges->at(end_index) - 1; in SplitSearchSpace()
1907 while (*new_start_index < end_index) { in SplitSearchSpace()
1922 int binary_chop_index = (end_index + start_index) / 2; in SplitSearchSpace()
1928 end_index - start_index > (*new_start_index - start_index) * 2 && in SplitSearchSpace()
[all …]

123