Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 29) sorted by relevance

12

/libuv/test/
H A Dtest-tty-escape-sequence-processing.c773 snprintf( in TEST_IMPL()
781 snprintf( in TEST_IMPL()
788 snprintf( in TEST_IMPL()
1097 snprintf( in TEST_IMPL()
1116 snprintf( in TEST_IMPL()
1164 snprintf(buffer, in TEST_IMPL()
1192 snprintf(buffer, in TEST_IMPL()
1222 snprintf(buffer, in TEST_IMPL()
1409 snprintf(buffer, in TEST_IMPL()
1467 snprintf(buffer, in TEST_IMPL()
[all …]
H A Dtest-idna.c34 snprintf(b, sizeof(b), "%c\x7F", 0x00); in TEST_IMPL()
42 snprintf(b, sizeof(b), "\xC2\x80\xDF\xBF"); in TEST_IMPL()
50 snprintf(b, sizeof(b), "\xE0\xA0\x80\xEF\xBF\xBF"); in TEST_IMPL()
58 snprintf(b, sizeof(b), "\xF0\x90\x80\x80\xF4\x8F\xBF\xBF"); in TEST_IMPL()
66 snprintf(b, sizeof(b), "\xF4\x90\xC0\xC0\xF7\xBF\xBF\xBF"); in TEST_IMPL()
74 snprintf(b, sizeof(b), "\xC0\x80\xC1\x80"); in TEST_IMPL()
82 snprintf(b, sizeof(b), "\xED\xA0\x80\xED\xA3\xBF"); in TEST_IMPL()
90 snprintf(b, sizeof(b), "\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"); in TEST_IMPL()
H A Drunner-win.h32 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900
33 extern int snprintf(char*, size_t, const char*, ...);
H A Drunner.c192 snprintf(errmsg, in run_test()
216 snprintf(errmsg, in run_test()
229 snprintf(errmsg, in run_test()
256 snprintf(errmsg, in run_test()
264 snprintf(errmsg, in run_test()
H A Dtest-uname.c54 snprintf(temp, sizeof(temp), "%s.%s", buf.version, buf.release); in TEST_IMPL()
H A Dtest-strtok.c78 snprintf(current_test, sizeof(current_test), "%s", tests[i].str); in TEST_IMPL()
H A Dtest-get-currentexe.c53 snprintf(path, sizeof(path), "%s", executable_path); in TEST_IMPL()
H A Drunner-unix.c79 snprintf(executable_path, sizeof(executable_path), "%s", argv[0]); in platform_init()
128 snprintf(fdstr, sizeof(fdstr), "%d", pipefd[1]); in process_start()
H A Dtask.h315 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900
316 extern int snprintf(char*, size_t, const char*, ...);
H A Dtest-ip6-addr.c94 snprintf(scoped_addr, in TEST_IMPL()
H A Dtest-spawn.c1112 snprintf(name, in TEST_IMPL()
1358 snprintf(newpath, 2048, ";.;%s", path); in TEST_IMPL()
1407 snprintf(new_exepath, sizeof(new_exepath), "%.*s_no_ext", in TEST_IMPL()
1440 snprintf(file, sizeof(file), "%.*s_no_ext", in TEST_IMPL()
1444 snprintf(path, sizeof(path), "PATH=%s", exepath); in TEST_IMPL()
1483 snprintf(uidstr, sizeof(uidstr), "%d", pw->pw_uid); in TEST_IMPL()
1484 snprintf(gidstr, sizeof(gidstr), "%d", pw->pw_gid); in TEST_IMPL()
1861 snprintf(buf, sizeof(buf), "%s=%s", dyld_path_var, env[1]); in TEST_IMPL()
H A Dtest-udp-ipv6.c183 ASSERT_EQ(9, snprintf(data, in do_test()
H A Dtest-pipe-getsockname.c130 snprintf(namebuf, sizeof(namebuf), "%s-oob", TEST_PIPENAME); in TEST_IMPL()
H A Dtest-fs-event.c162 snprintf(fs_event_filename, in fs_event_get_filename()
248 snprintf(fs_event_filename, in fs_event_get_filename_in_subdir()
H A Dtest-threadpool-cancel.c72 snprintf(buf, in saturate_threadpool()
/libuv/src/win/
H A Dsnprintf.c30 int snprintf(char* buf, size_t len, const char* fmt, ...) { in snprintf() function
H A Dgetaddrinfo.c376 r = snprintf(buffer, *size, "%d", ifindex); in uv_if_indextoiid()
H A Dutil.c1601 r = snprintf(buffer->sysname, in uv_os_uname()
1612 r = snprintf(buffer->release, in uv_os_uname()
/libuv/src/unix/
H A Dlinux.c1775 snprintf(*models, sizeof(*models), "unknown"); in uv_cpu_info()
1852 snprintf(*model, sizeof(*model), "%.*s", n, p); in uv_cpu_info()
1874 snprintf(buf, sizeof(buf), in uv_cpu_info()
2146 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2150 snprintf(filename, sizeof(filename), in uv__get_cgroup1_memory_limits()
2228 snprintf(filename, sizeof(filename), in uv__get_cgroup1_current_memory()
2252 snprintf(filename, sizeof(filename), in uv__get_cgroup2_current_memory()
2305 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.max", cgroup_size, in uv__get_cgroupv2_constrained_cpu()
2321 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.weight", cgroup_size, in uv__get_cgroupv2_constrained_cpu()
2365 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.cfs_quota_us", in uv__get_cgroupv1_constrained_cpu()
[all …]
H A Daix.c429 snprintf(*dst, sizeof(*dst), "%.*s/r%s", (int) (dp - cp), cp, dp + 1); in uv__rawname()
807 snprintf(cwd, sizeof(cwd), "/proc/%lu/cwd", (unsigned long) getpid()); in uv_fs_event_start()
817 snprintf(absolute_path, sizeof(absolute_path), "%s%s", readlink_cwd, in uv_fs_event_start()
1015 snprintf(pp, sizeof(pp), "/proc/%lu/psinfo", (unsigned long) getpid()); in uv_resident_set_memory()
H A Dsunos.c390 snprintf(buf, sizeof(buf), "/proc/%lu/path/a.out", (unsigned long) getpid()); in uv_exepath()
H A Dcore.c1718 r = snprintf(buffer->release, in uv_os_uname()
1857 snprintf(trypath, sizeof(trypath) - 1, "%s/%s", token, prog); in uv__search_path()
/libuv/src/
H A Dinet.c53 l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]); in inet_ntop4()
133 tp += snprintf(tp, sizeof tmp - (tp - tmp), "%x", words[i]); in inet_ntop6()
H A Duv-common.h50 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900
51 extern int snprintf(char*, size_t, const char*, ...);
H A Duv-common.c202 snprintf(buf, sizeof(buf), "Unknown system error %d", err); in uv__unknown_err_code()
214 default: snprintf(buf, buflen, "Unknown system error %d", err); in uv_err_name_r()
233 snprintf(buf, buflen, "%s", msg); break;
237 default: snprintf(buf, buflen, "Unknown system error %d", err); in uv_strerror_r()

Completed in 84 milliseconds

12