Searched refs:last_dot_pos (Results 1 – 3 of 3) sorted by relevance
612 const size_t last_dot_pos = module_name.rfind('.'); in PrintPreamble() local613 if (last_dot_pos == grpc::string::npos) { in PrintPreamble()616 var["ImportStatement"] = "from " + module_name.substr(0, last_dot_pos) + in PrintPreamble()618 module_name.substr(last_dot_pos + 1); in PrintPreamble()
388 int last_dot_pos = module_name.rfind('.'); in PrintImports() local390 if (last_dot_pos == std::string::npos) { in PrintImports()395 import_statement = "from " + module_name.substr(0, last_dot_pos) + in PrintImports()396 " import " + module_name.substr(last_dot_pos + 1); in PrintImports()
1330 size_t last_dot_pos = result.find_last_of('.'); in ServiceJavaPackage() local1331 if (last_dot_pos != string::npos) { in ServiceJavaPackage()1332 result.resize(last_dot_pos); in ServiceJavaPackage()