Home
last modified time | relevance | path

Searched refs:JSObject (Results 1 – 25 of 168) sorted by relevance

1234567

/external/chromium_org/v8/src/
Di18n.h42 Handle<JSObject> options,
43 Handle<JSObject> resolved);
47 Handle<JSObject> obj);
66 Handle<JSObject> options,
67 Handle<JSObject> resolved);
71 Handle<JSObject> obj);
90 Handle<JSObject> options,
91 Handle<JSObject> resolved);
94 static icu::Collator* UnpackCollator(Isolate* isolate, Handle<JSObject> obj);
112 Handle<JSObject> options,
[all …]
Di18n.cc34 Handle<JSObject> options, in ExtractStringSetting()
50 Handle<JSObject> options, in ExtractIntegerSetting()
64 Handle<JSObject> options, in ExtractBooleanSetting()
80 Handle<JSObject> options) { in CreateICUDateFormat()
128 Handle<JSObject> resolved) { in SetResolvedDateSettings()
133 JSObject::SetProperty( in SetResolvedDateSettings()
146 JSObject::SetProperty( in SetResolvedDateSettings()
161 JSObject::SetProperty( in SetResolvedDateSettings()
168 JSObject::SetProperty( in SetResolvedDateSettings()
189 JSObject::SetProperty( in SetResolvedDateSettings()
[all …]
Delements.h28 virtual void Validate(Handle<JSObject> obj) = 0;
37 Handle<JSObject> holder,
43 Handle<JSObject> holder, in HasElement()
55 Handle<JSObject> holder,
61 Handle<JSObject> holder, in Get()
73 Handle<JSObject> holder,
79 Handle<JSObject> holder, in GetAttributes()
91 Handle<JSObject> holder,
97 Handle<JSObject> holder, in GetType()
109 Handle<JSObject> holder,
[all …]
Dstub-cache.h57 Handle<JSObject> StubHolder(Handle<JSObject> receiver,
58 Handle<JSObject> holder);
370 Handle<JSObject> holder,
395 static void LookupPostInterceptor(Handle<JSObject> holder,
452 Handle<JSObject> holder,
460 Handle<JSObject> holder,
518 Handle<JSObject> holder,
524 Handle<JSObject> holder,
529 Handle<JSObject> holder,
534 Handle<JSObject> holder,
[all …]
Dstub-cache.cc161 Handle<JSObject> last = Handle<JSObject>::null(); in ComputeLoadNonexistent()
163 last = Handle<JSObject>::cast(next); in ComputeLoadNonexistent()
459 JSObject* receiver = JSObject::cast(args[0]); in RUNTIME_FUNCTION()
460 JSObject* holder = JSObject::cast(args[1]); in RUNTIME_FUNCTION()
508 Handle<JSObject> receiver = in RUNTIME_FUNCTION()
509 args.at<JSObject>(StubCache::kInterceptorArgsThisIndex); in RUNTIME_FUNCTION()
510 Handle<JSObject> holder = in RUNTIME_FUNCTION()
511 args.at<JSObject>(StubCache::kInterceptorArgsHolderIndex); in RUNTIME_FUNCTION()
558 Handle<JSObject> receiver = in RUNTIME_FUNCTION()
559 args.at<JSObject>(StubCache::kInterceptorArgsThisIndex); in RUNTIME_FUNCTION()
[all …]
Dbootstrapper.cc254 bool ConfigureApiObject(Handle<JSObject> object,
261 void TransferObject(Handle<JSObject> from, Handle<JSObject> to);
262 void TransferNamedProperties(Handle<JSObject> from, Handle<JSObject> to);
263 void TransferIndexedProperties(Handle<JSObject> from, Handle<JSObject> to);
343 static void SetObjectPrototype(Handle<JSObject> object, Handle<Object> proto) { in SetObjectPrototype()
360 static Handle<JSFunction> InstallFunction(Handle<JSObject> target, in InstallFunction()
364 MaybeHandle<JSObject> maybe_prototype, in InstallFunction()
370 Handle<JSObject> prototype; in InstallFunction()
382 JSObject::SetOwnPropertyIgnoreAttributes( in InstallFunction()
481 factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in CreateEmptyFunction()
[all …]
Delements.cc500 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t key, in CheckArrayAbuse()
571 static void ValidateContents(Handle<JSObject> holder, int length) { in ValidateContents()
574 static void ValidateImpl(Handle<JSObject> holder) { in ValidateImpl()
591 virtual void Validate(Handle<JSObject> holder) V8_FINAL V8_OVERRIDE { in Validate()
597 Handle<JSObject> holder, in HasElementImpl()
606 Handle<JSObject> holder, in HasElement()
615 Handle<JSObject> holder, in Get()
634 Handle<JSObject> obj, in GetImpl()
646 Handle<JSObject> holder, in GetAttributes()
655 Handle<JSObject> obj, in GetAttributesImpl()
[all …]
Druntime.cc238 Handle<JSObject> boilerplate = in CreateObjectLiteralBoilerplate()
242 if (!should_have_fast_elements) JSObject::NormalizeElements(boilerplate); in CreateObjectLiteralBoilerplate()
251 JSObject::NormalizeProperties( in CreateObjectLiteralBoilerplate()
276 maybe_result = JSObject::SetOwnElement( in CreateObjectLiteralBoilerplate()
281 maybe_result = JSObject::SetOwnPropertyIgnoreAttributes( in CreateObjectLiteralBoilerplate()
287 maybe_result = JSObject::SetOwnElement( in CreateObjectLiteralBoilerplate()
297 maybe_result = JSObject::SetOwnPropertyIgnoreAttributes( in CreateObjectLiteralBoilerplate()
313 JSObject::TransformToFastProperties( in CreateObjectLiteralBoilerplate()
331 Handle<JSObject>::cast(object)->map()->elements_kind(); in TransitionElements()
333 JSObject::TransitionElementsKind(Handle<JSObject>::cast(object), to_kind); in TransitionElements()
[all …]
Dobjects.cc78 Handle<JSObject> result = isolate->factory()->NewJSObject(constructor); in ToObject()
140 MaybeHandle<Object> maybe_result = JSObject::GetPropertyWithInterceptor( in GetProperty()
148 return JSObject::GetPropertyWithFailedAccessCheck(it); in GetProperty()
348 Object* smi = JSObject::cast(object)->GetInternalField(field); in GetDeclaredAccessorProperty()
375 Handle<FixedArray> JSObject::EnsureWritableFastElements( in EnsureWritableFastElements()
376 Handle<JSObject> object) { in EnsureWritableFastElements()
405 Handle<JSObject> holder, in GetPropertyWithAccessor()
467 Handle<JSObject> holder, in SetPropertyWithCallback()
587 MaybeHandle<Object> JSObject::GetPropertyWithFailedAccessCheck( in GetPropertyWithFailedAccessCheck()
589 Handle<JSObject> checked = Handle<JSObject>::cast(it->GetHolder()); in GetPropertyWithFailedAccessCheck()
[all …]
Ddebug.h212 Handle<JSObject> exec_state,
213 Handle<JSObject> event_data);
218 Handle<JSObject> exec_state,
219 Handle<JSObject> event_data,
239 Handle<JSObject> exec_state,
240 Handle<JSObject> event_data,
247 Handle<JSObject> exec_state_; // Current execution state.
248 Handle<JSObject> event_data_; // Data associated with the event.
258 Handle<JSObject> exec_state,
259 Handle<JSObject> event_data,
[all …]
Dallocation-site-scopes.h28 bool ShouldCreateMemento(Handle<JSObject> object) { return false; } in ShouldCreateMemento()
57 void ExitScope(Handle<AllocationSite> site, Handle<JSObject> object);
85 Handle<JSObject> object) { in ExitScope()
91 bool ShouldCreateMemento(Handle<JSObject> object);
Dcontexts.h77 V(GLOBAL_PROXY_INDEX, JSObject, global_proxy_object) \
89 V(JSON_OBJECT_INDEX, JSObject, json_object) \
91 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
92 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \
135 V(SLOPPY_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
137 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
139 V(STRICT_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
141 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
145 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \
414 JSObject* global_proxy();
[all …]
Dobjects.h933 V(JSObject) \
1475 Handle<JSObject> holder,
1481 Handle<JSObject> holder,
2025 class JSObject: public JSReceiver {
2055 static void ResetElements(Handle<JSObject> object);
2056 static inline void SetMapAndElements(Handle<JSObject> object,
2109 Handle<JSObject> object);
2114 static Handle<Object> PrepareElementsForSort(Handle<JSObject> object,
2119 static Handle<Object> PrepareSlowElementsForSort(Handle<JSObject> object,
2123 Handle<JSObject> object,
[all …]
Disolate.cc356 Handle<JSArray> Isolate::CaptureSimpleStackTrace(Handle<JSObject> error_object, in CaptureSimpleStackTrace()
387 int new_capacity = JSObject::NewElementsCapacity(elements->length()); in CaptureSimpleStackTrace()
426 void Isolate::CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object) { in CaptureAndSetDetailedStackTrace()
433 JSObject::SetHiddenProperty(error_object, key, stack_trace); in CaptureAndSetDetailedStackTrace()
477 Handle<JSObject> stack_frame = factory()->NewJSObject(object_function()); in CaptureCurrentStackTrace()
497 JSObject::SetOwnPropertyIgnoreAttributes( in CaptureCurrentStackTrace()
501 JSObject::SetOwnPropertyIgnoreAttributes( in CaptureCurrentStackTrace()
508 JSObject::SetOwnPropertyIgnoreAttributes( in CaptureCurrentStackTrace()
514 JSObject::SetOwnPropertyIgnoreAttributes( in CaptureCurrentStackTrace()
520 JSObject::SetOwnPropertyIgnoreAttributes( in CaptureCurrentStackTrace()
[all …]
Dfactory.h315 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
317 Handle<JSObject> CopyJSObject(Handle<JSObject> object);
319 Handle<JSObject> CopyJSObjectWithAllocationSite(Handle<JSObject> object,
360 inline Handle<JSObject> NewNeanderObject() { in NewNeanderObject()
364 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
368 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
371 Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor,
379 Handle<JSObject> NewJSObjectFromMap(
500 Handle<JSObject> NewExternal(void* value);
554 Handle<JSObject> NewIteratorResultObject(Handle<Object> value, bool done);
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-ordered-hash-table.cc52 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
53 Handle<JSObject> obj = factory->NewJSObjectFromMap(map); in TEST()
69 Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); in TEST()
71 Handle<JSObject> obj2 = factory->NewJSObjectFromMap(map); in TEST()
73 Handle<JSObject> obj3 = factory->NewJSObjectFromMap(map); in TEST()
82 Handle<JSObject> obj4 = factory->NewJSObjectFromMap(map); in TEST()
119 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
120 Handle<JSObject> obj = factory->NewJSObjectFromMap(map); in TEST()
121 Handle<JSObject> val = factory->NewJSObjectFromMap(map); in TEST()
133 Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); in TEST()
[all …]
Dtest-weaksets.cc47 Handle<JSObject> weakset_obj = factory->NewJSObjectFromMap(map); in AllocateJSWeakSet()
59 Handle<JSObject> key, in PutIntoWeakSet()
63 Handle<JSObject>(JSObject::cast(*key)), in PutIntoWeakSet()
94 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
95 Handle<JSObject> object = factory->NewJSObjectFromMap(map); in TEST()
104 Handle<JSObject>(JSObject::cast(*key)), in TEST()
156 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
158 Handle<JSObject> object = factory->NewJSObjectFromMap(map); in TEST()
192 Handle<JSObject> key = factory->NewJSObject(function); in TEST()
203 Handle<JSObject> object = factory->NewJSObject(function, TENURED); in TEST()
[all …]
Dtest-weakmaps.cc47 Handle<JSObject> weakmap_obj = factory->NewJSObjectFromMap(map); in AllocateJSWeakMap()
59 Handle<JSObject> key, in PutIntoWeakMap()
63 Handle<JSObject>(JSObject::cast(*key)), in PutIntoWeakMap()
94 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
95 Handle<JSObject> object = factory->NewJSObjectFromMap(map); in TEST()
104 Handle<JSObject>(JSObject::cast(*key)), in TEST()
156 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
158 Handle<JSObject> object = factory->NewJSObjectFromMap(map); in TEST()
192 Handle<JSObject> key = factory->NewJSObject(function); in TEST()
203 Handle<JSObject> object = factory->NewJSObject(function, TENURED); in TEST()
[all …]
/external/chromium_org/third_party/skia/include/xml/
DSkJS.h19 typedef struct JSObject JSObject; typedef
34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObject *);
38 JSObject *fGlobal;
/external/skia/include/xml/
DSkJS.h19 typedef struct JSObject JSObject; typedef
34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObject *);
38 JSObject *fGlobal;
/external/chromium_org/third_party/skia/src/xml/
DSkJSDisplayable.cpp62 static void Destructor(JSContext *cx, JSObject *obj);
63 static JSBool GetProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
64 static JSBool SetProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
67 static JSBool Draw(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
74 JSBool SkJSDisplayable::Draw(JSContext *cx, JSObject *obj, uintN argc, in Draw()
96 static JSBool _class##Constructor(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rva…
103 static JSObject* _class##Init(JSContext *cx, JSObject *obj, JSObject *proto) { \
104 JSObject *newProtoObj = JS_InitClass(cx, obj, proto, &gDisplayableClasses[SkType_##_class], \
214 void SkJSDisplayable::Destructor(JSContext *cx, JSObject *obj) { in Destructor()
218 JSBool SkJSDisplayable::GetProperty(JSContext *cx, JSObject *obj, jsval id, in GetProperty()
[all …]
/external/skia/src/xml/
DSkJSDisplayable.cpp62 static void Destructor(JSContext *cx, JSObject *obj);
63 static JSBool GetProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
64 static JSBool SetProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
67 static JSBool Draw(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
74 JSBool SkJSDisplayable::Draw(JSContext *cx, JSObject *obj, uintN argc, in Draw()
96 static JSBool _class##Constructor(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rva…
103 static JSObject* _class##Init(JSContext *cx, JSObject *obj, JSObject *proto) { \
104 JSObject *newProtoObj = JS_InitClass(cx, obj, proto, &gDisplayableClasses[SkType_##_class], \
214 void SkJSDisplayable::Destructor(JSContext *cx, JSObject *obj) { in Destructor()
218 JSBool SkJSDisplayable::GetProperty(JSContext *cx, JSObject *obj, jsval id, in GetProperty()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
Dglobal.cpp119 JSObject pData = (JSObject)vp; in DoProperty()
263 (JSObject)pObj, pData->bPersistent == 1); in UpdateGlobalPersistentVariables()
265 pData->data.sKey.UTF8Decode(), (JSObject)pObj); in UpdateGlobalPersistentVariables()
411 JS_PutObjectNumber(NULL,(JSObject)pObj, pObjData->sKey.UTF8Decode(), pObjData->dData); in PutObjectProperty()
414 …JS_PutObjectBoolean(NULL,(JSObject)pObj, pObjData->sKey.UTF8Decode(), (bool)(pObjData->bData == 1)… in PutObjectProperty()
417 …JS_PutObjectString(NULL,(JSObject)pObj, pObjData->sKey.UTF8Decode(), pObjData->sData.UTF8Decode()); in PutObjectProperty()
424 JS_PutObjectObject(NULL, (JSObject)pObj, pObjData->sKey.UTF8Decode(), (JSObject)pNewObj); in PutObjectProperty()
428 JS_PutObjectNull(NULL,(JSObject)pObj, pObjData->sKey.UTF8Decode()); in PutObjectProperty()
450 double dData, bool bData, const CFX_ByteString& sData, JSObject pData, bool bDefaultPersistent) in SetGlobalVariables()
/external/chromium_org/v8/src/x64/
Dstub-cache-x64.cc117 __ movp(properties, FieldOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup()
285 __ movp(dst, FieldOperand(src, JSObject::kPropertiesOffset)); in GenerateFastPropertyLoad()
296 Handle<JSObject> holder_obj) { in PushInterceptorArguments()
317 Handle<JSObject> holder_obj, in CompileCallLoadPropertyWithInterceptor()
359 Handle<JSObject> api_holder = optimization.LookupHolderOfExpectedType( in GenerateFastApiCall()
432 Handle<JSObject> holder, in GenerateNegativeHolderLookup()
449 Handle<JSObject> object, in GenerateStoreTransition()
582 __ movp(scratch1, FieldOperand(receiver_reg, JSObject::kPropertiesOffset)); in GenerateStoreTransition()
609 Handle<JSObject> object, in GenerateStoreField()
650 FieldOperand(receiver_reg, JSObject::kPropertiesOffset)); in GenerateStoreField()
[all …]
/external/chromium_org/v8/src/arm64/
Dstub-cache-arm64.cc51 __ Ldr(properties, FieldMemOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup()
261 __ Ldr(dst, FieldMemOperand(src, JSObject::kPropertiesOffset)); in GenerateFastPropertyLoad()
319 Handle<JSObject> holder, in GenerateNegativeHolderLookup()
338 Handle<JSObject> object, in GenerateStoreTransition()
479 FieldMemOperand(receiver_reg, JSObject::kPropertiesOffset)); in GenerateStoreTransition()
510 Handle<JSObject> object, in GenerateStoreField()
560 FieldMemOperand(receiver_reg, JSObject::kPropertiesOffset)); in GenerateStoreField()
609 FieldMemOperand(receiver_reg, JSObject::kPropertiesOffset)); in GenerateStoreField()
651 Handle<JSObject> holder_obj) { in PushInterceptorArguments()
672 Handle<JSObject> holder_obj, in CompileCallLoadPropertyWithInterceptor()
[all …]

1234567