Searched refs:nameValue (Results 1 – 2 of 2) sorted by relevance
/base/startup/init/interfaces/innerkits/service_control/ |
D | service_control.c | 44 char *nameValue = (char *)calloc(len, sizeof(char)); in StartProcess() local 45 BEGET_ERROR_CHECK(nameValue != NULL, return -1, "Failed calloc err=%d", errno); in StartProcess() 47 ret = strncat_s(nameValue, len, name, strlen(name)); in StartProcess() 49 free(nameValue); in StartProcess() 54 ret = strncat_s(nameValue, len, "|", 1); in StartProcess() 56 ret = strncat_s(nameValue, len, extArgv[j], strlen(extArgv[j])); in StartProcess() 59 free(nameValue); in StartProcess() 64 ret = SystemSetParameter("ohos.ctl.start", nameValue); in StartProcess() 65 free(nameValue); in StartProcess()
|
/base/startup/init/services/init/ |
D | init_common_service.c | 418 char nameValue[PARAM_VALUE_LEN_MAX] = {0}; in ServiceNeedDebug() local 421 if (SystemReadParam("llvm.debug.service.name", nameValue, &nameLen) == 0) { in ServiceNeedDebug() 422 if (strcmp(nameValue, name) == 0) { in ServiceNeedDebug()
|