Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dinet_pton.c32 char* end_pos; in inet_pton_v4() local
33 unsigned long value = strtoul(pos, &end_pos, 10); in inet_pton_v4()
34 if (value > 255 || pos == end_pos) in inet_pton_v4()
37 pos = end_pos; in inet_pton_v4()
81 char* end_pos; in inet_pton_v6() local
82 unsigned long word = strtoul(pos, &end_pos, 16); in inet_pton_v6()
83 if (word > 0xffff || pos == end_pos) in inet_pton_v6()
86 if (*end_pos == '.') { in inet_pton_v6()
102 if (*end_pos == '\0') in inet_pton_v6()
105 if (*end_pos != ':') in inet_pton_v6()
[all …]
/external/chromium_org/components/bookmarks/test/
Dbookmark_test_helpers.cc59 std::string::size_type end_pos = model_string.find(' ', start_pos); in AddNodesFromString() local
60 while (end_pos != std::string::npos) { in AddNodesFromString()
61 std::string::size_type part_length = end_pos - start_pos; in AddNodesFromString()
73 end_pos = AddNodesFromString(model, new_node, model_string, in AddNodesFromString()
74 end_pos + 1); in AddNodesFromString()
81 ++end_pos; in AddNodesFromString()
84 start_pos = end_pos; in AddNodesFromString()
85 end_pos = model_string.find(' ', start_pos); in AddNodesFromString()
87 ++end_pos; in AddNodesFromString()
91 return end_pos; in AddNodesFromString()
[all …]
/external/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDIECollection.cpp24 iterator end_pos = m_dies.end(); in Insert() local
25 iterator insert_pos = upper_bound(m_dies.begin(), end_pos, die); in Insert()
26 if (insert_pos != end_pos && (*insert_pos == die)) in Insert()
58 const_iterator end_pos = m_dies.end(); in Dump() local
60 for (pos = m_dies.begin(); pos != end_pos; ++pos) in Dump()
/external/chromium_org/content/common/gpu/media/
Dvideo_decode_accelerator_unittest.cc276 std::string GetBytesForFirstFragment(size_t start_pos, size_t* end_pos);
279 std::string GetBytesForNextFragment(size_t start_pos, size_t* end_pos);
281 void GetBytesForNextNALU(size_t start_pos, size_t* end_pos); // For h.264.
283 size_t start_pos, size_t* end_pos); // For VP8.
690 size_t start_pos, size_t* end_pos) { in GetBytesForFirstFragment() argument
692 *end_pos = start_pos; in GetBytesForFirstFragment()
693 while (*end_pos + 4 < encoded_data_.size()) { in GetBytesForFirstFragment()
694 if ((encoded_data_[*end_pos + 4] & 0x1f) == 0x7) // SPS start frame in GetBytesForFirstFragment()
695 return GetBytesForNextFragment(*end_pos, end_pos); in GetBytesForFirstFragment()
696 GetBytesForNextNALU(*end_pos, end_pos); in GetBytesForFirstFragment()
[all …]
/external/llvm/lib/Support/
DPath.cpp142 size_t end_pos = filename_pos(path); in parent_path_end() local
144 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); in parent_path_end()
147 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); in parent_path_end()
149 while(end_pos > 0 && in parent_path_end()
150 (end_pos - 1) != root_dir_pos && in parent_path_end()
151 is_separator(path[end_pos - 1])) in parent_path_end()
152 --end_pos; in parent_path_end()
154 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep) in parent_path_end()
157 return end_pos; in parent_path_end()
305 size_t end_pos = Path.find_first_of(separators, Position); in operator ++() local
[all …]
/external/lldb/source/Symbol/
DLineTable.cpp54 entry_collection::iterator end_pos = m_entries.end(); in InsertLineEntry() local
56 entry_collection::iterator pos = upper_bound(begin_pos, end_pos, entry, less_than_bp); in InsertLineEntry()
123 entry_collection::iterator end_pos = m_entries.end(); in InsertSequence() local
125 entry_collection::iterator pos = upper_bound(begin_pos, end_pos, entry, less_than_bp); in InsertSequence()
198 entry_collection::const_iterator end_pos = m_entries.end(); in FindLineEntryByAddress() local
199 …entry_collection::const_iterator pos = lower_bound(begin_pos, end_pos, search_entry, Entry::EntryA… in FindLineEntryByAddress()
200 if (pos != end_pos) in FindLineEntryByAddress()
218 if (pos != end_pos) in FindLineEntryByAddress()
221 pos = end_pos; in FindLineEntryByAddress()
225 if (pos != end_pos) in FindLineEntryByAddress()
[all …]
/external/chromium_org/ppapi/examples/video_decode/
Dvideo_decode_dev.cc112 static void GetNextNALUBoundary(size_t start_pos, size_t* end_pos);
309 size_t start_pos, size_t* end_pos) { in GetNextNALUBoundary() argument
311 *end_pos = start_pos; in GetNextNALUBoundary()
312 *end_pos += 4; in GetNextNALUBoundary()
313 while (*end_pos + 3 < kDataLen && in GetNextNALUBoundary()
314 !LookingAtNAL(kData, *end_pos)) { in GetNextNALUBoundary()
315 ++*end_pos; in GetNextNALUBoundary()
317 if (*end_pos + 3 >= kDataLen) { in GetNextNALUBoundary()
318 *end_pos = kDataLen; in GetNextNALUBoundary()
339 size_t end_pos; in DecodeNextNALU() local
[all …]
Dvideo_decode.cc198 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
207 *end_pos = current_pos + frame_size; in GetNextFrame()
219 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
221 *end_pos = *start_pos; in GetNextFrame()
222 *end_pos += 4; in GetNextFrame()
223 while (*end_pos < kDataLen && !LookingAtNAL(kData, *end_pos)) { in GetNextFrame()
224 ++*end_pos; in GetNextFrame()
307 size_t end_pos; in DecodeNextFrame() local
308 GetNextFrame(&start_pos, &end_pos); in DecodeNextFrame()
309 encoded_data_next_pos_to_decode_ = end_pos; in DecodeNextFrame()
[all …]
/external/chromium_org/content/renderer/android/
Daddress_detector.cc51 size_t* end_pos, in FindContent() argument
53 if (address_parser::FindAddress(begin, end, start_pos, end_pos)) { in FindContent()
55 GetContentText(base::string16(begin + *start_pos, begin + *end_pos))); in FindContent()
Demail_detector.cc48 size_t* end_pos, in FindContent() argument
62 *end_pos = matcher->end(status); in FindContent()
Dphone_number_detector.cc61 size_t* end_pos, in FindContent() argument
83 *end_pos = *start_pos + base::UTF8ToUTF16(match.raw_string()).length(); in FindContent()
/external/chromium_org/pdf/
Ddocument_loader.cc322 uint32 start_pos, end_pos; in DidOpen() local
323 if (GetByteRange(headers, &start_pos, &end_pos)) { in DidOpen()
325 if (end_pos && end_pos > start_pos) in DidOpen()
326 current_chunk_size_ = end_pos - start_pos + 1; in DidOpen()
393 uint32 start_pos, end_pos; in DidRead() local
394 if (GetByteRange(std::string(buffer_, i), &start_pos, &end_pos)) { in DidRead()
398 if (end_pos && end_pos > start_pos) in DidRead()
399 current_chunk_size_ = end_pos - start_pos + 1; in DidRead()
/external/chromium_org/v8/src/
Dmessages.h48 int end_pos) in MessageLocation() argument
51 end_pos_(end_pos) { } in MessageLocation()
56 int end_pos() const { return end_pos_; } in end_pos() function
Dpreparse-data.cc35 int end_pos, in LogMessage() argument
45 function_store_.Add(end_pos); in LogMessage()
Dpreparser.cc41 location.end_pos, in ReportMessageAt()
49 int end_pos, in ReportMessageAt() argument
53 pre_parser_->log_->LogMessage(start_pos, end_pos, message, arg, in ReportMessageAt()
126 int end_pos = scanner()->location().end_pos; in PreParseLazyFunction() local
127 CheckOctalLiteral(start_position, end_pos, &ok); in PreParseLazyFunction()
288 end_location.end_pos, in ParseStatement()
895 int end_position = scanner()->location().end_pos; in ParseFunctionLiteral()
910 int body_end = scanner()->peek_location().end_pos; in ParseLazyFunctionLiteralBody()
Dscanner.h326 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location()
327 Location() : beg_pos(0), end_pos(0) { } in Location()
330 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid()
336 int end_pos; member
363 int source_length = (location.end_pos - location.beg_pos); in literal_contains_escapes()
/external/chromium_org/win8/metro_driver/ime/
Dtext_store.cc310 const uint32 end_pos = acp_end - committed_size_; in GetTextExt() local
312 if (start_pos == end_pos) { in GetTextExt()
337 if (delegate_->GetCompositionCharacterBounds(end_pos - 1, &tmp_rect)) { in GetTextExt()
397 const LONG end_pos = selection_end_; in InsertTextAtSelection() local
406 *acp_end = end_pos; in InsertTextAtSelection()
415 DCHECK_LE(start_pos, end_pos); in InsertTextAtSelection()
418 string_buffer_.substr(end_pos); in InsertTextAtSelection()
425 text_change->acpOldEnd = end_pos; in InsertTextAtSelection()
626 const LONG end_pos = selection_buffer[0].acpEnd; in SetSelection() local
628 (start_pos <= end_pos) && in SetSelection()
[all …]
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_fileutils.cc38 int32_t end_pos = ftell(file_); in IsAtEnd() local
40 return current_pos == end_pos; in IsAtEnd()
/external/chromium_org/ui/gfx/
Dinterpolated_transform.cc243 const gfx::Point& end_pos) in InterpolatedTranslation() argument
246 end_pos_(end_pos) { in InterpolatedTranslation()
250 const gfx::Point& end_pos, in InterpolatedTranslation() argument
255 end_pos_(end_pos) { in InterpolatedTranslation()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dwin32.cc191 char* end_pos; in inet_pton_v4() local
192 long value = strtol(src_pos, &end_pos, 10); in inet_pton_v4()
193 if (value < 0 || value > 255 || src_pos == end_pos) { in inet_pton_v4()
201 src_pos = end_pos; in inet_pton_v4()
/external/chromium_org/third_party/webrtc/base/
Dwin32.cc174 char* end_pos; in inet_pton_v4() local
175 long value = strtol(src_pos, &end_pos, 10); in inet_pton_v4()
176 if (value < 0 || value > 255 || src_pos == end_pos) { in inet_pton_v4()
184 src_pos = end_pos; in inet_pton_v4()
/external/chromium_org/v8/tools/
Dlexer-shell.cc94 Token::Value Next(int* beg_pos, int* end_pos) { in Next() argument
97 *end_pos = scanner_->location().end_pos; in Next()
/external/chromium_org/base/test/launcher/
Dtest_launcher.cc951 size_t end_pos = full_output.find(std::string("[ FAILED ] ") + in GetTestOutputSnippet() local
956 if (end_pos == std::string::npos && in GetTestOutputSnippet()
958 end_pos = full_output.find(std::string("[ OK ] ") + in GetTestOutputSnippet()
962 if (end_pos != std::string::npos) { in GetTestOutputSnippet()
963 size_t newline_pos = full_output.find("\n", end_pos); in GetTestOutputSnippet()
965 end_pos = newline_pos + 1; in GetTestOutputSnippet()
969 if (end_pos != std::string::npos) in GetTestOutputSnippet()
970 snippet = full_output.substr(run_pos, end_pos - run_pos); in GetTestOutputSnippet()
/external/chromium_org/content/common/android/
Daddress_parser.h29 size_t* end_pos);
Daddress_parser.cc64 size_t* end_pos) { in FindAddress() argument
198 *end_pos = words[zip_word].end - begin; in FindAddress()

1234