Searched defs:end_pos (Results 1 - 25 of 29) sorted by relevance

12

/external/llvm/lib/Support/
H A DPathV2.cpp130 size_t end_pos = filename_pos(path); local
132 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]);
135 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos));
137 while(end_pos > 0 &&
138 (end_pos - 1) != root_dir_pos &&
139 is_separator(path[end_pos - 1]))
140 --end_pos;
142 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep)
145 return end_pos;
215 size_t end_pos
[all...]
/external/v8/src/
H A Dmessages.h71 int end_pos)
74 end_pos_(end_pos) { }
79 int end_pos() const { return end_pos_; } function in class:v8::internal::MessageLocation
69 MessageLocation(Handle<Script> script, int start_pos, int end_pos) argument
H A Dpreparse-data.cc63 int end_pos,
72 function_store_.Add(end_pos);
62 LogMessage(int start_pos, int end_pos, const char* message, const char* arg_opt) argument
H A Dpreparser.cc72 int end_pos = scanner_->location().end_pos; local
73 CheckOctalLiteral(start_position, end_pos, &ok);
75 CheckDelayedStrictModeViolation(start_position, end_pos, &ok);
128 // Checks whether octal literal last seen is between beg_pos and end_pos.
130 void PreParser::CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { argument
132 if (beg_pos <= octal.beg_pos && octal.end_pos <= end_pos) {
276 ReportMessageAt(start_location.beg_pos, end_location.end_pos,
405 ReportMessageAt(location.beg_pos, location.end_pos,
1579 CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok) argument
[all...]
H A Dpreparser.h497 CheckOctalLiteral(start_position, scanner_->location().end_pos, &ok);
507 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt);
510 int end_pos,
513 log_->LogMessage(start_pos, end_pos, type, name_opt);
516 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
639 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
509 ReportMessageAt(int start_pos, int end_pos, const char* type, const char* name_opt) argument
H A Dscanner.h302 Location(int b, int e) : beg_pos(b), end_pos(e) { }
303 Location() : beg_pos(0), end_pos(0) { }
306 return beg_pos >= 0 && end_pos >= beg_pos;
312 int end_pos; member in struct:v8::internal::Scanner::Location
356 int source_length = (location.end_pos - location.beg_pos);
H A Dscopes.cc707 int end_pos = scope->end_position(); local
708 ASSERT(beg_pos >= 0 && end_pos >= 0);
709 if (beg_pos <= position && position < end_pos) {
H A Disolate.cc1124 thread_local_top()->pending_message_end_pos_ = location->end_pos();
1217 int end_pos = thread_local_top_.pending_message_end_pos_; local
1218 MessageLocation location(script, start_pos, end_pos);
H A Dparser.h85 int end_pos() { return backing_[kEndPositionIndex]; } function in class:v8::internal::BASE_EMBEDDED
754 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
/external/chromium/chrome/browser/
H A Dprocess_info_snapshot_mac.cc74 size_t end_pos = executable_name->find('\0'); local
75 if (end_pos == std::string::npos) {
79 executable_name->resize(end_pos);
/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.c297 int end_pos; local
303 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader);
305 _dbus_assert (reader->value_pos <= end_pos);
308 return reader->value_pos == end_pos;
548 int end_pos; local
550 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader);
553 _dbus_verbose (" reader %p array next START start_pos = %d end_pos = %d value_pos = %d current_type = %s\n",
556 end_pos, reader->value_pos,
560 _dbus_assert (reader->value_pos < end_pos);
606 _dbus_verbose (" reader %p array next END start_pos = %d end_pos
916 int end_pos; local
[all...]
/external/dropbear/
H A Dprogressmeter.c59 static off_t end_pos; /* ending position of transfer */ variable
125 bytes_left = end_pos - cur_pos;
132 transferred = end_pos;
164 if (end_pos != 0)
165 percent = ((float)cur_pos / end_pos) * 100;
243 end_pos = filesize;
267 if (cur_pos != end_pos)
/external/openssh/
H A Dprogressmeter.c69 static off_t end_pos; /* ending position of transfer */ variable
135 bytes_left = end_pos - cur_pos;
142 transferred = end_pos;
174 if (end_pos != 0)
175 percent = ((float)cur_pos / end_pos) * 100;
254 end_pos = filesize;
278 if (cur_pos != end_pos)
/external/v8/preparser/
H A Dpreparser-process.cc157 int end_pos() { function in class:PreparseDataInterpreter
225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { }
229 int end_pos; member in struct:ExceptionExpectation
248 expects->type, actual_message, reader.beg_pos(), reader.end_pos());
257 if (expects->end_pos >= 0) {
258 if (expects->end_pos != reader.end_pos()) {
260 expects->end_pos, reader.end_pos());
266 message, reader.beg_pos(), reader.end_pos());
[all...]
/external/webkit/Source/WebKit/android/content/
H A DPhoneEmailDetector.cpp73 size_t* end_pos)
88 *end_pos = m_findState.mEndResult;
70 FindContent(const string16::const_iterator& begin, const string16::const_iterator& end, size_t* start_pos, size_t* end_pos) argument
H A Daddress_detector.cpp167 const string16::const_iterator& end, size_t* start_pos, size_t* end_pos) {
277 *end_pos = words[state_last_word].end - begin;
291 *end_pos = words[zip_word].end - begin;
166 FindContent(const string16::const_iterator& begin, const string16::const_iterator& end, size_t* start_pos, size_t* end_pos) argument
/external/chromium/net/base/
H A Dmime_util.cc131 size_t end_pos = strcspn(extensions, ","); local
132 if (end_pos == ext_len &&
135 extensions += end_pos;
/external/chromium/webkit/glue/
H A Ddom_serializer_unittest.cc268 int end_pos = start_pos; local
271 if (content[end_pos] <= 0x0020 || content[end_pos] == L';')
273 ++end_pos;
276 charset_info = content.substr(start_pos, end_pos - start_pos);
H A Dmultipart_response_delegate_unittest.cc311 const int end_pos; // end offset in data member in struct:__anon3229::TestChunk
338 ASSERT_TRUE(chunks[i].start_pos < chunks[i].end_pos);
340 chunks[i].end_pos - chunks[i].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/qemu/
H A Dsavevm.c1058 int64_t total_len, end_pos, cur_pos; local
1062 end_pos = total_len + qemu_ftell(f);
1064 if (qemu_ftell(f) >= end_pos)
/external/libxml2/include/libxml/
H A Dparser.h94 unsigned long end_pos; member in struct:_xmlParserNodeInfo
/external/chromium/chrome/common/extensions/
H A Dextension.cc1507 size_t end_pos = working.rfind(kKeyBeginFooterMarker); local
1508 if (end_pos == std::string::npos)
1510 if (start_pos >= end_pos)
1513 working = working.substr(start_pos, end_pos - start_pos);
/external/protobuf/src/google/protobuf/
H A Ddescriptor.cc2985 char* end_pos = NULL; local
2989 strtol(proto.default_value().c_str(), &end_pos, 0);
2993 strto64(proto.default_value().c_str(), &end_pos, 0);
2997 strtoul(proto.default_value().c_str(), &end_pos, 0);
3001 strtou64(proto.default_value().c_str(), &end_pos, 0);
3012 NoLocaleStrtod(proto.default_value().c_str(), &end_pos);
3024 NoLocaleStrtod(proto.default_value().c_str(), &end_pos);
3059 if (end_pos != NULL) {
3060 // end_pos is only set non-NULL by the parsers for numeric types, above.
3063 if (proto.default_value().empty() || *end_pos !
[all...]

Completed in 489 milliseconds

12