/kernel/uniproton/src/net/lwip-2.1/src/ |
H A D | driverif.c | 74 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 D | It_posix_queue_161.cpp | 47 (void)snprintf_s(g_mqueueName[uret], MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in PthreadF01()
|
H A D | It_posix_queue_121.cpp | 144 (void)snprintf_s(qName, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase()
|
/test/xts/acts/graphic/graphicnapitest/ |
H A D | ConsumerSurfaceTest.cpp | 148 auto secRet = snprintf_s(str, sizeof(str), sizeof(str) - 1, "%s%d", FuncName.c_str(), i); in HWTEST_F()
|
H A D | ProducerSurfaceTest.cpp | 153 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 D | vfs_other.c | 455 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 D | auth_base_impl.c | 357 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 D | net_fuzz.c | 161 (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 D | shcmd.c | 221 if (snprintf_s(formatChar, sizeof(formatChar) - 1, 7, "%%-%us ", printLen) < 0) { /* 7:format-len */ in OsPrintMatchList()
|
/kernel/linux/common_modules/tzdriver/core/ |
H A D | mailbox_mempool.c | 468 ret = snprintf_s(buf, sizeof(buf), 15, "%u\n", g_mb_dbg_last_res); in mb_dbg_opt_read()
|
H A D | tzdebug.c | 230 int len = snprintf_s(p, DEBUG_OPT_LEN - oboff, DEBUG_OPT_LEN -oboff -1, in tz_dbg_opt_read()
|
H A D | cmdmonitor.c | 437 int ret = snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, in cmd_monitor_archivefn()
|
H A D | agent.c | 198 message_size = snprintf_s(ca->path, MAX_PATH_SIZE, in get_ca_path_and_uid()
|
/kernel/liteos_a/kernel/base/misc/ |
H A D | task_shellcmd.c | 275 if (snprintf_s(pendReason, maxLen, maxLen - 1, "Mutex-%u", owner->taskID) == EOK) { in TaskPendingReasonInfoGet()
|
/kernel/liteos_a/shell/full/src/base/ |
H A D | shcmd.c | 214 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 D | mqueue_func_test.c | 110 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 D | jsvm_utils.cpp | 56 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 D | pthread.c | 234 (VOID)snprintf_s(name, sizeof(name), sizeof(name) - 1, "pth%02d", pthreadNumber); in pthread_create()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | pipe.c | 229 (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 D | disk.c | 337 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 D | los_process.c | 723 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 D | los_task.c | 576 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 D | vfs_shellcmd.c | 769 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 D | attest_network.c | 151 curLen += snprintf_s((char *)&outStr[i << 1], (uint32_t)(HTTPS_NETWORK_SHA256_LEN - curLen), in Sha256Udid()
|
/kernel/liteos_a/kernel/common/ |
H A D | console.c | 1224 ret = snprintf_s(consoleCB->name, CONSOLE_NAMELEN, CONSOLE_NAMELEN - 1, in OsConsoleCreate() 1227 PRINT_ERR("consoleCB->name snprintf_s failed\n"); in OsConsoleCreate()
|