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

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A 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
[all...]
H A 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
[all...]
H A Dreflection_test.py2665 self.assertEqual(reflection._FieldDescriptor.LABEL_REPEATED,
/external/protobuf/python/google/protobuf/internal/
H A 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
[all...]
H A Dreflection_test.py2230 self.assertEqual(reflection._FieldDescriptor.LABEL_REPEATED,
/external/protobuf/python/google/protobuf/
H A Dreflection.py71 _FieldDescriptor = descriptor_mod.FieldDescriptor variable
217 if not isinstance(extension_handle, _FieldDescriptor):
253 field.type == _FieldDescriptor.TYPE_MESSAGE and
255 field.label == _FieldDescriptor.LABEL_OPTIONAL)
259 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
326 if field.label == _FieldDescriptor.LABEL_REPEATED:
330 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
345 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
374 if field.label == _FieldDescriptor.LABEL_REPEATED:
376 if field.cpp_type == _FieldDescriptor
[all...]
/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Dreflection.py55 _FieldDescriptor = descriptor_mod.FieldDescriptor variable

Completed in 1315 milliseconds