/external/v8/src/ |
D | accessors.h | 81 MUST_USE_RESULT static MaybeObject* FunctionGetPrototype(Object* object, 83 MUST_USE_RESULT static MaybeObject* FunctionSetPrototype(JSObject* object, 86 static MaybeObject* FunctionGetArguments(Object* object, void*); 90 static MaybeObject* FunctionGetLength(Object* object, void*); 91 static MaybeObject* FunctionGetName(Object* object, void*); 92 static MaybeObject* FunctionGetCaller(Object* object, void*); 93 MUST_USE_RESULT static MaybeObject* ArraySetLength(JSObject* object, 95 static MaybeObject* ArrayGetLength(Object* object, void*); 96 static MaybeObject* StringGetLength(Object* object, void*); 97 static MaybeObject* ScriptGetName(Object* object, void*); [all …]
|
D | heap.h | 529 MUST_USE_RESULT MaybeObject* AllocateJSObject( 533 MUST_USE_RESULT MaybeObject* AllocateEmptyJSArray( 543 MUST_USE_RESULT MaybeObject* AllocateJSArrayAndStorage( 551 MUST_USE_RESULT MaybeObject* AllocateJSArrayWithElements( 560 MUST_USE_RESULT MaybeObject* AllocateGlobalObject(JSFunction* constructor); 565 MUST_USE_RESULT MaybeObject* CopyJSObject(JSObject* source); 571 MUST_USE_RESULT MaybeObject* AllocateFunctionPrototype(JSFunction* function); 577 MUST_USE_RESULT MaybeObject* AllocateJSProxy(Object* handler, 580 MUST_USE_RESULT MaybeObject* AllocateJSFunctionProxy(Object* handler, 590 MUST_USE_RESULT MaybeObject* ReinitializeJSReceiver(JSReceiver* object, [all …]
|
D | accessors.cc | 58 MaybeObject* Accessors::IllegalSetter(JSObject*, Object*, void*) { in IllegalSetter() 70 MaybeObject* Accessors::ReadOnlySetAccessor(JSObject*, Object* value, void*) { in ReadOnlySetAccessor() 82 MaybeObject* Accessors::ArrayGetLength(Object* object, void*) { in ArrayGetLength() 104 MaybeObject* Accessors::ArraySetLength(JSObject* object, Object* value, void*) { in ArraySetLength() 151 MaybeObject* Accessors::StringGetLength(Object* object, void*) { in StringGetLength() 173 MaybeObject* Accessors::ScriptGetSource(Object* object, void*) { in ScriptGetSource() 191 MaybeObject* Accessors::ScriptGetName(Object* object, void*) { in ScriptGetName() 209 MaybeObject* Accessors::ScriptGetId(Object* object, void*) { in ScriptGetId() 227 MaybeObject* Accessors::ScriptGetLineOffset(Object* object, void*) { in ScriptGetLineOffset() 245 MaybeObject* Accessors::ScriptGetColumnOffset(Object* object, void*) { in ScriptGetColumnOffset() [all …]
|
D | heap.cc | 1627 MaybeObject* maybe_result; in EvacuateObject() 1659 MaybeObject* allocation = heap->new_space()->AllocateRaw(object_size); in EvacuateObject() 1875 MaybeObject* Heap::AllocatePartialMap(InstanceType instance_type, in AllocatePartialMap() 1878 { MaybeObject* maybe_result = AllocateRawMap(); in AllocatePartialMap() 1897 MaybeObject* Heap::AllocateMap(InstanceType instance_type, in AllocateMap() 1901 { MaybeObject* maybe_result = AllocateRawMap(); in AllocateMap() 1933 MaybeObject* Heap::AllocateCodeCache() { in AllocateCodeCache() 1935 { MaybeObject* maybe_code_cache = AllocateStruct(CODE_CACHE_TYPE); in AllocateCodeCache() 1944 MaybeObject* Heap::AllocatePolymorphicCodeCache() { in AllocatePolymorphicCodeCache() 1949 MaybeObject* Heap::AllocateAccessorPair() { in AllocateAccessorPair() [all …]
|
D | liveobjectlist.h | 90 static MaybeObject* Capture(); 92 static MaybeObject* Dump(int id1, 97 static MaybeObject* Info(int start_idx, int dump_limit); 98 static MaybeObject* Summarize(int id1, int id2, Handle<JSObject> filter_obj); 104 static MaybeObject* GetObjRetainers(int obj_id, 145 static MaybeObject* DumpPrivate(DumpWriter* writer, 149 static MaybeObject* SummarizePrivate(SummaryWriter* writer, 274 inline static MaybeObject* Capture() { return HEAP->undefined_value(); } 276 inline static MaybeObject* Dump(int id1, 283 inline static MaybeObject* Info(int start_idx, int dump_limit) { [all …]
|
D | elements.h | 63 virtual MaybeObject* Get(Object* receiver, 73 virtual MaybeObject* SetLength(JSArray* holder, 82 virtual MaybeObject* SetCapacityAndLength(JSArray* array, 87 virtual MaybeObject* Delete(JSObject* holder, 104 virtual MaybeObject* CopyElements(JSObject* source_holder, 112 MaybeObject* CopyElements(JSObject* from_holder, 120 virtual MaybeObject* AddElementsToFixedArray(Object* receiver,
|
D | elements.cc | 230 MUST_USE_RESULT static MaybeObject* CopyDoubleToObjectElements( in CopyDoubleToObjectElements() 262 MaybeObject* maybe_value = from->get(i + from_start); in CopyDoubleToObjectElements() 273 MaybeObject* maybe_value_object = in CopyDoubleToObjectElements() 411 MaybeObject* element = in HasElementImpl() 427 virtual MaybeObject* Get(Object* receiver, in Get() 438 static MaybeObject* GetImpl(Object* receiver, in GetImpl() 447 virtual MaybeObject* SetLength(JSArray* array, in SetLength() 453 static MaybeObject* SetLengthImpl(JSObject* obj, 457 virtual MaybeObject* SetCapacityAndLength(JSArray* array, in SetCapacityAndLength() 466 static MaybeObject* SetFastElementsCapacityAndLength(JSObject* obj, in SetFastElementsCapacityAndLength() [all …]
|
D | objects.h | 723 class MaybeObject BASE_EMBEDDED { 860 class Object : public MaybeObject { 906 MUST_USE_RESULT MaybeObject* ToObject(); // ECMA-262 9.9. 911 MUST_USE_RESULT MaybeObject* ToObject(Context* global_context); 915 MUST_USE_RESULT inline MaybeObject* ToSmi(); 920 MUST_USE_RESULT inline MaybeObject* GetProperty(String* key); 921 MUST_USE_RESULT inline MaybeObject* GetProperty( 924 MUST_USE_RESULT MaybeObject* GetPropertyWithReceiver( 935 MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, 940 MUST_USE_RESULT MaybeObject* GetPropertyWithDefinedGetter(Object* receiver, [all …]
|
D | runtime.cc | 139 MUST_USE_RESULT static MaybeObject* DeepCopyBoilerplate(Isolate* isolate, in DeepCopyBoilerplate() 146 { MaybeObject* maybe_result = heap->CopyJSObject(boilerplate); in DeepCopyBoilerplate() 158 { MaybeObject* maybe_result = DeepCopyBoilerplate(isolate, js_object); in DeepCopyBoilerplate() 169 { MaybeObject* maybe_result = DeepCopyBoilerplate(isolate, js_object); in DeepCopyBoilerplate() 176 { MaybeObject* maybe_result = in DeepCopyBoilerplate() 195 { MaybeObject* maybe_result = DeepCopyBoilerplate(isolate, js_object); in DeepCopyBoilerplate() 198 { MaybeObject* maybe_result = in DeepCopyBoilerplate() 229 { MaybeObject* maybe_result = DeepCopyBoilerplate(isolate, in DeepCopyBoilerplate() 248 { MaybeObject* maybe_result = DeepCopyBoilerplate(isolate, in DeepCopyBoilerplate() 438 MaybeObject* TransitionElements(Handle<Object> object, in TransitionElements() [all …]
|
D | objects.cc | 65 MUST_USE_RESULT static MaybeObject* CreateJSValue(JSFunction* constructor, in CreateJSValue() 68 { MaybeObject* maybe_result = in CreateJSValue() 77 MaybeObject* Object::ToObject(Context* global_context) { in ToObject() 90 MaybeObject* Object::ToObject() { in ToObject() 156 MaybeObject* Object::GetPropertyWithReceiver(Object* receiver, in GetPropertyWithReceiver() 161 MaybeObject* value = GetProperty(receiver, &result, name, attributes); in GetPropertyWithReceiver() 167 MaybeObject* JSObject::GetPropertyWithCallback(Object* receiver, in GetPropertyWithCallback() 178 MaybeObject* value = (callback->getter)(receiver, callback->data); in GetPropertyWithCallback() 223 MaybeObject* JSProxy::GetPropertyWithHandler(Object* receiver_raw, in GetPropertyWithHandler() 247 MaybeObject* JSProxy::GetElementWithHandler(Object* receiver, in GetElementWithHandler() [all …]
|
D | heap-inl.h | 85 MaybeObject* Heap::AllocateStringFromUtf8(Vector<const char> str, in AllocateStringFromUtf8() 98 MaybeObject* Heap::AllocateSymbol(Vector<const char> str, in AllocateSymbol() 107 MaybeObject* Heap::AllocateAsciiSymbol(Vector<const char> str, in AllocateAsciiSymbol() 118 { MaybeObject* maybe_result = (size > Page::kMaxNonCodeHeapObjectSize) in AllocateAsciiSymbol() 141 MaybeObject* Heap::AllocateTwoByteSymbol(Vector<const uc16> str, in AllocateTwoByteSymbol() 152 { MaybeObject* maybe_result = (size > Page::kMaxNonCodeHeapObjectSize) in AllocateTwoByteSymbol() 173 MaybeObject* Heap::CopyFixedArray(FixedArray* src) { in CopyFixedArray() 178 MaybeObject* Heap::CopyFixedDoubleArray(FixedDoubleArray* src) { in CopyFixedDoubleArray() 183 MaybeObject* Heap::AllocateRaw(int size_in_bytes, in AllocateRaw() 200 MaybeObject* result; in AllocateRaw() [all …]
|
D | builtins.cc | 128 MUST_USE_RESULT static MaybeObject* Builtin_Impl_##name( \ 130 MUST_USE_RESULT static MaybeObject* Builtin_##name( \ 136 MUST_USE_RESULT static MaybeObject* Builtin_Impl_##name( \ 142 static MaybeObject* Builtin_##name(name##ArgumentsType args, Isolate* isolate) 188 static MaybeObject* ArrayCodeGenericCommon(Arguments* args, in ArrayCodeGenericCommon() 210 MaybeObject* maybe_obj = heap->AllocateJSObject(constructor); in ArrayCodeGenericCommon() 222 { MaybeObject* maybe_obj = heap->AllocateFixedArrayWithHoles(len); in ArrayCodeGenericCommon() 232 { MaybeObject* maybe_obj = array->Initialize(0); in ArrayCodeGenericCommon() 245 MaybeObject* maybe_object = in ArrayCodeGenericCommon() 251 MaybeObject* maybe_elms; in ArrayCodeGenericCommon() [all …]
|
D | liveedit.h | 92 MUST_USE_RESULT static MaybeObject* ReplaceFunctionCode( 96 static MaybeObject* FunctionSourceUpdated(Handle<JSArray> shared_info_array); 102 MUST_USE_RESULT static MaybeObject* PatchFunctionPositions(
|
D | compilation-cache.h | 105 MUST_USE_RESULT MaybeObject* TryTablePut( 153 MUST_USE_RESULT MaybeObject* TryTablePut( 182 MUST_USE_RESULT MaybeObject* TryTablePut(Handle<String> source,
|
D | objects-inl.h | 470 bool MaybeObject::IsFailure() { in TYPE_CHECKER() 475 bool MaybeObject::IsRetryAfterGC() { in IsRetryAfterGC() 481 bool MaybeObject::IsOutOfMemory() { in IsOutOfMemory() 487 bool MaybeObject::IsException() { in IsException() 492 bool MaybeObject::IsTheHole() { in IsTheHole() 497 Failure* Failure::cast(MaybeObject* obj) { in cast() 818 MaybeObject* Object::ToSmi() { in ToSmi() 836 MaybeObject* Object::GetElement(uint32_t index) { in GetElement() 846 MaybeObject* maybe = GetElementWithReceiver(this, index); in GetElementNoExceptionThrown() 854 MaybeObject* Object::GetProperty(String* key) { in GetProperty() [all …]
|
D | runtime.h | 622 MUST_USE_RESULT static MaybeObject* InitializeIntrinsicFunctionNames( 651 MUST_USE_RESULT static MaybeObject* GetElementOrCharAt(Isolate* isolate, 655 MUST_USE_RESULT static MaybeObject* SetObjectProperty( 663 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( 670 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( 675 MUST_USE_RESULT static MaybeObject* GetObjectProperty(
|
D | ic.cc | 499 MaybeObject* CallICBase::LoadFunction(State state, in LoadFunction() 754 MaybeObject* KeyedCallIC::LoadFunction(State state, in LoadFunction() 802 MaybeObject* LoadIC::Load(State state, in Load() 1056 MaybeObject* KeyedLoadIC::Load(State state, in Load() 1296 MaybeObject* StoreIC::Store(State state, in Store() 1758 MaybeObject* KeyedStoreIC::Store(State state, in Store() 1919 RUNTIME_FUNCTION(MaybeObject*, CallIC_Miss) { in RUNTIME_FUNCTION() argument 1925 MaybeObject* maybe_result = ic.LoadFunction(state, in RUNTIME_FUNCTION() 1947 RUNTIME_FUNCTION(MaybeObject*, KeyedCallIC_Miss) { in RUNTIME_FUNCTION() argument 1952 MaybeObject* maybe_result = in RUNTIME_FUNCTION() [all …]
|
D | liveobjectlist.cc | 291 MaybeObject* maybe_result = filter_obj->GetProperty(*type_sym); in InitTypeFilter() 307 MaybeObject* maybe_result = filter_obj->GetProperty(*space_sym); in InitSpaceFilter() 323 MaybeObject* maybe_result = filter_obj->GetProperty(*prop_sym); in InitPropertyFilter() 599 { MaybeObject* maybe_result = detail->SetProperty(*id_sym, in AddObjDetail() 605 { MaybeObject* maybe_result = detail->SetProperty(*desc_sym, in AddObjDetail() 611 { MaybeObject* maybe_result = detail->SetProperty(*size_sym, in AddObjDetail() 1098 MaybeObject* LiveObjectList::Capture() { in Capture() 1158 { MaybeObject* maybe_result = result->SetProperty(*id_sym, in Capture() 1164 { MaybeObject* maybe_result = result->SetProperty(*count_sym, in Capture() 1170 { MaybeObject* maybe_result = result->SetProperty(*size_sym, in Capture() [all …]
|
D | isolate.h | 239 MaybeObject* pending_exception_; 248 MaybeObject* scheduled_exception_; 535 MaybeObject* pending_exception() { in pending_exception() 545 void set_pending_exception(MaybeObject* exception) { in set_pending_exception() 551 MaybeObject** pending_exception_address() { in pending_exception_address() 578 MaybeObject** scheduled_exception_address() { in scheduled_exception_address() 581 MaybeObject* scheduled_exception() { in scheduled_exception() 594 bool is_catchable_by_javascript(MaybeObject* exception) { in is_catchable_by_javascript() 711 Failure* ReThrow(MaybeObject* exception, MessageLocation* location = NULL);
|
D | v8globals.h | 148 class MaybeObject; variable 353 MaybeObject* (*getter)(Object* object, void* data); 354 MaybeObject* (*setter)(JSObject* object, Object* value, void* data);
|
D | stub-cache.h | 390 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadCallbackProperty); 391 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreCallbackProperty); 395 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorOnly); 396 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForLoad); 397 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForCall); 398 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty); 399 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CallInterceptorProperty); 400 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor);
|
D | ic.h | 208 MUST_USE_RESULT MaybeObject* LoadFunction(State state, 302 MUST_USE_RESULT MaybeObject* LoadFunction(State state, 328 MUST_USE_RESULT MaybeObject* Load(State state, 473 MUST_USE_RESULT MaybeObject* Load(State state, 559 MUST_USE_RESULT MaybeObject* Store(State state, 628 MUST_USE_RESULT MaybeObject* Store(State state,
|
D | stub-cache.cc | 939 RUNTIME_FUNCTION(MaybeObject*, LoadCallbackProperty) { in RUNTIME_FUNCTION() argument 961 RUNTIME_FUNCTION(MaybeObject*, StoreCallbackProperty) { in RUNTIME_FUNCTION() argument 994 RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorOnly) { in RUNTIME_FUNCTION() argument 1028 static MaybeObject* ThrowReferenceError(String* name) { in ThrowReferenceError() 1046 static MaybeObject* LoadWithInterceptor(Arguments* args, in LoadWithInterceptor() 1080 MaybeObject* result = holder_handle->GetPropertyPostInterceptor( in LoadWithInterceptor() 1093 RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForLoad) { in RUNTIME_FUNCTION() argument 1096 { MaybeObject* maybe_result = LoadWithInterceptor(&args, &attr); in RUNTIME_FUNCTION() 1106 RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForCall) { in RUNTIME_FUNCTION() argument 1108 MaybeObject* result = LoadWithInterceptor(&args, &attr); in RUNTIME_FUNCTION() [all …]
|
D | compilation-cache.cc | 227 MaybeObject* CompilationCacheScript::TryTablePut( in TryTablePut() 286 MaybeObject* CompilationCacheEval::TryTablePut( in TryTablePut() 347 MaybeObject* CompilationCacheRegExp::TryTablePut( in TryTablePut()
|
/external/v8/test/cctest/ |
D | test-alloc.cc | 37 static MaybeObject* AllocateAfterFailures() { in AllocateAfterFailures() 134 static MaybeObject* TestAccessorGet(Object* object, void*) { in TestAccessorGet()
|