Searched refs:tmpName (Results 1 – 10 of 10) sorted by relevance
/base/security/selinux/interfaces/policycoreutils/src/ |
D | contexts_trie.c | 138 const char *tmpName = paraName; in SearchFromParamTrie() local 141 const char *bar = strchr(tmpName, '.'); in SearchFromParamTrie() 143 childNode = GetGroupNode(root, tmpName, bar - tmpName); in SearchFromParamTrie() 152 tmpName = bar + 1; in SearchFromParamTrie() 153 bar = strchr(tmpName, '.'); in SearchFromParamTrie() 156 childNode = GetGroupNode(root, tmpName, strlen(tmpName)); in SearchFromParamTrie()
|
/base/update/updater/services/ |
D | updater_utils.cpp | 50 std::string tmpName(path); in DeleteUpdaterPath() local 51 tmpName.append("/" + currentName); in DeleteUpdaterPath() 52 if (IsDirExist(tmpName)) { in DeleteUpdaterPath() 53 DeleteUpdaterPath(tmpName); in DeleteUpdaterPath() 56 remove(tmpName.c_str()); in DeleteUpdaterPath()
|
/base/startup/init/test/unittest/param/ |
D | param_stub.cpp | 270 std::string tmpName(path); in DeleteDir() local 271 tmpName.append("/" + currentName); in DeleteDir() 272 if (IsDir(tmpName)) { in DeleteDir() 273 DeleteDir(tmpName); in DeleteDir() 275 remove(tmpName.c_str()); in DeleteDir()
|
/base/startup/init/services/begetctl/ |
D | sandbox.cpp | 87 std::string tmpName = processName; in EnterExec() local 90 OHOS::SplitStr(tmpName, sep, vtr, true, false); in EnterExec()
|
/base/startup/init/services/init/standard/ |
D | init_cmds.c | 56 char tmpName[PARAM_NAME_LEN_MAX] = { 0 }; in GetParamValue() local 81 ret = strncpy_s(tmpName, PARAM_NAME_LEN_MAX, begin, left - begin); in GetParamValue() 84 ret = SystemReadParam(tmpName, paramValue + curr, &valueLen); in GetParamValue() 85 INIT_ERROR_CHECK(ret == 0, return -1, "Failed to get param %s", tmpName); in GetParamValue()
|
/base/startup/init/services/param/manager/ |
D | param_server.c | 40 const char *tmpName = name + bootLen; in GetParamValueFromBuffer() local 41 int ret = GetProcCmdlineValue(tmpName, buffer, value, length); in GetParamValueFromBuffer()
|
D | param_manager.c | 252 const char *tmpName = (paramSpace->selinuxSpace.getParamLabel != NULL) ? in GetParamSecurityAuditData() local 254 if (tmpName != NULL) { in GetParamSecurityAuditData() 255 int ret = strcpy_s(auditData->label, sizeof(auditData->label), tmpName); in GetParamSecurityAuditData()
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_storage_lite.c | 546 char *tmpName = (char *)HksMalloc(name->size + 1); /* \0 at the end */ in GetFileName() local 547 HKS_IF_NULL_RETURN(tmpName, HKS_ERROR_MALLOC_FAIL) in GetFileName() local 549 (void)memcpy_s(tmpName, name->size, name->data, name->size); in GetFileName() 550 tmpName[name->size] = '\0'; in GetFileName() 551 *fileName = tmpName; in GetFileName()
|
/base/startup/init/services/param/base/ |
D | param_comm.c | 46 char *tmpName = (char *)name; in GetWorkSpace() local 48 tmpName = WORKSPACE_NAME_NORMAL; in GetWorkSpace() 51 tmpName = (paramSpace->selinuxSpace.getParamLabel != NULL) ? in GetWorkSpace() 57 HashNode *node = OH_HashMapGet(paramSpace->workSpaceHashHandle, (const void *)tmpName); in GetWorkSpace()
|
/base/update/updater/utils/ |
D | utils.cpp | 107 std::string tmpName = dp->d_name; in GetFilesFromDirectory() local 108 if (tmpName == "." || tmpName == "..") { in GetFilesFromDirectory()
|