Home
last modified time | relevance | path

Searched refs:struct_list (Results 1 – 3 of 3) sorted by relevance

/third_party/libcoap/man/
Dexamples-code-check.c64 const char *struct_list[] = { variable
263 for (i = 0; i < sizeof(struct_list)/sizeof(struct_list[0]); i++) { in main()
264 if (strncmp(&buffer[1], struct_list[i], in main()
265 strlen(struct_list[i])) == 0) { in main()
266 if (buffer[1 + strlen(struct_list[i])] == '*') { in main()
267 func_start = &buffer[2 + strlen(struct_list[i])]; in main()
271 func_start = &buffer[1 + strlen(struct_list[i])]; in main()
344 struct_list[is_struct_func - 1]); in main()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py765 struct_list = struct.get_or_create_list('key5')
766 self.assertIsInstance(struct_list, collections_abc.Sequence)
767 struct_list.extend([6, 'seven', True, False, None])
768 struct_list.add_struct()['subkey2'] = 9
813 struct_list = struct2['key5']
814 self.assertEqual(6, struct_list[0])
815 self.assertEqual('seven', struct_list[1])
816 self.assertEqual(True, struct_list[2])
817 self.assertEqual(False, struct_list[3])
818 self.assertEqual(None, struct_list[4])
[all …]
Djson_format_test.py564 struct_list = message.value.get_or_create_list('list')
565 struct_list.extend([6, 'seven', True, False, None])
566 struct_list.add_struct()['subkey2'] = 9