/libuv/ |
H A D | Makefile.am | 18 -I$(top_srcdir)/src 32 libuv_la_SOURCES = src/fs-poll.c \ 34 src/idna.c \ 35 src/idna.h \ 36 src/inet.c \ 37 src/queue.h \ 38 src/random.c \ 43 src/timer.c \ 48 src/strtok.c \ 49 src/strtok.h [all …]
|
H A D | CMakeLists.txt | 175 src/fs-poll.c 176 src/idna.c 177 src/inet.c 178 src/random.c 179 src/strscpy.c 180 src/strtok.c 183 src/timer.c 184 src/uv-common.c 186 src/version.c) 295 list(APPEND uv_sources src/unix/bsd-ifaddrs.c src/unix/kqueue.c) [all …]
|
H A D | SUPPORTED_PLATFORMS.md | 39 ``src/unix/internal.h``. 46 file inside ``src/unix/`` unless it's already done in a common file, in which
|
H A D | LICENSE-extra | 34 - inet_pton and inet_ntop implementations, contained in src/inet.c, are
|
H A D | CONTRIBUTING.md | 50 * Code that is specific to unix-y platforms should be placed in `src/unix`, and 53 * Source code that is Windows-specific goes into `src/win`, and related
|
H A D | ChangeLog | 607 * src: add new metrics APIs (Trevor Norris) 1524 * src: build fix for Android (David Carlier) 1621 * src: add uv__reallocf() (Ben Noordhuis) 1684 * src: android build fix (David Carlier) 1754 * src: fix wrong method name in comment (TK-one) 2328 * src,include: define UV_MAXHOSTNAMESIZE (cjihrig) 2629 * src,lib: fix comments (Tobias Nießen) 2663 * src,test: s/olny/only (cjihrig) 2835 * include,src: introduce UV__ERR() macro (Mason X) 4074 * src: remove non ascii character (sztomi) [all …]
|
H A D | LINKS.md | 17 * [Kestrel](https://github.com/dotnet/aspnetcore/tree/main/src/Servers/Kestrel): web server (C# + l…
|
/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() 147 if (src == NULL || dst == NULL) in uv_inet_pton() 156 s = (char*) src; in uv_inet_pton() 157 p = strchr(src, '%'); in uv_inet_pton() 160 len = p - src; in uv_inet_pton() 163 memcpy(s, src, len); in uv_inet_pton() 226 if (*src == ':') in inet_pton6() 227 if (*++src != ':') in inet_pton6() 229 curtok = src; in inet_pton6() 245 curtok = src; in inet_pton6() [all …]
|
H A D | uv-common.c | 300 int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size) { in uv_ip4_name() argument 301 return uv_inet_ntop(AF_INET, &src->sin_addr, dst, size); in uv_ip4_name() 305 int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size) { in uv_ip6_name() argument 306 return uv_inet_ntop(AF_INET6, &src->sin6_addr, dst, size); in uv_ip6_name() 310 int uv_ip_name(const struct sockaddr *src, char *dst, size_t size) { in uv_ip_name() argument 311 switch (src->sa_family) { in uv_ip_name() 313 return uv_inet_ntop(AF_INET, &((struct sockaddr_in *)src)->sin_addr, in uv_ip_name() 316 return uv_inet_ntop(AF_INET6, &((struct sockaddr_in6 *)src)->sin6_addr, in uv_ip_name()
|
/libuv/test/ |
H A D | test-fs-copyfile.c | 106 const char src[] = "test_file_src"; in TEST_IMPL() local 119 unlink(src); in TEST_IMPL() 121 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL); in TEST_IMPL() 131 touch_file(src, 12); in TEST_IMPL() 132 r = uv_fs_copyfile(NULL, &req, src, src, 0, NULL); in TEST_IMPL() 136 r = uv_fs_stat(NULL, &req, src, NULL); in TEST_IMPL() 140 unlink(src); in TEST_IMPL() 150 touch_file(src, 0); in TEST_IMPL() 170 touch_file(src, 1); in TEST_IMPL() 177 touch_file(src, 4096 * 2); in TEST_IMPL() [all …]
|
H A D | test-tty-escape-sequence-processing.c | 160 static void write_console(uv_tty_t* tty_out, char* src) { in write_console() argument 164 buf.base = src; in write_console()
|
/libuv/src/unix/ |
H A D | fs.c | 1450 dst->st_dev = src->st_dev; in uv__to_stat() 1451 dst->st_mode = src->st_mode; in uv__to_stat() 1452 dst->st_nlink = src->st_nlink; in uv__to_stat() 1453 dst->st_uid = src->st_uid; in uv__to_stat() 1454 dst->st_gid = src->st_gid; in uv__to_stat() 1455 dst->st_rdev = src->st_rdev; in uv__to_stat() 1456 dst->st_ino = src->st_ino; in uv__to_stat() 1457 dst->st_size = src->st_size; in uv__to_stat() 1470 dst->st_flags = src->st_flags; in uv__to_stat() 1471 dst->st_gen = src->st_gen; in uv__to_stat() [all …]
|
H A D | ibmi.c | 155 static void iconv_e2a(unsigned char src[], unsigned char dst[], size_t length) { in iconv_e2a() argument 158 dst[i] = e2a[src[i]]; in iconv_e2a() 162 static void iconv_a2e(const char* src, unsigned char dst[], size_t length) { in iconv_a2e() argument 166 srclen = strlen(src); in iconv_a2e() 170 dst[i] = a2e[src[i]]; in iconv_a2e()
|
/libuv/.github/workflows/ |
H A D | CI-docs.yml | 11 docs-src:
|
H A D | CI-win.yml | 8 - '!src/unix/**'
|
H A D | CI-unix.yml | 8 - '!src/win/**'
|
/libuv/docs/src/guide/ |
H A D | eventloops.rst | 21 .. rubric:: src/unix/core.c - uv_run 22 .. literalinclude:: ../../../src/unix/core.c
|
H A D | basics.rst | 79 src="https://www.youtube-nocookie.com/embed/nGn60vDSxQ4" frameborder="0"
|
/libuv/docs/ |
H A D | Makefile | 10 SRCDIR = src
|
H A D | make.bat | 9 set SRCDIR=src
|
/libuv/include/ |
H A D | uv.h | 1761 UV_EXTERN int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size); 1762 UV_EXTERN int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size); 1763 UV_EXTERN int uv_ip_name(const struct sockaddr* src, char* dst, size_t size); 1765 UV_EXTERN int uv_inet_ntop(int af, const void* src, char* dst, size_t size); 1766 UV_EXTERN int uv_inet_pton(int af, const char* src, void* dst);
|
/libuv/docs/src/ |
H A D | misc.rst | 436 .. c:function:: int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size) 440 .. c:function:: int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size) 444 .. c:function:: int uv_ip_name(const struct sockaddr *src, char *dst, size_t size) 448 .. c:function:: int uv_inet_ntop(int af, const void* src, char* dst, size_t size) 449 .. c:function:: int uv_inet_pton(int af, const char* src, void* dst)
|