• Home
  • Raw
  • Download

Lines Matching full:bool

62     PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c)  in PropertyDescriptor()
74 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
92 inline bool IsWritable() const in IsWritable()
97 inline void SetWritable(bool flag) in SetWritable()
103 inline bool IsEnumerable() const in IsEnumerable()
108 inline void SetEnumerable(bool flag) in SetEnumerable()
114 inline bool IsConfigurable() const in IsConfigurable()
119 inline void SetConfigurable(bool flag) in SetConfigurable()
125 inline bool HasValue() const in HasValue()
130 inline bool HasWritable() const in HasWritable()
135 inline bool HasConfigurable() const in HasConfigurable()
140 inline bool HasEnumerable() const in HasEnumerable()
145 inline bool HasGetter() const in HasGetter()
150 inline bool HasSetter() const in HasSetter()
182 inline bool IsAccessorDescriptor() const in IsAccessorDescriptor()
188 inline bool IsDataDescriptor() const in IsDataDescriptor()
194 inline bool IsGenericDescriptor() const in IsGenericDescriptor()
200 inline bool IsEmpty() const in IsEmpty()
210 bool writable_ {false};
211 bool enumerable_ {false};
212 bool configurable_ {false};
213 bool hasWritable_ {false};
214 bool hasEnumerable_ {false};
215 bool hasConfigurable_ {false};
226 using IsFoundField = BitField<bool, 0, 1>;
237 explicit PropertyMetaData(bool isFound) in PropertyMetaData()
242 inline bool IsFound() const in IsFound()
247 inline void SetFound(bool flag) in SetFound()
252 inline bool GetIsInlinedProps() const in GetIsInlinedProps()
257 inline void SetIsInlinedProps(bool flag) in SetIsInlinedProps()
332 void SetCallable(bool flag);
333 bool IsCallable() const;
341 bool HasHash() const;
380 static bool ToPropertyDescriptorFast(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
387 …static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JST…
390 static bool CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
393 static bool CreateMethodProperty(JSThread *thread, const JSHandle<JSObject> &obj,
396 static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj,
399 …static bool CreateDataPropertyOrThrow(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
409 uint32_t &index, bool &fastMode, PropertyKind kind);
413 …static bool SetIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel leve…
415 …static bool TestIntegrityLevel(JSThread *thread, const JSHandle<JSObject> &obj, IntegrityLevel lev…
428 …static bool SetPrototype(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedV…
433 bool IsExtensible() const;
436 static bool PreventExtensions(JSThread *thread, const JSHandle<JSObject> &obj);
439 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
442 …static bool GlobalGetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key, PropertyDes…
444 static bool OrdinaryGetOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
448 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTa…
451 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
454 static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj,
457 …static bool OrdinaryDefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t in…
460 static bool IsCompatiblePropertyDescriptor(bool extensible, const PropertyDescriptor &desc,
463 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property…
479 …static bool SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
480 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
482 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
483 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
485 …static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTag…
487 bool mayThrow = false);
489 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t index,
490 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
492 static bool GlobalSetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key,
493 const JSHandle<JSTaggedValue> &value, bool mayThrow);
496 …static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedVa…
498 static bool HasProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index);
501 …static bool DeleteProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTagge…
514 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
520 static bool IsRegExp(JSThread *thread, const JSHandle<JSTaggedValue> &argument);
524 …static bool CallSetter(JSThread *thread, const AccessorData &accessor, const JSHandle<JSTaggedValu…
525 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
530 bool IsJSGlobalObject() const;
531 bool IsConstructor() const;
532 bool IsECMAObject() const;
533 bool IsJSError() const;
534 bool IsArguments() const;
535 bool IsDate() const;
536 bool IsJSArray() const;
537 bool IsJSMap() const;
538 bool IsJSSet() const;
539 bool IsJSRegExp() const;
540 bool IsJSFunction() const;
541 bool IsBoundFunction() const;
542 bool IsJSIntlBoundFunction() const;
543 bool IsProxyRevocFunction() const;
544 bool IsAccessorData() const;
545 bool IsJSGlobalEnv() const;
546 bool IsJSProxy() const;
547 bool IsGeneratorObject() const;
548 bool IsAsyncGeneratorObject() const;
549 bool IsForinIterator() const;
550 bool IsJSSetIterator() const;
551 bool IsJSRegExpIterator() const;
552 bool IsJSMapIterator() const;
553 bool IsJSArrayIterator() const;
554 bool IsJSAPIArrayListIterator() const;
555 bool IsJSAPIStackIterator() const;
556 bool IsJSAPIVectorIterator() const;
557 bool IsJSAPILinkedListIterator() const;
558 bool IsJSAPIListIterator() const;
559 bool IsJSPrimitiveRef() const;
560 bool IsElementDict() const;
561 bool IsPropertiesDict() const;
562 bool IsTypedArray() const;
566 bool useForClass = false);
618 inline std::pair<bool, JSTaggedValue> ConvertValueWithRep(uint32_t index, JSTaggedValue value);
620 template <bool needBarrier = true>
622 template <bool needBarrier = true>
631 template <bool needBarrier = true>
635 static bool IsArrayLengthWritable(JSThread *thread, const JSHandle<JSObject> &receiver);
636 bool UpdatePropertyInDictionary(const JSThread *thread, JSTaggedValue key, JSTaggedValue value);
637 static bool ShouldTransToDict(uint32_t capacity, uint32_t index);
655 static bool AddElementInternal(
660 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
671 static bool CheckHClassHit(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &cls);