Home
last modified time | relevance | path

Searched refs:sprintf_s (Results 1 - 25 of 339) sorted by relevance

12345678910>>...14

/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_dfx.c30 ret = sprintf_s(message, DUMP_INFO_MAX, in HidumpHelp()
57 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "\nsession id list:\n"); in HidumpList()
62 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "index %u sessionId: %u \n", count, node->sessionId); in HidumpList()
88 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "\ncapability: %x\n", session->capability); in HidumpInfoClient()
90 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "amendSendRate: "); in HidumpInfoClient()
95 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "%d ", peerInfoTemp->amendSendRate); in HidumpInfoClient()
98 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "\nIO read rate: %u KB/s\n", session->fileManager->iorRate); in HidumpInfoClient()
100 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "total send block num: %llu\n", in HidumpInfoClient()
120 retTemp = sprintf_s(message + ret, DUMP_INFO_MAX - ret, "\ncapability: %x\n", session->capability); in HidumpInfoServer()
122 retTemp = sprintf_s(messag in HidumpInfoServer()
[all...]
/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c71 int ret = sprintf_s(srcFile, MAX_FILE_PATH_LEN, "%s/%s", installPath, currentLink->source); in HnpGenerateSoftLinkAllByJson()
89 ret = sprintf_s(dstFile, MAX_FILE_PATH_LEN, "%s/%s", dstPath, fileName); in HnpGenerateSoftLinkAllByJson()
115 ret = sprintf_s(srcPath, MAX_FILE_PATH_LEN, "%s/bin", installPath); in HnpGenerateSoftLinkAll()
140 ret = sprintf_s(srcFile, MAX_FILE_PATH_LEN, "%s/%s", srcPath, entry->d_name); in HnpGenerateSoftLinkAll()
147 ret = sprintf_s(dstFile, MAX_FILE_PATH_LEN, "%s/%s", dstPath, entry->d_name); in HnpGenerateSoftLinkAll()
170 ret = sprintf_s(binPath, MAX_FILE_PATH_LEN, "%s/bin", hnpBasePath); in HnpGenerateSoftLink()
219 if (sprintf_s(hnpNamePath, MAX_FILE_PATH_LEN, HNP_DEFAULT_INSTALL_ROOT_PATH"/%d/hnppublic/%s.org", uid, name) < 0) { in HnpUnInstallPublicHnp()
224 if (sprintf_s(hnpVersionPath, MAX_FILE_PATH_LEN, "%s/%s_%s", hnpNamePath, name, version) < 0) { in HnpUnInstallPublicHnp()
229 if (sprintf_s(sandboxPath, MAX_FILE_PATH_LEN, HNP_SANDBOX_BASE_PATH"/%s.org", name) < 0) { in HnpUnInstallPublicHnp()
293 if (sprintf_s(dstPat in HnpUnInstall()
[all...]
/foundation/multimedia/media_foundation/tests/unittest/common/include/
H A Dunittest_log.h28 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
39 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
49 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
58 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
67 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
/foundation/multimedia/av_codec/test/unittest/common/
H A Dunittest_log.h51 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
62 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
73 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
82 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
91 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
100 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_digital_clock.cpp139 if (sprintf_s(buf[HOUR_ELEMENT], BUFFER_SIZE, format, currentHour_) < 0) { in UpdateClock()
142 if (sprintf_s(buf[MINUTE_ELEMENT], BUFFER_SIZE, "%02d", currentMinute_) < 0) { in UpdateClock()
148 if (sprintf_s(buf[HOUR_ELEMENT], BUFFER_SIZE, format, currentHour_ % HALF_DAY_IN_HOUR) < 0) { in UpdateClock()
151 if (sprintf_s(buf[MINUTE_ELEMENT], BUFFER_SIZE, "%02d", currentMinute_) < 0) { in UpdateClock()
157 if (sprintf_s(buf[HOUR_ELEMENT], BUFFER_SIZE, format, currentHour_ % HALF_DAY_IN_HOUR) < 0) { in UpdateClock()
160 if (sprintf_s(buf[MINUTE_ELEMENT], BUFFER_SIZE, formatForMinute, currentMinute_) < 0) { in UpdateClock()
163 if (sprintf_s(buf[SECOND_ELEMENT], BUFFER_SIZE, "%02d", currentSecond_) < 0) { in UpdateClock()
169 if (sprintf_s(buf[HOUR_ELEMENT], BUFFER_SIZE, format, currentHour_) < 0) { in UpdateClock()
172 if (sprintf_s(buf[MINUTE_ELEMENT], BUFFER_SIZE, formatForMinute, currentMinute_) < 0) { in UpdateClock()
175 if (sprintf_s(bu in UpdateClock()
[all...]
/foundation/multimedia/av_codec/test/nativedemo/include/
H A Ddemo_log.h27 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
37 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
46 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
54 (void)sprintf_s(ch, LOG_MAX_SIZE, fmt, ##__VA_ARGS__); \
/foundation/arkui/ace_engine_lite/frameworks/common/memory/
H A Dmem_proc.cpp57 if (sprintf_s(markdata, MSG_LENGTH, "%ti.txt", seconds) < 0) { in ClearUp()
92 if (sprintf_s(markdata, MSG_LENGTH, "Phy:%d(KB)\n", uint32_t(pmc.WorkingSetSize / UNIT)) < 0) { in SysMemTracing()
101 if (sprintf_s(markdata, MSG_LENGTH, "Vir:%d(KB)\n", uint32_t(pmc.PagefileUsage / UNIT)) < 0) { in SysMemTracing()
136 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap total:%d(KB)\n", uint32_t(total / UNIT)) < 0) { in JerryMemTracing()
145 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap current:%d(KB)\n", uint32_t(current / UNIT)) < 0) { in JerryMemTracing()
154 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap peak:%d(KB)\n", uint32_t(peak / UNIT)) < 0) { in JerryMemTracing()
/base/startup/init/test/unittest/param/
H A Dtrigger_unittest.cpp199 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestCheckParamTrigger1()
206 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, "2"); in TestCheckParamTrigger1()
212 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestCheckParamTrigger1()
220 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", "2222", value); in TestCheckParamTrigger1()
234 int ret = sprintf_s(buffer, sizeof(buffer), "%s=*", param); in TestCheckParamTrigger2()
241 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, "2"); in TestCheckParamTrigger2()
260 int ret = sprintf_s(buffer, sizeof(buffer), "%s || %s", param1, param2); in TestCheckParamTrigger3()
284 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s && %s=%s", param1, "1", param2, "2"); in TestCheckParamTrigger4()
293 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param1, "1"); in TestCheckParamTrigger4()
300 ret = sprintf_s(buffe in TestCheckParamTrigger4()
[all...]
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/hostapd_hal/
H A Dwifi_hostapd_hal.c392 if (sprintf_s(cmd, sizeof(cmd), "SET ssid %s", name) < 0) { in SetApName()
407 if (sprintf_s(cmd, sizeof(cmd), "SET rsn_pairwise %s", type) < 0) { in SetApRsnPairwise()
421 if (sprintf_s(cmd, sizeof(cmd), "SET wpa_pairwise %s", type) < 0) { in SetApWpaPairwise()
435 if (sprintf_s(cmd, sizeof(cmd), "SET wpa_key_mgmt %s", type) < 0) { in SetApWpaKeyMgmt()
449 retval = sprintf_s(cmd, sizeof(cmd), "SET wpa 0"); /* The authentication mode is NONE. */ in SetApWpaValue()
452 retval = sprintf_s(cmd, sizeof(cmd), "SET wpa 1"); /* The authentication mode is WPA-PSK. */ in SetApWpaValue()
455 retval = sprintf_s(cmd, sizeof(cmd), "SET wpa 2"); /* The authentication mode is WPA2-PSK. */ in SetApWpaValue()
491 if (sprintf_s(cmd, sizeof(cmd), "SET wpa_passphrase %s", pass) < 0) { in SetApPasswd()
502 if (sprintf_s(cmd, sizeof(cmd), "SET channel %d", channel) < 0) { in SetApChannel()
513 if (sprintf_s(cm in SetApWmm()
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_cfgvar.c34 len = sprintf_s((char *)buffer, bufferLen, "%s_%d", bundleInfo->bundleName, bundleInfo->bundleIndex); in VarPackageNameIndexReplace()
36 len = sprintf_s((char *)buffer, bufferLen, "%s", bundleInfo->bundleName); in VarPackageNameIndexReplace()
47 int len = sprintf_s((char *)buffer, bufferLen, "%s", context->bundleName); in VarPackageNameReplace()
62 len = sprintf_s((char *)buffer, bufferLen, "%u", info->uid / UID_BASE); in VarCurrentUseIdReplace()
64 len = sprintf_s((char *)buffer, bufferLen, "%s", "currentUser"); in VarCurrentUseIdReplace()
86 int len = sprintf_s((char*) buffer, bufferLen, "%s", arkWebPackageName); in VarArkWebPackageNameReplace()
182 len = sprintf_s((char *)buffer, bufferLen, "%s", bundleInfo->bundleName); in ReplaceVariableForpackageName()
185 len = sprintf_s((char *)buffer, bufferLen, "+clone-%u+%s", bundleInfo->bundleIndex, bundleInfo->bundleName); in ReplaceVariableForpackageName()
189 len = sprintf_s((char *)buffer, bufferLen, "+extension-%s+%s", extension, bundleInfo->bundleName); in ReplaceVariableForpackageName()
194 len = sprintf_s((cha in ReplaceVariableForpackageName()
[all...]
/base/startup/init/simulator/parameter/src/
H A Dparameter_common.c167 length = sprintf_s(value, OS_FULL_NAME_LEN, "%s-%d.%d.%d.%d", in BuildOSFullName()
170 length = sprintf_s(value, OS_FULL_NAME_LEN, "%s-%d.%d.%d.%d(%s)", in BuildOSFullName()
215 len = sprintf_s(displayValue, OHOS_DISPLAY_VERSION_LEN, "%s(%s)", versionValue, in BuildDisplayVersion()
224 len = sprintf_s(displayValue, OHOS_DISPLAY_VERSION_LEN, "%s%s)", tempValue, in BuildDisplayVersion()
265 int len = sprintf_s(value, VERSION_ID_LEN, "%s/%s/%s/%s/%s/%s/%s/%d/%s/%s", in BuildVersionId()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager.c89 ret = sprintf_s(pathPtr, MAX_PATH_LEN, "%s%u", CREDNTIAL_STORE, context->userId); in GetFilePath()
92 ret = sprintf_s(pathPtr, MAX_PATH_LEN, "%s%u", USER_CA_STORE, context->userId); in GetFilePath()
95 ret = sprintf_s(pathPtr, MAX_PATH_LEN, "%s%u", APP_CA_STORE, context->userId); in GetFilePath()
98 ret = sprintf_s(pathPtr, MAX_PATH_LEN, "%s%u", SYS_CREDNTIAL_STORE, context->userId); in GetFilePath()
101 ret = sprintf_s(pathPtr, MAX_PATH_LEN, "%s", SYSTEM_CA_STORE); in GetFilePath()
114 ret = sprintf_s(suffix, MAX_SUFFIX_LEN, "%u", context->uid); in GetFilePath()
154 if (sprintf_s(path, MAX_PATH_LEN, "%s", pathPtr) < 0) { in CmGetFilePath()
158 if (sprintf_s(path, MAX_PATH_LEN, "%s/%s", pathPtr, suffixBuf) < 0) { in CmGetFilePath()
270 ret = sprintf_s((char*)path->data, MAX_PATH_LEN, "%s%u/%u", CREDNTIAL_STORE, context->userId, context->uid); in CmAppCertGetFilePath()
273 ret = sprintf_s((cha in CmAppCertGetFilePath()
[all...]
/third_party/bounds_checking_function/src/
H A Dsprintf_s.c11 * Description: sprintf_s function
19 * The sprintf_s function is equivalent to the sprintf function
21 * The sprintf_s function formats and stores a series of characters and values
43 int sprintf_s(char *strDest, size_t destMax, const char *format, ...) in sprintf_s() function
56 EXPORT_SYMBOL(sprintf_s); variable
/applications/sample/camera/communication/wpa_cli/src/
H A Dwpa_cli_sample.c155 temp = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s ssid \"example\"", networkIdLen, networkId); in TestNetworkConfig()
161 temp = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s psk \"012345678\"", networkIdLen, networkId); in TestNetworkConfig()
167 temp = sprintf_s(cmd, sizeof(cmd), "ENABLE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
179 temp = sprintf_s(cmd, sizeof(cmd), "REMOVE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
/base/startup/init/services/modules/sysevent/
H A Dstartup_time_event.c61 len = sprintf_s(args->buffer + args->currLen, args->bufferLen - args->currLen, ",%u:%u,%u:%u;", in TraversalEvent()
79 int len = sprintf_s(bootName, MAX_BUFFER_LEN, "ohos.boot.time.%s", name); in InsertBootTimeParam()
85 len = sprintf_s(time, MAX_BUFFER_LEN, ";kernel,0,%s", buf); in InsertBootTimeParam()
89 len = sprintf_s(time, MAX_BUFFER_LEN, ";init,%s,%s", bufKernel, buf); in InsertBootTimeParam()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.cpp50 (void)sprintf_s(info, sizeof(info), "[%d,%d]", obj.minVal, obj.maxVal); in GetPrintInfo()
57 (void)sprintf_s(info, sizeof(info), "[w:%d,h:%d]", obj.width, obj.height); in GetPrintInfo()
66 (void)sprintf_s(tmp, sizeof(tmp), "%d,", one); in GetPrintInfo()
77 (void)sprintf_s(tmp, sizeof(tmp), "%d", iter->first); in GetPrintInfo()
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_posix/
H A Dkv_store.c46 if (sprintf_s(keyPath, MAX_KEY_PATH + 1, "%s/%s/%s", dataPath, KVSTORE_PATH, key) < 0) { in GetResolvedPath()
127 if (sprintf_s(keyPath, MAX_KEY_PATH + 1, "%s/%s/%s", dataPath, KVSTORE_PATH, key) < 0) { in DeleteValueFromFile()
145 if (sprintf_s(kvPath, MAX_KEY_PATH + 1, "%s/%s", dataPath, KVSTORE_PATH) < 0) { in InitKv()
164 if (sprintf_s(kvPath, MAX_KEY_PATH + 1, "%s/%s", dataPath, KVSTORE_PATH) < 0) { in GetCurrentItem()
176 if (sprintf_s(fullPath, MAX_KEY_PATH + 1, "%s/%s", kvPath, dir->d_name) < 0) { in GetCurrentItem()
199 if (sprintf_s(keyPath, MAX_KEY_PATH + 1, "%s/%s/%s", dataPath, KVSTORE_PATH, key) < 0) { in NewItem()
/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/
H A Dcamera_manager.cpp150 if (sprintf_s(jpegSrcPath, sizeof(jpegSrcPath), "%s", srcJpgPath) < 0) { in SampleGetdcfinfo()
153 if (sprintf_s(jpegDesPath, sizeof(jpegDesPath), "%s", dstThmPath) < 0) { in SampleGetdcfinfo()
196 if (sprintf_s(tmpFile, sizeof(tmpFile), "%s/photo%s.jpg", PHOTO_PATH, timeStamp) < 0) { in SampleSaveCapture()
208 if (sprintf_s(acFile, sizeof(acFile), "%s/tmp.jpg", PHOTO_PATH) < 0) { in SampleSaveCapture()
223 if (sprintf_s(acFileDcf, sizeof(acFileDcf), "%s/photo%s.jpg", THUMB_PATH, timeStamp) < 0) { in SampleSaveCapture()
227 if (sprintf_s(acFileDcf, sizeof(acFileDcf), "%s/video%s.jpg", THUMB_PATH, timeStamp) < 0) { in SampleSaveCapture()
382 if (sprintf_s(timeStamp_, sizeof(timeStamp_), "%02d-%02d-%02d-%lld", in InitTimeStamp()
391 if (sprintf_s(videoName_, sizeof(videoName_), "%s/video%s.jpg", THUMB_PATH, timeStamp_) < 0) { in InitVideoName()
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_utils.c103 int32_t offset = sprintf_s(targetName, nameLen, "%d", *(int *)blob->data); in ConstructPlainName()
494 int32_t offset = sprintf_s(userPath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s", in CheckUserPathExist()
513 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath()
520 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s/%s", HKS_CE_ROOT_PATH, in ConstructPath()
526 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s/%s", HKS_ECE_ROOT_PATH, in ConstructPath()
531 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath()
538 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s", in ConstructPath()
545 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath()
/base/startup/init/services/modules/trace/
H A Dinit_trace.c142 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), in IsTraceMountedInner()
163 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), in IsWritableFile()
174 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), in WriteStrToFile()
198 int len = sprintf_s((char *)buffer, sizeof(buffer), "%d", bufferSize); in SetBufferSize()
223 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), "%" PRIu64 "", tags); in SetTraceTagsEnabled()
329 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), in ClearTrace()
380 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), "%s%s", workspace->traceRootPath, path); in DumpTrace()
408 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), "%s%s", in MarkOthersClockSync()
/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp429 if (sprintf_s(sharedLibsSonames_ + cursor, sharedLibsSonamesLength - cursor, "%s:", allowList[i]) == -1) { in CreateSharedLibsSonames()
753 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s", prefix, dupModuleName) == -1) { in GetNativeModulePath()
763 if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
767 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s%s", in GetNativeModulePath()
772 if (sprintf_s(nativeModulePath[1], pathLength, "%s/lib%s_napi%s%s", in GetNativeModulePath()
777 if (sprintf_s(nativeModulePath[2], pathLength, "%s/%s%s", // 2 : Element index value in GetNativeModulePath()
784 if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
793 sprintfResult = sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s", in GetNativeModulePath()
797 sprintfResult = sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix); in GetNativeModulePath()
804 if (sprintf_s(nativeModulePat in GetNativeModulePath()
[all...]
/base/telephony/cellular_call/services/common/src/
H A Dmmi_code_message.cpp69 if (sprintf_s(tempMessage, sizeof(tempMessage), CF_FORWARDED_TIME.c_str(), className.c_str(), in MakeCallTransferMessageEx()
74 if (sprintf_s(tempMessage, sizeof(tempMessage), CF_FORWARDED.c_str(), className.c_str(), in MakeCallTransferMessageEx()
80 if (sprintf_s(tempMessage, sizeof(tempMessage), CF_NOT_FORWARDED.c_str(), className.c_str()) != -1) { in MakeCallTransferMessageEx()
/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/
H A Ddynamic_loader_ohos.cpp43 auto ends = sprintf_s(g_dlError, sizeof(g_dlError), "%s", errMsg); in ReadDlError()
111 if (sprintf_s(g_sharedLibsSonames + cursor, sharedLibsSonamesLength - cursor, "%s:", allowList[i]) == -1) { in InitSharedLibsSonames()
149 if (sprintf_s(g_dlError, sizeof(g_dlError), errMsg.c_str()) == -1) { in DynamicInitNamespace()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dspirv_cross_helpers_gles.cpp82 const int len = sprintf_s(buf, sizeof(buf), "%u %uu\n", c.id, value); in DefineForSpec()
89 const int len = sprintf_s(buf, sizeof(buf), "%u %d\n", c.id, value); in DefineForSpec()
97 const int len = sprintf_s(buf, sizeof(buf), "%u %f\n", c.id, value); in DefineForSpec()
/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/
H A Ddbm_kv_store.c275 if (sprintf_s(sumFilePath, len, ItemPathFormat(db), db->dirPath, KV_SUM_FILE) < 0) { in GetSumFilePath()
348 if (sprintf_s(keyPath, MAX_KEY_PATH + 1, ItemPathFormat(db), db->dirPath, key) < 0) { in DeleteValueFromFile()
362 if (sprintf_s(keyPath, MAX_KEY_PATH + 1, ItemPathFormat(db), db->dirPath, key) < 0) { in IsNewItem()
390 if (sprintf_s(bakKey, MAX_KEY_LEN + 8, "%s_dbm_kv", item->key) < 0) { in DelItem()
411 if (sprintf_s(srcPath, MAX_KEY_PATH + 1, ItemPathFormat(db), db->dirPath, src) < 0) { in CopyValueToFile()
416 if (sprintf_s(destPath, MAX_KEY_PATH + 1, ItemPathFormat(db), db->dirPath, dest) < 0) { in CopyValueToFile()
436 if (sprintf_s(bakFile, MAX_KEY_PATH + 1, "%s_dbm_kv", item->key) < 0) { in RecoverItem()
464 if (sprintf_s(bakFile, MAX_KEY_PATH + 1, "%s_dbm_kv", item->key) < 0) { in CheckPointItem()
541 if (sprintf_s(value, KV_SUM_INDEX, "%d", sumIndex) < 0) { in SetSumIndexToFile()
758 if (sprintf_s(keyPat in GetValueByFile()
[all...]

Completed in 17 milliseconds

12345678910>>...14