Lines Matching refs:js_value
745 Maybe<int> SyncProcessRunner::ParseOptions(Local<Value> js_value) { in ParseOptions() argument
750 if (!js_value->IsObject()) return Just<int>(UV_EINVAL); in ParseOptions()
753 Local<Object> js_options = js_value.As<Object>(); in ParseOptions()
853 int SyncProcessRunner::ParseStdioOptions(Local<Value> js_value) { in ParseStdioOptions() argument
857 if (!js_value->IsArray()) in ParseStdioOptions()
861 js_stdio_options = js_value.As<Array>(); in ParseStdioOptions()
989 Maybe<int> SyncProcessRunner::CopyJsString(Local<Value> js_value, in CopyJsString() argument
996 if (js_value->IsString()) in CopyJsString()
997 js_string = js_value.As<String>(); in CopyJsString()
998 else if (!js_value->ToString(env()->isolate()->GetCurrentContext()) in CopyJsString()
1016 Maybe<int> SyncProcessRunner::CopyJsStringArray(Local<Value> js_value, in CopyJsStringArray() argument
1025 if (!js_value->IsArray()) return Just<int>(UV_EINVAL); in CopyJsStringArray()
1028 js_array = js_value.As<Array>()->Clone().As<Array>(); in CopyJsStringArray()