Searched refs:tempName (Results 1 - 5 of 5) sorted by relevance
/base/msdp/device_status/utils/common/src/ |
H A D | util.cpp | 242 std::string tempName(bufLine); in GetProgramName() 243 tempName = GetFileName(tempName); in GetProgramName() 244 if (tempName.empty()) { in GetProgramName() 245 FI_HILOGE("tempName is empty"); in GetProgramName() 248 size_t copySize = std::min(tempName.size(), PROGRAM_NAME_SIZE - 1); in GetProgramName() 253 errno_t result = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_app_load.c | 59 char tempName[MAX_FILE_PATH_LEN + MAX_FILE_NAME_LEN + MAX_FILE_EXT_LEN] = { 0 }; in TEEC_GetApp() local 74 int32_t len = snprintf_s(tempName, sizeof(tempName), filePathLen, "%s/%s.sec", filePath, fileName); in TEEC_GetApp() 80 ret = TEEC_ReadApp(taFile, (const char *)tempName, true, cliContext); in TEEC_GetApp()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | raw_file_manager.cpp | 150 std::string tempName = dirName;
in OH_ResourceManager_OpenRawDir() local 151 const std::string rawFileDirName = tempName.empty() ? "rawfile" : "rawfile/";
in OH_ResourceManager_OpenRawDir() 152 if (tempName.length() < rawFileDirName.length()
in OH_ResourceManager_OpenRawDir() 153 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) {
in OH_ResourceManager_OpenRawDir() 154 tempName = rawFileDirName + tempName;
in OH_ResourceManager_OpenRawDir() 159 std::string currentPath = *iter + tempName;
in OH_ResourceManager_OpenRawDir() 172 result->fileNameCache.names.push_back(tempName + "/" + dirp->d_name);
in OH_ResourceManager_OpenRawDir()
|
H A D | hap_manager.cpp | 322 std::string tempName = name; in FindRawFile() local 324 if (tempName.length() <= rawFileDirName.length() in FindRawFile() 325 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) { in FindRawFile() 326 tempName = rawFileDirName + tempName; in FindRawFile() 329 if (!PathCanonicalizeA(tmpPath, (resourcesIndexPath + "/resources/" + tempName).c_str())) { in FindRawFile() 333 if (realpath((resourcesIndexPath + "/resources/" + tempName).c_str(), tmpPath) == nullptr) { in FindRawFile()
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 216 std::string tempName = filePath; in GetPath() local 218 if (tempName.length() <= rawFileDirName.length() in GetPath() 219 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) { in GetPath() 220 tempName = rawFileDirName + tempName; in GetPath() 222 rawFilePath.append(tempName); in GetPath()
|
Completed in 9 milliseconds