Searched refs:php_namespace (Results 1 – 13 of 13) sorted by relevance
/third_party/protobuf/php/ext/google/protobuf/ |
D | names.c | 160 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/ |
D | FileOptions.php | 157 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/ |
D | php_generator.cc | 50 return file->options().php_namespace(); in PackageName() 187 std::string php_namespace = PackageName(file); in GenerateFile() local 188 vars["package"] = php_namespace; in GenerateFile()
|
D | php_generator_helpers.h | 52 oss << ReplaceAll(file->options().php_namespace(), "\\", "/"); in GetPHPServiceFilename()
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 247 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/ |
D | test_service_namespace.proto | 8 option php_namespace = "Bar";
|
D | test_empty_php_namespace.proto | 4 option php_namespace = "";
|
D | test_php_namespace.proto | 4 option php_namespace = "Php\\Test";
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.pb.h | 3721 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()
|
D | descriptor.proto | 443 optional string php_namespace = 41; field
|
/third_party/grpc/third_party/upb/benchmarks/ |
D | descriptor_sv.proto | 431 optional string php_namespace = 41 [ctype = STRING_PIECE]; field
|
D | descriptor.proto | 439 optional string php_namespace = 41; field
|
/third_party/protobuf/ |
D | CHANGES.txt | 844 * Added file option php_namespace to use custom php namespace instead of
|