ESP-IDF
ProtobufCFieldDescriptor::type
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ProtobufCFieldDescriptor::type
ProtobufCFieldDescriptor::type field
The type of the field.
Syntax
Show:
Summary
Declaration
from
protobuf-c.h:575
ProtobufCType
type
;
Examples
References
from
examples
Code
Location
Referrer
ProtobufCType
type
;
protobuf-c.h:575
switch
(
field
->
type
)
{
protobuf-c.c:419
required_field_get_packed_size()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:485
oneof_field_get_packed_size()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:486
oneof_field_get_packed_size()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:514
optional_field_get_packed_size()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:515
optional_field_get_packed_size()
switch
(
field
->
type
)
{
protobuf-c.c:533
field_is_zeroish()
switch
(
field
->
type
)
{
protobuf-c.c:625
repeated_field_get_packed_size()
switch
(
field
->
type
)
{
protobuf-c.c:1095
required_field_pack()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:1163
oneof_field_pack()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:1164
oneof_field_pack()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:1192
optional_field_pack()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:1193
optional_field_pack()
min_length
=
get_type_min_size
(
field
->
type
)
*
count
;
protobuf-c.c:1376
repeated_field_pack()
switch
(
field
->
type
)
{
protobuf-c.c:1381
repeated_field_pack()
unsigned
siz
=
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:1450
repeated_field_pack()
switch
(
field
->
type
)
{
protobuf-c.c:1554
required_field_pack_to_buffer()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:1667
oneof_field_pack_to_buffer()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:1668
oneof_field_pack_to_buffer()
if
(
field
->
type
==
PROTOBUF_C_TYPE_MESSAGE
||
protobuf-c.c:1696
optional_field_pack_to_buffer()
field
->
type
==
PROTOBUF_C_TYPE_STRING
)
protobuf-c.c:1697
optional_field_pack_to_buffer()
switch
(
field
->
type
)
{
protobuf-c.c:1749
get_packed_payload_length()
switch
(
field
->
type
)
{
protobuf-c.c:1821
pack_buffer_packed_payload()
siz
=
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:1933
repeated_field_pack_to_buffer()
sizeof_elt_in_repeated_array
(
fields
[
i
]
.
type
)
;
protobuf-c.c:2200
merge_messages()
switch
(
field
->
type
)
{
protobuf-c.c:2270
merge_messages()
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:2324
merge_messages()
switch
(
scanned_member
->
field
->
type
)
{
protobuf-c.c:2505
parse_required_member()
el_size
=
sizeof_elt_in_repeated_array
(
old_field
->
type
)
;
protobuf-c.c:2653
parse_oneof_member()
switch
(
old_field
->
type
)
{
protobuf-c.c:2655
parse_oneof_member()
size_t
siz
=
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:2717
parse_repeated_member()
size_t
siz
=
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:2750
parse_packed_repeated_member()
switch
(
field
->
type
)
{
protobuf-c.c:2759
parse_packed_repeated_member()
is_packable_type
(
field
->
type
)
)
)
protobuf-c.c:2923
parse_member()
switch
(
desc
->
fields
[
i
]
.
type
)
{
protobuf-c.c:2960
message_init_generic()
is_packable_type
(
field
->
type
)
)
)
protobuf-c.c:3208
protobuf_c_message_unpack()
if
(
!
count_packed_elements
(
field
->
type
,
protobuf-c.c:3211
protobuf_c_message_unpack()
sizeof_elt_in_repeated_array
(
field
->
type
)
;
protobuf-c.c:3239
protobuf_c_message_unpack()
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_STRING
)
{
protobuf-c.c:3358
protobuf_c_message_free_unpacked()
}
else
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_BYTES
)
{
protobuf-c.c:3362
protobuf_c_message_free_unpacked()
}
else
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_MESSAGE
)
{
protobuf-c.c:3366
protobuf_c_message_free_unpacked()
}
else
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_STRING
)
{
protobuf-c.c:3376
protobuf_c_message_free_unpacked()
}
else
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_BYTES
)
{
protobuf-c.c:3382
protobuf_c_message_free_unpacked()
}
else
if
(
desc
->
fields
[
f
]
.
type
==
PROTOBUF_C_TYPE_MESSAGE
)
{
protobuf-c.c:3394
protobuf_c_message_free_unpacked()
ProtobufCType
type
=
f
->
type
;
protobuf-c.c:3433
protobuf_c_message_check()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ProtobufCFieldDescriptor::type
is read by 25 functions:
All items filtered out
ProtobufCFieldDescriptor::type
required_field_get_packed_size()
oneof_field_get_packed_size()
optional_field_get_packed_size()
field_is_zeroish()
repeated_field_get_packed_size()
required_field_pack()
oneof_field_pack()
optional_field_pack()
repeated_field_pack()
required_field_pack_to_buffer()
oneof_field_pack_to_buffer()
optional_field_pack_to_buffer()
get_packed_payload_length()
pack_buffer_packed_payload()
repeated_field_pack_to_buffer()
merge_messages()
parse_required_member()
parse_oneof_member()
parse_repeated_member()
parse_packed_repeated_member()
parse_member()
message_init_generic()
protobuf_c_message_unpack()
protobuf_c_message_free_unpacked()
protobuf_c_message_check()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out