/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 238 self._CheckConflictRegister(desc, desc.full_name, desc.file.name) 240 self._descriptors[desc.full_name] = desc 263 self._CheckConflictRegister(enum_desc, enum_desc.full_name, file_name) 264 self._enum_descriptors[enum_desc.full_name] = enum_desc 270 top_level = (enum_desc.full_name.count('.') 273 top_level = enum_desc.full_name.count('.') == 0 278 full_name = _NormalizeFullyQualifiedName( 280 self._CheckConflictRegister(enum_value, full_name, file_name) 281 self._top_enum_values[full_name] = enum_value 301 self._CheckConflictRegister(service_desc, service_desc.full_name, [all …]
|
D | proto_builder.py | 44 def _GetMessageFromFactory(factory, full_name): argument 55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name) 60 def MakeSimpleProtoClass(fields, full_name=None, pool=None): argument 76 if full_name is not None: 78 proto_cls = _GetMessageFromFactory(factory, full_name) 100 if full_name is None: 101 full_name = ('net.proto2.python.public.proto_builder.AnonymousProto_' + 104 proto_cls = _GetMessageFromFactory(factory, full_name) 112 _MakeFileDescriptorProto(proto_file_name, full_name, field_items)) 113 return _GetMessageFromFactory(factory, full_name) [all …]
|
D | descriptor.py | 188 def __init__(self, options, options_class_name, name, full_name, argument 216 self.full_name = full_name 289 def __new__(cls, name, full_name, filename, containing_type, fields, argument 296 return _message.default_pool.FindMessageTypeByName(full_name) 301 def __init__(self, name, full_name, filename, containing_type, fields, argument 317 options, 'MessageOptions', name, full_name, file, 536 def __new__(cls, name, full_name, index, number, type, cpp_type, label, argument 544 return _message.default_pool.FindExtensionByName(full_name) 546 return _message.default_pool.FindFieldByName(full_name) 548 def __init__(self, name, full_name, index, number, type, cpp_type, label, argument [all …]
|
D | json_format.py | 210 full_name = message_descriptor.full_name 213 if full_name in _WKTJSONMETHODS: 214 return methodcaller(_WKTJSONMETHODS[full_name][0], message)(self) 248 name = '[%s]' % field.full_name 334 full_name = message_descriptor.full_name 338 if full_name in _WKTJSONMETHODS: 339 js['value'] = methodcaller(_WKTJSONMETHODS[full_name][0], 477 full_name = message_descriptor.full_name 480 elif full_name in _WKTJSONMETHODS: 481 methodcaller(_WKTJSONMETHODS[full_name][1], value, message)(self) [all …]
|
D | message.py | 405 return (_InternalConstructMessage, (container.full_name,), 409 def _InternalConstructMessage(full_name): argument 413 return symbol_database.Default().GetSymbol(full_name)()
|
D | text_format.py | 438 if (message.DESCRIPTOR.full_name == _ANY_FULL_TYPE_NAME and 536 out.write(field.message_type.full_name) 538 out.write(field.full_name) 862 if (message_descriptor.full_name == _ANY_FULL_TYPE_NAME and 895 message_descriptor.full_name) 912 (name, message_descriptor.full_name)) 941 (message_descriptor.full_name, name)) 954 message_descriptor.full_name)) 1032 (message.DESCRIPTOR.full_name, field.full_name)) 1041 (message.DESCRIPTOR.full_name, field.name)) [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.cc | 601 bool AddSymbol(const std::string& full_name, Symbol symbol); 1064 tables->AllocateString(parent->full_name() + "." + enum_value_name); in FindEnumValueByNumberCreatingIfUnknown() 1091 bool DescriptorPool::Tables::AddSymbol(const std::string& full_name, in AddSymbol() argument 1093 if (InsertIfNotPresent(&symbols_by_name_, full_name, symbol)) { in AddSymbol() 1094 symbols_after_checkpoint_.push_back(full_name.c_str()); in AddSymbol() 1572 if (fallback_database_->FindAllExtensionNumbers(extendee->full_name(), in FindAllExtensions() 1957 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase() 2160 proto->mutable_extendee()->append(containing_type()->full_name()); in CopyTo() 2173 proto->mutable_type_name()->append(message_type()->full_name()); in CopyTo() 2178 proto->mutable_type_name()->append(enum_type()->full_name()); in CopyTo() [all …]
|
D | message.cc | 86 << descriptor->full_name() in MergeFrom() 89 << from.GetDescriptor()->full_name(); in MergeFrom() 102 << descriptor->full_name() in CopyFrom() 105 << from.GetDescriptor()->full_name(); in CopyFrom() 110 return GetDescriptor()->full_name(); in GetTypeName() 130 GOOGLE_CHECK(IsInitialized()) << "Message of type \"" << GetDescriptor()->full_name() in CheckInitialized() 156 GOOGLE_LOG(FATAL) << "Message class \"" << GetDescriptor()->full_name() in SetCachedSize() 222 GOOGLE_LOG(DFATAL) << "Type is already registered: " << descriptor->full_name(); in RegisterType() 261 << "registered: " << type->full_name(); in GetPrototype()
|
D | any.cc | 52 GetTypeUrl(message.GetDescriptor()->full_name(), type_url_prefix)); in PackFrom() 58 if (!InternalIs(message->GetDescriptor()->full_name())) { in UnpackTo() 68 if (descriptor->full_name() != kAnyFullTypeName) { in GetAnyFieldDescriptors()
|
/third_party/node/deps/v8/tools/ |
D | generate-header-include-checks.py | 81 full_name = os.path.join(V8_DIR, filename) 82 if not os.path.exists(full_name): 83 sys.exit('File does not exist: {}'.format(full_name)) 84 if os.path.isdir(full_name): 85 for subfile in os.listdir(full_name): 86 full_name = os.path.join(filename, subfile) 87 printv('Scanning {}'.format(full_name)) 88 add_recursively(full_name)
|
D | generate-builtins-tests.py | 50 def BuildTests(function, full_name, options): argument 57 TryCatch(result, "%s(%s);" % (full_name, GetVars(result, length))) 63 "var recv = new %s(%s);" % (full_name, GetVars(result, length)), 90 call = "%s.prototype.%s.call(%s)" % (full_name, method["name"], args) 93 filename = os.path.join(options.outdir, "%s.js" % (full_name))
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | extension_dict.py | 46 raise KeyError('"%s" is not an extension.' % extension_handle.full_name) 50 % extension_handle.full_name) 55 (extension_handle.full_name, 56 extension_handle.containing_type.full_name, 57 message.DESCRIPTOR.full_name)) 96 % (extension_handle.full_name, 97 extension_handle.message_type.full_name)) 159 'composite type.' % extension_handle.full_name)
|
D | symbol_database_test.py | 97 'protobuf_unittest.ForeignEnum').full_name) 101 'protobuf_unittest.TestAllTypes.NestedEnum').full_name) 107 'protobuf_unittest.TestAllTypes').full_name) 111 'protobuf_unittest.TestAllTypes.NestedMessage').full_name) 117 'protobuf_unittest.TestService').full_name)
|
D | proto_builder_test.py | 63 full_name='net.proto2.python.public.proto_builder_test.Test') 74 full_name='net.proto2.python.public.proto_builder_test.OrderedTest') 86 full_name='net.proto2.python.public.proto_builder_test.Test', 90 full_name='net.proto2.python.public.proto_builder_test.Test',
|
D | descriptor_pool_test.py | 171 msg1.full_name) 193 msg2.full_name) 386 self.assertEqual(service.full_name, 'protobuf_unittest.TestService') 482 unittest_pb2.TestAllTypes.DESCRIPTOR.full_name)) 725 expected_enum_full_name = '.'.join([msg_desc.full_name, name]) 726 test.assertEqual(expected_enum_full_name, enum_desc.full_name) 753 expected_full_name = '.'.join([containing_type_desc.full_name, name]) 756 test.assertEqual(expected_full_name, desc.full_name) 781 expected_field_full_name = '.'.join([msg_desc.full_name, name]) 782 test.assertEqual(expected_field_full_name, field_desc.full_name) [all …]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | EnumDescriptor.php | 13 private $full_name; variable in Google\\Protobuf\\Internal\\EnumDescriptor 23 public function setFullName($full_name) argument 25 $this->full_name = $full_name; 30 return $this->full_name;
|
D | Descriptor.php | 39 private $full_name; variable in Google\\Protobuf\\Internal\\Descriptor 66 public function setFullName($full_name) argument 68 $this->full_name = $full_name; 73 return $this->full_name;
|
/third_party/mesa3d/src/imagination/csbgen/ |
D | gen_pack_header.py | 110 def full_name(self) -> str: member in Node 144 def full_name(self) -> str: member in Csbgen 149 return self.full_name 163 define_names = [d.full_name for d in self._defines] 164 if element.full_name in define_names: 165 raise RuntimeError("Define redefined. Define: %s" % element.full_name) 222 return self.full_name 239 raise RuntimeError("Enum definition is empty. Enum: '%s'" % self.full_name) 241 print("enum %s {" % self.full_name) 260 print(" %-36s = %6d," % (self.full_name, self.value)) [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.cc | 54 std::string StripPackageName(const std::string& full_name, in StripPackageName() argument 57 return full_name; in StripPackageName() 60 return full_name.substr(file->package().size() + 1); in StripPackageName() 67 return StripPackageName(descriptor->full_name(), descriptor->file()); in ClassNameWithoutPackage() 86 std::string full_name = in ClassNameWithoutPackage() local 87 StripPackageName(descriptor->full_name(), descriptor->file()); in ClassNameWithoutPackage() 89 GOOGLE_CHECK(full_name.find('.') == std::string::npos); in ClassNameWithoutPackage() 90 return full_name; in ClassNameWithoutPackage()
|
D | java_shared_code_generator.cc | 168 std::string full_name; in GenerateDescriptors() local 170 full_name = classname; in GenerateDescriptors() 172 full_name = package + "." + classname; in GenerateDescriptors() 174 dependencies.push_back(std::make_pair(filename, full_name)); in GenerateDescriptors()
|
/third_party/node/deps/v8/tools/wasm/ |
D | wasm-import-profiler.js | 20 var full_name = module_name + "." + item_name; 21 print("instrumented " + full_name); 22 profile[full_name] = {name: full_name, count: 0, total: 0}; 27 var data = profile[full_name];
|
/third_party/python/Lib/test/test_importlib/ |
D | fixtures.py | 262 full_name = prefix / name 264 full_name.mkdir() 265 build_files(contents, prefix=full_name) 268 with full_name.open('wb') as f: 271 with full_name.open('w', encoding='utf-8') as f:
|
/third_party/toybox/toys/other/ |
D | modinfo.c | 41 static void modinfo_file(char *full_name) in modinfo_file() argument 50 if (-1 != (fd = open(full_name, O_RDONLY))) { in modinfo_file() 57 perror_msg_raw(full_name); in modinfo_file() 62 output_field("filename", full_name); in modinfo_file()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 189 "subtype", value_field->message_type()->full_name()); in GenerateField() 193 "subtype", value_field->enum_type()->full_name()); in GenerateField() 211 "subtype", field->message_type()->full_name()); in GenerateField() 215 "subtype", field->enum_type()->full_name()); in GenerateField() 257 "name", message->full_name()); in GenerateMessage() 290 "name", en->full_name()); in GenerateEnum() 380 "full_name", message->full_name()); in GenerateMessageAssignment() 400 "full_name", en->full_name()); in GenerateEnumAssignment() 472 *error = "proto3 message field " + field->full_name() + " in file " + in UsesTypeFromFile()
|
/third_party/skia/buildtools/checkdeps/ |
D | checkdeps.py | 95 for full_name in file_paths: 96 if self._skip_tests and _IsTestFile(os.path.basename(full_name)): 98 file_extension = os.path.splitext(full_name)[1] 102 file_status = checker.CheckFile(rules, full_name)
|