Home
last modified time | relevance | path

Searched refs:is_extension (Results 1 – 25 of 46) sorted by relevance

12

/third_party/protobuf/php/src/Google/Protobuf/Internal/UninterpretedOption/
DNamePart.php31 protected $is_extension = null; variable in Google\\Protobuf\\Internal\\UninterpretedOption\\NamePart
86 return isset($this->is_extension) ? $this->is_extension : false;
91 return isset($this->is_extension);
96 unset($this->is_extension);
107 $this->is_extension = $var;
/third_party/protobuf/python/google/protobuf/internal/
Dextension_dict.py45 if not extension_handle.is_extension:
127 my_fields = [field for field in my_fields if field.is_extension]
128 other_fields = [field for field in other_fields if field.is_extension]
138 extension_fields = [field for field in fields if field[0].is_extension]
197 if f[0].is_extension)
Dgenerator_test.py142 self.assertTrue(unittest_pb2.optional_int32_extension.is_extension)
143 self.assertTrue(unittest_pb2.TestRequired.single.is_extension)
147 self.assertTrue(not non_extension_descriptor.is_extension)
Dpython_message.py269 return (field.is_extension and
1283 if field.is_extension:
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc708 if (field->is_extension()) { in SwapFields()
741 if (field->is_extension()) { in HasField()
758 if (field->is_extension()) { in FieldSize()
803 if (field->is_extension()) { in ClearField()
918 if (field->is_extension()) { in RemoveLast()
966 if (field->is_extension()) { in ReleaseLast()
987 if (field->is_extension()) { in SwapElements()
1121 if (field->is_extension()) { \
1132 if (field->is_extension()) { \
1143 if (field->is_extension()) { \
[all …]
Ddescriptor.cc958 if (field->is_extension()) { in FindParentForFieldsByMap()
1432 !result.field_descriptor->is_extension()) { in FindFieldByName()
1442 if (result.type == Symbol::FIELD && result.field_descriptor->is_extension()) { in FindExtensionByName()
1595 if (result == nullptr || result->is_extension()) { in FindFieldByNumber()
1606 if (result == nullptr || result->is_extension()) { in FindFieldByLowercaseName()
1617 if (result == nullptr || result->is_extension()) { in FindFieldByCamelcaseName()
1627 if (!result.IsNull() && !result.field_descriptor->is_extension()) { in FindFieldByName()
1648 if (!result.IsNull() && result.field_descriptor->is_extension()) { in FindExtensionByName()
1659 if (result == nullptr || !result->is_extension()) { in FindExtensionByLowercaseName()
1670 if (result == nullptr || !result->is_extension()) { in FindExtensionByCamelcaseName()
[all …]
Dtext_format.cc1668 if (field->is_extension()) { in PrintFieldName()
1933 if (left->is_extension() && right->is_extension()) { in operator ()()
1935 } else if (left->is_extension()) { in operator ()()
1937 } else if (right->is_extension()) { in operator ()()
Dreflection_ops.cc368 if (field->is_extension()) { in SubMessagePrefix()
Ddescriptor.h665 bool is_extension() const; // Is this an extension field?
2030 PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, is_extension, bool) in PROTOBUF_DEFINE_STRING_ACCESSOR()
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc584 const bool is_extension = true; in PrintTopLevelExtensions() local
594 PrintFieldDescriptor(extension_field, is_extension); in PrintTopLevelExtensions()
1111 GOOGLE_CHECK(extension_field.is_extension()); in FixForeignFieldsInExtension()
1174 bool is_extension) const { in PrintFieldDescriptor()
1187 m["is_extension"] = is_extension ? "True" : "False"; in PrintFieldDescriptor()
1209 const Descriptor& message_descriptor, bool is_extension, in PrintFieldDescriptorsInDescriptor() argument
1215 PrintFieldDescriptor(*(message_descriptor.*GetterFn)(i), is_extension); in PrintFieldDescriptorsInDescriptor()
1226 const bool is_extension = false; in PrintFieldsInDescriptor() local
1227 PrintFieldDescriptorsInDescriptor(message_descriptor, is_extension, "fields", in PrintFieldsInDescriptor()
1236 const bool is_extension = true; in PrintExtensionsInDescriptor() local
[all …]
Dpython_generator.h89 bool is_extension) const;
91 const Descriptor& message_descriptor, bool is_extension,
/third_party/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc75 if (fields[i]->is_extension()) { in len()
250 if (extension->is_extension() && in _FindExtensionByName()
289 if (!field_descriptor->is_extension()) { in Contains()
418 if (self->fields[index]->is_extension()) { in IterNext()
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py538 is_extension, extension_scope, options=None, argument
543 if is_extension:
550 is_extension, extension_scope, options=None, argument
584 self.is_extension = is_extension
588 if is_extension:
Ddescriptor_pool.py111 return (field.is_extension and
325 extension.is_extension):
783 is_extension=True)
864 is_extension=True)
965 file_desc, is_extension=False): argument
1003 is_extension=is_extension,
Dtext_format.py444 key=lambda x: x[0].number if x[0].is_extension else x[0].index)
531 if field.is_extension:
1020 if field.is_extension:
1027 if field.is_extension:
1108 if field.is_extension:
1113 if field.is_extension:
Djson_format.py247 elif field.is_extension:
579 if field.is_extension:
586 if field.is_extension:
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dgenerator_test.py136 self.assertTrue(unittest_pb2.optional_int32_extension.is_extension)
137 self.assertTrue(unittest_pb2.TestRequired.single.is_extension)
141 self.assertTrue(not non_extension_descriptor.is_extension)
/third_party/cef/libcef/renderer/alloy/
Dalloy_content_renderer_client.cc192 const bool is_extension = CefRenderManager::IsExtensionProcess(); in RenderThreadStarted() local
195 is_extension in RenderThreadStarted()
199 if (is_extension) { in RenderThreadStarted()
/third_party/cef/libcef/browser/extensions/
Dextension_web_contents_observer.cc48 if ((extension->is_extension() || extension->is_platform_app()) && in RenderFrameCreated()
/third_party/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h56 field->is_extension(); in ShouldBeClear()
/third_party/vulkan-loader/scripts/
Dloader_extension_generator.py1493 is_extension = False
1501 if is_extension:
1503 is_extension = False
1516 is_extension = True
1532 if is_extension:
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.h184 !descriptor->is_extension() && in RequiresPresenceBit()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc307 if (field->is_repeated() || field->is_extension()) return false; in CanInitializeByZeroing()
367 GOOGLE_DCHECK(d->is_extension()); in QualifiedExtensionName()
499 if (!field->is_extension() && in FieldConstantName()
1153 !field->is_required() && !field->is_map() && !field->is_extension() && in IsImplicitWeakField()
1902 if (field->is_extension()) { in HasExtensionFromFile()
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc165 out->set_name(field->is_extension() ? field->full_name() : field->name()); in ConvertOptionField()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc97 if (fields[i]->is_extension()) { in CollectExtensions()

12