/libuv/test/ |
H A D | test-tty-escape-sequence-processing.c | 773 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 D | test-idna.c | 34 snprintf(b, sizeof(b), "%c\x7F", 0x00); in TEST_IMPL() 42 snprintf(b, sizeof(b), "%s", "\xC2\x80\xDF\xBF"); in TEST_IMPL() 50 snprintf(b, sizeof(b), "%s", "\xE0\xA0\x80\xEF\xBF\xBF"); in TEST_IMPL() 58 snprintf(b, sizeof(b), "%s", "\xF0\x90\x80\x80\xF4\x8F\xBF\xBF"); in TEST_IMPL() 66 snprintf(b, sizeof(b), "%s", "\xF4\x90\xC0\xC0\xF7\xBF\xBF\xBF"); in TEST_IMPL() 74 snprintf(b, sizeof(b), "%s", "\xC0\x80\xC1\x80"); in TEST_IMPL() 82 snprintf(b, sizeof(b), "%s", "\xED\xA0\x80\xED\xA3\xBF"); in TEST_IMPL() 90 snprintf(b, sizeof(b), "%s", "\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"); in TEST_IMPL()
|
H A D | runner-win.h | 32 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900 33 extern int snprintf(char*, size_t, const char*, ...);
|
H A D | runner.c | 192 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 D | test-uname.c | 54 snprintf(temp, sizeof(temp), "%s.%s", buf.version, buf.release); in TEST_IMPL()
|
H A D | test-strtok.c | 78 snprintf(current_test, sizeof(current_test), "%s", tests[i].str); in TEST_IMPL()
|
H A D | test-get-currentexe.c | 53 snprintf(path, sizeof(path), "%s", executable_path); in TEST_IMPL()
|
H A D | runner-unix.c | 79 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 D | task.h | 315 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900 316 extern int snprintf(char*, size_t, const char*, ...);
|
H A D | test-ip6-addr.c | 94 snprintf(scoped_addr, in TEST_IMPL()
|
H A D | test-spawn.c | 1112 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 D | test-udp-ipv6.c | 183 ASSERT_EQ(9, snprintf(data, in do_test()
|
H A D | test-pipe-getsockname.c | 130 snprintf(namebuf, sizeof(namebuf), "%s-oob", TEST_PIPENAME); in TEST_IMPL()
|
H A D | test-fs-event.c | 162 snprintf(fs_event_filename, in fs_event_get_filename() 248 snprintf(fs_event_filename, in fs_event_get_filename_in_subdir()
|
H A D | test-threadpool-cancel.c | 72 snprintf(buf, in saturate_threadpool()
|
/libuv/src/win/ |
H A D | snprintf.c | 30 int snprintf(char* buf, size_t len, const char* fmt, ...) { in snprintf() function
|
H A D | getaddrinfo.c | 376 r = snprintf(buffer, *size, "%d", ifindex); in uv_if_indextoiid()
|
H A D | util.c | 1601 r = snprintf(buffer->sysname, in uv_os_uname() 1612 r = snprintf(buffer->release, in uv_os_uname()
|
/libuv/src/unix/ |
H A D | linux.c | 1775 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 D | aix.c | 429 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 D | sunos.c | 390 snprintf(buf, sizeof(buf), "/proc/%lu/path/a.out", (unsigned long) getpid()); in uv_exepath()
|
H A D | core.c | 1718 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 D | inet.c | 53 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 D | uv-common.h | 50 #if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900 51 extern int snprintf(char*, size_t, const char*, ...);
|
H A D | uv-common.c | 202 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()
|