Lines Matching full:bool
61 …licit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor()
73 explicit PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
91 inline bool IsWritable() const in IsWritable()
96 inline void SetWritable(bool flag) in SetWritable()
102 inline bool IsEnumerable() const in IsEnumerable()
107 inline void SetEnumerable(bool flag) in SetEnumerable()
113 inline bool IsConfigurable() const in IsConfigurable()
118 inline void SetConfigurable(bool flag) in SetConfigurable()
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()
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()
209 bool writable_ {false};
210 bool enumerable_ {false};
211 bool configurable_ {false};
212 bool hasWritable_ {false};
213 bool hasEnumerable_ {false};
214 bool hasConfigurable_ {false};
225 using IsFoundField = BitField<bool, 0, 1>;
236 explicit PropertyMetaData(bool isFound) in PropertyMetaData()
241 inline bool IsFound() const in IsFound()
246 inline void SetFound(bool flag) in SetFound()
251 inline bool GetIsInlinedProps() const in GetIsInlinedProps()
256 inline void SetIsInlinedProps(bool flag) in SetIsInlinedProps()
331 void SetCallable(bool flag);
332 bool IsCallable() const;
340 bool HasHash() const;
379 static bool ToPropertyDescriptorFast(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
386 …static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JST…
389 static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
392 static bool CreateMethodProperty(JSThread *thread, const JSHandle<JSObject> &obj,
395 static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj,
398 …static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
408 uint32_t &index, bool &fastMode, PropertyKind kind);
412 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve…
414 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
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,
445 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTa…
448 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
451 static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
454 …static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
457 static bool IsCompatiblePropertyDescriptor(bool extensible, const PropertyDescriptor &desc,
460 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property…
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…
484 bool mayThrow = false);
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…
507 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
513 static bool IsRegExp(JSThread *thread, const JSHandle<JSTaggedValue> &argument);
517 …static bool CallSetter(JSThread *thread, const AccessorData &accessor, const JSHandle<JSTaggedValu…
518 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
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;
559 bool useForClass = false);
604 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
605 bool UpdatePropertyInDictionary(const JSThread *thread, JSTaggedValue key, JSTaggedValue value);
606 static bool ShouldTransToDict(uint32_t capacity, uint32_t index);
624 static bool AddElementInternal(
629 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
640 static bool CheckHClassHit(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &cls);