Searched refs:end_pos (Results 1 - 25 of 46) sorted by relevance

12

/external/libbrillo/brillo/streams/
H A Dstream_utils_unittest.cc103 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 Dfile.cc117 off_t end_pos = lseek(fd_, 0, SEEK_END);
118 if (end_pos == -1)
120 *size = end_pos;
/external/v8/src/parsing/
H A Dpreparse-data.cc31 void CompleteParserRecorder::LogMessage(int start_pos, int end_pos, argument
41 function_store_.Add(end_pos);
H A Dparser-base.h718 // 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 Dpreparser.cc27 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 Dscanner.h344 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 Dparser.cc183 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 Dscanner.cc247 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 Dbwe_test_fileutils.cc38 int32_t end_pos = ftell(file_); local
40 return current_pos == end_pos;
/external/llvm/lib/Support/
H A DPath.cpp135 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 Dtool_formparse.c43 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 Dvtls.c753 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 Ddbus-address.c369 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 Ddbus-marshal-recursive.c309 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 Dpending-compilation-error-handler.cc58 handle(Smi::FromInt(location.end_pos()), isolate),
H A Dmessages.cc18 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 Dmessages.h27 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 Dwin32.cc174 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 Dsyntactic-tail-call-parsing.js360 details.end_pos == undefined) {
364 "^".repeat(details.end_pos - details.start_pos);
H A Dsyntactic-tail-call-parsing-sloppy.js378 details.end_pos == undefined) {
382 "^".repeat(details.end_pos - details.start_pos);
/external/dbus/bus/
H A Ddesktop-file.c185 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 Dfpdf_parser_utility.cpp231 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 Dcpplint.py1271 (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 Dopenjpeg.h727 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 DJetFile.py469 end_pos = output_file.tell()
470 file_size = end_pos - start_pos
473 end_pos += 1
477 output_file.seek(end_pos, 0)

Completed in 717 milliseconds

12