Home
last modified time | relevance | path

Searched refs:MAX_COMMAND_SIZE (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/services/modules/reboot/
Dreboot_misc.c25 #define MAX_COMMAND_SIZE 32 macro
30 char command[MAX_COMMAND_SIZE];
97 ret = snprintf_s(msg.command, MAX_COMMAND_SIZE, MAX_COMMAND_SIZE - 1, "%s", boot); in UpdateMiscMessage()
99 msg.command[MAX_COMMAND_SIZE - 1] = 0; in UpdateMiscMessage()
101 ret = memset_s(msg.command, MAX_COMMAND_SIZE, 0, MAX_COMMAND_SIZE); in UpdateMiscMessage()
/base/update/updater/interfaces/kits/include/misc_info/
Dmisc_info.h24 constexpr int MAX_COMMAND_SIZE = 32; variable
38 constexpr off_t MISC_UPDATE_MESSAGE_SIZE = MAX_COMMAND_SIZE + MAX_STATUS_SIZE + MAX_UPDATE_SIZE +
50 char command[MAX_COMMAND_SIZE];