/external/libchrome/base/test/launcher/ |
D | test_result.cc | 85 size_t dot_pos = full_name.find('.'); in GetTestName() local 86 CHECK_NE(dot_pos, std::string::npos); in GetTestName() 87 return full_name.substr(dot_pos + 1); in GetTestName() 91 size_t dot_pos = full_name.find('.'); in GetTestCaseName() local 92 CHECK_NE(dot_pos, std::string::npos); in GetTestCaseName() 93 return full_name.substr(0, dot_pos); in GetTestCaseName()
|
/external/llvm-project/lldb/source/Core/ |
D | UserSettingsController.cpp | 111 size_t dot_pos = setting.find_first_of('.'); in IsSettingExperimental() local 112 return setting.take_front(dot_pos) == experimental; in IsSettingExperimental()
|
/external/deqp-deps/SPIRV-Tools/tools/fuzz/ |
D | fuzz.cpp | 684 size_t dot_pos = in_binary_file.rfind('.'); in main() local 685 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 754 dot_pos = out_binary_file.rfind('.'); in main() 755 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/fuzz/ |
D | fuzz.cpp | 684 size_t dot_pos = in_binary_file.rfind('.'); in main() local 685 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 754 dot_pos = out_binary_file.rfind('.'); in main() 755 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
D | PythonDataObjects.cpp | 199 size_t dot_pos = name.find('.'); in ResolveNameWithDictionary() local 200 llvm::StringRef piece = name.substr(0, dot_pos); in ResolveNameWithDictionary() 202 if (dot_pos == llvm::StringRef::npos) { in ResolveNameWithDictionary() 209 return result.ResolveName(name.substr(dot_pos + 1)); in ResolveNameWithDictionary() 223 size_t dot_pos = name.find('.'); in ResolveName() local 224 if (dot_pos == llvm::StringRef::npos) { in ResolveName() 232 PythonObject parent = ResolveName(name.substr(0, dot_pos)); in ResolveName() 237 return parent.ResolveName(name.substr(dot_pos + 1)); in ResolveName()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/fuzz/ |
D | fuzz.cpp | 743 size_t dot_pos = in_binary_file.rfind('.'); in main() local 744 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 812 dot_pos = out_binary_file.rfind('.'); in main() 813 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 77 size_t dot_pos = path.rfind('.'); in GetFilename() local 78 return path.substr(slash_pos + 1, dot_pos - (slash_pos + 1)); in GetFilename() 1113 auto dot_pos = fname.rfind('.'); in MakeInternal() local 1114 if (dot_pos == string::npos) { in MakeInternal() 1117 return strings::StrCat(fname.substr(0, dot_pos), "_internal", in MakeInternal() 1118 fname.substr(dot_pos)); in MakeInternal()
|
/external/google-breakpad/src/common/windows/ |
D | pdb_source_line_writer.cc | 826 size_t dot_pos = file.find_last_of(L"."); in FindPEFile() local 827 if (dot_pos != wstring::npos) { in FindPEFile() 828 file.replace(dot_pos + 1, wstring::npos, extensions[i]); in FindPEFile()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device.cc | 1646 size_t dot_pos = version_name.find('.'); in CudaVersion() local 1647 CHECK(dot_pos != string::npos) in CudaVersion() 1649 string major_str = version_name.substr(0, dot_pos); in CudaVersion() 1652 string minor_str = version_name.substr(dot_pos + 1); in CudaVersion()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1870 std::string::size_type dot_pos = prefix.find_last_of('.'); in IsSubSymbolOfBuiltType() local 1871 if (dot_pos == std::string::npos) { in IsSubSymbolOfBuiltType() 1874 prefix = prefix.substr(0, dot_pos); in IsSubSymbolOfBuiltType() 3789 std::string::size_type dot_pos = scope_to_try.find_last_of('.'); in LookupSymbolNoPlaceholder() local 3790 if (dot_pos == std::string::npos) { in LookupSymbolNoPlaceholder() 3793 scope_to_try.erase(dot_pos); in LookupSymbolNoPlaceholder() 4019 std::string::size_type dot_pos = full_name.find_last_of('.'); in AddSymbol() local 4020 if (dot_pos == std::string::npos) { in AddSymbol() 4025 "\"" + full_name.substr(dot_pos + 1) + in AddSymbol() 4027 full_name.substr(0, dot_pos) + "\"."); in AddSymbol() [all …]
|