Searched refs:init_sz (Results 1 – 2 of 2) sorted by relevance
/third_party/node/src/ |
D | node_env_var.cc | 106 size_t init_sz = 256; in Get() local 108 int ret = uv_os_getenv(key, *val, &init_sz); in Get() 113 val.AllocateSufficientStorage(init_sz); in Get() 114 ret = uv_os_getenv(key, *val, &init_sz); in Get() 118 return Just(std::string(*val, init_sz)); in Get() 157 size_t init_sz = sizeof(val); in Query() local 158 int ret = uv_os_getenv(key, val, &init_sz); in Query()
|
D | node_credentials.cc | 107 size_t init_sz = 256; in SafeGetenv() local 109 int ret = uv_os_getenv(key, *val, &init_sz); in SafeGetenv() 114 val.AllocateSufficientStorage(init_sz); in SafeGetenv() 115 ret = uv_os_getenv(key, *val, &init_sz); in SafeGetenv()
|