Searched refs:set_maybe (Results 1 – 1 of 1) sorted by relevance
/third_party/node/src/ |
D | js_native_api_v8.cc | 2130 v8::Maybe<bool> set_maybe = obj->Set(context, k, val); in OH_JSVM_SetProperty() local 2132 RETURN_STATUS_IF_FALSE(env, set_maybe.FromMaybe(false), JSVM_GENERIC_FAILURE); in OH_JSVM_SetProperty() 2239 v8::Maybe<bool> set_maybe = obj->Set(context, key, val); in OH_JSVM_SetNamedProperty() local 2241 RETURN_STATUS_IF_FALSE(env, set_maybe.FromMaybe(false), JSVM_GENERIC_FAILURE); in OH_JSVM_SetNamedProperty() 2306 auto set_maybe = obj->Set(context, index, val); in OH_JSVM_SetElement() local 2308 RETURN_STATUS_IF_FALSE(env, set_maybe.FromMaybe(false), JSVM_GENERIC_FAILURE); in OH_JSVM_SetElement() 2807 v8::Maybe<bool> set_maybe = err_object->Set(context, code_key, code_value); in set_error_code() local 2809 env, set_maybe.FromMaybe(false), JSVM_GENERIC_FAILURE); in set_error_code()
|