/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
D | inet_pton.c | 32 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/chrome/browser/bookmarks/ |
D | bookmark_test_helpers.cc | 59 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() 80 ++end_pos; in AddNodesFromString() 83 start_pos = end_pos; in AddNodesFromString() 84 end_pos = model_string.find(' ', start_pos); in AddNodesFromString() 86 ++end_pos; in AddNodesFromString() 90 return end_pos; in AddNodesFromString() [all …]
|
/external/v8/preparser/ |
D | preparser-process.cc | 157 int end_pos() { in end_pos() function in PreparseDataInterpreter 225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { } in ExceptionExpectation() 229 int end_pos; member 248 expects->type, actual_message, reader.beg_pos(), reader.end_pos()); in CheckException() 257 if (expects->end_pos >= 0) { in CheckException() 258 if (expects->end_pos != reader.end_pos()) { in CheckException() 260 expects->end_pos, reader.end_pos()); in CheckException() 266 message, reader.beg_pos(), reader.end_pos()); in CheckException() 288 expects.end_pos = atoi(argv[arg_index]); // NOLINT in ParseExpectation()
|
/external/chromium_org/content/common/gpu/media/ |
D | video_decode_accelerator_unittest.cc | 429 std::string GetBytesForFirstFragment(size_t start_pos, size_t* end_pos); 432 std::string GetBytesForNextFragment(size_t start_pos, size_t* end_pos); 434 void GetBytesForNextNALU(size_t start_pos, size_t* end_pos); // For h.264. 436 size_t start_pos, size_t* end_pos); // For VP8. 780 size_t start_pos, size_t* end_pos) { in GetBytesForFirstFragment() argument 782 *end_pos = start_pos; in GetBytesForFirstFragment() 783 while (*end_pos + 4 < encoded_data_.size()) { in GetBytesForFirstFragment() 784 if ((encoded_data_[*end_pos + 4] & 0x1f) == 0x7) // SPS start frame in GetBytesForFirstFragment() 785 return GetBytesForNextFragment(*end_pos, end_pos); in GetBytesForFirstFragment() 786 GetBytesForNextNALU(*end_pos, end_pos); in GetBytesForFirstFragment() [all …]
|
/external/dropbear/ |
D | progressmeter.c | 59 static off_t end_pos; /* ending position of transfer */ variable 125 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 132 transferred = end_pos; in refresh_progress_meter() 164 if (end_pos != 0) in refresh_progress_meter() 165 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 243 end_pos = filesize; in start_progress_meter() 267 if (cur_pos != end_pos) in stop_progress_meter()
|
/external/openssh/ |
D | progressmeter.c | 69 static off_t end_pos; /* ending position of transfer */ variable 135 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 142 transferred = end_pos; in refresh_progress_meter() 174 if (end_pos != 0) in refresh_progress_meter() 175 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 254 end_pos = filesize; in start_progress_meter() 278 if (cur_pos != end_pos) in stop_progress_meter()
|
/external/llvm/lib/Support/ |
D | Path.cpp | 138 size_t end_pos = filename_pos(path); in parent_path_end() local 140 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); in parent_path_end() 143 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); in parent_path_end() 145 while(end_pos > 0 && in parent_path_end() 146 (end_pos - 1) != root_dir_pos && in parent_path_end() 147 is_separator(path[end_pos - 1])) in parent_path_end() 148 --end_pos; in parent_path_end() 150 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep) in parent_path_end() 153 return end_pos; in parent_path_end() 235 size_t end_pos = Path.find_first_of(separators, Position); in operator ++() local [all …]
|
/external/chromium_org/ppapi/examples/video_decode/ |
D | video_decode.cc | 112 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 …]
|
/external/chromium_org/content/renderer/android/ |
D | address_detector.cc | 51 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()
|
D | email_detector.cc | 48 size_t* end_pos, in FindContent() argument 62 *end_pos = matcher->end(status); in FindContent()
|
D | phone_number_detector.cc | 61 size_t* end_pos, in FindContent() argument 82 *end_pos = *start_pos + UTF8ToUTF16(match.raw_string()).length(); in FindContent()
|
/external/v8/src/ |
D | messages.h | 71 int end_pos) in MessageLocation() argument 74 end_pos_(end_pos) { } in MessageLocation() 79 int end_pos() const { return end_pos_; } in end_pos() function
|
D | preparser.cc | 72 int end_pos = scanner_->location().end_pos; in PreParseLazyFunction() local 73 CheckOctalLiteral(start_position, end_pos, &ok); in PreParseLazyFunction() 75 CheckDelayedStrictModeViolation(start_position, end_pos, &ok); in PreParseLazyFunction() 130 void PreParser::CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckOctalLiteral() argument 132 if (beg_pos <= octal.beg_pos && octal.end_pos <= end_pos) { in CheckOctalLiteral() 276 ReportMessageAt(start_location.beg_pos, end_location.end_pos, in ParseStatement() 405 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 422 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 431 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 826 ReportMessageAt(before.beg_pos, after.end_pos, in ParseAssignmentExpression() [all …]
|
D | scanner.h | 302 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 303 Location() : beg_pos(0), end_pos(0) { } in Location() 306 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid() 312 int end_pos; member 356 int source_length = (location.end_pos - location.beg_pos); in literal_contains_escapes()
|
D | preparser.h | 497 CheckOctalLiteral(start_position, scanner_->location().end_pos, &ok); in PreParse() 507 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt); in ReportMessageAt() 510 int end_pos, in ReportMessageAt() argument 513 log_->LogMessage(start_pos, end_pos, type, name_opt); in ReportMessageAt() 516 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 639 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
/external/chromium_org/v8/src/ |
D | messages.h | 71 int end_pos) in MessageLocation() argument 74 end_pos_(end_pos) { } in MessageLocation() 79 int end_pos() const { return end_pos_; } in end_pos() function
|
D | preparser.cc | 76 int end_pos = scanner()->location().end_pos; in PreParseLazyFunction() local 77 CheckOctalLiteral(start_position, end_pos, &ok); in PreParseLazyFunction() 79 CheckDelayedStrictModeViolation(start_position, end_pos, &ok); in PreParseLazyFunction() 269 ReportMessageAt(start_location.beg_pos, end_location.end_pos, in ParseStatement() 402 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 419 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 428 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 840 ReportMessageAt(before.beg_pos, after.end_pos, in ParseAssignmentExpression() 934 ReportMessageAt(before.beg_pos, after.end_pos, in ParseUnaryExpression() 957 ReportMessageAt(before.beg_pos, after.end_pos, in ParsePostfixExpression() [all …]
|
D | preparser.h | 134 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 253 CheckOctalLiteral(start_position, scanner()->location().end_pos, &ok); in PreParseProgram() 584 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt); in ReportMessageAt() 587 int end_pos, in ReportMessageAt() argument 590 log_->LogMessage(start_pos, end_pos, type, name_opt); in ReportMessageAt() 676 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
D | scanner.h | 341 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 342 Location() : beg_pos(0), end_pos(0) { } in Location() 345 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid() 351 int end_pos; member 397 int source_length = (location.end_pos - location.beg_pos); in literal_contains_escapes()
|
/external/chromium_org/win8/metro_driver/ime/ |
D | text_store.cc | 310 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/ui/base/ime/win/ |
D | tsf_text_store.cc | 299 const uint32 end_pos = acp_end - committed_size_; in GetTextExt() local 301 if (start_pos == end_pos) { in GetTextExt() 332 if (text_input_client_->GetCompositionCharacterBounds(end_pos - 1, in GetTextExt() 394 const LONG end_pos = selection_.end(); in InsertTextAtSelection() local 403 *acp_end = end_pos; in InsertTextAtSelection() 413 DCHECK_LE(start_pos, end_pos); in InsertTextAtSelection() 416 string_buffer_.substr(end_pos); in InsertTextAtSelection() 423 text_change->acpOldEnd = end_pos; in InsertTextAtSelection() 632 const LONG end_pos = selection_buffer[0].acpEnd; in SetSelection() local 634 (start_pos <= end_pos) && in SetSelection() [all …]
|
/external/chromium_org/ui/gfx/ |
D | interpolated_transform.cc | 243 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/ |
D | win32.cc | 191 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/base/test/launcher/ |
D | test_launcher.cc | 854 size_t end_pos = full_output.find(std::string("[ FAILED ] ") + in GetTestOutputSnippet() local 859 if (end_pos == std::string::npos && in GetTestOutputSnippet() 861 end_pos = full_output.find(std::string("[ OK ] ") + in GetTestOutputSnippet() 865 if (end_pos != std::string::npos) { in GetTestOutputSnippet() 866 size_t newline_pos = full_output.find("\n", end_pos); in GetTestOutputSnippet() 868 end_pos = newline_pos + 1; in GetTestOutputSnippet() 872 if (end_pos != std::string::npos) in GetTestOutputSnippet() 873 snippet = full_output.substr(run_pos, end_pos - run_pos); in GetTestOutputSnippet()
|
/external/chromium_org/v8/tools/ |
D | lexer-shell.cc | 130 Token::Value Next(int* beg_pos, int* end_pos) { in Next() argument 133 *end_pos = scanner_->location().end_pos; in Next()
|