• Home
  • Raw
  • Download

Lines Matching full:bool

73 using ConcurrentCallback = void (*)(Local<JSValueRef> result, bool success, void *taskInfo, void *d…
115 inline bool IsEmpty() const in IsEmpty()
120 inline bool IsNull() const in IsNull()
217 inline bool IsEmpty() const in IsEmpty()
228 bool IsWeak() const;
314 inline bool IsEmpty() const in IsEmpty()
326 bool IsWeak() const;
372 bool alreadyEscape_ = false;
385 bool isRevert_ = false;
395 bool BooleaValue();
406 bool IsUndefined();
407 bool IsNull();
408 bool IsHole();
409 bool IsTrue();
410 bool IsFalse();
411 bool IsNumber();
412 bool IsBigInt();
413 bool IsInt();
414 bool WithinInt32();
415 bool IsBoolean();
416 bool IsString();
417 bool IsSymbol();
418 bool IsObject();
419 bool IsArray(const EcmaVM *vm);
420 bool IsJSArray(const EcmaVM *vm);
421 bool IsConstructor();
422 bool IsFunction();
423 bool IsProxy();
424 bool IsPromise();
425 bool IsDataView();
426 bool IsTypedArray();
427 bool IsNativePointer();
428 bool IsDate();
429 bool IsError();
430 bool IsMap();
431 bool IsSet();
432 bool IsWeakRef();
433 bool IsWeakMap();
434 bool IsWeakSet();
435 bool IsRegExp();
436 bool IsArrayIterator();
437 bool IsStringIterator();
438 bool IsSetIterator();
439 bool IsMapIterator();
440 bool IsArrayBuffer();
441 bool IsBuffer();
442 bool IsUint8Array();
443 bool IsInt8Array();
444 bool IsUint8ClampedArray();
445 bool IsInt16Array();
446 bool IsUint16Array();
447 bool IsInt32Array();
448 bool IsUint32Array();
449 bool IsFloat32Array();
450 bool IsFloat64Array();
451 bool IsBigInt64Array();
452 bool IsBigUint64Array();
453 bool IsJSPrimitiveRef();
454 bool IsJSPrimitiveNumber();
455 bool IsJSPrimitiveInt();
456 bool IsJSPrimitiveBoolean();
457 bool IsJSPrimitiveString();
459 bool IsGeneratorObject();
460 bool IsJSPrimitiveSymbol();
462 bool IsArgumentsObject();
463 bool IsGeneratorFunction();
464 bool IsAsyncFunction();
465 bool IsJSLocale();
466 bool IsJSDateTimeFormat();
467 bool IsJSRelativeTimeFormat();
468 bool IsJSIntl();
469 bool IsJSNumberFormat();
470 bool IsJSCollator();
471 bool IsJSPluralRules();
472 bool IsJSListFormat();
473 bool IsAsyncGeneratorFunction();
474 bool IsAsyncGeneratorObject();
476 bool IsModuleNamespaceObject();
477 bool IsSharedArrayBuffer();
479 bool IsStrictEquals(const EcmaVM *vm, Local<JSValueRef> value);
481 bool InstanceOf(const EcmaVM *vm, Local<JSValueRef> value);
483 bool IsArrayList();
484 bool IsDeque();
485 bool IsHashMap();
486 bool IsHashSet();
487 bool IsLightWeightMap();
488 bool IsLightWeightSet();
489 bool IsLinkedList();
490 bool IsLinkedListIterator();
491 bool IsList();
492 bool IsPlainArray();
493 bool IsQueue();
494 bool IsStack();
495 bool IsTreeMap();
496 bool IsTreeSet();
497 bool IsVector();
534 …static Local<JSValueRef> CreateBigWords(const EcmaVM *vm, bool sign, uint32_t size, const uint64_t…
535 void BigIntToInt64(const EcmaVM *vm, int64_t *cValue, bool *lossless);
536 void BigIntToUint64(const EcmaVM *vm, uint64_t *cValue, bool *lossless);
537 void GetWordsArray(bool* signBit, size_t wordCount, uint64_t* words);
543 static Local<BooleanRef> New(const EcmaVM *vm, bool input);
544 bool Value();
559 int WriteUtf8(char *buffer, int length, bool isWriteBuffer = false);
588 PropertyAttribute(Local<JSValueRef> value, bool w, bool e, bool c) in PropertyAttribute()
599 bool IsWritable() const in IsWritable()
603 void SetWritable(bool flag) in SetWritable()
608 bool IsEnumerable() const in IsEnumerable()
612 void SetEnumerable(bool flag) in SetEnumerable()
617 bool IsConfigurable() const in IsConfigurable()
621 void SetConfigurable(bool flag) in SetConfigurable()
626 bool HasWritable() const in HasWritable()
630 bool HasConfigurable() const in HasConfigurable()
634 bool HasEnumerable() const in HasEnumerable()
649 inline bool HasValue() const in HasValue()
664 bool HasGetter() const in HasGetter()
679 bool HasSetter() const in HasSetter()
688 bool writable_ = false;
689 bool enumerable_ = false;
690 bool configurable_ = false;
691 bool hasWritable_ = false;
692 bool hasEnumerable_ = false;
693 bool hasConfigurable_ = false;
705 bool Set(const EcmaVM *vm, void *attach, void *detach);
706 bool Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value);
707 bool Set(const EcmaVM *vm, uint32_t key, Local<JSValueRef> value);
708 bool SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> getter,
713 bool GetOwnProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute &property);
718 bool SetPrototype(const EcmaVM *vm, Local<ObjectRef> prototype);
720 bool DefineProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute attribute);
722 bool Has(const EcmaVM *vm, Local<JSValueRef> key);
723 bool Has(const EcmaVM *vm, uint32_t key);
725 bool Delete(const EcmaVM *vm, Local<JSValueRef> key);
726 bool Delete(const EcmaVM *vm, uint32_t key);
744 void *data = nullptr, bool callNapi = false, size_t nativeBindingsize = 0);
746 void *data, bool callNapi = false, size_t nativeBindingsize = 0);
755 bool Inherit(const EcmaVM *vm, Local<FunctionRef> parent);
759 bool IsNative(const EcmaVM *vm);
766 …static bool SetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index, Local<JSValueRef> …
781 bool Resolve(const EcmaVM *vm, Local<JSValueRef> value);
782 bool Reject(const EcmaVM *vm, Local<JSValueRef> reason);
796 bool IsDetach();
912 bool IsRevoked();
962 bool IsGenerator();
1044 void SetEnableArkTools(bool value) { in SetEnableArkTools()
1048 void SetEnableCpuprofiler(bool value) { in SetEnableCpuprofiler()
1070 void SetEnableAsmInterpreter(bool value) in SetEnableAsmInterpreter()
1075 void SetEnableBuiltinsLazy(bool value) in SetEnableBuiltinsLazy()
1090 bool GetIsWorker() const in GetIsWorker()
1100 void SetEnableAOT(bool value) in SetEnableAOT()
1110 void SetEnableProfile(bool value) in SetEnableProfile()
1161 bool GetEnableArkTools() const in GetEnableArkTools()
1166 bool GetEnableCpuprofiler() const in GetEnableCpuprofiler()
1191 bool GetEnableAsmInterpreter() const in GetEnableAsmInterpreter()
1196 bool GetEnableBuiltinsLazy() const in GetEnableBuiltinsLazy()
1211 bool GetEnableAOT() const in GetEnableAOT()
1221 bool GetEnableProfile() const in GetEnableProfile()
1236 bool enableArkTools_ {false};
1237 bool enableCpuprofiler_ {false};
1242 bool enableAsmInterpreter_ {true};
1243 bool enableBuiltinsLazy_ {true};
1244 bool isWorker_ {false};
1247 bool enableAOT_ {false};
1249 bool enableProfile_ {false};
1276 bool isDebugMode;
1307 static bool ExecuteInContext(EcmaVM *vm, const std::string &fileName, const std::string &entry,
1308 bool needUpdate = false);
1310 …static bool Execute(EcmaVM *vm, const std::string &fileName, const std::string &entry, bool needUp…
1311 static bool Execute(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &entry,
1312 const std::string &filename = "", bool needUpdate = false);
1314 …static bool ExecuteModuleBuffer(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &…
1315 bool needUpdate = false);
1316 …static bool ExecuteModuleFromBuffer(EcmaVM *vm, const void *data, int32_t size, const std::string …
1327 static bool ExecuteSecure(EcmaVM *vm, uint8_t *data, int32_t size, const std::string &entry,
1328 const std::string &filename = "", bool needUpdate = false);
1335 …static bool ExecuteModuleBufferSecure(EcmaVM *vm, uint8_t *data, int32_t size, const std::string &…
1336 bool needUpdate = false);
1350 static bool HasPendingException(const EcmaVM *vm);
1352 static bool StartDebugger(EcmaVM *vm, const DebugOption &option, int32_t instanceId = 0,
1354 static bool StopDebugger(EcmaVM *vm);
1355 static bool IsMixedDebugEnabled(const EcmaVM *vm);
1363 std::function<bool(std::string dirPath, uint8_t **buff, size_t *buffSize)> cb);
1364 …static void SetUnloadNativeModuleCallback(EcmaVM *vm, const std::function<bool(const std::string &…
1377 static bool DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm);
1385 …static bool IsQuickFixCausedException(EcmaVM *vm, Local<ObjectRef> exception, const std::string &p…
1387 static void RegisterQuickFixQueryFunc(EcmaVM *vm, std::function<bool(std::string baseFileName,
1391 static bool IsBundle(EcmaVM *vm);
1392 static void SetBundle(EcmaVM *vm, bool value);
1397 static bool InitForConcurrentThread(EcmaVM *vm, ConcurrentCallback cb, void *data);
1398 static bool InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> func, void *taskInfo);
1409 static bool initialize_;
1410 static bool CreateRuntime(const RuntimeOption &option);
1411 static bool DestroyRuntime();
1420 static bool IsWeak(const EcmaVM *vm, uintptr_t localAddress);
1606 bool CopyableGlobal<T>::IsWeak() const in IsWeak()
1651 bool Global<T>::IsWeak() const in IsWeak()