Home
last modified time | relevance | path

Searched refs:_FieldDescriptor (Results 1 – 7 of 7) sorted by relevance

/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py53 _FieldDescriptor = descriptor.FieldDescriptor variable
67 if (cpp_type == _FieldDescriptor.CPPTYPE_STRING and
68 field_type == _FieldDescriptor.TYPE_STRING):
155 _FieldDescriptor.CPPTYPE_INT32: Int32ValueChecker(),
156 _FieldDescriptor.CPPTYPE_INT64: Int64ValueChecker(),
157 _FieldDescriptor.CPPTYPE_UINT32: Uint32ValueChecker(),
158 _FieldDescriptor.CPPTYPE_UINT64: Uint64ValueChecker(),
159 _FieldDescriptor.CPPTYPE_DOUBLE: TypeChecker(
161 _FieldDescriptor.CPPTYPE_FLOAT: TypeChecker(
163 _FieldDescriptor.CPPTYPE_BOOL: TypeChecker(bool, int),
[all …]
Dpython_message.py73 _FieldDescriptor = descriptor_mod.FieldDescriptor variable
145 if not isinstance(extension_handle, _FieldDescriptor):
186 field.type == _FieldDescriptor.TYPE_MESSAGE and
188 field.label == _FieldDescriptor.LABEL_OPTIONAL)
192 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
262 if field.label == _FieldDescriptor.LABEL_REPEATED:
266 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
281 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
315 if field.label == _FieldDescriptor.LABEL_REPEATED:
317 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py60 _FieldDescriptor = descriptor.FieldDescriptor variable
73 if (field.cpp_type == _FieldDescriptor.CPPTYPE_STRING and
74 field.type == _FieldDescriptor.TYPE_STRING):
76 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:
198 _FieldDescriptor.CPPTYPE_INT32: Int32ValueChecker(),
199 _FieldDescriptor.CPPTYPE_INT64: Int64ValueChecker(),
200 _FieldDescriptor.CPPTYPE_UINT32: Uint32ValueChecker(),
201 _FieldDescriptor.CPPTYPE_UINT64: Uint64ValueChecker(),
202 _FieldDescriptor.CPPTYPE_DOUBLE: TypeChecker(
204 _FieldDescriptor.CPPTYPE_FLOAT: TypeChecker(
[all …]
Dpython_message.py82 _FieldDescriptor = descriptor_mod.FieldDescriptor variable
154 if not isinstance(extension_handle, _FieldDescriptor):
196 field.type == _FieldDescriptor.TYPE_MESSAGE and
198 field.label == _FieldDescriptor.LABEL_OPTIONAL)
202 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
274 if field.label == _FieldDescriptor.LABEL_REPEATED:
278 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
293 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
331 if field.label == _FieldDescriptor.LABEL_REPEATED:
333 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
[all …]
Dreflection_test.py2798 self.assertEqual(reflection._FieldDescriptor.LABEL_REPEATED,
/external/nanopb-c/generator/google/protobuf/
Dreflection.py55 _FieldDescriptor = descriptor_mod.FieldDescriptor variable
/external/protobuf/python/google/protobuf/
Dreflection.py55 _FieldDescriptor = descriptor_mod.FieldDescriptor variable