• Home
  • Raw
  • Download

Lines Matching full:const

57     explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {}  in PropertyDescriptor()
59 …explicit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), … in PropertyDescriptor()
61 …explicit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, boo… in PropertyDescriptor()
73 explicit PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
78 inline JSHandle<JSTaggedValue> GetValue() const in GetValue()
91 inline bool IsWritable() const in IsWritable()
102 inline bool IsEnumerable() const in IsEnumerable()
113 inline bool IsConfigurable() const in IsConfigurable()
124 inline bool HasValue() const in HasValue()
129 inline bool HasWritable() const in HasWritable()
134 inline bool HasConfigurable() const in HasConfigurable()
139 inline bool HasEnumerable() const in HasEnumerable()
144 inline bool HasGetter() const in HasGetter()
149 inline bool HasSetter() const in HasSetter()
154 inline JSHandle<JSTaggedValue> GetGetter() const in GetGetter()
162 inline JSHandle<JSTaggedValue> GetSetter() const in GetSetter()
181 inline bool IsAccessorDescriptor() const in IsAccessorDescriptor()
187 inline bool IsDataDescriptor() const in IsDataDescriptor()
193 inline bool IsGenericDescriptor() const in IsGenericDescriptor()
199 inline bool IsEmpty() const in IsEmpty()
204 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc);
207 const JSThread *thread_{nullptr};
241 inline bool IsFound() const in IsFound()
251 inline bool GetIsInlinedProps() const in GetIsInlinedProps()
261 inline Representation GetRepresentation() const in GetRepresentation()
276 inline uint32_t GetOffset() const in GetOffset()
287 explicit OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult()
298 JSHandle<JSTaggedValue> GetValue() const in GetValue()
307 JSHandle<JSTaggedValue> GetRawValue() const in GetRawValue()
312 const PropertyMetaData &GetPropertyMetaData() const in GetPropertyMetaData()
318 const JSThread *thread_ {nullptr};
332 bool IsCallable() const;
333 Method *GetCallTarget() const;
339 int32_t GetHash() const;
340 bool HasHash() const;
347 void* GetNativePointerField(int32_t index) const;
349 const DeleteEntryPoint &callBack, void *data, size_t nativeBindingsize = 0);
350 int32_t GetNativePointerFieldCount() const;
355 void VisitObjects(const EcmaObjectRangeVisitor &visitor) in VisitObjects()
375 …static JSHandle<JSTaggedValue> FromPropertyDescriptor(JSThread *thread, const PropertyDescriptor &…
378 …static void ToPropertyDescriptor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, PropertyDes…
379 static bool ToPropertyDescriptorFast(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
383 static JSHandle<JSTaggedValue> GetMethod(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
384 const JSHandle<JSTaggedValue> &key);
386 …static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JST…
387 const JSHandle<JSTaggedValue> &value);
389 static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
390 const JSHandle<JSTaggedValue> &value);
392 static bool CreateMethodProperty(JSThread *thread, const JSHandle<JSObject> &obj,
393const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value);
395 static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj,
396const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value);
398 …static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
399 const JSHandle<JSTaggedValue> &value);
401 … static JSHandle<TaggedArray> EnumerableOwnNames(JSThread *thread, const JSHandle<JSObject> &obj);
404 …static JSHandle<TaggedArray> EnumerableOwnPropertyNames(JSThread *thread, const JSHandle<JSObject>…
406 static void EnumerableOwnPropertyNamesHelper(JSThread *thread, const JSHandle<JSObject> &obj,
407 const JSHandle<TaggedArray> &arr, JSHandle<TaggedArray> &properties,
410 …static JSHandle<GlobalEnv> GetFunctionRealm(JSThread *thread, const JSHandle<JSTaggedValue> &objec…
412 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve…
414 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
416 … static JSHandle<JSTaggedValue> SpeciesConstructor(JSThread *thread, const JSHandle<JSObject> &obj,
417const JSHandle<JSTaggedValue> &defaultConstructort);
420 …static JSHandle<JSTaggedValue> CreateListFromArrayLike(JSThread *thread, const JSHandle<JSTaggedVa…
424 static JSTaggedValue GetPrototype(const JSHandle<JSObject> &obj);
427 …static bool SetPrototype(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedV…
430 bool IsExtensible() const;
433 static bool PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj);
436 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
439 …static bool GlobalGetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key, PropertyDes…
441 static bool OrdinaryGetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
442const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc);
445 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTa…
446 const PropertyDescriptor &desc);
448 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
449 const PropertyDescriptor &desc);
451 static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
452const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc);
454 …static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
455 const PropertyDescriptor &desc);
457 static bool IsCompatiblePropertyDescriptor(bool extensible, const PropertyDescriptor &desc,
458 const PropertyDescriptor &current);
460 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property…
461 const PropertyDescriptor &current);
463 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj,
464 const JSHandle<JSTaggedValue> &key);
466 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
467const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver);
469 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
470 const JSHandle<JSTaggedValue> &key);
472 …static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t …
474 …static OperationResult GetPropertyFromGlobal(JSThread *thread, const JSHandle<JSTaggedValue> &key);
476 …static bool SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
477 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
479 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
480 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
482 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
483const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver,
486 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t index,
487 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
489 static bool GlobalSetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key,
490 const JSHandle<JSTaggedValue> &value, bool mayThrow);
493 …static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
495 static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index);
498 …static bool DeleteProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
501 … static JSHandle<TaggedArray> GetOwnPropertyKeys(JSThread *thread, const JSHandle<JSObject> &obj);
504 static JSHandle<JSObject> ObjectCreate(JSThread *thread, const JSHandle<JSObject> &proto);
507 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
508 const JSHandle<JSTaggedValue> &target);
511 …static JSHandle<JSForInIterator> EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTagg…
513 static bool IsRegExp(JSThread *thread, const JSHandle<JSTaggedValue> &argument);
515 static JSTaggedValue CallGetter(JSThread *thread, const AccessorData *accessor,
516 const JSHandle<JSTaggedValue> &receiver);
517 …static bool CallSetter(JSThread *thread, const AccessorData &accessor, const JSHandle<JSTaggedValu…
518 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
520 void FillElementsWithHoles(const JSThread *thread, uint32_t start, uint32_t end);
522 JSHClass *GetJSHClass() const;
523 bool IsJSGlobalObject() const;
524 bool IsConstructor() const;
525 bool IsECMAObject() const;
526 bool IsJSError() const;
527 bool IsArguments() const;
528 bool IsDate() const;
529 bool IsJSArray() const;
530 bool IsJSMap() const;
531 bool IsJSSet() const;
532 bool IsJSRegExp() const;
533 bool IsJSFunction() const;
534 bool IsBoundFunction() const;
535 bool IsJSIntlBoundFunction() const;
536 bool IsProxyRevocFunction() const;
537 bool IsAccessorData() const;
538 bool IsJSGlobalEnv() const;
539 bool IsJSProxy() const;
540 bool IsGeneratorObject() const;
541 bool IsAsyncGeneratorObject() const;
542 bool IsForinIterator() const;
543 bool IsJSSetIterator() const;
544 bool IsJSRegExpIterator() const;
545 bool IsJSMapIterator() const;
546 bool IsJSArrayIterator() const;
547 bool IsJSAPIArrayListIterator() const;
548 bool IsJSAPIStackIterator() const;
549 bool IsJSAPIVectorIterator() const;
550 bool IsJSAPILinkedListIterator() const;
551 bool IsJSAPIListIterator() const;
552 bool IsJSPrimitiveRef() const;
553 bool IsElementDict() const;
554 bool IsPropertiesDict() const;
555 bool IsTypedArray() const;
557 static void DefinePropertyByLiteral(JSThread *thread, const JSHandle<JSObject> &obj,
558const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value,
560 …static void DefineSetter(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTa…
561 const JSHandle<JSTaggedValue> &value);
562 …static void DefineGetter(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTa…
563 const JSHandle<JSTaggedValue> &value);
564 static JSHandle<JSObject> CreateObjectFromProperties(const JSThread *thread,
565 const JSHandle<TaggedArray> &properties);
566 static void GetAllKeys(const JSThread *thread, const JSHandle<JSObject> &obj, int offset,
567 const JSHandle<TaggedArray> &keyArray);
568 static void GetAllKeys(const JSHandle<JSObject> &obj, std::vector<JSTaggedValue> &keyVector);
569 static void GetAllElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, int offset,
570 const JSHandle<TaggedArray> &keyArray);
571 static void GetALLElementKeysIntoVector(const JSThread *thread, const JSHandle<JSObject> &obj,
576 …static JSHandle<TaggedArray> GetEnumElementKeys(JSThread *thread, const JSHandle<JSObject> &obj, i…
578 …static JSHandle<TaggedArray> GetAllEnumKeys(const JSThread *thread, const JSHandle<JSObject> &obj,…
581 …static void AddAccessor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
582 const JSHandle<AccessorData> &value, PropertyAttributes attr);
593 …static JSHandle<NameDictionary> TransitionToDictionary(const JSThread *thread, const JSHandle<JSOb…
595 … inline void SetPropertyInlinedProps(const JSThread *thread, uint32_t index, JSTaggedValue value);
596 …inline void SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t index,
598 inline JSTaggedValue GetPropertyInlinedProps(uint32_t index) const;
599 inline JSTaggedValue GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const;
600 inline JSTaggedValue GetProperty(const JSHClass *hclass, PropertyAttributes attr) const;
601 inline void SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,
604 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
605 bool UpdatePropertyInDictionary(const JSThread *thread, JSTaggedValue key, JSTaggedValue value);
607 …static JSHandle<TaggedArray> GrowElementsCapacity(const JSThread *thread, const JSHandle<JSObject>…
610 …static JSHandle<JSTaggedValue> IterableToList(JSThread *thread, const JSHandle<JSTaggedValue> &ite…
614 static void ElementsToDictionary(const JSThread *thread, JSHandle<JSObject> obj);
625 …JSThread *thread, const JSHandle<JSObject> &receiver, uint32_t index, const JSHandle<JSTaggedValue…
629 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
630 static void DeletePropertyInternal(JSThread *thread, const JSHandle<JSObject> &obj,
631 const JSHandle<JSTaggedValue> &key, uint32_t index);
632 int FindProperty(const JSHandle<JSTaggedValue> &key);
639 …JSThread *thread, const JSHandle<JSObject> &obj, uint32_t *copyLengthOfKeys, uint32_t *copyLengthO…
640 static bool CheckHClassHit(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &cls);
641 …static uint32_t SetValuesOrEntries(JSThread *thread, const JSHandle<TaggedArray> &prop, uint32_t i…
642const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value,