/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_browse.cpp | 165 char *tempName = nullptr; in DisassemblePacketName() local 176 tempName[nameLength] = '\0'; in DisassemblePacketName() 484 char *tempName = nullptr; in DisassembleMpParameterName() local 490 tempName[nameLength] = '\0'; in DisassembleMpParameterName() 491 name = std::string(tempName); in DisassembleMpParameterName() 564 char *tempName = nullptr; in DisassembleMeParameterName() local 571 tempName[nameLength] = '\0'; in DisassembleMeParameterName() 572 name = std::string(tempName); in DisassembleMeParameterName() 765 char *tempName = nullptr; in DisassemblePacketName() local 772 tempName[valueLength] = '\0'; in DisassemblePacketName() [all …]
|
H A D | avrcp_ct_vendor.cpp | 807 char *tempName = nullptr; in DisassembleParameters() local 812 tempName[j] = static_cast<char>(payload); in DisassembleParameters() 814 tempName[AttributeValueLength_] = '\0'; in DisassembleParameters() 815 std::string name(tempName); in DisassembleParameters() 930 char *tempName = nullptr; in DisassembleParameters() local 934 tempName[j] = static_cast<char>(payload); in DisassembleParameters() 936 tempName[AttributeValueLength_] = '\0'; in DisassembleParameters() 937 std::string name(tempName); in DisassembleParameters() 1008 char tempName[AttributeValueLength_ + 1]; in DisassemblePacketAttributes() local 1024 tempName[j] = '\0'; in DisassemblePacketAttributes() [all …]
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | gpio_driver_test.c | 45 const char *tempName = NULL; in GpioReadNameTestInfos() local 47 ret = drsOps->GetString(node, "testNameOne", &tempName, "NULL"); in GpioReadNameTestInfos() 53 if (strcpy_s(config->testNameOne, NAME_SIZE_MAX, tempName) != EOK) { in GpioReadNameTestInfos() 58 ret = drsOps->GetString(node, "testNameTwo", &tempName, "NULL"); in GpioReadNameTestInfos() 64 if (strcpy_s(config->testNameTwo, NAME_SIZE_MAX, tempName) != EOK) { in GpioReadNameTestInfos()
|
/ohos5.0/base/msdp/device_status/utils/common/src/ |
H A D | util.cpp | 234 std::string tempName(bufLine); in GetProgramName() local 235 tempName = GetFileName(tempName); in GetProgramName() 236 if (tempName.empty()) { in GetProgramName() 240 size_t copySize = std::min(tempName.size(), PROGRAM_NAME_SIZE - 1); in GetProgramName() 245 errno_t result = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName()
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/pin/ |
H A D | pin_if_u.c | 417 static int32_t CopyFuncName(const char *pinName, const char *tempName, const char **funcName) in CopyFuncName() argument 426 if (strcpy_s(pos->funcName, FUNC_NAME_LEN, tempName) != EOK) { in CopyFuncName() 446 const char *tempName = NULL; in PinGetFunc() local 487 tempName = HdfSbufReadString(reply); in PinGetFunc() 488 if (tempName == NULL) { in PinGetFunc() 492 ret = CopyFuncName((const char *)handle, tempName, funcName); in PinGetFunc()
|
/ohos5.0/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, fi… in TEEC_GetApp() 80 ret = TEEC_ReadApp(taFile, (const char *)tempName, true, cliContext); in TEEC_GetApp()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | raw_file_manager.cpp | 151 std::string tempName = dirName; in OH_ResourceManager_OpenRawDir() local 152 const std::string rawFileDirName = tempName.empty() ? "rawfile" : "rawfile/"; in OH_ResourceManager_OpenRawDir() 153 if (tempName.length() < rawFileDirName.length() in OH_ResourceManager_OpenRawDir() 154 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) { in OH_ResourceManager_OpenRawDir() 155 tempName = rawFileDirName + tempName; in OH_ResourceManager_OpenRawDir() 160 std::string currentPath = *iter + tempName; in OH_ResourceManager_OpenRawDir() 173 result->fileNameCache.names.push_back(tempName + "/" + dirp->d_name); in OH_ResourceManager_OpenRawDir()
|
H A D | hap_manager.cpp | 321 std::string tempName = name; in FindRawFile() local 323 if (tempName.length() <= rawFileDirName.length() in FindRawFile() 324 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) { in FindRawFile() 325 tempName = rawFileDirName + tempName; in FindRawFile() 328 if (!PathCanonicalizeA(tmpPath, (resourcesIndexPath + "/resources/" + tempName).c_str())) { in FindRawFile() 332 if (realpath((resourcesIndexPath + "/resources/" + tempName).c_str(), tmpPath) == nullptr) { in FindRawFile()
|
/ohos5.0/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 208 std::string tempName(bufLine); in GetProgramName() local 209 tempName = GetFileName(tempName); in GetProgramName() 210 if (tempName.empty()) { in GetProgramName() 214 const size_t copySize = std::min(tempName.size(), PROGRAM_NAME_SIZE - 1); in GetProgramName() 219 errno_t ret = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName()
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | untar_file.cpp | 87 string tempName(""); in ReadLongName() local 88 tempName.resize(nameLen); in ReadLongName() 89 size_t read = fread(&(tempName[0]), sizeof(char), nameLen, tarFilePtr_); in ReadLongName() 94 info.longName = tempName; in ReadLongName()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 223 std::string tempName = filePath; in GetPath() local 225 if (tempName.length() <= rawFileDirName.length() in GetPath() 226 || (tempName.compare(0, rawFileDirName.length(), rawFileDirName) != 0)) { in GetPath() 227 tempName = rawFileDirName + tempName; in GetPath() 229 rawFilePath.append(tempName); in GetPath()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/ |
H A D | js_url.cpp | 1839 std::string tempName = name; in Append() local 1853 searchParams.push_back(tempName); in Append()
|