/external/grpc-grpc/src/compiler/ |
D | php_generator.cc | 50 return file->options().php_namespace(); in PackageName() 175 grpc::string php_namespace = PackageName(file); in GenerateFile() local 176 vars["package"] = php_namespace; in GenerateFile()
|
D | php_generator_helpers.h | 52 oss << ReplaceAll(file->options().php_namespace(), "\\", "/"); in GetPHPServiceFilename()
|
/external/rust/crates/grpcio-sys/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()
|
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 682 const char *php_namespace, in classname_len_max() argument 697 if (php_namespace != NULL) { in classname_len_max() 698 namespace_len = strlen(php_namespace); in classname_len_max() 780 static void fill_namespace(const char *package, const char *php_namespace, in fill_namespace() argument 782 if (php_namespace != NULL) { in fill_namespace() 783 stringsink_string(classname, NULL, php_namespace, strlen(php_namespace), in fill_namespace() 845 const char *php_namespace = upb_filedef_phpnamespace(file); in register_class() local 848 classname_len_max(fullname, package, php_namespace, prefix); in register_class() 854 fill_namespace(package, php_namespace, &namesink); in register_class() 864 namesink.ptr, fullname, package, php_namespace, prefix); in register_class()
|
/external/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 246 const string& php_namespace = desc->file()->options().php_namespace(); in RootPhpNamespace() local 247 if (php_namespace != "") { in RootPhpNamespace() 248 return php_namespace; in RootPhpNamespace() 262 string php_namespace = RootPhpNamespace(desc, is_descriptor); in FullClassName() local 263 if (php_namespace != "") { in FullClassName() 264 return php_namespace + "\\" + classname; in FullClassName() 272 string php_namespace = RootPhpNamespace(desc, is_descriptor); in LegacyFullClassName() local 273 if (php_namespace != "") { in LegacyFullClassName() 274 return php_namespace + "\\" + classname; in LegacyFullClassName() 1105 std::string php_namespace = RootPhpNamespace(desc, is_descriptor); in LegacyGenerateClassFile() local [all …]
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | FileOptions.php | 174 private $php_namespace = ''; variable in Google\\Protobuf\\Internal\\FileOptions 913 return $this->php_namespace; 928 $this->php_namespace = $var;
|
/external/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";
|
/external/rust/crates/protobuf/src/ |
D | descriptor.rs | 4687 php_namespace: crate::SingularField<::std::string::String>, field 5155 match self.php_namespace.as_ref() { in get_php_namespace() 5161 self.php_namespace.clear(); in clear_php_namespace() 5165 self.php_namespace.is_some() in has_php_namespace() 5170 self.php_namespace = crate::SingularField::some(v); in set_php_namespace() 5176 if self.php_namespace.is_none() { in mut_php_namespace() 5177 self.php_namespace.set_default(); in mut_php_namespace() 5179 self.php_namespace.as_mut().unwrap() in mut_php_namespace() 5184 self.php_namespace.take().unwrap_or_else(|| ::std::string::String::new()) in take_php_namespace() 5387 crate::rt::read_singular_string_into(wire_type, is, &mut self.php_namespace)?; in merge_from() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.pb.h | 3698 const std::string& php_namespace() const; 3705 void set_allocated_php_namespace(std::string* php_namespace); 3714 std::string* php_namespace); 10186 inline const std::string& FileOptions::php_namespace() const { in php_namespace() function 10228 inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) { in set_allocated_php_namespace() argument 10229 if (php_namespace != nullptr) { in set_allocated_php_namespace() 10234 …ace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace, in set_allocated_php_namespace() 10246 std::string* php_namespace) { in unsafe_arena_set_allocated_php_namespace() argument 10248 if (php_namespace != nullptr) { in unsafe_arena_set_allocated_php_namespace() 10254 php_namespace, GetArenaNoVirtual()); in unsafe_arena_set_allocated_php_namespace()
|
D | descriptor.pb.cc | 8350 …space_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.php_namespace(), in FileOptions() 8926 this->php_namespace().data(), static_cast<int>(this->php_namespace().length()), in MergePartialFromCodedStream() 9142 this->php_namespace().data(), static_cast<int>(this->php_namespace().length()), in SerializeWithCachedSizes() 9146 41, this->php_namespace(), output); in SerializeWithCachedSizes() 9326 this->php_namespace().data(), static_cast<int>(this->php_namespace().length()), in InternalSerializeWithCachedSizesToArray() 9331 41, this->php_namespace(), target); in InternalSerializeWithCachedSizesToArray() 9462 this->php_namespace()); in ByteSizeLong() 9588 set_php_namespace(from.php_namespace()); in MergeFrom()
|
D | descriptor.proto | 419 optional string php_namespace = 41; field
|
/external/nanopb-c/generator/proto/google/protobuf/ |
D | descriptor.proto | 418 optional string php_namespace = 41; field
|
/external/golang-protobuf/protoc-gen-go/descriptor/ |
D | descriptor.proto | 419 optional string php_namespace = 41; field
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/benchmarks/ |
D | descriptor.proto | 439 optional string php_namespace = 41; field
|
D | descriptor_sv.proto | 431 optional string php_namespace = 41 [ctype = STRING_PIECE]; field
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 8839 char *php_namespace; in file_onphpnamespace() local 8844 php_namespace = upb_gstrndup(buf, n); in file_onphpnamespace() 8845 ok = upb_filedef_setphpnamespace(r->file, php_namespace, NULL); in file_onphpnamespace() 8846 upb_gfree(php_namespace); in file_onphpnamespace() 9429 upb_handlers_setstartstr(h, F(FileOptions, php_namespace), in reghandlers() 9431 upb_handlers_setstring(h, F(FileOptions, php_namespace), in reghandlers()
|
/external/protobuf/ |
D | CHANGES.txt | 502 * Added file option php_namespace to use custom php namespace instead of
|