Home
last modified time | relevance | path

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

/external/grpc-grpc/src/compiler/
Dpython_generator.cc612 const size_t last_dot_pos = module_name.rfind('.'); in PrintPreamble() local
613 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()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc388 int last_dot_pos = module_name.rfind('.'); in PrintImports() local
390 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()
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_generator.cpp1330 size_t last_dot_pos = result.find_last_of('.'); in ServiceJavaPackage() local
1331 if (last_dot_pos != string::npos) { in ServiceJavaPackage()
1332 result.resize(last_dot_pos); in ServiceJavaPackage()