Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Dliveedit.h93 static void SetFunctionScript(Handle<JSValue> function_wrapper,
108 static void ReplaceRefToNestedFunction(Handle<JSValue> parent_function_shared,
109 Handle<JSValue> orig_function_shared,
110 Handle<JSValue> subst_function_shared);
354 return Handle<JSValue>::cast(element)->value()->IsSharedFunctionInfo(); in IsInstance()
Dliveedit.cc576 static Handle<Object> UnwrapJSValue(Handle<JSValue> jsValue) { in UnwrapJSValue()
583 static Handle<JSValue> WrapInJSValue(Handle<HeapObject> object) { in WrapInJSValue()
586 Handle<JSValue> result = in WrapInJSValue()
587 Handle<JSValue>::cast(isolate->factory()->NewJSObject(constructor)); in WrapInJSValue()
594 Handle<JSValue> jsValue) { in UnwrapSharedFunctionInfoFromJSValue()
628 Handle<JSValue> code_wrapper = WrapInJSValue(function_code); in SetFunctionCode()
631 Handle<JSValue> scope_wrapper = WrapInJSValue(code_scope_info); in SetFunctionCode()
638 Handle<JSValue> info_holder = WrapInJSValue(info); in SetSharedFunctionInfo()
645 Handle<JSValue> value_wrapper = Handle<JSValue>::cast(element); in GetFunctionCode()
656 Handle<JSValue> value_wrapper = Handle<JSValue>::cast(element); in GetFeedbackVector()
[all …]
Daccessors.cc207 Handle<JSValue> wrapper = Handle<JSValue>::cast(value); in FlattenNumber()
308 value = JSValue::cast(*Utils::OpenHandle(*info.Holder()))->value(); in StringLengthGetter()
345 Object* res = Script::cast(JSValue::cast(object)->value())->column_offset(); in ScriptColumnOffsetGetter()
382 Object* id = Script::cast(JSValue::cast(object)->value())->id(); in ScriptIdGetter()
419 Object* source = Script::cast(JSValue::cast(object)->value())->name(); in ScriptNameGetter()
454 Object* source = Script::cast(JSValue::cast(object)->value())->source(); in ScriptSourceGetter()
489 Object* res = Script::cast(JSValue::cast(object)->value())->line_offset(); in ScriptLineOffsetGetter()
526 Object* res = Script::cast(JSValue::cast(object)->value())->type(); in ScriptTypeGetter()
564 Script::cast(JSValue::cast(object)->value())->compilation_type()); in ScriptCompilationTypeGetter()
601 Script::cast(Handle<JSValue>::cast(object)->value()), isolate); in ScriptLineEndsGetter()
[all …]
Djson-stringifier.h118 Result SerializeJSValue(Handle<JSValue> object);
156 Handle<JSValue> accumulator_store_;
245 accumulator_store_ = Handle<JSValue>::cast( in BasicJsonStringifier()
438 return SerializeJSValue(Handle<JSValue>::cast(object)); in Serialize_()
497 Handle<JSValue> object) { in SerializeJSValue()
512 Object* value = JSValue::cast(*object)->value(); in SerializeJSValue()
Dbootstrapper.cc955 InstallFunction(global, "Number", JS_VALUE_TYPE, JSValue::kSize, in InitializeGlobal()
963 InstallFunction(global, "Boolean", JS_VALUE_TYPE, JSValue::kSize, in InitializeGlobal()
971 InstallFunction(global, "String", JS_VALUE_TYPE, JSValue::kSize, in InitializeGlobal()
996 global, "Symbol", JS_VALUE_TYPE, JSValue::kSize, in InitializeGlobal()
1696 builtins, "Script", JS_VALUE_TYPE, JSValue::kSize, in InstallNatives()
1838 builtins, "OpaqueReference", JS_VALUE_TYPE, JSValue::kSize, in InstallNatives()
Dobjects-printer.cc125 JSValue::cast(this)->value()->Print(os); in HeapObjectPrint()
556 void JSValue::JSValuePrint(OStream& os) { // NOLINT in JSValuePrint()
Dobjects-debug.cc105 JSValue::cast(this)->JSValueVerify(); in HeapObjectVerify()
417 void JSValue::JSValueVerify() { in JSValueVerify()
Dstring-stream.cc412 Add(" value(): %o\n", JSValue::cast(printee)->value()); in PrintMentionedObjectCache()
Dapi.cc2077 i::Handle<i::JSValue> script_value = in GetScriptOrigin()
2078 i::Handle<i::JSValue>::cast(script_wraper); in GetScriptOrigin()
2212 i::Handle<i::JSValue> script = in IsSharedCrossOrigin()
2213 i::Handle<i::JSValue>::cast(i::Handle<i::Object>(message->script(), in IsSharedCrossOrigin()
5619 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
5642 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
5662 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
5682 i::Handle<i::JSValue> jsvalue = i::Handle<i::JSValue>::cast(obj); in ValueOf()
Druntime.cc4807 Handle<JSValue> js_value = Handle<JSValue>::cast(object); in GetElementOrCharAt()
12813 CONVERT_ARG_HANDLE_CHECKED(JSValue, wrapper, 0); in RUNTIME_FUNCTION()
13385 CONVERT_ARG_HANDLE_CHECKED(JSValue, script_wrapper, 0); in RUNTIME_FUNCTION()
13483 CONVERT_ARG_CHECKED(JSValue, script_value, 0); in RUNTIME_FUNCTION()
13528 CONVERT_ARG_CHECKED(JSValue, script, 0); in RUNTIME_FUNCTION()
13548 CONVERT_ARG_CHECKED(JSValue, original_script_value, 0); in RUNTIME_FUNCTION()
13602 Handle<JSValue> function_wrapper = Handle<JSValue>::cast(function_object); in RUNTIME_FUNCTION()
13604 RUNTIME_ASSERT(JSValue::cast(*script_object)->value()->IsScript()); in RUNTIME_FUNCTION()
13605 Script* script = Script::cast(JSValue::cast(*script_object)->value()); in RUNTIME_FUNCTION()
13626 CONVERT_ARG_HANDLE_CHECKED(JSValue, parent_wrapper, 0); in RUNTIME_FUNCTION()
[all …]
Dobjects-inl.h792 TYPE_CHECKER(JSValue, JS_VALUE_TYPE) in TYPE_CHECKER()
798 return IsJSValue() && JSValue::cast(this)->value()->IsString(); in TYPE_CHECKER()
1939 return JSValue::kSize; in GetHeaderSize()
2138 JSValue* js_value = JSValue::cast(this); in IsStringObjectWithCharacterAt()
3215 CAST_ACCESSOR(JSValue) in CAST_ACCESSOR()
6090 ACCESSORS(JSValue, value, Object, kValueOffset) in ACCESSORS()
Dobjects.h944 V(JSValue) \
7531 class JSValue: public JSObject {
7536 DECLARE_CAST(JSValue)
7539 DECLARE_PRINTER(JSValue)
7540 DECLARE_VERIFIER(JSValue)
7547 DISALLOW_IMPLICIT_CONSTRUCTORS(JSValue);
Dobjects.cc82 Handle<JSValue>::cast(result)->set_value(*object); in ToObject()
1274 JSValue::cast(this)->value()->ShortPrint(accumulator); in JSObjectShortPrint()
9709 JSValue* wrapper = JSValue::cast(*location); in ClearWrapperCacheWeakCallback()
9727 return Handle<JSValue>( in GetWrapper()
9728 *reinterpret_cast<JSValue**>(script->wrapper()->foreign_address())); in GetWrapper()
9734 Handle<JSValue> result = in GetWrapper()
9735 Handle<JSValue>::cast(isolate->factory()->NewJSObject(constructor)); in GetWrapper()
13506 Object* val = JSValue::cast(this)->value(); in GetOwnElementKeys()
/external/chromium_org/v8/src/x87/
Dbuiltins-x87.cc1160 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
1171 JSValue::kSize >> kPointerSizeLog2); in Generate_StringConstructCode()
1185 __ mov(FieldOperand(eax, JSValue::kValueOffset), ebx); in Generate_StringConstructCode()
1188 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
Dfull-codegen-x87.cc3378 __ mov(eax, FieldOperand(eax, JSValue::kValueOffset)); in EmitValueOf()
3528 __ mov(FieldOperand(ebx, JSValue::kValueOffset), eax); in EmitSetValueOf()
3533 __ RecordWriteField(ebx, JSValue::kValueOffset, edx, ecx, kDontSaveFPRegs); in EmitSetValueOf()
/external/chromium_org/v8/src/arm64/
Dbuiltins-arm64.cc184 __ Allocate(JSValue::kSize, new_obj, x10, x11, &gc_required, TAG_OBJECT); in Generate_StringConstructCode()
191 __ Cmp(x4, JSValue::kSize >> kPointerSizeLog2); in Generate_StringConstructCode()
204 __ Str(argument, FieldMemOperand(new_obj, JSValue::kValueOffset)); in Generate_StringConstructCode()
207 STATIC_ASSERT(JSValue::kSize == (4 * kPointerSize)); in Generate_StringConstructCode()
Dfull-codegen-arm64.cc3160 __ Ldr(x0, FieldMemOperand(x0, JSValue::kValueOffset)); in EmitValueOf()
3302 __ Str(x0, FieldMemOperand(x1, JSValue::kValueOffset)); in EmitSetValueOf()
3307 x1, JSValue::kValueOffset, x10, x11, kLRHasBeenSaved, kDontSaveFPRegs); in EmitSetValueOf()
/external/chromium_org/v8/src/x64/
Dbuiltins-x64.cc1233 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
1244 Immediate(JSValue::kSize >> kPointerSizeLog2)); in Generate_StringConstructCode()
1257 __ movp(FieldOperand(rax, JSValue::kValueOffset), rbx); in Generate_StringConstructCode()
1260 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
Dfull-codegen-x64.cc3378 __ movp(rax, FieldOperand(rax, JSValue::kValueOffset)); in EmitValueOf()
3527 __ movp(FieldOperand(rbx, JSValue::kValueOffset), rax); in EmitSetValueOf()
3531 __ RecordWriteField(rbx, JSValue::kValueOffset, rdx, rcx, kDontSaveFPRegs); in EmitSetValueOf()
/external/chromium_org/v8/src/ia32/
Dbuiltins-ia32.cc1160 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
1171 JSValue::kSize >> kPointerSizeLog2); in Generate_StringConstructCode()
1185 __ mov(FieldOperand(eax, JSValue::kValueOffset), ebx); in Generate_StringConstructCode()
1188 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
Dfull-codegen-ia32.cc3388 __ mov(eax, FieldOperand(eax, JSValue::kValueOffset)); in EmitValueOf()
3539 __ mov(FieldOperand(ebx, JSValue::kValueOffset), eax); in EmitSetValueOf()
3544 __ RecordWriteField(ebx, JSValue::kValueOffset, edx, ecx, kDontSaveFPRegs); in EmitSetValueOf()
/external/chromium_org/v8/src/mips64/
Dbuiltins-mips64.cc194 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
207 a4, Operand(JSValue::kSize >> kPointerSizeLog2)); in Generate_StringConstructCode()
218 __ sd(argument, FieldMemOperand(v0, JSValue::kValueOffset)); in Generate_StringConstructCode()
221 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
/external/chromium_org/v8/src/arm/
Dbuiltins-arm.cc186 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
198 __ cmp(r4, Operand(JSValue::kSize >> kPointerSizeLog2)); in Generate_StringConstructCode()
210 __ str(argument, FieldMemOperand(r0, JSValue::kValueOffset)); in Generate_StringConstructCode()
213 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
/external/chromium_org/v8/src/mips/
Dbuiltins-mips.cc195 __ Allocate(JSValue::kSize, in Generate_StringConstructCode()
208 t0, Operand(JSValue::kSize >> kPointerSizeLog2)); in Generate_StringConstructCode()
219 __ sw(argument, FieldMemOperand(v0, JSValue::kValueOffset)); in Generate_StringConstructCode()
222 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode()
/external/pdfium/fpdfsdk/include/javascript/
DJS_Define.h10 typedef v8::Value JSValue; typedef

12