Searched refs:colon_pos (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/sandbox/win/src/
H A Dwin_utils.cc148 size_t colon_pos = path.find(L':');
149 if (colon_pos == 0 || colon_pos == base::string16::npos)
153 if (colon_pos > 1 && path[colon_pos - 2] != kBackslash)
159 memcpy(drive, &path[colon_pos - 1], 2 * sizeof(*drive));
170 if (vol_length + path.size() - (colon_pos + 1) != actual_path.size())
178 if (0 != _wcsicmp(&actual_path[vol_length], &path[colon_pos + 1]))
/external/lldb/source/Plugins/SymbolFile/Symtab/
H A DSymbolFileSymtab.cpp373 for (const char *colon_pos = strchr(method_signature, ':');
374 colon_pos != NULL;
375 colon_pos = strchr(colon_pos + 1, ':'))
/external/chromium_org/chrome/browser/history/
H A Dscored_history_match.cc324 const size_t colon_pos = url.find(':'); local
332 const size_t end_of_hostname_pos = (colon_pos != std::string::npos) ?
333 url.find('/', colon_pos + 3) : url.find('/');
344 if (colon_pos != std::string::npos) {
348 word_starts.url_word_starts_, 0, colon_pos);
371 } else if ((colon_pos == std::string::npos) ||
372 (iter->offset > colon_pos)) {
/external/chromium_org/net/ftp/
H A Dftp_util.cc254 size_t colon_pos = rest.find(':');
255 if (colon_pos == base::string16::npos)
257 if (colon_pos > 2)
261 StringPiece16(rest.begin(), rest.begin() + colon_pos),
266 StringPiece16(rest.begin() + colon_pos + 1, rest.end()),
/external/chromium_org/base/
H A Dcpu.cc145 size_t colon_pos = line.find(':', len); local
146 if (colon_pos == std::string::npos) {
151 StringPiece value_sp = line_sp.substr(colon_pos + 1);
/external/chromium_org/ash/system/date/
H A Ddate_view.cc242 size_t colon_pos = current_time.find(base::ASCIIToUTF16(":")); local
243 base::string16 hour = current_time.substr(0, colon_pos);
244 base::string16 minute = current_time.substr(colon_pos + 1);
/external/chromium_org/base/test/launcher/
H A Dtest_results_tracker.cc116 size_t colon_pos = flag.find(':'); local
118 if (colon_pos != std::string::npos) {
122 path = FilePath(path_string.substr(colon_pos + 1));
/external/chromium_org/chrome/common/net/
H A Dx509_certificate_model_nss.cc78 size_t colon_pos = name.find(':'); local
79 if (colon_pos != std::string::npos)
80 name = name.substr(colon_pos + 1);
/external/chromium_org/chromeos/network/
H A Dnetwork_cert_migrator.cc40 size_t colon_pos = name.find(':'); local
41 if (colon_pos != std::string::npos)
42 name = name.substr(colon_pos + 1);
/external/chromium_org/chrome/browser/extensions/
H A Dextension_apitest.cc112 size_t colon_pos = header.find(':'); local
113 if (colon_pos == std::string::npos)
116 std::string header_name = header.substr(0, colon_pos);
118 std::string header_value = header.substr(colon_pos + 2);
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface.cc1101 string::size_type colon_pos = value.find_first_of(':'); local
1102 if (colon_pos == string::npos || IsWindowsAbsolutePath(value)) {
1105 directive.parameter = value.substr(0, colon_pos);
1106 directive.output_location = value.substr(colon_pos + 1);
/external/oprofile/libpp/
H A Dformat_output.cpp78 string::size_type colon_pos = info.find(":"); local
80 if (colon_pos == string::npos)
83 file = info.substr(0, colon_pos);
84 istringstream is_info(info.substr(colon_pos+1));
/external/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface.cc1027 string::size_type colon_pos = value.find_first_of(':'); local
1028 if (colon_pos == string::npos || IsWindowsAbsolutePath(value)) {
1031 directive.parameter = value.substr(0, colon_pos);
1032 directive.output_location = value.substr(colon_pos + 1);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dport.cc497 size_t colon_pos = username_attr_str.find(":"); local
501 *remote_protocol_type = (colon_pos != std::string::npos) ?
507 if (colon_pos != std::string::npos) { // RFRAG:LFRAG
508 *local_ufrag = username_attr_str.substr(0, colon_pos);
510 colon_pos + 1, username_attr_str.size());

Completed in 1630 milliseconds