OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:field_desc
(Results
1 - 9
of
9
) sorted by null
/external/protobuf/python/google/protobuf/internal/
descriptor_pool_test.py
320
field_desc
= msg_desc.fields_by_name[name]
322
test.assertEqual(name,
field_desc
.name)
324
test.assertEqual(expected_field_full_name,
field_desc
.full_name)
325
test.assertEqual(index,
field_desc
.index)
326
test.assertEqual(self.number,
field_desc
.number)
327
test.assertEqual(descriptor.FieldDescriptor.TYPE_ENUM,
field_desc
.type)
329
field_desc
.cpp_type)
330
test.assertTrue(
field_desc
.has_default_value)
332
field_desc
.default_value)
333
test.assertEqual(msg_desc,
field_desc
.containing_type
[
all
...]
generator_test.py
297
for field_name,
field_desc
in desc.fields_by_name.iteritems():
299
self.assertIs(desc.oneofs[0],
field_desc
.containing_oneof)
301
self.assertIsNone(
field_desc
.containing_oneof)
python_message.py
863
field_decoder,
field_desc
= decoders_by_tag.get(tag_bytes, (None, None))
875
if
field_desc
[
all
...]
/external/nanopb-c/generator/google/protobuf/
descriptor_pool.py
386
for field_proto,
field_desc
in zip(desc_proto.field, desc.fields):
401
field_desc
.cpp_type = descriptor.FieldDescriptor.ProtoTypeToCppProtoType(
406
field_desc
.message_type = desc
409
field_desc
.enum_type = desc
412
field_desc
.has_default = False
413
field_desc
.default_value = []
415
field_desc
.has_default = True
418
field_desc
.default_value = float(field_proto.default_value)
420
field_desc
.default_value = field_proto.default_value
422
field_desc
.default_value = field_proto.default_value.lower() == 'true
[
all
...]
/external/protobuf/python/google/protobuf/
descriptor_pool.py
391
for field_index,
field_desc
in enumerate(desc_proto.field):
392
if
field_desc
.HasField('oneof_index'):
393
oneof_index =
field_desc
.oneof_index
501
for field_proto,
field_desc
in zip(desc_proto.field, main_desc.fields):
502
self.SetFieldType(field_proto,
field_desc
, nested_package, scope)
513
def SetFieldType(self, field_proto,
field_desc
, package, scope):
518
field_desc
: The descriptor to modiy.
533
field_desc
.cpp_type = descriptor.FieldDescriptor.ProtoTypeToCppProtoType(
538
field_desc
.message_type = desc
541
field_desc
.enum_type = des
[
all
...]
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/share/gdb/python/gdb/command/
explore.py
438
field_desc
= "base class"
440
field_desc
= "field"
443
(current_choice,
field_desc
,
511
field_desc
= "base class"
513
field_desc
= "field"
515
(current_choice,
field_desc
, str(field.type)))
518
field.name, field.type,
field_desc
)
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/share/gdb/python/gdb/command/
explore.py
438
field_desc
= "base class"
440
field_desc
= "field"
443
(current_choice,
field_desc
,
511
field_desc
= "base class"
513
field_desc
= "field"
515
(current_choice,
field_desc
, str(field.type)))
518
field.name, field.type,
field_desc
)
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/command/
explore.py
438
field_desc
= "base class"
440
field_desc
= "field"
443
(current_choice,
field_desc
,
511
field_desc
= "base class"
513
field_desc
= "field"
515
(current_choice,
field_desc
, str(field.type)))
518
field.name, field.type,
field_desc
)
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/command/
explore.py
438
field_desc
= "base class"
440
field_desc
= "field"
443
(current_choice,
field_desc
,
511
field_desc
= "base class"
513
field_desc
= "field"
515
(current_choice,
field_desc
, str(field.type)))
518
field.name, field.type,
field_desc
)
Completed in 693 milliseconds