/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | logger_test.cpp | 35 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 47 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in DEATH_TEST() 50 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 69 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); in DEATH_TEST() 72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 83 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in DEATH_TEST() 93 Logger::InitializeStdLogging(Logger::Level::FATAL, componentMask); in DEATH_TEST() 94 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in DEATH_TEST() 95 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in DEATH_TEST() 96 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in DEATH_TEST() [all …]
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | logger_test.cpp | 40 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 52 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); 55 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 74 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); 77 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 88 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); 98 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask); 99 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); 100 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); 101 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | native_area_allocator.cpp | 26 LOG_ECMA_MEM(FATAL) << "capacity must have a size not less than sizeof Area."; in AllocateArea() 37 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << capacity in AllocateArea() 43 LOG_FULL(FATAL) << "memset_s failed"; in AllocateArea() 67 LOG_FULL(FATAL) << "memset_s failed"; in FreeArea() 83 LOG_FULL(FATAL) << "memset_s failed"; in Free() 94 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer() 100 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << size in AllocateBuffer() 106 LOG_FULL(FATAL) << "memset_s failed"; in AllocateBuffer() 123 LOG_FULL(FATAL) << "memset_s failed"; in FreeBuffer()
|
D | heap_region_allocator.cpp | 33 LOG_ECMA_MEM(FATAL) << "capacity must have a size bigger than 0"; in AllocateAlignedRegion() 48 LOG_ECMA_MEM(FATAL) << "pool is empty " << annoMemoryUsage_.load(std::memory_order_relaxed); in AllocateAlignedRegion() 53 LOG_FULL(FATAL) << "memset_s failed"; in AllocateAlignedRegion() 61 …LOG_ECMA_IF(AlignUp(mem, PANDA_POOL_ALIGNMENT_IN_BYTES) != mem, FATAL) << "region not align by 256… in AllocateAlignedRegion() 83 LOG_FULL(FATAL) << "memset_s failed"; in FreeRegion()
|
D | chunk.cpp | 27 LOG_ECMA_MEM(FATAL) << "OOM Chunk : NewArea area is nullptr"; in NewArea() 57 LOG_ECMA_MEM(FATAL) << "OOM chunk : newSize is "<< newSize << ", size is " << size; in Expand() 63 LOG_ECMA_MEM(FATAL) << "OOM chunk : NewArea area is nullptr"; in Expand()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/ |
D | await_js_promise.js | 24 let FATAL = 0 variable 88 msg("Result is not an object", FATAL); 92 msg("Expect result type 'Promise' but get '" + res.constructor.name + "'", FATAL); 100 msg("Promise must not be resolved until JS resolves the passed one", FATAL); 111 msg("Promise is not resolved or value is wrong", FATAL); 134 msg("No such test", FATAL); 146 msg("Expected test name", FATAL);
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | binary_buffer_parser.cpp | 24 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer() 28 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer() 42 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer() 45 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask fa… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask … in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) != 0, FATAL, COMMON) << "pthread_sigm… in GetCurrent()
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask f… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask… in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) == -1, FATAL, COMMON) << "pthread_sig… in GetCurrent()
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
D | mutex.cpp | 118 LOG(FATAL, COMMON) << "RWLock destruction failed; state_ is non zero!"; in ~RWLock() 121 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has an owner!"; in ~RWLock() 124 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has waiters!"; in ~RWLock() 158 LOG(FATAL, COMMON) << "Futex wait failed!"; in WriteLock() 188 LOG(FATAL, COMMON) << "Futex wait failed!"; in HandleReadLockWait() 275 … LOG(FATAL, COMMON) << "RWLock WriteUnlock got unexpected state, RWLock is not writelocked?"; in WriteUnlock() 287 LOG(FATAL, COMMON) << "CondVar destruction failed; waiters_ is non zero!"; in ~ConditionVariable() 302 LOG(FATAL, COMMON) << "CondVar Wait failed; provided mutex is not held by current thread"; in Wait() 311 LOG(FATAL, COMMON) << "CondVar Wait failed; mutex_ptr_ doesn't equal to provided mutex"; in Wait() 326 LOG(FATAL, COMMON) << "Futex wait failed!"; in Wait() [all …]
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_record.cpp | 27 LOG_ECMA(FATAL) << "this branch is unreachable"; in Instantiate() 37 LOG_ECMA(FATAL) << "this branch is unreachable"; in Evaluate() 46 LOG_ECMA(FATAL) << "this branch is unreachable"; in GetNamespace() 55 LOG_ECMA(FATAL) << "this branch is unreachable"; in SetNamespace()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | log.cpp | 43 level = Level::FATAL; in ConvertToLevel() 87 case LOG_LEVEL::FATAL: in ConvertFromRuntime() 88 logLevel = Level::FATAL; in ConvertFromRuntime() 112 case Level::FATAL: in LevelToString() 127 level_ = FATAL; in SetLogLevelFromString() 207 case Logger::PandaLog2MobileLog::FATAL: in PrintLogger() 208 LOG_ECMA(FATAL) << message; in PrintLogger() 221 level_ = FATAL; in Initialize() 281 PUBLIC_API AndroidLog<FATAL>::~AndroidLog() in ~AndroidLog()
|
/arkcompiler/runtime_core/static_core/runtime/ |
D | monitor_object_lock.cpp | 34 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in Wait() 41 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in TimedWait() 48 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::Notify() failed"; in Notify() 54 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::NotifyAll() failed"; in NotifyAll()
|
D | monitor.cpp | 272 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorEnter() 275 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorEnter() 327 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorExit() 330 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorExit() 440 … LOG(FATAL, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait() 452 LOG(FATAL, RUNTIME) << "Undefined object state"; in Wait() 501 LOG(FATAL, RUNTIME) << "Undefined object state"; in Notify() 550 LOG(FATAL, RUNTIME) << "Undefined object state"; in NotifyAll() 596 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Acquire"; in Acquire() 618 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Acquire"; in Acquire() [all …]
|
/arkcompiler/ets_runtime/ecmascript/shared_mm/ |
D | shared_mm.cpp | 78 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer() 82 LOG_ECMA_MEM(FATAL) << "size must be less than the maximum"; in AllocateBuffer() 88 LOG_ECMA_MEM(FATAL) << "malloc failed"; in AllocateBuffer() 93 LOG_ECMA_MEM(FATAL) << "memset failed"; in AllocateBuffer()
|
/arkcompiler/runtime_core/static_core/dprof/daemon/ |
D | main.cpp | 216 PLOG_IF(::memset_s(&sa, sizeof(sa), 0, sizeof(sa)) != 0, FATAL, DPROF) << "memset_s failed"; in SetupSignals() 218 PLOG_IF(::sigemptyset(&sa.sa_mask) == -1, FATAL, DPROF) << "sigemptyset() failed"; in SetupSignals() 220 PLOG_IF(::sigaction(SIGINT, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGINT) failed"; in SetupSignals() 221 PLOG_IF(::sigaction(SIGHUP, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGHUP) failed"; in SetupSignals() 222 PLOG_IF(::sigaction(SIGTERM, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGTERM) failed"; in SetupSignals() 242 LOG(FATAL, DPROF) << "Cannot init storage"; in Main() 249 LOG(FATAL, DPROF) << "Cannot create socket"; in Main() 264 PLOG(FATAL, DPROF) << "accept() failed"; in Main()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/ |
D | mutex.cpp | 117 LOG(FATAL, COMMON) << "RWLock destruction failed; state_ is non zero!"; in ~RWLock() 120 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has an owner!"; in ~RWLock() 123 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has waiters!"; in ~RWLock() 157 LOG(FATAL, COMMON) << "Futex wait failed!"; in WriteLock() 187 LOG(FATAL, COMMON) << "Futex wait failed!"; in HandleReadLockWait() 274 … LOG(FATAL, COMMON) << "RWLock WriteUnlock got unexpected state, RWLock is not writelocked?"; in WriteUnlock()
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
D | dwarf_builder.cpp | 68 LOG(FATAL, COMPILER) << "Dwarf initialization failed: " << dwarf_errmsg(error); in DwarfBuilder() 73 LOG(FATAL, COMPILER) << "dwarf_pro_set_default_string_form failed: " << dwarf_errmsg(error); in DwarfBuilder() 78 LOG(FATAL, COMPILER) << "dwarf_new_die failed: " << dwarf_errmsg(error); in DwarfBuilder() 83 LOG(FATAL, COMPILER) << "dwarf_add_AT_producer failed: " << dwarf_errmsg(error); in DwarfBuilder() 88 LOG(FATAL, COMPILER) << "dwarf_add_die_to_debug_a failed: " << dwarf_errmsg(error); in DwarfBuilder() 95 LOG(FATAL, COMPILER) << "DW_AT_language failed: " << dwarf_errmsg(error); in DwarfBuilder() 138 LOG(FATAL, COMPILER) << "dwarf_lne_set_address failed: " << dwarf_errmsg(error); in BuildGraph() 256 LOG(FATAL, COMPILER) << "dwarf_add_file_decl failed: " << dwarf_errmsg(error); in AddFile() 270 LOG(FATAL, COMPILER) << "dwarf_add_file_decl failed: " << dwarf_errmsg(error); in AddDir()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | panda_file_translator.cpp | 339 …LOG_ECMA_IF(id > std::numeric_limits<uint16_t>::max(), FATAL) << "Cannot translate to 16 bits: " <… in FixOpcode() 343 LOG_FULL(FATAL) << "FixOpcode memcpy_s fail"; in FixOpcode() 398 LOG_FULL(FATAL) << "FixOpcode fail: " << static_cast<uint32_t>(opcode); in FixOpcode() 957 LOG_FULL(FATAL) << "Need Add ITERNEXT Deprecated"; in FixOpcode() 1007 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() 1017 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() 1032 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() 1042 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() 1057 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() 1067 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode() [all …]
|
D | js_pandafile_manager.cpp | 305 LOG_ECMA(FATAL) << "add failed, file already exist: " << filename; in AddJSPandaFileVm() 321 LOG_ECMA(FATAL) << "insert vm failed, file not exist: " << filename; in InsertJSPandaFileVmUnlocked() 416 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in GetJSPtExtractor() 421 LOG_ECMA(FATAL) << "get extractor failed, file not exist: " << filename; in GetJSPtExtractor() 438 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in GetJSPtExtractorAndExtract() 443 LOG_ECMA(FATAL) << "get extractor failed, file not exist: " << filename; in GetJSPtExtractorAndExtract() 461 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in CpuProfilerGetJSPtExtractor() 466 LOG_ECMA(FATAL) << "get extractor failed, file not exist: " << filename; in CpuProfilerGetJSPtExtractor() 567 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer() 571 LOG_ECMA_MEM(FATAL) << "size must be less than the maximum"; in AllocateBuffer() [all …]
|
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/ |
D | paoc_clusters.h | 68 LOG_PAOC_CLUSTERS(FATAL) << "Can't find `" << CLUSTERS_OBJ_NAME << "` object"; in InitClusters() 77 LOG_PAOC_CLUSTERS(FATAL) << "Can't find a cluster (idx = " << idx << ")"; in InitClusters() 88 LOG_PAOC_CLUSTERS(FATAL) << "Can't find option's value (cluster `" in InitClusters() 94 LOG_PAOC_CLUSTERS(FATAL) << "Unknown option: `" << optionName << "`"; in InitClusters() 105 LOG_PAOC_CLUSTERS(FATAL) << "Can't find `" << CLUSTERS_MAP_OBJ_NAME << "` object"; in InitClustersMap() 116 … LOG_PAOC_CLUSTERS(FATAL) << "Can't get clusters array for method `" << methodName << "`"; in InitClustersMap() 131 … LOG_PAOC_CLUSTERS(FATAL) << "Incorrect reference to a cluster for `" << methodName << "`"; in InitClustersMap() 135 … LOG_PAOC_CLUSTERS(FATAL) << "Cluster's index out of range for `" << methodName << "`"; in InitClustersMap()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_stub_builder.h | 109 LOG_ECMA(FATAL) << "this branch is unreachable"; in IsContainer() 129 LOG_ECMA(FATAL) << "this branch is unreachable"; in IsReplaceAllElements() 149 LOG_ECMA(FATAL) << "this branch is unreachable"; in IsPlainArray() 169 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerSet() 228 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetSize() 272 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetValue() 290 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetKey() 316 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetNode()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 256 LOG_IF_SPECIAL(regExp, FATAL); in GetOriginalSource() 299 LOG_IF_SPECIAL(regExp, FATAL); in IsGlobal() 310 LOG_IF_SPECIAL(regExp, FATAL); in IsIgnoreCase() 321 LOG_IF_SPECIAL(regExp, FATAL); in IsMultiline() 332 LOG_IF_SPECIAL(regExp, FATAL); in IsDotAll() 343 LOG_IF_SPECIAL(regExp, FATAL); in IsUtf16() 354 LOG_IF_SPECIAL(regExp, FATAL); in IsStick() 372 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorState() 383 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorFunction() 393 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorReceiver() [all …]
|
/arkcompiler/runtime_core/static_core/runtime/include/mem/ |
D | allocator.h | 180 LOG(FATAL, ALLOC) << "Allocator::IterateOverYoungObjects" << std::endl; in IterateOverYoungObjects() 185 LOG(FATAL, ALLOC) << "Allocator::IterateOverTenuredObjects" << std::endl; in IterateOverTenuredObjects() 191 LOG(FATAL, ALLOC) << "Allocator::IterateRegularSizeObjects"; in IterateRegularSizeObjects() 197 LOG(FATAL, ALLOC) << "Allocator::IterateNonRegularSizeObjects"; in IterateNonRegularSizeObjects() 202 LOG(FATAL, ALLOC) << "Allocator::FreeObjectsMovedToPygoteSpace"; in FreeObjectsMovedToPygoteSpace() 342 LOG(FATAL, ALLOC) in Allocate() 475 LOG(FATAL, ALLOC) << "ObjectAllocatorBase shouldn't have Free"; in Free() 523 LOG(FATAL, ALLOC) << "IterateOverObjectsInRange not implemented for AllocatorSinglet"; in IterateOverObjectsInRange() 528 LOG(FATAL, ALLOC) << "IterateOverObjects not implemented for AllocatorSinglet"; in IterateOverObjects() 676 LOG(FATAL, ALLOC) << "ObjectAllocatorNoGen: IsIntersectedWithYoung not applicable"; in IsIntersectedWithYoung() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | extend_assembler.h | 51 LOG_COMPILER(FATAL) << "temp register1 inuse."; in TempRegister1() 60 LOG_COMPILER(FATAL) << "temp register2 inuse."; in TempRegister2() 91 LOG_COMPILER(FATAL) << "arm64 invalid call argument:" << i; in CallDispatcherArgument()
|