Home
last modified time | relevance | path

Searched refs:CHECK_DECLARE (Results 1 – 3 of 3) sorted by relevance

/external/libxcam/tests/
Dtest_common.h30 #undef CHECK_DECLARE
34 #define CHECK_DECLARE(level, exp, statement, msg, ...) \ macro
41 CHECK_DECLARE(ERROR, (ret) == XCAM_RETURN_NO_ERROR, return -1, msg, ## __VA_ARGS__)
44 CHECK_DECLARE(ERROR, (ret) == XCAM_RETURN_NO_ERROR, statement, msg, ## __VA_ARGS__)
47 CHECK_DECLARE(WARNING, (ret) == XCAM_RETURN_NO_ERROR, , msg, ## __VA_ARGS__)
50 CHECK_DECLARE(ERROR, exp, return -1, msg, ## __VA_ARGS__)
Dtest-video-stabilization.cpp292 CHECK_DECLARE ( in read_device_pose()
303 CHECK_DECLARE (ERROR, ptr, RELEASE_FILE_MEM, "malloc file buffer failed"); in read_device_pose()
305 CHECK_DECLARE ( in read_device_pose()
333CHECK_DECLARE (ERROR, data.ptr (), RELEASE_FILE_MEM, "invalid buffer pointer(device pose is null)"… in read_device_pose()
342 CHECK_DECLARE (ERROR, false, RELEASE_FILE_MEM, "unknow branch"); in read_device_pose()
Dtest-image-blend.cpp403CHECK_DECLARE (ERROR, fseek(p_f, 0L, SEEK_END) == 0, FAILED_READ_MAP, "seek to file(%s) end failed… in read_map_data()
410CHECK_DECLARE (ERROR, fread (ptr, 1, size, p_f) == size, FAILED_READ_MAP, "read map file(%s)failed… in read_map_data()