H A D | intl_addon.cpp | 176 napi_value optionValue = nullptr; in GetOptionValue() local 186 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetOptionValue() 189 napi_get_value_string_utf8(env, optionValue, nullptr, 0, &len); in GetOptionValue() 191 status = napi_get_value_string_utf8(env, optionValue, optionBuf.data(), len + 1, &len); in GetOptionValue() 203 napi_value optionValue = nullptr; in GetIntegerOptionValue() local 214 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetIntegerOptionValue() 216 status = napi_get_value_int64(env, optionValue, &integerValue); in GetIntegerOptionValue() 228 napi_value optionValue = nullptr; in GetBoolOptionValue() local 238 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetBoolOptionValue() 241 napi_get_value_bool(env, optionValue, in GetBoolOptionValue() 995 std::string optionValue = options[option]; SetOptionProperties() local 1010 std::string optionValue = options[option]; SetIntegerOptionProperties() local 1029 std::string optionValue = options[option]; SetBooleanOptionProperties() local [all...] |