Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/os/algos/util/
Dnano_assert.h37 #ifndef ASSERT
39 #define ASSERT(x) ASSERT_IMPL(x) macro
41 #define ASSERT(x) ((void)(x)) macro
47 #define ASSERT_NOT_NULL(ptr) ASSERT((ptr) != nullptr)
49 #define ASSERT_NOT_NULL(ptr) ASSERT((ptr) != NULL)
/device/google/contexthub/firmware/os/algos/common/math/
Dmat.c96 ASSERT(out != A); in mat33Multiply()
97 ASSERT(out != B); in mat33Multiply()
177 ASSERT(out != A); in mat33MultiplyTransposed()
178 ASSERT(out != B); in mat33MultiplyTransposed()
200 ASSERT(out != A); in mat33MultiplyTransposed2()
201 ASSERT(out != B); in mat33MultiplyTransposed2()
251 ASSERT(fabsf(tmp.elem[i][i]) > 0); in mat33Invert()
560 ASSERT(n > 0); in matMaxDiagonalElement()
639 ASSERT(n <= INT32_MAX); in matLinearSolveCholesky()
Dvec.c43 ASSERT(magSquared > 0); in findOrthogonalVector()
Dvec.h136 ASSERT(norm > 0); in vec3Normalize()
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c553 ASSERT(over_temp_cal->delta_temp_per_bin > 0); in overTempCalUpdateSensorEstimate()
1289 ASSERT(over_temp_cal->delta_temp_per_bin > 0); in jumpStartModelData()
1349 ASSERT(over_temp_cal->num_model_pts > 0); in updateModel()
1372 ASSERT(sw > 0.0f); in updateModel()
1387 ASSERT(stt > 0.0f); in updateModel()
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c126 ASSERT(data->expected_norm > MIN_VALID_DATA_NORM); in sphereFitResidAndJacobianFunc()