Home
last modified time | relevance | path

Searched full:key (Results 1 – 10 of 10) sorted by relevance

/nanopb-3.4.0/tests/regression/issue_338/
Dbigvalue.proto47 int32 key = 1; field
52 int32 key = 1; field
57 int32 key = 1; field
62 int32 key = 1; field
67 int32 key = 1; field
72 int32 key = 1; field
77 int32 key = 1; field
82 int32 key = 1; field
87 int32 key = 1; field
92 int32 key = 1; field
[all …]
/nanopb-3.4.0/tests/map/
Dencode_map.c17 strncpy(msg.numbers[0].key, "one", sizeof(msg.numbers[0].key)); in main()
18 strncpy(msg.numbers[1].key, "two", sizeof(msg.numbers[1].key)); in main()
19 strncpy(msg.numbers[2].key, "seven", sizeof(msg.numbers[2].key)); in main()
Ddecode_map.c13 MyMessage_NumbersEntry *find_entry(MyMessage *msg, const char *key) in find_entry() argument
18 if (strcmp(msg->numbers[i].key, key) == 0) in find_entry()
Dmap.options2 MyMessage.NumbersEntry.key max_size:16
/nanopb-3.4.0/tests/cyclic_messages/
Dcyclic_callback.options4 KeyValuePair.key max_size:8
Dencode_cyclic_callback.c71 PB_RETURN_ERROR(stream, "invalid key, missing quote"); in encode_dictionary()
73 p++; /* Starting quote of key */ in encode_dictionary()
75 strncpy(pair.key, p, textlen); in encode_dictionary()
76 pair.key[textlen] = 0; in encode_dictionary()
Dcyclic.proto21 required string key = 1; field
/nanopb-3.4.0/.github/workflows/
Dbazel.yml27 key: ${{ runner.os }}-bazel
/nanopb-3.4.0/generator/
Dnanopb_generator.py470 sorted_values = sorted(self.values, key = lambda x: (x[1], x[0]))
1411 sorted_fields.sort(key = lambda x: x.tag)
2127 largest_msg = max(self.messages, key = lambda m: m.count_required_fields())
/nanopb-3.4.0/generator/proto/google/protobuf/
Ddescriptor.proto471 // optional KeyType key = 1;