Home
last modified time | relevance | path

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

/base/startup/init_lite/services/param/manager/
Dparam_message.c58 offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in FillParamMsgContent()
89 *offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in GetNextContent()
Dparam_trie.c73 len = PARAM_ALIGN(len); in AllocateParamTrieNode()
325 uint32_t realLen = sizeof(ParamSecruityNode) + PARAM_ALIGN(labelLen + 1); in AddParamSecruityNode()
358 realLen = PARAM_ALIGN(realLen); in AddParamNode()
/base/startup/init_lite/services/param/client/
Dparam_request.c85 offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in FillLabelContent()
184 …uint32_t msgSize = sizeof(ParamMessage) + sizeof(ParamMsgContent) + PARAM_ALIGN(strlen(value) + 1); in SystemSetParameter()
236 msgSize += PARAM_ALIGN(strlen(value) + 1); in SystemWaitParameter()
241 msgSize += PARAM_ALIGN(1); in SystemWaitParameter()
/base/startup/init_lite/services/param/include/
Dparam_utils.h38 #define PARAM_ALIGN(len) (((len) + 0x03) & (~0x03)) macro
/base/startup/init_lite/test/unittest/param/
Dparam_unittest.cpp297 offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in FillLabelContent()
338 …uint32_t msgSize = sizeof(ParamMessage) + sizeof(ParamMsgContent) + PARAM_ALIGN(strlen(value) + 1); in TestServiceProcessMessage()
342 msgSize += sizeof(ParamMsgContent) + PARAM_ALIGN(labelLen); in TestServiceProcessMessage()
369 …uint32_t msgSize = sizeof(ParamMessage) + sizeof(ParamMsgContent) + PARAM_ALIGN(strlen(value) + 1); in AddWatch()
Dwatcher_proxy_unittest.cpp106 msgSize = PARAM_ALIGN(msgSize); // align in TestProcessWatcherMessage()
/base/startup/init_lite/services/param/trigger/
Dtrigger_manager.c35 size = PARAM_ALIGN(size); in AddCommand()
122 uint32_t triggerNodeLen = PARAM_ALIGN(nameLen + 1) + sizeof(JobNode); in AddJobTrigger_()
/base/startup/init_lite/services/param/service/
Dparam_service.c294 uint32_t msgSize = sizeof(ParamMessage) + PARAM_ALIGN(strlen(content) + 1); in SendWatcherNotifyMessage()