Home
last modified time | relevance | path

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

12

/external/v8/preparser/
Dpreparser-process.cc157 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/llvm/lib/Support/
DPathV2.cpp130 size_t end_pos = filename_pos(path); in parent_path_end() local
132 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); in parent_path_end()
135 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); in parent_path_end()
137 while(end_pos > 0 && in parent_path_end()
138 (end_pos - 1) != root_dir_pos && in parent_path_end()
139 is_separator(path[end_pos - 1])) in parent_path_end()
140 --end_pos; in parent_path_end()
142 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep) in parent_path_end()
145 return end_pos; in parent_path_end()
215 size_t end_pos = Path.find_first_of(separators, Position); in operator ++() local
[all …]
/external/dropbear/
Dprogressmeter.c59 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/
Dprogressmeter.c69 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/v8/src/
Dmessages.h71 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
Dpreparser.cc72 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 …]
Dscanner.h302 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()
Dpreparser.h497 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);
Dpreparse-data.cc63 int end_pos, in LogMessage() argument
72 function_store_.Add(end_pos); in LogMessage()
Dscanner.cc234 next_.location.end_pos = pos + 1; in Next()
588 next_.location.end_pos = source_pos(); in Scan()
598 ASSERT_EQ(next_.location.end_pos, current_pos); in SeekForward()
1000 next_.location.end_pos = source_pos() - (seen_equal ? 1 : 0); in ScanRegExpPattern()
1084 next_.location.end_pos = source_pos() - 1; in ScanRegExpFlags()
/external/dbus/dbus/
Ddbus-address.c369 int pos, end_pos, len, i; in dbus_parse_address() local
411 if (!_dbus_string_find (&str, pos, ";", &end_pos)) in dbus_parse_address()
412 end_pos = len; in dbus_parse_address()
415 if (!_dbus_string_find_to (&str, pos, end_pos, ":", &found_pos)) in dbus_parse_address()
429 while (pos < end_pos) in dbus_parse_address()
433 if (!_dbus_string_find_to (&str, pos, end_pos, ",", &comma_pos)) in dbus_parse_address()
434 comma_pos = end_pos; in dbus_parse_address()
530 pos = end_pos + 1; in dbus_parse_address()
Ddbus-marshal-recursive.c297 int end_pos; in array_reader_check_finished() local
303 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); in array_reader_check_finished()
305 _dbus_assert (reader->value_pos <= end_pos); in array_reader_check_finished()
308 return reader->value_pos == end_pos; in array_reader_check_finished()
548 int end_pos; in array_reader_next() local
550 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); in array_reader_next()
556 end_pos, reader->value_pos, in array_reader_next()
560 _dbus_assert (reader->value_pos < end_pos); in array_reader_next()
609 end_pos, reader->value_pos, in array_reader_next()
613 _dbus_assert (reader->value_pos <= end_pos); in array_reader_next()
[all …]
/external/webkit/Tools/android/flex-2.5.4a/MISC/VMS/
Dmkskel.tpu19 POSITION(LINE_END); end_pos := MARK(NONE);
20 MODIFY_RANGE(rest_of_line, start_pos, end_pos);
26 MODIFY_RANGE(rest_of_line, MARK(NONE), end_pos);
/external/llvm/lib/DebugInfo/
DDWARFDebugLine.cpp454 iterator end_pos = Rows.end(); in lookupAddress() local
455 iterator pos = std::lower_bound(begin_pos, end_pos, row, in lookupAddress()
457 if (pos == end_pos) { in lookupAddress()
/external/chromium/chrome/browser/
Dprocess_info_snapshot_mac.cc74 size_t end_pos = executable_name->find('\0'); in GetExecutableNameForProcessID() local
75 if (end_pos == std::string::npos) { in GetExecutableNameForProcessID()
79 executable_name->resize(end_pos); in GetExecutableNameForProcessID()
/external/v8/test/preparser/
Dpreparser.expectation5 # testname[:message[:beg_pos,end_pos]]
/external/bluetooth/glib/glib/
Dgregex.h232 gint *end_pos);
238 gint *end_pos);
/external/dbus/bus/
Ddesktop-file.c185 int end_pos, in unescape_string() argument
195 retval = dbus_malloc (end_pos - pos + 1); in unescape_string()
204 while (pos < end_pos) in unescape_string()
219 if (pos >= end_pos) in unescape_string()
/external/webkit/Source/WebKit/android/content/
DPhoneEmailDetector.h62 size_t* end_pos);
Dcontent_detector.h87 size_t* end_pos) = 0;
DPhoneEmailDetector.cpp73 size_t* end_pos) in FindContent() argument
88 *end_pos = m_findState.mEndResult; in FindContent()
Daddress_detector.h55 size_t* end_pos) OVERRIDE;
/external/chromium/webkit/glue/
Ddom_serializer_unittest.cc268 int end_pos = start_pos; in IsMetaElement() local
271 if (content[end_pos] <= 0x0020 || content[end_pos] == L';') in IsMetaElement()
273 ++end_pos; in IsMetaElement()
276 charset_info = content.substr(start_pos, end_pos - start_pos); in IsMetaElement()
Dmultipart_response_delegate_unittest.cc311 const int end_pos; // end offset in data member
338 ASSERT_TRUE(chunks[i].start_pos < chunks[i].end_pos); in VariousChunkSizesTest()
340 chunks[i].end_pos - chunks[i].start_pos); in VariousChunkSizesTest()
/external/chromium/net/base/
Dmime_util.cc131 size_t end_pos = strcspn(extensions, ","); in FindMimeType() local
132 if (end_pos == ext_len && in FindMimeType()
135 extensions += end_pos; in FindMimeType()

12