Searched refs:js_value (Results 1 – 8 of 8) sorted by relevance
745 Maybe<int> SyncProcessRunner::ParseOptions(Local<Value> js_value) { in ParseOptions() argument750 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() argument857 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() argument996 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()[all …]
177 v8::Maybe<int> ParseOptions(v8::Local<v8::Value> js_value);178 int ParseStdioOptions(v8::Local<v8::Value> js_value);189 v8::Maybe<int> CopyJsString(v8::Local<v8::Value> js_value,191 v8::Maybe<int> CopyJsStringArray(v8::Local<v8::Value> js_value,
53 Local<BigInt> js_value = (input).As<BigInt>(); \55 (result) = js_value->type ## Value(&lossless); \
175 assert_number (jerry_value_t js_value, double expected_result) in assert_number() argument177 TEST_ASSERT (!jerry_value_is_error (js_value)); in assert_number()178 TEST_ASSERT (jerry_get_number_value (js_value) == expected_result); in assert_number()
294 Handle<JSPrimitiveWrapper> js_value = in GetInternalProperties() local300 handle(js_value->value(), isolate)); in GetInternalProperties()
1013 Handle<JSPrimitiveWrapper> js_value = in CollectElementIndices() local1015 DCHECK(js_value->value().IsString()); in CollectElementIndices()1016 Handle<String> string(String::cast(js_value->value()), isolate); in CollectElementIndices()
1527 JSPrimitiveWrapper js_value = JSPrimitiveWrapper::cast(holder); in TryGetOwnConstantElement() local1528 String wrapped_string = String::cast(js_value.value()); in TryGetOwnConstantElement()
5103 JSPrimitiveWrapper js_value = JSPrimitiveWrapper::cast(holder); in GetString() local5104 DCHECK(js_value.value().IsString()); in GetString()5105 return String::cast(js_value.value()); in GetString()