Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 57) sorted by relevance

123

/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dgraph_checker_macros.h22 #define CHECKER_ASSERT(cond) ASSERT((cond)) argument
29 #define CHECKER_DO_IF_NOT(cond, func) ASSERT_DO((cond), func) argument
32 #define CHECKER_DO_IF_NOT_VISITOR_INTERNAL(visitor, klass, cond, func) ASSERT_DO((cond), func) argument
35 #define CHECKER_DO_IF_NOT_AND_PRINT(cond, func) ASSERT_DO((cond), func; PrintFailedMethodAndPass();) argument
37 #define CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(visitor, cond, func) \ argument
41 #define CHECKER_IF_NOT_PRINT(cond) CHECKER_DO_IF_NOT_AND_PRINT(cond, ) argument
44 #define CHECKER_IF_NOT_PRINT_VISITOR(visitor, cond) CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(visitor, co… argument
50 #define ABCKIT_ASSERT(cond) \ argument
56 #define CHECKER_ASSERT(cond) \ argument
76 #define ABCKIT_DO_IF_NOT_VISITOR(visitor, cond, func) \ argument
[all …]
/arkcompiler/ets_frontend/ets2panda/util/
Des2pandaMacros.h33 #define ES2PANDA_ASSERT_POS(cond, position) \ argument
41 #define ES2PANDA_ASSERT(cond) ES2PANDA_ASSERT_POS(cond, GetPositionForDiagnostic()) argument
56 #define ES2PANDA_ASSERT_POS(cond, position) static_cast<void>(0) argument
59 #define ES2PANDA_ASSERT(cond) static_cast<void>(0) argument
/arkcompiler/ets_runtime/common_components/log/
Dlog.h225 #define LOGD_IF(cond) (UNLIKELY_CC(cond)) && LOG_COMMON(DEBUG) argument
226 #define LOGI_IF(cond) (UNLIKELY_CC(cond)) && LOG_COMMON(INFO) argument
227 #define LOGW_IF(cond) (UNLIKELY_CC(cond)) && LOG_COMMON(WARN) argument
228 #define LOGE_IF(cond) (UNLIKELY_CC(cond)) && LOG_COMMON(ERROR) argument
229 #define LOGF_IF(cond) (UNLIKELY_CC(cond)) && LOG_COMMON(ERROR) << "Check failed: " << #cond && LOG_… argument
231 #define CHECKF(cond) (UNLIKELY_CC(!(cond))) && LOG_COMMON(FATAL) << "Check failed: " << #cond argument
232 #define LOGF_CHECK(cond) LOGF_IF(!(cond)) argument
244 #define ASSERT_LOGF(cond, msg) LOGF_IF(!(cond)) << (msg) argument
246 #define ASSERT_LOGF(cond, msg) argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_logging.h192 #define CHECK(cond, fmt, ...) \ argument
199 #define CHECK(cond, fmt, ...) \ argument
208 #define DCHECK(cond, fmt, ...) \ argument
221 #define CHECK_FATAL(cond, fmt, ...) … argument
238 #define CHECK_FATAL(cond, fmt, ...) \ argument
253 #define DEBUG_ASSERT(cond, fmt, ...) … argument
263 #define DEBUG_ASSERT(cond, fmt, ...) argument
/arkcompiler/ets_runtime/test/jittest/jnez/
Djnez.ts23 var cond = ((i % 2 == 1) ? true : false) variable
/arkcompiler/runtime_core/static_core/libpandabase/
Dmacros.h186 #define ASSERT(cond) \ argument
192 #define ASSERT_DO(cond, func) \ argument
200 #define ASSERT_PRINT(cond, message) \ argument
209 #define ASSERT_RETURN(cond) assert(cond) argument
217 #define ASSERT(cond) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
218 #define ASSERT_DO(cond, func) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
219 #define ASSERT_PRINT(cond, message) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
220 #define ASSERT_RETURN(cond) static_cast<void>(cond) // NOLINT(cppcoreguidelines-macro-usage) argument
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
Dcodegen_test.cpp182 for (auto cond : conds) { in TEST_F() local
215 for (auto cond : conds) { in TEST_F() local
250 for (auto cond : conds) { in TEST_F() local
283 for (auto cond : conds) { in TEST_F() local
318 for (auto cond : conds) { in TEST_F() local
351 for (auto cond : conds) { in TEST_F() local
385 for (auto cond : conds) { in TEST_F() local
418 for (auto cond : conds) { in TEST_F() local
454 for (auto cond : conds) { in TEST_F() local
491 for (auto cond : conds) { in TEST_F() local
[all …]
/arkcompiler/ets_runtime/test/jittest/jit_test_0001/
Djit_test_0001.ts29 var cond = ((i % 2 == 1) ? true : false) variable
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/core/
Dstdlib_ani_helpers.h59 #define ANI_FATAL_IF(cond) \ argument
/arkcompiler/runtime_core/libpandabase/
Dmacros.h195 #define ASSERT(cond) \ argument
201 #define ASSERT_DO(cond, func) \ argument
209 #define ASSERT_PRINT(cond, message) \ argument
217 #define ASSERT_RETURN(cond) assert(cond) argument
225 #define ASSERT(cond) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
226 #define ASSERT_DO(cond, func) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
227 #define ASSERT_PRINT(cond, message) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
228 #define ASSERT_RETURN(cond) static_cast<void>(cond) // NOLINT(cppcoreguidelines-macro-usage) argument
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dfmutex.cpp334 void ConditionVariableInit(struct CondVar *const cond) in ConditionVariableInit()
341 void ConditionVariableDestroy(struct CondVar *const cond) in ConditionVariableDestroy()
380 void Wait(struct CondVar *const cond, struct fmutex *const m) in Wait()
426 bool TimedWait(struct CondVar *const cond, struct fmutex *const m, uint64_t ms, uint64_t ns, bool i… in TimedWait()
489 void SignalCount(struct CondVar *const cond, int32_t toWake) in SignalCount()
/arkcompiler/runtime_core/libabckit/tests/scenarios/static_branch_elimination/
Dstatic_branch_elimination.cpp37 bool IsCall(AbckitInst *cond, AbckitInst **ifInstr, AbckitInst *curInst) in IsCall()
63 auto *cond = g_implG->iGetInput(curInst, 0); in __anoncb8892340202() local
/arkcompiler/runtime_core/panda_guard/util/
Dassert_util.h31 #define PANDA_GUARD_ASSERT_PRINT(cond, tag, errCode, desc) \ argument
/arkcompiler/runtime_core/static_core/compiler/
Dcompiler_logger.h70 #define COMPILER_LOG_IF(cond, level, comp) /* CC-OFFNXT(G.PRE.02) name part */ … argument
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dcpp_function.rb27 def condition(cond) argument
/arkcompiler/ets_runtime/common_components/heap/allocator/
Dlocal_deque.h27 #define DEQUE_ASSERT(cond, msg) ASSERT_LOGF(cond, msg) argument
29 #define DEQUE_ASSERT(cond, msg) (void(0)) argument
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvm_logger.h74 #define LLVM_LOG_IF(cond, level, comp) (cond) && LLVM_LOG(level, comp) argument
/arkcompiler/runtime_core/libpandafile/
Dhelpers.h51 #define THROW_IF(cond, msg) \ argument
56 #define THROW_IF(cond, msg) \ argument
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dfutex_test.cpp201 bool cond = false; in TEST() local
249 bool cond = false; in TEST() local
/arkcompiler/toolchain/tooling/dynamic/test/utils/
Dtest_util.h238 #define ASSERT_TRUE(cond) \ argument
246 #define ASSERT_FALSE(cond) \ argument
/arkcompiler/ets_runtime/ecmascript/
Dlog_wrapper.h34 #define LOG_ECMA_IF(cond, level) (cond) && ARK_LOG(level, Component::ALL) argument
Decma_macros.h280 #define DASSERT(cond) assert(cond) argument
282 #define DASSERT_PRINT(cond, message) \ argument
288 #define DASSERT(cond) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
289 #define DASSERT_PRINT(cond, message) static_cast<void>(0) // NOLINT(cppcoreguidelines-macro-usage) argument
293 #define RASSERT(cond) assert(cond) argument
295 #define RASSERT_PRINT(cond, message) \ argument
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_util.h238 #define ASSERT_TRUE(cond) \ argument
246 #define ASSERT_FALSE(cond) \ argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dmpl_logging.cpp69 void LogInfo::EmitErrorMessage(const std::string &cond, const std::string &file, unsigned int line,… in EmitErrorMessage()
/arkcompiler/ets_runtime/ecmascript/compiler/
Darray_bounds_check_elimination.cpp641 GateRef ArrayBoundsCheckElimination::Predicate(GateRef left, TypedBinOp cond, GateRef right) in Predicate()
646 GateRef ArrayBoundsCheckElimination::PredicateCmpWithConst(GateRef left, TypedBinOp cond, int32_t r… in PredicateCmpWithConst()
652 GateRef ArrayBoundsCheckElimination::PredicateAdd(GateRef left, int32_t leftConst, TypedBinOp cond,… in PredicateAdd()
660 TypedBinOp cond, int32_t right) in PredicateAddCmpWithConst()
763 void ArrayBoundsCheckElimination::ProcessIf(IntegerStack &pushed, GateRegion *parent, OpCode cond) in ProcessIf()

123