Searched refs:env_buf (Results 1 – 2 of 2) sorted by relevance
269 uvwasi->env_buf = NULL; in uvwasi_init()315 uvwasi->env_buf = uvwasi__malloc(uvwasi, env_buf_size); in uvwasi_init()316 if (uvwasi->env_buf == NULL) { in uvwasi_init()330 memcpy(uvwasi->env_buf + offset, options->envp[i], size); in uvwasi_init()331 uvwasi->env[i] = uvwasi->env_buf + offset; in uvwasi_init()432 uvwasi__free(uvwasi, uvwasi->env_buf); in uvwasi_destroy()443 uvwasi->env_buf = NULL; in uvwasi_destroy()594 environment[i] = environ_buf + (uvwasi->env[i] - uvwasi->env_buf); in uvwasi_environ_get()597 memcpy(environ_buf, uvwasi->env_buf, uvwasi->env_buf_size); in uvwasi_environ_get()
48 char* env_buf; member