Home
last modified time | relevance | path

Searched refs:php_namespace (Results 1 – 13 of 13) sorted by relevance

/third_party/protobuf/php/ext/google/protobuf/
Dnames.c160 static void fill_namespace(const char *package, const char *php_namespace, in fill_namespace() argument
162 if (php_namespace != NULL) { in fill_namespace()
163 if (strlen(php_namespace) != 0) { in fill_namespace()
164 stringsink_string(classname, php_namespace, strlen(php_namespace)); in fill_namespace()
214 const char *php_namespace = upb_filedef_phpnamespace(file); in GetPhpClassname() local
220 fill_namespace(package, php_namespace, &namesink); in GetPhpClassname()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFileOptions.php157 protected $php_namespace = null; variable in Google\\Protobuf\\Internal\\FileOptions
960 return isset($this->php_namespace) ? $this->php_namespace : '';
965 return isset($this->php_namespace);
970 unset($this->php_namespace);
985 $this->php_namespace = $var;
/third_party/grpc/src/compiler/
Dphp_generator.cc50 return file->options().php_namespace(); in PackageName()
187 std::string php_namespace = PackageName(file); in GenerateFile() local
188 vars["package"] = php_namespace; in GenerateFile()
Dphp_generator_helpers.h52 oss << ReplaceAll(file->options().php_namespace(), "\\", "/"); in GetPHPServiceFilename()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc247 const string& php_namespace = desc->file()->options().php_namespace(); in RootPhpNamespace() local
248 if (!php_namespace.empty()) { in RootPhpNamespace()
249 return php_namespace; in RootPhpNamespace()
263 string php_namespace = RootPhpNamespace(desc, is_descriptor); in FullClassName() local
264 if (!php_namespace.empty()) { in FullClassName()
265 return php_namespace + "\\" + classname; in FullClassName()
273 string php_namespace = RootPhpNamespace(desc, is_descriptor); in LegacyFullClassName() local
274 if (!php_namespace.empty()) { in LegacyFullClassName()
275 return php_namespace + "\\" + classname; in LegacyFullClassName()
1242 std::string php_namespace = RootPhpNamespace(desc, is_descriptor); in LegacyGenerateClassFile() local
[all …]
/third_party/protobuf/php/tests/proto/
Dtest_service_namespace.proto8 option php_namespace = "Bar";
Dtest_empty_php_namespace.proto4 option php_namespace = "";
Dtest_php_namespace.proto4 option php_namespace = "Php\\Test";
/third_party/protobuf/src/google/protobuf/
Ddescriptor.pb.h3721 const std::string& php_namespace() const;
3728 void set_allocated_php_namespace(std::string* php_namespace);
10812 inline const std::string& FileOptions::php_namespace() const { in php_namespace() function
10863 inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) { in set_allocated_php_namespace() argument
10864 if (php_namespace != nullptr) { in set_allocated_php_namespace()
10869 …ace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace, in set_allocated_php_namespace()
Ddescriptor.proto443 optional string php_namespace = 41; field
/third_party/grpc/third_party/upb/benchmarks/
Ddescriptor_sv.proto431 optional string php_namespace = 41 [ctype = STRING_PIECE]; field
Ddescriptor.proto439 optional string php_namespace = 41; field
/third_party/protobuf/
DCHANGES.txt844 * Added file option php_namespace to use custom php namespace instead of