Searched refs:dot_pos (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/base/ |
D | versionparsing.cc | 22 size_t dot_pos = version_str.find('.', pos); in ParseVersionString() local 24 if (dot_pos == std::string::npos) { in ParseVersionString() 28 n = dot_pos - pos; in ParseVersionString() 35 if (dot_pos == std::string::npos) { in ParseVersionString() 40 pos = dot_pos + 1; in ParseVersionString()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 71 size_t dot_pos = path.rfind('.'); in GetFilename() local 72 return path.substr(slash_pos + 1, dot_pos - (slash_pos + 1)); in GetFilename() 1091 auto dot_pos = fname.rfind('.'); in MakeInternal() local 1092 if (dot_pos == string::npos) { in MakeInternal() 1095 return strings::StrCat(fname.substr(0, dot_pos), "_internal", in MakeInternal() 1096 fname.substr(dot_pos)); in MakeInternal()
|
/external/google-breakpad/src/common/windows/ |
D | pdb_source_line_writer.cc | 907 size_t dot_pos = file.find_last_of(L"."); in FindPEFile() local 908 if (dot_pos != wstring::npos) { in FindPEFile() 909 file.replace(dot_pos + 1, wstring::npos, extensions[i]); in FindPEFile()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1591 string::size_type dot_pos = prefix.find_last_of('.'); in IsSubSymbolOfBuiltType() local 1592 if (dot_pos == string::npos) { in IsSubSymbolOfBuiltType() 1595 prefix = prefix.substr(0, dot_pos); in IsSubSymbolOfBuiltType() 3419 string::size_type dot_pos = scope_to_try.find_last_of('.'); in LookupSymbolNoPlaceholder() local 3420 if (dot_pos == string::npos) { in LookupSymbolNoPlaceholder() 3423 scope_to_try.erase(dot_pos); in LookupSymbolNoPlaceholder() 3602 string::size_type dot_pos = full_name.find_last_of('.'); in AddSymbol() local 3603 if (dot_pos == string::npos) { in AddSymbol() 3608 "\"" + full_name.substr(dot_pos + 1) + in AddSymbol() 3610 full_name.substr(0, dot_pos) + "\"."); in AddSymbol() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device.cc | 1409 size_t dot_pos = version_name.find('.'); in CudaVersion() local 1410 CHECK(dot_pos != string::npos) in CudaVersion() 1412 string major_str = version_name.substr(0, dot_pos); in CudaVersion() 1415 string minor_str = version_name.substr(dot_pos + 1); in CudaVersion()
|