/third_party/node/deps/uvwasi/src/ |
D | uvwasi.c | 125 void* uvwasi__malloc(const uvwasi_t* uvwasi, size_t size) { in uvwasi__malloc() argument 126 return uvwasi->allocator->malloc(size, uvwasi->allocator->mem_user_data); in uvwasi__malloc() 129 void uvwasi__free(const uvwasi_t* uvwasi, void* ptr) { in uvwasi__free() argument 130 uvwasi->allocator->free(ptr, uvwasi->allocator->mem_user_data); in uvwasi__free() 133 void* uvwasi__calloc(const uvwasi_t* uvwasi, size_t nmemb, size_t size) { in uvwasi__calloc() argument 134 return uvwasi->allocator->calloc(nmemb, in uvwasi__calloc() 136 uvwasi->allocator->mem_user_data); in uvwasi__calloc() 139 void* uvwasi__realloc(const uvwasi_t* uvwasi, void* ptr, size_t size) { in uvwasi__realloc() argument 140 return uvwasi->allocator->realloc(ptr, in uvwasi__realloc() 142 uvwasi->allocator->mem_user_data); in uvwasi__realloc() [all …]
|
D | fd_table.c | 18 static uvwasi_errno_t uvwasi__insert_stdio(uvwasi_t* uvwasi, in uvwasi__insert_stdio() argument 37 err = uvwasi_fd_table_insert(uvwasi, in uvwasi__insert_stdio() 58 uvwasi_errno_t uvwasi_fd_table_insert(uvwasi_t* uvwasi, in uvwasi_fd_table_insert() argument 85 uvwasi__malloc(uvwasi, sizeof(*entry) + mp_len + mp_len + rp_len + 3); in uvwasi_fd_table_insert() 102 uvwasi__free(uvwasi, entry); in uvwasi_fd_table_insert() 111 new_fds = uvwasi__realloc(uvwasi, table->fds, new_size * sizeof(*new_fds)); in uvwasi_fd_table_insert() 113 uvwasi__free(uvwasi, entry); in uvwasi_fd_table_insert() 137 uvwasi__free(uvwasi, entry); in uvwasi_fd_table_insert() 174 uvwasi_errno_t uvwasi_fd_table_init(uvwasi_t* uvwasi, in uvwasi_fd_table_init() argument 181 if (uvwasi == NULL || options == NULL || options->fd_table_size < 3) in uvwasi_fd_table_init() [all …]
|
D | path_resolver.c | 173 const uvwasi_t* uvwasi, in uvwasi__normalize_absolute_path() argument 193 abs_path = uvwasi__malloc(uvwasi, abs_size); in uvwasi__normalize_absolute_path() 218 uvwasi__free(uvwasi, abs_path); in uvwasi__normalize_absolute_path() 224 const uvwasi_t* uvwasi, in uvwasi__normalize_relative_path() argument 249 combined = uvwasi__malloc(uvwasi, combined_size); in uvwasi__normalize_relative_path() 253 normalized = uvwasi__malloc(uvwasi, combined_size); in uvwasi__normalize_relative_path() 290 uvwasi__free(uvwasi, normalized); in uvwasi__normalize_relative_path() 292 uvwasi__free(uvwasi, combined); in uvwasi__normalize_relative_path() 298 const uvwasi_t* uvwasi, in uvwasi__resolve_path_to_host() argument 329 *resolved_path = uvwasi__malloc(uvwasi, *resolved_len + 1); in uvwasi__resolve_path_to_host() [all …]
|
D | poll_oneoff.c | 35 uvwasi_t* uvwasi, in uvwasi__poll_oneoff_state_init() argument 42 if (uvwasi == NULL || state == NULL) in uvwasi__poll_oneoff_state_init() 45 state->uvwasi = NULL; in uvwasi__poll_oneoff_state_init() 60 state->fdevents = uvwasi__calloc(uvwasi, in uvwasi__poll_oneoff_state_init() 68 state->poll_handles = uvwasi__calloc(uvwasi, in uvwasi__poll_oneoff_state_init() 78 state->uvwasi = uvwasi; in uvwasi__poll_oneoff_state_init() 85 uvwasi__free(state->uvwasi, state->fdevents); in uvwasi__poll_oneoff_state_init() 86 uvwasi__free(state->uvwasi, state->poll_handles); in uvwasi__poll_oneoff_state_init() 123 uvwasi__free(state->uvwasi, state->fdevents); in uvwasi__poll_oneoff_state_cleanup() 124 uvwasi__free(state->uvwasi, state->poll_handles); in uvwasi__poll_oneoff_state_cleanup() [all …]
|
D | fd_table.h | 31 uvwasi_errno_t uvwasi_fd_table_init(struct uvwasi_s* uvwasi, 33 void uvwasi_fd_table_free(struct uvwasi_s* uvwasi, 35 uvwasi_errno_t uvwasi_fd_table_insert(struct uvwasi_s* uvwasi, 45 uvwasi_errno_t uvwasi_fd_table_insert_preopen(struct uvwasi_s* uvwasi, 60 uvwasi_errno_t uvwasi_fd_table_remove_nolock(struct uvwasi_s* uvwasi, 63 uvwasi_errno_t uvwasi_fd_table_renumber(struct uvwasi_s* uvwasi,
|
D | uvwasi_alloc.h | 6 void* uvwasi__malloc(const uvwasi_t* uvwasi, size_t size); 7 void uvwasi__free(const uvwasi_t* uvwasi, void* ptr); 8 void* uvwasi__calloc(const uvwasi_t* uvwasi, size_t nmemb, size_t size); 9 void* uvwasi__realloc(const uvwasi_t* uvwasi, void* ptr, size_t size);
|
D | poll_oneoff.h | 21 struct uvwasi_s* uvwasi; member 36 struct uvwasi_s* uvwasi,
|
D | path_resolver.h | 12 uvwasi_errno_t uvwasi__resolve_path(const uvwasi_t* uvwasi,
|
/third_party/node/deps/uvwasi/include/ |
D | uvwasi.h | 71 uvwasi_errno_t uvwasi_init(uvwasi_t* uvwasi, uvwasi_options_t* options); 72 void uvwasi_destroy(uvwasi_t* uvwasi); 75 uvwasi_errno_t uvwasi_embedder_remap_fd(uvwasi_t* uvwasi, 82 uvwasi_errno_t uvwasi_args_get(uvwasi_t* uvwasi, char** argv, char* argv_buf); 83 uvwasi_errno_t uvwasi_args_sizes_get(uvwasi_t* uvwasi, 86 uvwasi_errno_t uvwasi_clock_res_get(uvwasi_t* uvwasi, 89 uvwasi_errno_t uvwasi_clock_time_get(uvwasi_t* uvwasi, 93 uvwasi_errno_t uvwasi_environ_get(uvwasi_t* uvwasi, 96 uvwasi_errno_t uvwasi_environ_sizes_get(uvwasi_t* uvwasi, 99 uvwasi_errno_t uvwasi_fd_advise(uvwasi_t* uvwasi, [all …]
|
/third_party/node/ |
D | node.gyp | 164 'deps/uvwasi/uvwasi.gyp:uvwasi', 348 'deps/uvwasi/uvwasi.gyp:uvwasi', 982 'deps/uvwasi/uvwasi.gyp:uvwasi', 996 'deps/uvwasi/include', 1028 'deps/uvwasi/uvwasi.gyp:uvwasi', 1044 'deps/uvwasi/include', 1124 'deps/uvwasi/uvwasi.gyp:uvwasi', 1140 'deps/uvwasi/include', 1204 'deps/uvwasi/uvwasi.gyp:uvwasi', 1217 'deps/uvwasi/include', [all …]
|
D | LICENSE | 1520 - uvwasi, located at deps/uvwasi, is licensed as follows:
|
/third_party/node/deps/uvwasi/ |
D | uvwasi.gyp | 4 'target_name': 'uvwasi', 17 'src/uvwasi.c',
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 66 * update to uvwasi 0.0.6 (Colin Ihrig) [#32309](https://github.com/nodejs/node/pull/32309) 98 * [[`7904ecd245`](https://github.com/nodejs/node/commit/7904ecd245)] - **deps**: update to uvwasi 0… 500 * [[`2eeaa5ce40`](https://github.com/nodejs/node/commit/2eeaa5ce40)] - **deps**: uvwasi: cherry-pic… 502 * [[`9811ebe0c5`](https://github.com/nodejs/node/commit/9811ebe0c5)] - **deps**: uvwasi: cherry-pic… 503 * [[`2fe0ed3a2e`](https://github.com/nodejs/node/commit/2fe0ed3a2e)] - **deps**: uvwasi: cherry-pic… 504 * [[`09566be899`](https://github.com/nodejs/node/commit/09566be899)] - **deps**: uvwasi: cherry-pic… 505 * [[`04f2799ed2`](https://github.com/nodejs/node/commit/04f2799ed2)] - **deps**: update to uvwasi 0… 506 * [[`7c4f1ed030`](https://github.com/nodejs/node/commit/7c4f1ed030)] - **deps**: uvwasi: cherry-pic… 507 * [[`00e38a749a`](https://github.com/nodejs/node/commit/00e38a749a)] - **deps**: port uvwasi@676ba9… 508 …://github.com/nodejs/node/commit/5bd3f6c258)] - **deps,test**: update to uvwasi 0.0.4 (cjihrig) [#… [all …]
|
D | CHANGELOG_V12.md | 133 * [[`48e4d45cca`](https://github.com/nodejs/node/commit/48e4d45cca)] - **deps**: uvwasi: cherry-pic… 135 * [[`3fb3079337`](https://github.com/nodejs/node/commit/3fb3079337)] - **deps**: uvwasi: cherry-pic… 136 * [[`3bd1c02941`](https://github.com/nodejs/node/commit/3bd1c02941)] - **deps**: uvwasi: cherry-pic… 137 * [[`12949019de`](https://github.com/nodejs/node/commit/12949019de)] - **deps**: uvwasi: cherry-pic… 138 * [[`ada070eed4`](https://github.com/nodejs/node/commit/ada070eed4)] - **deps**: update to uvwasi 0… 139 * [[`8cf2666248`](https://github.com/nodejs/node/commit/8cf2666248)] - **deps**: uvwasi: cherry-pic… 140 * [[`ef5517aa0c`](https://github.com/nodejs/node/commit/ef5517aa0c)] - **deps**: port uvwasi@676ba9… 143 …://github.com/nodejs/node/commit/676e3c3c38)] - **deps,test**: update to uvwasi 0.0.4 (Colin Ihrig… 811 * [[`6de77d3f09`](https://github.com/nodejs/node/commit/6de77d3f09)] - **deps**: uvwasi: cherry-pic… 812 * [[`8f4339b8af`](https://github.com/nodejs/node/commit/8f4339b8af)] - **deps**: uvwasi: cherry-pic… [all …]
|
D | CHANGELOG_V14.md | 512 * [[`40e46321b0`](https://github.com/nodejs/node/commit/40e46321b0)] - **build**: uvwasi honours no… 2638 * update to uvwasi 0.0.11 (Colin Ihrig) [#35104](https://github.com/nodejs/node/pull/35104) 2650 * [[`d4389b59b4`](https://github.com/nodejs/node/commit/d4389b59b4)] - **deps**: update to uvwasi 0… 2982 * [[`dc49561e8d`](https://github.com/nodejs/node/commit/dc49561e8d)] - **deps**: update to uvwasi 0… 3012 * [[`dc49561e8d`](https://github.com/nodejs/node/commit/dc49561e8d)] - **deps**: update to uvwasi 0… 3451 * [[`773d76ea04`](https://github.com/nodejs/node/commit/773d76ea04)] - **deps**: uvwasi: cherry-pic… 3456 * [[`8d47e8bf7b`](https://github.com/nodejs/node/commit/8d47e8bf7b)] - **deps**: update to uvwasi 0… 3961 * [[`8325c29e92`](https://github.com/nodejs/node/commit/8325c29e92)] - **deps**: update to uvwasi 0…
|