/external/libbrillo/brillo/streams/ |
H A D | stream_utils_unittest.cc | 103 const uint64_t end_pos = 2000; local 107 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); 111 FROM_HERE, 0, Whence::FROM_CURRENT, current_pos, end_pos, &pos, nullptr)); 115 FROM_HERE, 0, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); 116 EXPECT_EQ(end_pos, pos); 119 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); 123 FROM_HERE, 10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, 128 FROM_HERE, 10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); 129 EXPECT_EQ(end_pos + 10, pos); 132 FROM_HERE, -10, Whence::FROM_CURRENT, current_pos, end_pos, [all...] |
/external/bsdiff/ |
H A D | file.cc | 117 off_t end_pos = lseek(fd_, 0, SEEK_END); 118 if (end_pos == -1) 120 *size = end_pos;
|
/external/v8/src/parsing/ |
H A D | preparse-data.cc | 31 void CompleteParserRecorder::LogMessage(int start_pos, int end_pos, argument 41 function_store_.Add(end_pos);
|
H A D | parser-base.h | 718 // Checks whether an octal literal was last seen between beg_pos and end_pos. 720 void CheckOctalLiteral(int beg_pos, int end_pos, argument 724 octal.end_pos <= end_pos) { 732 int end_pos) { 736 token_location.end_pos <= end_pos) { 743 inline void CheckStrictOctalLiteral(int beg_pos, int end_pos, bool* ok) { argument 744 CheckOctalLiteral(beg_pos, end_pos, MessageTemplate::kStrictOctalLiteral, 748 inline void CheckTemplateOctalLiteral(int beg_pos, int end_pos, boo argument 731 CheckDecimalLiteralWithLeadingZero(int* use_counts, int beg_pos, int end_pos) argument 3534 CheckAndRewriteReferenceExpression( ExpressionT expression, int beg_pos, int end_pos, MessageTemplate::Template message, bool* ok) argument 3544 CheckAndRewriteReferenceExpression( ExpressionT expression, int beg_pos, int end_pos, MessageTemplate::Template message, ParseErrorType type, bool* ok) argument [all...] |
H A D | preparser.cc | 27 ReportMessageAt(location.beg_pos, location.end_pos, message, arg, error_type); 31 void PreParserTraits::ReportMessageAt(int start_pos, int end_pos, argument 35 pre_parser_->log_->LogMessage(start_pos, end_pos, message, arg, error_type); 136 int end_pos = scanner()->location().end_pos; local 137 CheckStrictOctalLiteral(start_position, end_pos, &ok); 138 CheckDecimalLiteralWithLeadingZero(use_counts, start_position, end_pos); 575 variable_loc.end_pos = scanner()->location().end_pos; 582 Scanner::Location(decl_pos, scanner()->location().end_pos), [all...] |
H A D | scanner.h | 344 Location(int b, int e) : beg_pos(b), end_pos(e) { } 345 Location() : beg_pos(0), end_pos(0) { } 348 return beg_pos >= 0 && end_pos >= beg_pos; 354 int end_pos; member in struct:v8::internal::Scanner::Location 741 int source_length = (location.end_pos - location.beg_pos);
|
H A D | parser.cc | 183 int pos, int end_pos, 573 source_location.end_pos, 604 source_location.end_pos, 963 CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); 965 scanner()->location().end_pos); 1153 if (scanner()->location().end_pos == shared_info->end_position()) { 1227 token_loc.end_pos - token_loc.beg_pos == 1252 token_loc.end_pos - token_loc.beg_pos == 1940 scanner()->location().end_pos); 2297 block_scope->set_end_position(scanner()->location().end_pos); 181 DefaultConstructor(const AstRawString* name, bool call_super, Scope* scope, int pos, int end_pos, LanguageMode language_mode) argument 3968 ParseArrowFunctionFormalParameters( ParserFormalParameters* parameters, Expression* expr, int end_pos, bool* ok) argument 4984 int end_pos = scanner()->location().end_pos; local [all...] |
H A D | scanner.cc | 247 next_.location.end_pos = current_.location.end_pos; 264 next_.location.end_pos = pos + 1; 734 next_.location.end_pos = source_pos(); 744 DCHECK_EQ(next_.location.end_pos, current_pos); 952 next_.location.end_pos = source_pos(); 1399 next_.location.end_pos = source_pos() - (seen_equal ? 1 : 0); 1470 next_.location.end_pos = source_pos();
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
H A D | bwe_test_fileutils.cc | 38 int32_t end_pos = ftell(file_); local 40 return current_pos == end_pos;
|
/external/llvm/lib/Support/ |
H A D | Path.cpp | 135 size_t end_pos = filename_pos(path); local 137 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); 140 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); 142 while(end_pos > 0 && 143 (end_pos - 1) != root_dir_pos && 144 is_separator(path[end_pos - 1])) 145 --end_pos; 147 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep) 150 return end_pos; 294 size_t end_pos [all...] |
/external/curl/src/ |
H A D | tool_formparse.c | 43 static char *get_param_word(char **str, char **end_pos) argument 67 *end_pos = ptr; 76 while(ptr < *end_pos); 77 *end_pos = ptr2; 92 *str = *end_pos = ptr;
|
/external/curl/lib/vtls/ |
H A D | vtls.c | 753 char *stripped_pem, *begin_pos, *end_pos; local 774 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); 775 if(!end_pos) 778 pem_len = end_pos - pem; 821 char *encoded, *pinkeycopy, *begin_pos, *end_pos; local 860 end_pos = strstr(begin_pos, ";sha256//"); 862 * if there is an end_pos, null terminate, 865 if(end_pos) 866 end_pos[0] = '\0'; 879 if(end_pos) { [all...] |
/external/dbus/dbus/ |
H A D | dbus-address.c | 369 int pos, end_pos, len, i; local 411 if (!_dbus_string_find (&str, pos, ";", &end_pos)) 412 end_pos = len; 415 if (!_dbus_string_find_to (&str, pos, end_pos, ":", &found_pos)) 429 while (pos < end_pos) 433 if (!_dbus_string_find_to (&str, pos, end_pos, ",", &comma_pos)) 434 comma_pos = end_pos; 530 pos = end_pos + 1;
|
H A D | dbus-marshal-recursive.c | 309 int end_pos; local 315 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); 317 _dbus_assert (reader->value_pos <= end_pos); 320 return reader->value_pos == end_pos; 560 int end_pos; local 562 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); 565 _dbus_verbose (" reader %p array next START start_pos = %d end_pos = %d value_pos = %d current_type = %s\n", 568 end_pos, reader->value_pos, 572 _dbus_assert (reader->value_pos < end_pos); 618 _dbus_verbose (" reader %p array next END start_pos = %d end_pos 928 int end_pos; local [all...] |
/external/v8/src/ |
H A D | pending-compilation-error-handler.cc | 58 handle(Smi::FromInt(location.end_pos()), isolate),
|
H A D | messages.cc | 18 int end_pos) 19 : script_(script), start_pos_(start_pos), end_pos_(end_pos) {} 21 int end_pos, Handle<JSFunction> function) 24 end_pos_(end_pos), 59 end = location->end_pos(); 17 MessageLocation(Handle<Script> script, int start_pos, int end_pos) argument 20 MessageLocation(Handle<Script> script, int start_pos, int end_pos, Handle<JSFunction> function) argument
|
H A D | messages.h | 27 MessageLocation(Handle<Script> script, int start_pos, int end_pos); 28 MessageLocation(Handle<Script> script, int start_pos, int end_pos, 34 int end_pos() const { return end_pos_; } function in class:v8::internal::MessageLocation
|
/external/webrtc/webrtc/base/ |
H A D | win32.cc | 174 char* end_pos; local 175 long value = strtol(src_pos, &end_pos, 10); 176 if (value < 0 || value > 255 || src_pos == end_pos) { 184 src_pos = end_pos;
|
/external/v8/test/mjsunit/es8/ |
H A D | syntactic-tail-call-parsing.js | 360 details.end_pos == undefined) { 364 "^".repeat(details.end_pos - details.start_pos);
|
H A D | syntactic-tail-call-parsing-sloppy.js | 378 details.end_pos == undefined) { 382 "^".repeat(details.end_pos - details.start_pos);
|
/external/dbus/bus/ |
H A D | desktop-file.c | 185 int end_pos, 195 retval = dbus_malloc (end_pos - pos + 1); 204 while (pos < end_pos) 219 if (pos >= end_pos) 182 unescape_string(BusDesktopFileParser *parser, const DBusString *str, int pos, int end_pos, DBusError *error) argument
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
H A D | fpdf_parser_utility.cpp | 231 FX_DWORD& end_pos) { 239 end_pos = m_dwCurPos; 228 FindTagPair(const CFX_ByteStringC& start_token, const CFX_ByteStringC& end_token, FX_DWORD& start_pos, FX_DWORD& end_pos) argument
|
/external/libvpx/libvpx/tools/ |
H A D | cpplint.py | 1271 (end_pos, num_open) = FindEndOfExpressionInLine( 1273 if end_pos > -1: 1274 return (line, linenum, end_pos) 1280 (end_pos, num_open) = FindEndOfExpressionInLine( 1282 if end_pos > -1: 1283 return (line, linenum, end_pos) 3152 (end_line, end_linenum, end_pos) = CloseExpression( 3158 if end_pos >= 0 and Match(r';', end_line[end_pos:]): 3200 (last_line, end_line, end_pos) [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
H A D | openjpeg.h | 727 OPJ_OFF_T end_pos; member in struct:opj_packet_info 776 int end_pos; member in struct:opj_tile_info 954 OPJ_OFF_T end_pos; member in struct:opj_tp_index
|
/external/sonivox/jet_tools/JetCreator/ |
H A D | JetFile.py | 469 end_pos = output_file.tell()
470 file_size = end_pos - start_pos
473 end_pos += 1
477 output_file.seek(end_pos, 0)
|