Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/
H A Djs_util.cpp109 LOG_ERROR_RETURN(isArray, "not an array", napi_invalid_arg); in GetValue()
113 LOG_ERROR_RETURN((status == napi_ok) && (length > 0), "get_array failed!", napi_invalid_arg); in GetValue()
117 LOG_ERROR_RETURN((item != nullptr) && (status == napi_ok), "no element", napi_invalid_arg); in GetValue()
120 LOG_ERROR_RETURN(status == napi_ok, "not a string", napi_invalid_arg); in GetValue()
130 LOG_ERROR_RETURN(status == napi_ok, "create array failed!", status); in SetValue()
136 LOG_ERROR_RETURN((status == napi_ok), "napi_set_element failed!", status); in SetValue()
154 LOG_ERROR_RETURN(status == napi_ok, "napi_get_typedarray_info failed!", napi_invalid_arg); in GetValue()
155 LOG_ERROR_RETURN(type == napi_uint8_array, "is not Uint8Array!", napi_invalid_arg); in GetValue()
156 LOG_ERROR_RETURN((length > 0) && (data != nullptr), "invalid data!", napi_invalid_arg); in GetValue()
164 LOG_ERROR_RETURN(i in SetValue()
[all...]
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
H A Dnapi_data_utils.cpp98 LOG_ERROR_RETURN((status == napi_ok) && (type == napi_string), "invalid type", napi_invalid_arg); in GetValue()
132 LOG_ERROR_RETURN(isArray, "not an array", napi_invalid_arg); in GetValue()
136 LOG_ERROR_RETURN((status == napi_ok) && (length > 0), "get_array failed!", napi_invalid_arg); in GetValue()
140 LOG_ERROR_RETURN((item != nullptr) && (status == napi_ok), "no element", napi_invalid_arg); in GetValue()
143 LOG_ERROR_RETURN(status == napi_ok, "not a string", napi_invalid_arg); in GetValue()
153 LOG_ERROR_RETURN(status == napi_ok, "create array failed!", status); in SetValue()
159 LOG_ERROR_RETURN((status == napi_ok), "napi_set_element failed!", status); in SetValue()
177 LOG_ERROR_RETURN(status == napi_ok, "napi_get_typedarray_info failed!", napi_invalid_arg); in GetValue()
178 LOG_ERROR_RETURN(type == napi_uint8_array, "is not Uint8Array!", napi_invalid_arg); in GetValue()
179 LOG_ERROR_RETURN((lengt in GetValue()
[all...]
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Ddistributed_object_impl.cpp126 LOG_ERROR_RETURN(status == SUCCESS, "get name failed!", status); in GetAssetValue()
128 LOG_ERROR_RETURN(status == SUCCESS, "get uri failed!", status); in GetAssetValue()
130 LOG_ERROR_RETURN(status == SUCCESS, "get path failed!", status); in GetAssetValue()
132 LOG_ERROR_RETURN(status == SUCCESS, "get createTime failed!", status); in GetAssetValue()
134 LOG_ERROR_RETURN(status == SUCCESS, "get modifyTime failed!", status); in GetAssetValue()
136 LOG_ERROR_RETURN(status == SUCCESS, "get size failed!", status); in GetAssetValue()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/
H A Ddistributed_object_impl.h50 #define LOG_ERROR_RETURN(condition, message, retVal) \ macro
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Djs_util.h161 #define LOG_ERROR_RETURN(condition, message, retVal) \ macro
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
H A Dnapi_data_utils.h129 #define LOG_ERROR_RETURN(condition, message, retVal) \ macro

Completed in 3 milliseconds