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

123

/external/ceres-solver/internal/ceres/
H A Dsplit.cc96 string::size_type begin_index, end_index; local
99 end_index = full.find_first_of(delim, begin_index);
100 if (end_index == string::npos) {
104 *result++ = full.substr(begin_index, (end_index - begin_index));
105 begin_index = full.find_first_not_of(delim, end_index);
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A 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):
101 line = self._read_data[self._read_pos:end_index]
102 self._read_pos = end_index
/external/chromium_org/chrome/browser/
H A Dcrash_upload_list_win.cc73 size_t end_index = message.find(pattern_suffix, start_index); local
74 if (end_index != std::wstring::npos) {
76 message.substr(start_index, end_index - start_index);
/external/chromium_org/chromeos/ime/
H A Dcomposition_text_unittest.cc46 EXPECT_EQ(text.underline_attributes()[i].end_index,
47 text2.underline_attributes()[i].end_index);
H A Dcomposition_text.h28 uint32 end_index; // The exclusive end index. member in struct:chromeos::CompositionText::UnderlineAttribute
/external/chromium_org/ui/base/l10n/
H A Dl10n_util_collator.h124 // want to be sorted. |end_index| points to the end position of elements in the
130 unsigned int end_index,
132 DCHECK(begin_index < end_index &&
133 end_index <= static_cast<unsigned int>(elements->size()));
142 elements->begin() + end_index,
145 sort(elements->begin() + begin_index, elements->begin() + end_index, c);
127 SortVectorWithStringKey(const std::string& locale, std::vector<Element>* elements, unsigned int begin_index, unsigned int end_index, bool needs_stable_sort) argument
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
H A Dvbo_primitive_restart.c172 GLuint end_index; local
203 end_index = prims[prim_num].start + prims[prim_num].count;
211 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start;
223 if (sub_end_index >= end_index) {
/external/mesa3d/src/mesa/vbo/
H A Dvbo_primitive_restart.c172 GLuint end_index; local
203 end_index = prims[prim_num].start + prims[prim_num].count;
211 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start;
223 if (sub_end_index >= end_index) {
/external/chromium_org/base/i18n/
H A Drtl.cc288 size_t end_index = text->length() - 1; local
289 char16 end = text->at(end_index);
292 --end_index;
296 text->substr(begin_index, end_index - begin_index + 1);
387 size_t end_index = text.length() - 1; local
388 if (text[end_index] == kPopDirectionalFormatting)
389 --end_index;
390 return text.substr(begin_index, end_index - begin_index + 1);
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash.cc204 void BlockHash::AddAllBlocksThroughIndex(int end_index) { argument
205 if (end_index > static_cast<int>(source_size_)) {
207 " with index " << end_index
212 if (end_index <= last_index_added) {
214 " with index " << end_index
219 int end_limit = end_index;
H A Dblockhash.h187 // (last_block_added_ * kBlockSize, end_index), exclusive of the endpoints.
188 // If end_index <= the last index added (last_block_added_ * kBlockSize),
191 // A partial block beginning anywhere up to (end_index - 1) is also added,
208 void AddAllBlocksThroughIndex(int end_index);
/external/opencv/cv/src/
H A Dcvapprox.cpp558 slice.end_index = count - 1;
603 slice.end_index = right_slice.start_index += slice.start_index;
606 right_slice.end_index = slice.start_index;
607 if( right_slice.end_index < right_slice.start_index )
608 right_slice.end_index += count;
622 cvSetSeqReaderPos( &reader, slice.end_index );
628 if( slice.end_index > slice.start_index + 1 )
637 for( i = slice.start_index + 1; i < slice.end_index; i++ )
653 assert( slice.end_index > slice.start_index );
666 right_slice.end_index
[all...]
/external/chromium_org/tools/ipc_fuzzer/mutate/
H A Dmessage_util.cc92 size_t end_index = INT_MAX; local
96 end_index = static_cast<size_t>(temp);
132 bool valid = (i >= start_index && i < end_index);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dreadable_font_data.h203 int32_t end_index,
238 int32_t end_index,
H A Dreadable_font_data.cc171 int32_t end_index,
186 int32_t location_end = ReadUShort(end_index + location * end_offset);
226 int32_t end_index,
242 int32_t location_end = ReadULongAsInt(end_index + location * end_offset);
169 SearchUShort(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) argument
224 SearchULong(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) argument
/external/sfntly/cpp/src/sfntly/data/
H A Dreadable_font_data.h203 int32_t end_index,
238 int32_t end_index,
H A Dreadable_font_data.cc171 int32_t end_index,
186 int32_t location_end = ReadUShort(end_index + location * end_offset);
226 int32_t end_index,
242 int32_t location_end = ReadULongAsInt(end_index + location * end_offset);
169 SearchUShort(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) argument
224 SearchULong(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) argument
/external/chromium_org/base/strings/
H A Dstring_split.cc71 const typename STR::size_type end_index = str.find(s, begin_index); local
72 if (end_index == STR::npos) {
79 const STR term = str.substr(begin_index, end_index - begin_index);
83 begin_index = end_index + s.size();
/external/chromium_org/tools/relocation_packer/src/
H A Drun_length_encoder.cc70 size_t end_index,
80 for (size_t i = start_index; i < end_index; i += 2) {
67 Uncondense(ELF::Addr addr, const std::vector<ELF::Xword>& packed, size_t start_index, size_t end_index, std::vector<ELF::Rel>* relocations) argument
/external/chromium_org/extensions/common/
H A Dmessage_bundle.cc242 std::string::size_type end_index =
244 if (end_index == message->npos)
249 message->substr(beg_index, end_index - beg_index);
265 end_index - beg_index + var_begin_delimiter_size +
/external/lldb/include/lldb/Symbol/
H A DSymtab.h60 uint32_t AppendSymbolIndexesWithType (lldb::SymbolType symbol_type, std::vector<uint32_t>& indexes, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) const;
61 uint32_t AppendSymbolIndexesWithTypeAndFlagsValue (lldb::SymbolType symbol_type, uint32_t flags_value, std::vector<uint32_t>& indexes, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) const;
62 uint32_t AppendSymbolIndexesWithType (lldb::SymbolType symbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& matches, uint32_t start_idx = 0, uint32_t end_index = UINT32_MAX) const;
/external/chromium_org/chrome/browser/history/
H A Dvisit_database.cc559 size_t start_index = 0, end_index = 0; local
560 while (end_index < visits_size) {
561 start_index = end_index;
562 end_index = end_index + batch_size < visits_size ? end_index + batch_size
569 for (size_t j = start_index; j < end_index; j++) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc172 string::size_type begin_index, end_index; local
175 end_index = full.find_first_of(delim, begin_index);
176 if (end_index == string::npos) {
180 *result++ = full.substr(begin_index, (end_index - begin_index));
181 begin_index = full.find_first_not_of(delim, end_index);
209 string::size_type begin_index, end_index; local
213 end_index = full.find_first_of(delim, begin_index);
214 if (end_index == string::npos) {
218 *result++ = full.substr(begin_index, (end_index - begin_index));
219 begin_index = end_index
[all...]
/external/chromium_org/ui/gfx/geometry/
H A Dr_tree_base.cc230 // Choose |end_index| such that both Nodes after the split will have
232 size_t end_index = std::min(max_children, children_.size() - min_children); local
235 end_index,
239 end_index,
249 ChooseSplitIndex(min_children, end_index, low_bounds, high_bounds);
352 size_t end_index,
362 for (size_t p = start_index + 1; p < end_index; ++p) {
383 size_t end_index,
388 DCHECK_LE(start_index, end_index);
389 DCHECK_LE(end_index, low_bound
351 ChooseSplitIndex(size_t start_index, size_t end_index, const Rects& low_bounds, const Rects& high_bounds) argument
382 SmallestMarginSum(size_t start_index, size_t end_index, const Rects& low_bounds, const Rects& high_bounds) argument
[all...]
/external/chromium_org/ui/base/ime/
H A Dcomposition_text_util_pango_unittest.cc128 pango_attr->end_index =

Completed in 647 milliseconds

123