Searched refs:init_sz (Results 1 - 2 of 2) sorted by relevance
/third_party/node/src/ |
H A 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() 111 // Buffer is not large enough, reallocate to the updated 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()
|
H A 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() 112 // Buffer is not large enough, reallocate to the updated init_sz in SafeGetenv() 114 val.AllocateSufficientStorage(init_sz); in SafeGetenv() 115 ret = uv_os_getenv(key, *val, &init_sz); in SafeGetenv()
|
Completed in 3 milliseconds