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()
115 int last_dot_pos = module_name.rfind('.'); in ModuleImportStatement() local116 if (last_dot_pos == string::npos) { in ModuleImportStatement()121 return "from " + module_name.substr(0, last_dot_pos) + " import " + in ModuleImportStatement()122 module_name.substr(last_dot_pos + 1); in ModuleImportStatement()
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()