Home
last modified time | relevance | path

Searched refs:dash_pos (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/webrtc/tools/
Dsimple_command_line_parser.cc35 size_t dash_pos = flag.find("--"); in IsFlagWellFormed() local
37 if (dash_pos != 0) { in IsFlagWellFormed()
56 size_t dash_pos = flag.find("--"); in GetCommandLineFlagName() local
59 return flag.substr(dash_pos + 2); in GetCommandLineFlagName()
61 return flag.substr(dash_pos + 2, equal_pos - 2); in GetCommandLineFlagName()
/external/lldb/source/Core/
DArchSpec.cpp518 size_t dash_pos = vendor_os.find('-'); in ParseMachCPUDashSubtypeTriple() local
519 if (dash_pos != llvm::StringRef::npos) in ParseMachCPUDashSubtypeTriple()
521 llvm::StringRef vendor_str(vendor_os.substr(0, dash_pos)); in ParseMachCPUDashSubtypeTriple()
523 const size_t vendor_start_pos = dash_pos+1; in ParseMachCPUDashSubtypeTriple()
524 dash_pos = vendor_os.find('-', vendor_start_pos); in ParseMachCPUDashSubtypeTriple()
525 if (dash_pos == llvm::StringRef::npos) in ParseMachCPUDashSubtypeTriple()
532 … arch.GetTriple().setOSName(vendor_os.substr(vendor_start_pos, dash_pos - vendor_start_pos)); in ParseMachCPUDashSubtypeTriple()
/external/chromium_org/base/test/launcher/
Dtest_launcher.cc822 size_t dash_pos = filter.find('-'); in Init() local
823 if (dash_pos == std::string::npos) { in Init()
827 SplitString(filter.substr(0, dash_pos), ':', &positive_test_filter_); in Init()
830 SplitString(filter.substr(dash_pos + 1), ':', &negative_test_filter_); in Init()