ESP-IDF
ProtobufCFieldDescriptor::label
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/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::label
ProtobufCFieldDescriptor::label field
Whether the field is `REQUIRED`, `OPTIONAL`, or `REPEATED`.
Syntax
Show:
Summary
Declaration
from
protobuf-c.h:572
ProtobufCLabel
label
;
Examples
References
from
examples
Code
Location
Referrer
ProtobufCLabel
label
;
protobuf-c.h:572
if
(
field
->
label
==
PROTOBUF_C_LABEL_REQUIRED
)
{
protobuf-c.c:722
protobuf_c_message_get_packed_size()
}
else
if
(
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
||
protobuf-c.c:724
protobuf_c_message_get_packed_size()
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
&&
protobuf-c.c:725
protobuf_c_message_get_packed_size()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
)
{
protobuf-c.c:732
protobuf_c_message_get_packed_size()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
{
protobuf-c.c:738
protobuf_c_message_get_packed_size()
if
(
field
->
label
==
PROTOBUF_C_LABEL_REQUIRED
)
{
protobuf-c.c:1495
protobuf_c_message_pack()
}
else
if
(
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
||
protobuf-c.c:1497
protobuf_c_message_pack()
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
&&
protobuf-c.c:1498
protobuf_c_message_pack()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
)
{
protobuf-c.c:1506
protobuf_c_message_pack()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
{
protobuf-c.c:1513
protobuf_c_message_pack()
if
(
field
->
label
==
PROTOBUF_C_LABEL_REQUIRED
)
{
protobuf-c.c:1973
protobuf_c_message_pack_to_buffer()
}
else
if
(
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
||
protobuf-c.c:1975
protobuf_c_message_pack_to_buffer()
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
&&
protobuf-c.c:1976
protobuf_c_message_pack_to_buffer()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_OPTIONAL
)
{
protobuf-c.c:1984
protobuf_c_message_pack_to_buffer()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_NONE
)
{
protobuf-c.c:1991
protobuf_c_message_pack_to_buffer()
if
(
fields
[
i
]
.
label
==
PROTOBUF_C_LABEL_REPEATED
)
{
protobuf-c.c:2182
merge_messages()
}
else
if
(
fields
[
i
]
.
label
==
PROTOBUF_C_LABEL_OPTIONAL
||
protobuf-c.c:2228
merge_messages()
fields
[
i
]
.
label
==
PROTOBUF_C_LABEL_NONE
)
{
protobuf-c.c:2229
merge_messages()
switch
(
field
->
label
)
{
protobuf-c.c:2906
parse_member()
desc
->
fields
[
i
]
.
label
!=
PROTOBUF_C_LABEL_REPEATED
)
protobuf-c.c:2954
message_init_generic()
if
(
field
!=
NULL
&&
field
->
label
==
PROTOBUF_C_LABEL_REQUIRED
)
protobuf-c.c:3124
protobuf_c_message_unpack()
if
(
field
!=
NULL
&&
field
->
label
==
PROTOBUF_C_LABEL_REPEATED
)
{
protobuf-c.c:3203
protobuf_c_message_unpack()
if
(
field
->
label
==
PROTOBUF_C_LABEL_REPEATED
)
{
protobuf-c.c:3237
protobuf_c_message_unpack()
CLEAR_REMAINING_N_PTRS
(
)
;
protobuf-c.c:3257
protobuf_c_message_unpack()
}
else
if
(
field
->
label
==
PROTOBUF_C_LABEL_REQUIRED
)
{
protobuf-c.c:3262
protobuf_c_message_unpack()
CLEAR_REMAINING_N_PTRS
(
)
;
protobuf-c.c:3266
protobuf_c_message_unpack()
if
(
desc
->
fields
[
f
]
.
label
==
PROTOBUF_C_LABEL_REPEATED
)
{
protobuf-c.c:3349
protobuf_c_message_free_unpacked()
ProtobufCLabel
label
=
f
->
label
;
protobuf-c.c:3434
protobuf_c_message_check()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ProtobufCFieldDescriptor::label
is read by 9 functions:
All items filtered out
ProtobufCFieldDescriptor::label
protobuf_c_message_get_packed_size()
protobuf_c_message_pack()
protobuf_c_message_pack_to_buffer()
merge_messages()
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