Home
last modified time | relevance | path

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

/base/security/asset/frameworks/js/napi/src/
H A Dasset_napi_common.cpp50 #define CHECK_ASSET_TAG(env, condition, tag, message) \ macro
72 CHECK_ASSET_TAG(env, !result, tag, "Expect type napi_typedarray."); in ParseByteArray()
74 CHECK_ASSET_TAG(env, arrayType != napi_uint8_array, tag, "Expect type napi_uint8_array."); in ParseByteArray()
75 CHECK_ASSET_TAG(env, length == 0 || length > MAX_BUFFER_LEN, tag, "Invalid array length."); in ParseByteArray()
99 CHECK_ASSET_TAG(env, type != napi_boolean, attr.tag, "Expect type napi_boolean."); in ParseAssetAttribute()
103 CHECK_ASSET_TAG(env, type != napi_number, attr.tag, "Expect type napi_number."); in ParseAssetAttribute()
107 CHECK_ASSET_TAG(env, type != napi_object, attr.tag, "Expect type napi_object."); in ParseAssetAttribute()
111 CHECK_ASSET_TAG(env, true, attr.tag, "Invalid tag argument."); in ParseAssetAttribute()

Completed in 1 milliseconds