Home
last modified time | relevance | path

Searched refs:ARKTS_ASSERT_P (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_napi.cpp107 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_GetGlobalConstant()
278 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateFunc()
299 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateClass()
316 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_GetPrototype()
317 ARKTS_ASSERT_P(ARKTS_IsClass(env, value), "value is not constructor"); in ARKTS_GetPrototype()
353 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_Call()
354 ARKTS_ASSERT_P(ARKTS_IsCallable(env, func), "func is not callable"); in ARKTS_Call()
355 ARKTS_ASSERT_P(numArgs <= MAX_CALL_ARGS, "too many arguments, 255 most"); in ARKTS_Call()
374 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_New()
375 ARKTS_ASSERT_P(ARKTS_IsClas in ARKTS_New()
[all...]
H A Dark_interop_bigint.cpp24 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateBigInt()
51 ARKTS_ASSERT_P(env, "env is null");
52 ARKTS_ASSERT_P(size != 0 && size <= int64_t(0xFFFF'FFFF) * WORD_BYTES, "size is invalid");
53 ARKTS_ASSERT_P(bytes, "bytes is null");
H A Dark_interop_symbol.cpp24 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateSymbol()
52 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_GetSymbolDesc()
53 ARKTS_ASSERT_P(ARKTS_IsSymbol(env, value), "value is not a symbol"); in ARKTS_GetSymbolDesc()
H A Dark_interop_object.cpp36 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateObject()
75 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_EnumOwnProperties()
76 ARKTS_ASSERT_P(ARKTS_IsHeapObject(jobj), "object is not heap object"); in ARKTS_EnumOwnProperties()
143 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_GetProperty()
144 ARKTS_ASSERT_P(ARKTS_IsHeapObject(jobj), "object is not heap object"); in ARKTS_GetProperty()
145 ARKTS_ASSERT_P(ARKTSInner_IsJSKey(env, jkey), "key is not string or symbol"); in ARKTS_GetProperty()
H A Dark_interop_engine.cpp155 ARKTS_ASSERT_P(engine, "engine is null"); in ARKTS_GetNAPIEnv()
236 ARKTS_ASSERT_P(engine, "engine is null"); in ARKTS_ImportFromEntry()
237 ARKTS_ASSERT_P(entryPoint, "entryPoint is null"); in ARKTS_ImportFromEntry()
238 ARKTS_ASSERT_P(importName, "importName is null"); in ARKTS_ImportFromEntry()
256 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_Require()
261 ARKTS_ASSERT_P(ARKTS_IsHeapObject(global), "js global is null"); in ARKTS_Require()
265 ARKTS_ASSERT_P(ARKTS_IsCallable(env, funcName), "global func requireInternal is undefined"); in ARKTS_Require()
270 ARKTS_ASSERT_P(ARKTS_IsCallable(env, funcValue), "global func requireNapi is undefined"); in ARKTS_Require()
H A Dark_interop_global.cpp109 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateGlobal()
110 ARKTS_ASSERT_P(ARKTS_IsHeapObject(value), "value is not heap object"); in ARKTS_CreateGlobal()
126 ARKTS_ASSERT_P(global, "global is null"); in ARKTS_GetGlobalValue()
H A Dark_interop_string.cpp30 ARKTS_ASSERT_P(env, "env is null"); in ARKTS_CreateUtf8()
31 ARKTS_ASSERT_P(value, "value is null"); in ARKTS_CreateUtf8()
H A Dark_interop_internal.h108 #define ARKTS_ASSERT_P(condition, error) ARKTS_ASSERT(condition, error, nullptr) macro

Completed in 4 milliseconds