Home
last modified time | relevance | path

Searched refs:PARAM_ALIGN (Results 1 - 9 of 9) sorted by relevance

/base/startup/init/services/param/linux/
H A Dparam_message.c60 offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in FillParamMsgContent()
93 *offset += sizeof(ParamMsgContent) + PARAM_ALIGN(content->contentSize); in GetNextContent()
H A Dparam_request.c265 msgSize += PARAM_ALIGN(strlen(value) + 1); in SystemWaitParameter()
270 msgSize += PARAM_ALIGN(1); in SystemWaitParameter()
H A Dparam_service.c104 uint32_t msgSize = sizeof(ParamMessage) + PARAM_ALIGN(strlen(content) + 1); in SendWatcherNotifyMessage()
/base/startup/init/services/param/include/
H A Dparam_utils.h45 #define PARAM_ALIGN(len) (((len) + 0x03) & (~0x03)) macro
/base/startup/init/services/param/base/
H A Dparam_trie.c73 len = PARAM_ALIGN(len); in AllocateParamTrieNode()
244 uint32_t realLen = PARAM_ALIGN(sizeof(ParamSecurityNode) + sizeof(uid_t) * auditData->memberNum); in AddParamSecurityNode()
284 realLen = PARAM_ALIGN(realLen); in AddParamNode()
H A Dparam_base.c134 uint32_t realLen = PARAM_ALIGN(sizeof(WorkSpaceSize) + sizeof(uint32_t) * maxLabel); in AllocSpaceMemory()
624 sizeof(CachedParameter) + PARAM_ALIGN(nameLen) + 1 + PARAM_VALUE_LEN_MAX);
632 param->paramValue = &param->data[PARAM_ALIGN(nameLen) + 1];
/base/startup/init/test/unittest/param/
H A Dparamservice_unittest.cpp321 uint32_t msgSize = sizeof(ParamMessage) + sizeof(ParamMsgContent) + PARAM_ALIGN(strlen(value) + 1); in TestServiceProcessMessage()
345 + PARAM_ALIGN(strlen(value) + 1) + sizeof(uint32_t); in AddWatch()
H A Dwatcher_proxy_unittest.cpp170 msgSize = PARAM_ALIGN(msgSize); // align in TestProcessWatcherMessage()
/base/startup/init/services/param/trigger/
H A Dtrigger_manager.c33 size = PARAM_ALIGN(size); in AddCommand()
123 uint32_t triggerNodeLen = PARAM_ALIGN(nameLen + 1) + sizeof(JobNode); in AddJobTrigger_()

Completed in 8 milliseconds