• Home
  • Raw
  • Download

Lines Matching full:bool

71     PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c)  in PropertyDescriptor()
83 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
124 inline bool IsWritable() const in IsWritable()
129 inline void SetWritable(bool flag) in SetWritable()
135 inline bool IsEnumerable() const in IsEnumerable()
140 inline void SetEnumerable(bool flag) in SetEnumerable()
146 inline bool IsConfigurable() const in IsConfigurable()
151 inline void SetConfigurable(bool flag) in SetConfigurable()
157 inline bool HasValue() const in HasValue()
162 inline bool HasWritable() const in HasWritable()
167 inline bool HasConfigurable() const in HasConfigurable()
172 inline bool HasEnumerable() const in HasEnumerable()
177 inline bool HasGetter() const in HasGetter()
182 inline bool HasSetter() const in HasSetter()
214 inline bool IsAccessorDescriptor() const in IsAccessorDescriptor()
220 inline bool IsDataDescriptor() const in IsDataDescriptor()
226 inline bool IsGenericDescriptor() const in IsGenericDescriptor()
232 inline bool IsEmpty() const in IsEmpty()
242 bool writable_ {false};
243 bool enumerable_ {false};
244 bool configurable_ {false};
245 bool hasWritable_ {false};
246 bool hasEnumerable_ {false};
247 bool hasConfigurable_ {false};
260 using IsFoundField = BitField<bool, 0, 1>;
272 explicit PropertyMetaData(bool isFound) in PropertyMetaData()
277 inline bool IsFound() const in IsFound()
282 inline void SetFound(bool flag) in SetFound()
287 inline bool GetIsInlinedProps() const in GetIsInlinedProps()
292 inline void SetIsInlinedProps(bool flag) in SetIsInlinedProps()
371 void SetCallable(bool flag);
372 bool IsCallable() const;
381 bool HasHash() const;
425 static bool ToPropertyDescriptorFast(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
437 …static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JST…
440 static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
443 static bool CreateMethodProperty(JSThread *thread, const JSHandle<JSObject> &obj,
446 static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj,
450 …static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
461 uint32_t &index, bool &fastMode, PropertyKind kind);
465 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve…
467 static bool FreezeSharedObject(JSThread *thread, const JSHandle<JSObject> &obj);
469 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
487 static bool SetPrototype(JSThread *thread, const JSHandle<JSObject> &obj,
489 bool isChangeProto = false);
492 bool IsExtensible() const;
495 static bool PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj);
498 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
501 …static bool GlobalGetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key, PropertyDes…
503 static bool OrdinaryGetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
507 static bool DefineOwnProperty(JSThread *thread, ObjectOperator *op,
510 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTa…
513 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
516 static bool OrdinaryDefineOwnProperty(JSThread *thread, ObjectOperator *op,
519 static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
523 …static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
527 static bool IsCompatiblePropertyDescriptor(bool extensible, const PropertyDescriptor &desc,
530 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property…
547 …static bool SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
548 JSHandle<JSTaggedValue> value, bool mayThrow = false);
550 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
551 JSHandle<JSTaggedValue> value, bool mayThrow = false,
554 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
556 bool mayThrow = false);
558 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t index,
559 JSHandle<JSTaggedValue> value, bool mayThrow = false);
561 static bool GlobalSetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key,
562 JSHandle<JSTaggedValue> value, bool mayThrow);
565 …static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
567 static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index);
570 …static bool DeleteProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
592 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
601 static bool IsRegExp(JSThread *thread, const JSHandle<JSTaggedValue> &argument);
605 static bool PUBLIC_API CallSetter(JSThread *thread, const AccessorData &accessor,
607 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
617 bool IsJSGlobalObject() const;
618 bool IsConstructor() const;
619 bool IsECMAObject() const;
620 bool IsJSError() const;
621 bool IsArguments() const;
622 bool IsDate() const;
623 bool IsJSArray() const;
624 bool IsJSSArray() const;
625 bool IsJSShared() const;
626 bool IsJSMap() const;
627 bool IsJSSet() const;
628 bool IsJSRegExp() const;
629 bool IsJSFunction() const;
630 bool IsBoundFunction() const;
631 bool IsJSIntlBoundFunction() const;
632 bool IsProxyRevocFunction() const;
633 bool IsAccessorData() const;
634 bool IsJSGlobalEnv() const;
635 bool IsJSProxy() const;
636 bool IsGeneratorObject() const;
637 bool IsAsyncGeneratorObject() const;
638 bool IsForinIterator() const;
639 bool IsJSSetIterator() const;
640 bool IsJSRegExpIterator() const;
641 bool IsJSMapIterator() const;
642 bool IsJSArrayIterator() const;
643 bool IsJSAPIArrayListIterator() const;
644 bool IsJSAPIStackIterator() const;
645 bool IsJSAPIVectorIterator() const;
646 bool IsJSAPIBitVectorIterator() const;
647 bool IsJSAPILinkedListIterator() const;
648 bool IsJSAPIListIterator() const;
649 bool IsJSPrimitiveRef() const;
650 bool IsElementDict() const;
651 bool IsPropertiesDict() const;
652 bool IsTypedArray() const;
653 bool IsSharedTypedArray() const;
654 bool PUBLIC_API ElementsAndPropertiesIsEmpty() const;
659 bool useForClass = false);
675 static bool CheckPropertiesForRep(
721 void Dump(std::ostream &os, bool isPrivacy = false) const DUMP_API_ATTR;
727 …static const CString ExtractConstructorAndRecordName(JSThread *thread, TaggedObject *obj, bool noA…
728 bool *isCallGetter = nullptr);
733 …static inline std::pair<bool, JSTaggedValue> ConvertValueWithRep(PropertyAttributes attr, JSTagged…
736 template <size_t objectSize, uint32_t index, bool needBarrier = true>
738 template <bool needBarrier = true>
740 template <bool needBarrier = true>
752 template <bool needBarrier = true>
756 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
757 bool UpdatePropertyInDictionary(const JSThread *thread, JSTaggedValue key, JSTaggedValue value);
758 static bool ShouldTransToDict(uint32_t capacity, uint32_t index);
759 …static bool ShouldTransToFastElements(JSThread *thread, TaggedArray *elements, uint32_t capacity, …
760 static bool AttributesUnchanged(const JSThread *thread, const JSHandle<JSObject> &obj);
762 … uint32_t capacity, bool highGrowth = false, bool isNew = false);
764 static bool IsDepulicateKeys(JSThread *thread, JSHandle<TaggedArray> keys, int32_t lastLength,
795 static bool HasMutantTaggedArrayElements(const JSHandle<JSObject> &obj);
797 static bool CheckAndUpdateArrayLength(JSThread *thread, const JSHandle<JSObject> &receiver,
799 static bool PUBLIC_API AddElementInternal(
804 static bool SetProperty(ObjectOperator *op, JSHandle<JSTaggedValue> value, bool mayThrow);
805 …static bool SetPropertyForData(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool *isA…
806 static bool SetPropertyForAccessor(ObjectOperator *op, const JSHandle<JSTaggedValue> &value);
811 static uint32_t ComputeElementCapacity(uint32_t oldCapacity, bool isNew = false);
820 static bool CheckHClassHit(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &cls);
824 static bool IsSimpleEnumCacheValid(JSThread *thread, JSTaggedValue receiver);
825 static bool IsEnumCacheWithProtoChainInfoValid(JSThread *thread, JSTaggedValue receiver);
828 …static bool ValidateDataDescriptorWhenConfigurable(ObjectOperator *op, const PropertyDescriptor &d…
830 static bool SetPropertyForDataDescriptor(ObjectOperator *op, JSHandle<JSTaggedValue> value,
831 … JSHandle<JSTaggedValue> &receiver, bool mayThrow, bool isInternalAccessor);
832 static bool SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op,