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

/external/llvm/lib/Support/
H A DPathV2.cpp131 size_t end_pos = filename_pos(path); local
133 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]);
136 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos));
138 while(end_pos > 0 &&
139 (end_pos - 1) != root_dir_pos &&
140 is_separator(path[end_pos - 1]))
141 --end_pos;
143 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep)
146 return end_pos;
216 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.cc65 int end_pos,
74 function_store_.Add(end_pos);
64 LogMessage(int start_pos, int end_pos, const char* message, const char* arg_opt) argument
H A Dlog-utils.cc296 char* end_pos = dest_buf + actual_size - 1; local
297 while (end_pos >= dest_buf && *end_pos != '\n') --end_pos;
298 actual_size = static_cast<int>(end_pos - dest_buf + 1);
H A Dpreparser.h166 int end_pos,
169 log_->LogMessage(start_pos, end_pos, type, name_opt);
165 ReportMessageAt(int start_pos, int end_pos, const char* type, const char* name_opt) argument
H A Dpreparser.cc77 return ReportMessageAt(source_location.beg_pos, source_location.end_pos,
80 return ReportMessageAt(source_location.beg_pos, source_location.end_pos,
83 return ReportMessageAt(source_location.beg_pos, source_location.end_pos,
87 return ReportMessageAt(source_location.beg_pos, source_location.end_pos,
91 ReportMessageAt(source_location.beg_pos, source_location.end_pos,
515 ReportMessageAt(pos.beg_pos, pos.end_pos,
1013 ReportMessageAt(location.beg_pos, location.end_pos,
1024 ReportMessageAt(location.beg_pos, location.end_pos,
1094 int end_pos = scanner_->location().end_pos; local
[all...]
H A Dtop.cc747 thread_local_top()->pending_message_end_pos_ = location->end_pos();
835 int end_pos = thread_local_top_.pending_message_end_pos_; local
836 MessageLocation location(script, start_pos, end_pos);
H A Dparser.h76 int end_pos() { return backing_[kEndPosOffset]; } function in class:v8::internal::BASE_EMBEDDED
647 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
H A Dscanner-base.h283 Location(int b, int e) : beg_pos(b), end_pos(e) { }
284 Location() : beg_pos(0), end_pos(0) { }
287 return beg_pos >= 0 && end_pos >= beg_pos;
291 int end_pos; member in struct:v8::internal::Scanner::Location
H A Djsregexp.cc4426 int end_pos = count; local
4430 end_pos = i;
4438 // [start_pos..end_pos[. Ranges before start_pos or at or after end_pos are
4440 // If start_pos == end_pos, the range must be inserted before start_pos.
4441 // if start_pos < end_pos, the entire range from start_pos to end_pos
4444 if (start_pos == end_pos) {
4452 if (start_pos + 1 == end_pos) {
4460 // Replace a number of existing ranges from start_pos to end_pos
[all...]
H A Dparser.cc373 int end_pos = Read(PreparseDataConstants::kMessageEndPos); local
374 return Scanner::Location(beg_pos, end_pos);
649 CheckOctalLiteral(beg_loc, scanner().location().end_pos, &ok);
779 source_location.end_pos);
797 source_location.end_pos);
1124 token_loc.end_pos - token_loc.beg_pos ==
3545 int end_pos; local
3626 end_pos = entry.end_pos();
3627 if (end_pos <
3881 CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) argument
[all...]
/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/llvm/lib/DebugInfo/
H A DDWARFDebugLine.cpp453 iterator end_pos = Rows.end(); local
454 iterator pos = std::lower_bound(begin_pos, end_pos, row,
456 if (pos == end_pos) {
/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:__anon2507::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.c1027 int64_t total_len, end_pos, cur_pos; local
1031 end_pos = total_len + qemu_ftell(f);
1033 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...]
/external/webkit/Source/WebCore/accessibility/gtk/
H A DAccessibilityObjectWrapperAtk.cpp1841 static void webkit_accessible_editable_text_copy_text(AtkEditableText* text, gint start_pos, gint end_pos) argument
1846 static void webkit_accessible_editable_text_cut_text(AtkEditableText* text, gint start_pos, gint end_pos) argument
1851 static void webkit_accessible_editable_text_delete_text(AtkEditableText* text, gint start_pos, gint end_pos) argument
1855 //coreObject->setSelectedTextRange(PlainTextRange(start_pos, end_pos - start_pos));
1862 coreObject->setSelectedVisiblePositionRange(coreObject->visiblePositionRangeForRange(PlainTextRange(start_pos, end_pos - start_pos)));

Completed in 1556 milliseconds