Home
last modified time | relevance | path

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

/base/startup/init/services/param/manager/
Dparam_manager.c280 (*ctrlInfo)->valueOffset = offset; in CreateCtrlInfo()
294 uint32_t valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen("reboot") + 1; in GetServiceCtrlInfoForPowerCtrl() local
296 return CreateCtrlInfo(ctrlInfo, "reboot", valueOffset, 1, in GetServiceCtrlInfoForPowerCtrl()
302 valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen(powerCtrlArg[i].replace) + 1; in GetServiceCtrlInfoForPowerCtrl()
303 return CreateCtrlInfo(ctrlInfo, powerCtrlArg[i].cmd, valueOffset, 1, in GetServiceCtrlInfoForPowerCtrl()
308 valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen("reboot") + 1; in GetServiceCtrlInfoForPowerCtrl()
309 return CreateCtrlInfo(ctrlInfo, "reboot.other", valueOffset, 1, "%s%s.%s", in GetServiceCtrlInfoForPowerCtrl()
326 … uint32_t valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen(ctrlParam[i].replace) + 1; in GetServiceCtrlInfo() local
327 return CreateCtrlInfo(ctrlInfo, ctrlParam[i].cmd, valueOffset, 1, in GetServiceCtrlInfo()
377 …rviceInfo->realKey, serviceInfo->cmdName, (char *)serviceInfo->realKey + serviceInfo->valueOffset); in CheckParameterSet()
[all …]
/base/startup/init/services/param/include/
Dparam_manager.h95 uint32_t valueOffset; member