Home
last modified time | relevance | path

Searched refs:FATAL (Results 1 - 25 of 453) sorted by relevance

12345678910>>...19

/arkcompiler/runtime_core/libpandabase/tests/
H A Dlogger_test.cpp43 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
55 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in HWTEST_F()
58 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
77 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); in HWTEST_F()
80 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
91 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in HWTEST_F()
101 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask); in HWTEST_F()
102 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in HWTEST_F()
103 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in HWTEST_F()
104 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logge in HWTEST_F()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dlogger_test.cpp35 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, Logge in DEATH_TEST()
[all...]
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dnative_area_allocator.cpp28 LOG_ECMA_MEM(FATAL) << "capacity must have a size not less than sizeof Area."; in AllocateArea()
39 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << capacity in AllocateArea()
45 LOG_FULL(FATAL) << "memset_s failed"; in AllocateArea()
69 LOG_FULL(FATAL) << "memset_s failed"; in FreeArea()
85 LOG_FULL(FATAL) << "memset_s failed"; in Free()
96 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer()
102 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << size in AllocateBuffer()
108 LOG_FULL(FATAL) << "memset_s failed"; in AllocateBuffer()
126 LOG_FULL(FATAL) << "memset_s failed"; in FreeBuffer()
H A Dheap_region_allocator.cpp28 LOG_ECMA_MEM(FATAL) << "capacity must have a size bigger than 0"; in AllocateAlignedRegion()
51 LOG_ECMA_MEM(FATAL) << "pool is empty " << annoMemoryUsage_.load(std::memory_order_relaxed); in AllocateAlignedRegion()
56 LOG_FULL(FATAL) << "memset_s failed"; in AllocateAlignedRegion()
64 LOG_ECMA_IF(AlignUp(mem, PANDA_POOL_ALIGNMENT_IN_BYTES) != mem, FATAL) << "region not align by 256KB"; in AllocateAlignedRegion() local
87 LOG_FULL(FATAL) << "memset_s failed"; in FreeRegion()
H A Dchunk.cpp28 LOG_ECMA_MEM(FATAL) << "OOM Chunk : NewArea area is nullptr"; in NewArea()
58 LOG_ECMA_MEM(FATAL) << "OOM chunk : newSize is "<< newSize << ", size is " << size; in Expand()
64 LOG_ECMA_MEM(FATAL) << "OOM chunk : NewArea area is nullptr"; in Expand()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Dbinary_buffer_parser.cpp23 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer()
27 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer()
41 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer()
44 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer()
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
H A Dmutex.cpp118 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, COMMO in Wait()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/
H A Dawait_js_promise.js24 let FATAL = 0;
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);
136 msg('No such test', FATAL);
148 msg('Expected test name', FATAL);
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dsignal.h34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; local
45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() local
50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() local
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 failed"; in Block() local
67 LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask failed"; in Unblock() local
73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait() local
79 LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) == -1, FATAL, COMMON) << "pthread_sigmask failed"; in GetCurrent() local
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dsignal.h34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; local
45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() local
50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() local
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 failed"; in Block() local
67 LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask failed"; in Unblock() local
73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait() local
79 LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) != 0, FATAL, COMMON) << "pthread_sigmask failed"; in GetCurrent() local
/arkcompiler/ets_runtime/ecmascript/
H A Dlog.cpp43 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()
215 case Logger::PandaLog2MobileLog::FATAL: in PrintLogger()
216 LOG_ECMA(FATAL) << message; in PrintLogger()
229 level_ = FATAL; in Initialize()
289 PUBLIC_API AndroidLog<FATAL>::~AndroidLog() in ~AndroidLog()
/arkcompiler/ets_runtime/ecmascript/shared_mm/
H A Dshared_mm.cpp80 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer()
84 LOG_ECMA_MEM(FATAL) << "size must be less than the maximum"; in AllocateBuffer()
90 LOG_ECMA_MEM(FATAL) << "malloc failed"; in AllocateBuffer()
95 LOG_ECMA_MEM(FATAL) << "memset failed"; in AllocateBuffer()
/arkcompiler/runtime_core/static_core/runtime/
H A Dmonitor_object_lock.cpp34 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()
H A Dmonitor.cpp297 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorEnter()
300 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorEnter()
352 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorExit()
355 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorExit()
465 LOG(FATAL, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait()
477 LOG(FATAL, RUNTIME) << "Undefined object state"; in Wait()
526 LOG(FATAL, RUNTIME) << "Undefined object state"; in Notify()
575 LOG(FATAL, RUNTIME) << "Undefined object state"; in NotifyAll()
621 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Acquire"; in Acquire()
643 LOG(FATAL, RUNTIM in Acquire()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dcontainers_stub_builder.h109 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 IsArrayListReplaceAllelements()
189 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerSet()
248 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetSize()
292 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetValue()
310 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetKey()
336 LOG_ECMA(FATAL) << "this branch is unreachable"; in ContainerGetNode()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dpanda_file_translator.cpp404 LOG_ECMA_IF(id > std::numeric_limits<uint16_t>::max(), FATAL) << "Cannot translate to 16 bits: " << id; in FixOpcode()
408 LOG_FULL(FATAL) << "FixOpcode memcpy_s fail"; in FixOpcode()
463 LOG_FULL(FATAL) << "FixOpcode fail: " << static_cast<uint32_t>(opcode); in FixOpcode()
1022 LOG_FULL(FATAL) << "Need Add ITERNEXT Deprecated"; in FixOpcode()
1072 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode()
1082 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode()
1097 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode()
1107 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode()
1122 LOG_FULL(FATAL) << "FixOpcode memmove_s fail"; in FixOpcode()
1132 LOG_FULL(FATAL) << "FixOpcod in FixOpcode()
[all...]
H A Djs_pandafile_manager.cpp77 LOG_FULL(FATAL) << "resolveBufferCallback is nullptr"; in LoadJSPandaFile()
87 LOG_FULL(FATAL) << "Invalid input hsp path: " << filename; in LoadJSPandaFile()
98 LOG_FULL(FATAL) << "resolveBufferCallback get hsp buffer failed, hsp path:" << filename in LoadJSPandaFile()
339 LOG_ECMA(FATAL) << "add failed, file already exist: " << filename; in AddJSPandaFile()
423 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in GetJSPtExtractor()
428 LOG_ECMA(FATAL) << "get extractor failed, file not exist: " << filename in GetJSPtExtractor()
446 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in GetJSPtExtractorAndExtract()
451 LOG_ECMA(FATAL) << "get extractor failed, file not exist: " << filename; in GetJSPtExtractorAndExtract()
469 LOG_ECMA_IF(jsPandaFile == nullptr, FATAL) << "GetJSPtExtractor error, js pandafile is nullptr"; in CpuProfilerGetJSPtExtractor()
474 LOG_ECMA(FATAL) << "ge in CpuProfilerGetJSPtExtractor()
[all...]
/arkcompiler/runtime_core/static_core/dprof/daemon/
H A Dmain.cpp216 PLOG_IF(::memset_s(&sa, sizeof(sa), 0, sizeof(sa)) != 0, FATAL, DPROF) << "memset_s failed"; in SetupSignals() local
218 PLOG_IF(::sigemptyset(&sa.sa_mask) == -1, FATAL, DPROF) << "sigemptyset() failed"; in SetupSignals() local
220 PLOG_IF(::sigaction(SIGINT, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGINT) failed"; in SetupSignals() local
221 PLOG_IF(::sigaction(SIGHUP, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGHUP) failed"; in SetupSignals() local
222 PLOG_IF(::sigaction(SIGTERM, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGTERM) failed"; in SetupSignals() local
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/compiler/tools/paoc/
H A Dpaoc_clusters.h68 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/runtime_core/static_core/platforms/unix/libpandabase/futex/
H A Dmutex.cpp118 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()
142 LOG(FATAL, COMMON) << "Futex wait failed!"; in FutexWait()
187 LOG(FATAL, COMMON) << "Futex wait failed!"; in WaitForFutex()
280 LOG(FATAL, COMMON) << "RWLock WriteUnlock got unexpected state, RWLock is not writelocked?"; in WriteUnlock()
/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dmap.cpp35 LOG_ECMA(FATAL) << "this branch is unreachable"; in GetPageTagString()
51 LOG_ECMA(FATAL) << "this branch is unreachable"; in GetPageTagString()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi.cpp234 LOG_IF_SPECIAL(regExp, FATAL); in GetOriginalSource()
279 LOG_IF_SPECIAL(regExp, FATAL); in IsGlobal()
291 LOG_IF_SPECIAL(regExp, FATAL); in IsIgnoreCase()
303 LOG_IF_SPECIAL(regExp, FATAL); in IsMultiline()
315 LOG_IF_SPECIAL(regExp, FATAL); in IsDotAll()
327 LOG_IF_SPECIAL(regExp, FATAL); in IsUtf16()
339 LOG_IF_SPECIAL(regExp, FATAL); in IsStick()
359 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorState()
371 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorFunction()
382 LOG_IF_SPECIAL(jsGenerator, FATAL); in GetGeneratorReceiver()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dthread_communicator.cpp38 LOG_IF(syscallResult != sizeof(SampleInfo), FATAL, PROFILER) in SendSample()
54 LOG_IF(syscallResult != sizeof(SampleInfo), FATAL, PROFILER) in ReadSample()
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dllvm_irtoc_compiler.cpp129 LLVM_LOG_IF(g_options.IsLlvmDumpObj(), FATAL, INFRA) in FinishCompile()
182 LLVM_LOG_IF(!buffer, FATAL, INFRA) << "Could not read inline module from file = '" << moduleFile << "', error: '" in InitializeModule()
186 LLVM_LOG_IF(!contents, FATAL, INFRA) << "Could get bitcode file contents from file = '" << moduleFile in InitializeModule()
190 LLVM_LOG_IF(contents->Mods.size() != EXPECTED_MODULES, FATAL, INFRA) in InitializeModule()
194 LLVM_LOG_IF(!module, FATAL, INFRA) << "Could not parse inline module from file '" << moduleFile << "', error: '" in InitializeModule()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dlogger.h64 FATAL,
166 case Level::FATAL: in WriteMobileLog()
167 mlogLevel = PandaLog2MobileLog::FATAL; in WriteMobileLog()
182 (logger_->componentMask_.test(component) || level == Level::FATAL); in IsLoggingOn()
191 if (level == Level::FATAL) { in IsLoggingOnOrAbort()
514 #define _LOG_FATAL(component, p) _LOG(FATAL, component, p)

Completed in 439 milliseconds

12345678910>>...19