Home
last modified time | relevance | path

Searched refs:snprintf_s (Results 226 - 250 of 251) sorted by relevance

1234567891011

/kernel/uniproton/src/net/lwip-2.1/src/
H A Ddriverif.c74 if (snprintf_s(netif->full_name, sizeof(netif->full_name), sizeof(netif->full_name) - 1, in OsDriverifInitIfname()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_161.cpp47 (void)snprintf_s(g_mqueueName[uret], MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in PthreadF01()
H A DIt_posix_queue_121.cpp144 (void)snprintf_s(qName, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase()
/test/xts/acts/graphic/graphicnapitest/
H A DConsumerSurfaceTest.cpp148 auto secRet = snprintf_s(str, sizeof(str), sizeof(str) - 1, "%s%d", FuncName.c_str(), i); in HWTEST_F()
H A DProducerSurfaceTest.cpp153 auto secRet = snprintf_s(str, sizeof(str), sizeof(str) - 1, "%s%d", FuncName.c_str(), i); in HWTEST_F()
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_other.c455 ret = snprintf_s(fullpath, strlen(path) + strlen(pdirent->d_name) + 2, in ls_get_fullpath()
470 ret = snprintf_s(fullpath, strlen(pdirent->d_name) + 2, strlen(pdirent->d_name) + 1, in ls_get_fullpath()
/kernel/linux/common_modules/tzdriver/auth/
H A Dauth_base_impl.c357 if (snprintf_s(str_path_uid, MAX_PATH_SIZE, MAX_PATH_SIZE - 1, "%s:%u", in check_proc_uid_path()
359 tloge("snprintf_s path uid failed, ret %d\n", ret); in check_proc_uid_path()
/kernel/liteos_m/testsuites/unittest/fuzz/src/socket/
H A Dnet_fuzz.c161 (void)snprintf_s(g_udpIp, sizeof(g_udpIp), sizeof(g_udpIp) - 1, "%d.%d.%d.%d", num1, num2, num3, num4); in UdpFun()
/kernel/liteos_a/apps/shell/src/
H A Dshcmd.c221 if (snprintf_s(formatChar, sizeof(formatChar) - 1, 7, "%%-%us ", printLen) < 0) { /* 7:format-len */ in OsPrintMatchList()
/kernel/linux/common_modules/tzdriver/core/
H A Dmailbox_mempool.c468 ret = snprintf_s(buf, sizeof(buf), 15, "%u\n", g_mb_dbg_last_res); in mb_dbg_opt_read()
H A Dtzdebug.c230 int len = snprintf_s(p, DEBUG_OPT_LEN - oboff, DEBUG_OPT_LEN -oboff -1, in tz_dbg_opt_read()
H A Dcmdmonitor.c437 int ret = snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, in cmd_monitor_archivefn()
H A Dagent.c198 message_size = snprintf_s(ca->path, MAX_PATH_SIZE, in get_ca_path_and_uid()
/kernel/liteos_a/kernel/base/misc/
H A Dtask_shellcmd.c275 if (snprintf_s(pendReason, maxLen, maxLen - 1, "Mutex-%u", owner->taskID) == EOK) { in TaskPendingReasonInfoGet()
/kernel/liteos_a/shell/full/src/base/
H A Dshcmd.c214 if (snprintf_s(formatChar, sizeof(formatChar) - 1, 7, "%%-%us ", printLen) < 0) { /* 7:format-len */ in OsPrintMatchList()
/kernel/liteos_m/testsuites/unittest/posix/src/mqueue/
H A Dmqueue_func_test.c110 snprintf_s(mqname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "/mq002_%d", 1);
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/
H A Djsvm_utils.cpp56 int len = snprintf_s(buf, destMax, destMax - 1, "CHECK/CHECK_FATAL failure: %s at [%s:%u] ", cond.c_str(), in PrintErrorMessage()
/kernel/liteos_a/compat/posix/src/
H A Dpthread.c234 (VOID)snprintf_s(name, sizeof(name), sizeof(name) - 1, "pth%02d", pthreadNumber); in pthread_create()
/kernel/liteos_m/kal/posix/src/
H A Dpipe.c229 (VOID)snprintf_s(dev->devName, PIPE_DEV_NAME_MAX, PIPE_DEV_NAME_MAX - 1, "%s%d", PIPE_DEV_PATH, num); in PipeDevRegister()
/kernel/liteos_a/drivers/block/disk/src/
H A Ddisk.c337 ret = snprintf_s(devName, sizeof(devName), sizeof(devName) - 1, "%s%c%u", in DiskAddPart()
1376 ret = snprintf_s(devName, sizeof(devName), sizeof(devName) - 1, "%s%c%d", in DiskDeinit()
/kernel/liteos_a/kernel/base/core/
H A Dlos_process.c723 errRet = snprintf_s(processCB->processName, OS_PCB_NAME_LEN, OS_PCB_NAME_LEN - 1, in OsSetProcessName()
727 errRet = snprintf_s(processCB->processName, OS_PCB_NAME_LEN, OS_PCB_NAME_LEN - 1, in OsSetProcessName()
H A Dlos_task.c576 if (snprintf_s(taskCB->taskName, OS_TCB_NAME_LEN, OS_TCB_NAME_LEN - 1, "thread%u", numCount) < 0) { in TaskCBInit()
/kernel/liteos_a/fs/vfs/vfs_cmd/
H A Dvfs_shellcmd.c769 ret = snprintf_s(fullpath, fullpath_buf_size, fullpath_buf_size - 1, "%s/%s", pathname, dirent->d_name); in os_shell_cmd_do_rmdir()
/test/xts/device_attest/services/core/network/
H A Dattest_network.c151 curLen += snprintf_s((char *)&outStr[i << 1], (uint32_t)(HTTPS_NETWORK_SHA256_LEN - curLen), in Sha256Udid()
/kernel/liteos_a/kernel/common/
H A Dconsole.c1224 ret = snprintf_s(consoleCB->name, CONSOLE_NAMELEN, CONSOLE_NAMELEN - 1, in OsConsoleCreate()
1227 PRINT_ERR("consoleCB->name snprintf_s failed\n"); in OsConsoleCreate()

Completed in 29 milliseconds

1234567891011