Lines Matching defs:value

413     Local<Value> value =
415 if (value->IsArray()) {
416 Local<Array> v8_array = value.As<Array>();
631 std::is_same<T, Module>::value ? v8::ScriptType::kModule
831 // the returned value.
1460 // Treat every line as a JSON value and parse it.
1484 Local<Value> value;
1485 if (!maybe_value.ToLocal(&value)) {
1573 Local<v8::Value> value = std::get<2>(tuple).Get(isolate_);
1574 Shell::ReportException(isolate_, message, value);
1693 Local<Value> value = TryGetValue(isolate, context, object, "detailed")
1695 if (value.IsEmpty()) {
1699 if (value->IsBoolean() && value->BooleanValue(isolate)) {
1941 // Realm.shared is an accessor for a single shared value across realms.
1950 void Shell::RealmSharedSet(Local<String> property, Local<Value> value,
1954 data->realm_shared_.Reset(isolate, value);
1975 Local<Value> value;
1977 if (!exports_array->Get(current_context, i).ToLocal(&value) ||
1978 !value->ToString(current_context).ToLocal(&str) || str.IsEmpty()) {
2410 Local<Value> value;
2411 if (!TryGetValue(isolate, context, object, "type").ToLocal(&value)) {
2415 if (!value->IsString()) {
2420 value->ToString(context).ToLocalChecked();
2624 Local<Value> value;
2625 if (Shell::DeserializeValue(isolate, std::move(data)).ToLocal(&value)) {
2626 args.GetReturnValue().Set(value);
2695 // this function is implemented in a way that requires passing some magic value
2697 // generate this value) which then also acts as a selector for the operation
2754 // Converts a V8 value to a C string.
2755 auto ToCString = [](const v8::String::Utf8Value& value) {
2756 return *value ? *value : "<string conversion failed>";
2895 // Turn a value into a human-readable string.
2896 Local<String> Shell::Stringify(Isolate* isolate, Local<Value> value) {
2910 Local<Value> argv[1] = {value};
3208 // Converts a V8 value to a C string.
3209 auto ToCString = [](const v8::String::Utf8Value& value) {
3210 return *value ? *value : "<string conversion failed>";
3484 // Dump counters as name-value pairs.
3601 // Use-of-uninitialized-value caught by MSAN.
3797 Local<Value> value = exception->Get(context, key).ToLocalChecked();
3798 DCHECK(value->StrictEquals(expected));
4242 Local<Value> value;
4243 if (Shell::DeserializeValue(isolate_, std::move(data)).ToLocal(&value)) {
4244 Local<Value> argv[] = {value};
4390 // On Windows wchar_t must be a 16-bit value.
4511 const char* value = argv[i] + 7;
4512 if (!*value || strncmp(value, "=code", 6) == 0) {
4516 } else if (strncmp(value, "=none", 6) == 0) {
4520 } else if (strncmp(value, "=after-execute", 15) == 0) {
4524 } else if (strncmp(value, "=full-code-cache", 17) == 0) {
4792 void Shell::SetWaitUntilDone(Isolate* isolate, bool value) {
4794 isolate_status_[isolate] = value;
4923 Maybe<bool> WriteValue(Local<Context> context, Local<Value> value,
4933 if (!serializer_.WriteValue(context, value).To(&ok)) {
5191 * Indicate the number of the run which is about to start. The value of run
5219 Isolate* isolate, Local<Value> value, Local<Value> transfer) {
5224 if (serializer.WriteValue(context, value, transfer).To(&ok)) {
5232 Local<Value> value;