Home
last modified time | relevance | path

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

12

/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.cc94 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
97 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
98 if (end_index == string::npos) { in SplitStringToIteratorUsing()
102 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing()
103 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/sdch/open-vcdiff/src/
Dblockhash.cc203 void BlockHash::AddAllBlocksThroughIndex(int end_index) { in AddAllBlocksThroughIndex() argument
204 if (end_index > static_cast<int>(source_size_)) { in AddAllBlocksThroughIndex()
206 " with index " << end_index in AddAllBlocksThroughIndex()
211 if (end_index <= last_index_added) { in AddAllBlocksThroughIndex()
213 " with index " << end_index in AddAllBlocksThroughIndex()
218 int end_limit = end_index; in AddAllBlocksThroughIndex()
Dblockhash.h208 void AddAllBlocksThroughIndex(int end_index);
/external/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()
Dblockhash.h208 void AddAllBlocksThroughIndex(int end_index);
/external/chromium/chrome/browser/
Dcrash_upload_list_win.cc71 size_t end_index = message.find(pattern_suffix, start_index); in ProcessPossibleCrashLogRecord() local
72 if (end_index != std::wstring::npos) { in ProcessPossibleCrashLogRecord()
74 message.substr(start_index, end_index - start_index); in ProcessPossibleCrashLogRecord()
/external/chromium/chrome/browser/history/
Dvisit_database.cc498 size_t start_index = 0, end_index = 0; in GetVisitsSource() local
499 while (end_index < visits_size) { in GetVisitsSource()
500 start_index = end_index; in GetVisitsSource()
501 end_index = end_index + batch_size < visits_size ? end_index + batch_size in GetVisitsSource()
508 for (size_t j = start_index; j < end_index; j++) { in GetVisitsSource()
/external/chromium/base/
Dstring_split.cc131 const typename STR::size_type end_index = str.find(s, begin_index); in SplitStringUsingSubstrT() local
132 if (end_index == STR::npos) { in SplitStringUsingSubstrT()
139 const STR term = str.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
143 begin_index = end_index + s.size(); in SplitStringUsingSubstrT()
/external/chromium/base/i18n/
Drtl.cc356 size_t end_index = text.length() - 1; in StripWrappingBidiControlCharacters() local
357 if (text[end_index] == kPopDirectionalFormatting) in StripWrappingBidiControlCharacters()
358 --end_index; in StripWrappingBidiControlCharacters()
359 return text.substr(begin_index, end_index - begin_index + 1); in StripWrappingBidiControlCharacters()
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_win.h289 LONG end_index, in scrollSubstringTo() argument
293 STDMETHODIMP scrollSubstringToPoint(LONG start_index, LONG end_index, in scrollSubstringToPoint() argument
400 unsigned int end_index, in get_clippedSubstringBounds() argument
410 unsigned int end_index, in get_unclippedSubstringBounds() argument
420 unsigned int end_index) { in scrollToSubstring() argument
/external/chromium/chrome/common/extensions/
Dextension_message_bundle.cc245 std::string::size_type end_index = in ReplaceVariables() local
247 if (end_index == message->npos) in ReplaceVariables()
252 message->substr(beg_index, end_index - beg_index); in ReplaceVariables()
268 end_index - beg_index + var_begin_delimiter_size + in ReplaceVariables()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_gtk_unittest.cc93 if (attr->end_index <= location) in RunInfoForAttrType()
118 if (attr->end_index > (guint)end_range) { in RunInfoForAttrType()
122 retval.length_ = attr->end_index - location; in RunInfoForAttrType()
/external/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()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h245 int end_index = 0; in CalculateEndIndex() local
247 end_index++; in CalculateEndIndex()
248 return end_index; in CalculateEndIndex()
/external/open-vcdiff/gtest/include/gtest/internal/
Dgtest-param-util.h265 int end_index = 0; in CalculateEndIndex() local
267 end_index++; in CalculateEndIndex()
268 return end_index; in CalculateEndIndex()
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-param-util.h245 int end_index = 0; in CalculateEndIndex() local
247 end_index++; in CalculateEndIndex()
248 return end_index; in CalculateEndIndex()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-param-util.h263 int end_index = 0; in CalculateEndIndex() local
265 end_index++; in CalculateEndIndex()
266 return end_index; in CalculateEndIndex()
/external/gtest/include/gtest/internal/
Dgtest-param-util.h245 int end_index = 0; in CalculateEndIndex() local
247 end_index++; in CalculateEndIndex()
248 return end_index; in CalculateEndIndex()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-param-util.h245 int end_index = 0; in CalculateEndIndex() local
247 end_index++; in CalculateEndIndex()
248 return end_index; in CalculateEndIndex()
/external/opencv/cxcore/src/
Dcxdatastructs.cpp612 int length = slice.end_index - slice.start_index; in cvSliceLength()
618 if( slice.end_index <= 0 ) in cvSliceLength()
619 slice.end_index += total; in cvSliceLength()
621 length = slice.end_index - slice.start_index; in cvSliceLength()
1946 slice.end_index = slice.start_index + length; in cvSeqRemoveSlice()
1948 if( slice.end_index < total ) in cvSeqRemoveSlice()
1956 if( slice.start_index > total - slice.end_index ) in cvSeqRemoveSlice()
1958 int i, count = seq->total - slice.end_index; in cvSeqRemoveSlice()
1960 cvSetSeqReaderPos( &reader_from, slice.end_index ); in cvSeqRemoveSlice()
1969 cvSeqPopMulti( seq, 0, slice.end_index - slice.start_index ); in cvSeqRemoveSlice()
[all …]
/external/bison/m4/
Dprintf.m4152 strisnan (const char *string, size_t start_index, size_t end_index)
154 if (start_index < end_index)
158 if (start_index + 3 <= end_index
162 if (start_index == end_index
163 || (string[start_index] == '(' && string[end_index - 1] == ')'))
275 strisnan (const char *string, size_t start_index, size_t end_index)
277 if (start_index < end_index)
281 if (start_index + 3 <= end_index
285 if (start_index == end_index
286 || (string[start_index] == '(' && string[end_index - 1] == ')'))
/external/webkit/Source/WebCore/platform/graphics/gtk/
DFontGtk.cpp195 attr->end_index = G_MAXUINT; in setPangoAttributes()
200 attr->end_index = G_MAXUINT; in setPangoAttributes()
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py898 def DeleteEvents (self, start_index, end_index, move_meta_events=None): argument
902 if end_index is None:
903 end_index = len(self)
912 for event in self[start_index:end_index]:
928 …r.debug('DeleteEvents: deleted %d events in range(%s:%s)' % (delete_count, start_index, end_index))
929 …ogger.debug('DeleteEvents: moved %d events in range(%s:%s)' % (move_count, start_index, end_index))

12