Home
last modified time | relevance | path

Searched refs:JSValue (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/builtins/
Dbuiltins-number.cc29 value = handle(Handle<JSValue>::cast(value)->value(), isolate); in BUILTIN()
74 value = handle(Handle<JSValue>::cast(value)->value(), isolate); in BUILTIN()
118 value = handle(Handle<JSValue>::cast(value)->value(), isolate); in BUILTIN()
148 value = handle(Handle<JSValue>::cast(value)->value(), isolate); in BUILTIN()
193 value = handle(Handle<JSValue>::cast(value)->value(), isolate); in BUILTIN()
Dbuiltins-boolean.cc31 Handle<JSValue>::cast(result)->set_value( in BUILTIN()
Dbuiltins-conversion-gen.cc384 Node* js_value = Allocate(JSValue::kSize); in TF_BUILTIN()
386 StoreObjectFieldRoot(js_value, JSValue::kPropertiesOrHashOffset, in TF_BUILTIN()
390 StoreObjectField(js_value, JSValue::kValueOffset, object); in TF_BUILTIN()
Dbuiltins-bigint.cc83 Object* data = JSValue::cast(*value)->value(); in ThisBigIntValue()
Dbuiltins-constructor-gen.cc728 StoreObjectField(result, JSValue::kValueOffset, n_value); in TF_BUILTIN()
795 StoreObjectField(result, JSValue::kValueOffset, s_value); in TF_BUILTIN()
Dbuiltins-array.cc939 Handle<JSValue> js_value = Handle<JSValue>::cast(object); in CollectElementIndices()
Dbuiltins-string-gen.cc2410 StoreObjectFieldRoot(iterator, JSValue::kPropertiesOrHashOffset, in TF_BUILTIN()
/external/v8/src/
Dvalue-serializer.h32 class JSValue; variable
129 Maybe<bool> WriteJSValue(Handle<JSValue> value) V8_WARN_UNUSED_RESULT;
273 MaybeHandle<JSValue> ReadJSValue(SerializationTag tag) V8_WARN_UNUSED_RESULT;
Dvalue-serializer.cc507 return WriteJSValue(Handle<JSValue>::cast(receiver)); in WriteJSReceiver()
721 Maybe<bool> ValueSerializer::WriteJSValue(Handle<JSValue> value) { in WriteJSValue()
1507 MaybeHandle<JSValue> ValueDeserializer::ReadJSValue(SerializationTag tag) { in ReadJSValue()
1509 Handle<JSValue> value; in ReadJSValue()
1512 value = Handle<JSValue>::cast(isolate_->factory()->NewJSObject( in ReadJSValue()
1517 value = Handle<JSValue>::cast(isolate_->factory()->NewJSObject( in ReadJSValue()
1523 if (!ReadDouble().To(&number)) return MaybeHandle<JSValue>(); in ReadJSValue()
1524 value = Handle<JSValue>::cast(isolate_->factory()->NewJSObject( in ReadJSValue()
1533 if (!ReadBigInt().ToHandle(&bigint)) return MaybeHandle<JSValue>(); in ReadJSValue()
1534 value = Handle<JSValue>::cast(isolate_->factory()->NewJSObject( in ReadJSValue()
[all …]
Djson-stringifier.cc75 Result SerializeJSValue(Handle<JSValue> object);
243 Handle<Object> value(Handle<JSValue>::cast(element)->value(), isolate_); in InitializeReplacer()
267 Handle<Object> value(Handle<JSValue>::cast(gap)->value(), isolate_); in InitializeGap()
447 return SerializeJSValue(Handle<JSValue>::cast(object)); in Serialize_()
471 Handle<JSValue> object) { in SerializeJSValue()
Dobjects-inl.h361 return IsJSValue() && JSValue::cast(this)->value()->IsString(); in IsStringWrapper()
365 return IsJSValue() && JSValue::cast(this)->value()->IsBoolean(); in IsBooleanWrapper()
369 return IsJSValue() && JSValue::cast(this)->value()->IsScript(); in IsScriptWrapper()
373 return IsJSValue() && JSValue::cast(this)->value()->IsNumber(); in IsNumberWrapper()
377 return IsJSValue() && JSValue::cast(this)->value()->IsBigInt(); in IsBigIntWrapper()
381 return IsJSValue() && JSValue::cast(this)->value()->IsSymbol(); in IsSymbolWrapper()
501 CAST_ACCESSOR(JSValue) in CAST_ACCESSOR()
2497 ACCESSORS(JSValue, value, Object, kValueOffset) in ACCESSORS() argument
Dobjects.h845 V(JSValue) \
992 V(JSValue, JS_VALUE_TYPE) \
3453 class JSValue: public JSObject {
3458 DECL_CAST(JSValue)
3461 DECL_PRINTER(JSValue)
3462 DECL_VERIFIER(JSValue)
3469 DISALLOW_IMPLICIT_CONSTRUCTORS(JSValue);
Dbootstrapper.cc1815 isolate_, global, "Number", JS_VALUE_TYPE, JSValue::kSize, 0, in InitializeGlobal()
1825 Handle<JSValue> prototype = in InitializeGlobal()
1826 Handle<JSValue>::cast(factory->NewJSObject(number_fun, TENURED)); in InitializeGlobal()
1934 isolate_, global, "Boolean", JS_VALUE_TYPE, JSValue::kSize, 0, in InitializeGlobal()
1942 Handle<JSValue> prototype = in InitializeGlobal()
1943 Handle<JSValue>::cast(factory->NewJSObject(boolean_fun, TENURED)); in InitializeGlobal()
1960 isolate_, global, "String", JS_VALUE_TYPE, JSValue::kSize, 0, in InitializeGlobal()
1996 Handle<JSValue> prototype = in InitializeGlobal()
1997 Handle<JSValue>::cast(factory->NewJSObject(string_fun, TENURED)); in InitializeGlobal()
2147 isolate_, global, "Symbol", JS_VALUE_TYPE, JSValue::kSize, 0, in InitializeGlobal()
[all …]
Dstring-stream.cc383 Add(" value(): %o\n", JSValue::cast(printee)->value()); in PrintMentionedObjectCache()
Dobjects-debug.cc246 JSValue::cast(this)->JSValueVerify(isolate); in HeapObjectVerify()
825 void JSValue::JSValueVerify(Isolate* isolate) { in JSValueVerify()
Dobjects-printer.cc232 JSValue::cast(this)->JSValuePrint(os); in HeapObjectPrint()
1143 void JSValue::JSValuePrint(std::ostream& os) { // NOLINT in JSValuePrint()
Daccessors.cc297 value = JSValue::cast(*Utils::OpenHandle(*info.Holder()))->value(); in StringLengthGetter()
Dlookup.cc224 Handle<JSValue>::cast(result)->set_value(*receiver); in GetRootForNonJSReceiver()
Dapi.cc6827 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
6846 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
6869 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
6895 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
6915 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
Delements.cc4397 JSValue* js_value = JSValue::cast(holder); in GetString()
/external/v8/src/runtime/
Druntime-debug.cc277 Handle<JSValue> js_value = Handle<JSValue>::cast(object); in GetInternalProperties()
Druntime-array.cc172 int len = String::cast(Handle<JSValue>::cast(object)->value())->length(); in RemoveArrayHoles()
479 String::cast(Handle<JSValue>::cast(array)->value())->length(); in RUNTIME_FUNCTION()
Druntime-object.cc913 return JSValue::cast(obj)->value(); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dmap-inl.h364 if (value >= JSValue::kFieldsAdded) { in CopyUnusedPropertyFieldsAdjustedForInstanceSize()
/external/v8/src/compiler/
Daccess-builder.cc794 FieldAccess access = {kTaggedBase, JSValue::kValueOffset, in ForValue()

12