Home
last modified time | relevance | path

Searched refs:command_info (Results 1 – 8 of 8) sorted by relevance

/external/nos/test/system-test-harness/src/
Dtransport_tests.cc241 void* command_info, uint16_t command_info_len) { in SetCommandInfoCrc() argument
246 = (uint16_t*)&((uint8_t*)command_info)[offsetof(transport_command_info, crc)]; in SetCommandInfoCrc()
248 *info_crc = crc16_update(command_info, command_info_len, crc); in SetCommandInfoCrc()
266 transport_command_info command_info = {}; in TEST_F() local
268 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
280 transport_command_info command_info = {}; in TEST_F() local
281 command_info.length = sizeof(transport_command_info); in TEST_F()
282 command_info.version = TRANSPORT_V1; in TEST_F()
284 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
304 transport_command_info command_info = {}; in TEST_F() local
[all …]
/external/python/apitools/apitools/gen/
Dcommand_registry.py199 command_info = CommandInfo(
210 self.__command_list.append(command_info)
389 def __PrintCommandDocstring(self, printer, command_info): argument
391 for line in textwrap.wrap('"""%s' % command_info.description,
395 printer, command_info.args, 'Args')
397 printer, command_info.flags, 'Flags')
513 for command_info in self.__command_list:
515 command_info.name, command_info.class_name)
534 for command_info in self.__command_list:
535 arg_list = [arg_info.name for arg_info in command_info.args]
[all …]
/external/nos/host/generic/libnos_transport/test/
Dtest.cpp107 const transport_command_info* command_info) { in command_crc() argument
111 crc = crc16_update(command_info, sizeof(*command_info), crc); in command_crc()
284 transport_command_info command_info = {}; \
285 command_info.length = sizeof(command_info); \
286 command_info.version = htole16(TRANSPORT_V1); \
287 command_info.reply_len_hint = htole16((reply_len)); \
288 command_info.crc = command_crc(command, (args), (args_len), &command_info); \
289 EXPECT_CALL(mock_dev(), Write(command, _, command_info.length)) \
290 .With(Args<1,2>(ElementsAreArray((uint8_t*)&command_info, command_info.length))) \
/external/nos/host/generic/libnos_transport/
Dtransport.c313 struct transport_command_info command_info = { in send_command() local
314 .length = sizeof(command_info), in send_command()
323 crc = crc16_update(&command_info, sizeof(command_info), crc); in send_command()
324 command_info.crc = htole16(crc); in send_command()
329 if (0 != nos_device_write(ctx->dev, command, &command_info, sizeof(command_info))) { in send_command()
/external/ImageMagick/MagickCore/
Doption.c2427 *command_info, in GetCommandOptionFlags() local
2477 command_info=option_info+i; in GetCommandOptionFlags()
2478 if ((command_info->mnemonic == (const char *) NULL) && (*token != '\0') && in GetCommandOptionFlags()
2489 command_info=option_info+i; in GetCommandOptionFlags()
2491 if (command_info->mnemonic == (const char *) NULL) in GetCommandOptionFlags()
2494 option_types=option_types &~ command_info->flags; in GetCommandOptionFlags()
2496 option_types=option_types | command_info->flags; in GetCommandOptionFlags()
2974 *command_info, in ParseCommandOption() local
3024 command_info=option_info+i; in ParseCommandOption()
3025 if ((command_info->mnemonic == (const char *) NULL) && (*token != '\0') && in ParseCommandOption()
[all …]
/external/nos/host/generic/nugget/include/
Dapplication.h265 } command_info; /* extra info about the command */ member
/external/kernel-headers/original/uapi/linux/
Dcdrom.h720 __u8 command_info[4]; member
/external/syzkaller/sys/linux/
Dcdrom.txt329 command_info array[int8, 4]