Home
last modified time | relevance | path

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

123

/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-trace/catapult/tracing/tracing_build/
Dupdate_gypi.py40 min_index, end_index, matched_token = self._ProcessMatch(m)
46 rest = rest[end_index:]
73 end_index = match.end(2)
74 token = _Token(match.string[min_index:end_index],
76 return min_index, end_index, token
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dstrip_js_comments.py32 end_index = m.end()
37 yield rest[min_index:end_index]
38 rest = rest[end_index:]
/external/libchrome/base/strings/
Dstring_split.cc143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local
144 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT()
145 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT()
146 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT()
148 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
/external/opencv3/samples/python2/
Ddemo.py146 end_index = text.index( "%s+%sc" % (match_index, count.get()) )
147 text.mark_set('matchPos', end_index)
149 tag_proc(match_index, end_index, text.get(match_index, end_index))
151 text.tag_add(tag_proc, match_index, end_index)
/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/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/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/opencv3/modules/videoio/src/
Dcap_vfw.cpp179 film_range.end_index = film_range.start_index + (int)aviinfo.dwLength; in open()
251 (film_range.end_index - film_range.start_index + 1e-10); in getProperty()
261 return film_range.end_index - film_range.start_index; in getProperty()
280 pos = cvRound(value*(film_range.end_index - in setProperty()
289 if( pos > film_range.end_index ) in setProperty()
290 pos = film_range.end_index; in setProperty()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc690 const size_t end_index = kHeaderLength + header.payload_size_bytes; in ParseFrom() local
700 if (index + 2 > end_index) { in ParseFrom()
722 if (index + 1 > end_index) { in ParseFrom()
730 if (index + 2 > end_index) { in ParseFrom()
743 RTC_DCHECK_GE(index, end_index - 3); in ParseFrom()
744 RTC_DCHECK_LE(index, end_index); in ParseFrom()
Dnack.cc101 size_t end_index = nack_index + num_nack_fields; in Create() local
102 for (; nack_index < end_index; ++nack_index) { in Create()
/external/libchrome/base/json/
Djson_parser.cc827 int end_index = start_index; in ConsumeNumber() local
836 end_index = index_; in ConsumeNumber()
849 end_index = index_; in ConsumeNumber()
861 end_index = index_; in ConsumeNumber()
885 StringPiece num_string(num_start, end_index - start_index); in ConsumeNumber()
/external/libweave/third_party/chromium/base/json/
Djson_parser.cc822 int end_index = start_index; in ConsumeNumber() local
831 end_index = index_; in ConsumeNumber()
844 end_index = index_; in ConsumeNumber()
856 end_index = index_; in ConsumeNumber()
880 StringPiece num_string(num_start, end_index - start_index); in ConsumeNumber()
/external/v8/src/regexp/
Djsregexp.cc1788 int end_index, in EmitUseLookupTable() argument
1800 for (int i = start_index; i <= end_index; i++) { in EmitUseLookupTable()
1823 for (int i = start_index; i < end_index; i++) { in EmitUseLookupTable()
1846 int end_index, in CutOutRange() argument
1866 for (int j = cut_index + 1; j < end_index; j++) { in CutOutRange()
1876 int end_index, in SplitSearchSpace() argument
1884 int last = ranges->at(end_index) - 1; in SplitSearchSpace()
1888 while (*new_start_index < end_index) { in SplitSearchSpace()
1903 int binary_chop_index = (end_index + start_index) / 2; in SplitSearchSpace()
1909 end_index - start_index > (*new_start_index - start_index) * 2 && in SplitSearchSpace()
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dspreadsheet.py199 end_index = len_z
203 end_index = (len_z + self.PRESSURE_LIST_MAX_SIZE) / 2
204 self.pressures[s] = list_z[bgn_index : end_index]
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py52 end_index = resource_range.byte_range.to_byte
53 self.wfile.write(response[start_index:end_index + 1])
/external/vulkan-validation-layers/tests/gtest-1.7.0/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/google-breakpad/src/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.h244 int end_index = 0; in CalculateEndIndex() local
246 end_index++; in CalculateEndIndex()
247 return end_index; in CalculateEndIndex()
/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/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/mesa3d/src/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/opencv3/modules/core/test/
Dtest_ds.cpp1120 slice.end_index = cvtest::randInt(rng) % sseq->count + 1; in run()
1121 … slice.start_index = cvtest::randInt(rng) % (sseq->count - slice.end_index + 1); in run()
1122 slice.end_index += slice.start_index; in run()
1127 slice.end_index = MIN( slice.end_index, sseq->count ); in run()
1130 … (slice.end_index - slice.start_index)*sseq->elem_size ) == 0, in run()
1162 slice.end_index = cvtest::randInt(rng) % sseq->count + 1; in run()
1163 … slice.start_index = cvtest::randInt(rng) % (sseq->count - slice.end_index + 1); in run()
1164 slice.end_index += slice.start_index; in run()
1171 … (slice.end_index - slice.start_index)*sseq->elem_size ) == 0, in run()

123