Home
last modified time | relevance | path

Searched refs:js_value (Results 1 – 8 of 8) sorted by relevance

/third_party/node/src/
Dspawn_sync.cc745 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()
[all …]
Dspawn_sync.h177 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,
Dnode_wasi.cc53 Local<BigInt> js_value = (input).As<BigInt>(); \
55 (result) = js_value->type ## Value(&lossless); \
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c175 assert_number (jerry_value_t js_value, double expected_result) in assert_number() argument
177 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()
/third_party/node/deps/v8/src/runtime/
Druntime-debug.cc294 Handle<JSPrimitiveWrapper> js_value = in GetInternalProperties() local
300 handle(js_value->value(), isolate)); in GetInternalProperties()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-array.cc1013 Handle<JSPrimitiveWrapper> js_value = in CollectElementIndices() local
1015 DCHECK(js_value->value().IsString()); in CollectElementIndices()
1016 Handle<String> string(String::cast(js_value->value()), isolate); in CollectElementIndices()
/third_party/node/deps/v8/src/objects/
Dlookup.cc1527 JSPrimitiveWrapper js_value = JSPrimitiveWrapper::cast(holder); in TryGetOwnConstantElement() local
1528 String wrapped_string = String::cast(js_value.value()); in TryGetOwnConstantElement()
Delements.cc5103 JSPrimitiveWrapper js_value = JSPrimitiveWrapper::cast(holder); in GetString() local
5104 DCHECK(js_value.value().IsString()); in GetString()
5105 return String::cast(js_value.value()); in GetString()