Home
last modified time | relevance | path

Searched refs:ASSERT_NOT_NULL (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dvec.c22 ASSERT_NOT_NULL(outX); in findOrthogonalVector()
23 ASSERT_NOT_NULL(outY); in findOrthogonalVector()
24 ASSERT_NOT_NULL(outZ); in findOrthogonalVector()
55 ASSERT_NOT_NULL(u); in vecAdd()
56 ASSERT_NOT_NULL(v); in vecAdd()
57 ASSERT_NOT_NULL(w); in vecAdd()
65 ASSERT_NOT_NULL(v); in vecAddInPlace()
66 ASSERT_NOT_NULL(w); in vecAddInPlace()
74 ASSERT_NOT_NULL(u); in vecSub()
75 ASSERT_NOT_NULL(v); in vecSub()
[all …]
Dvec.h58 ASSERT_NOT_NULL(v); in initVec3()
66 ASSERT_NOT_NULL(v); in vec3Add()
67 ASSERT_NOT_NULL(w); in vec3Add()
76 ASSERT_NOT_NULL(u); in vec3AddVecs()
77 ASSERT_NOT_NULL(v); in vec3AddVecs()
78 ASSERT_NOT_NULL(w); in vec3AddVecs()
86 ASSERT_NOT_NULL(v); in vec3Sub()
87 ASSERT_NOT_NULL(w); in vec3Sub()
96 ASSERT_NOT_NULL(u); in vec3SubVecs()
97 ASSERT_NOT_NULL(v); in vec3SubVecs()
[all …]
Dmat.c47 ASSERT_NOT_NULL(A); in initZeroMatrix()
53 ASSERT_NOT_NULL(A); in initDiagonalMatrix()
64 ASSERT_NOT_NULL(A); in initMatrixColumns()
65 ASSERT_NOT_NULL(v1); in initMatrixColumns()
66 ASSERT_NOT_NULL(v2); in initMatrixColumns()
67 ASSERT_NOT_NULL(v3); in initMatrixColumns()
82 ASSERT_NOT_NULL(out); in mat33Apply()
83 ASSERT_NOT_NULL(A); in mat33Apply()
84 ASSERT_NOT_NULL(v); in mat33Apply()
93 ASSERT_NOT_NULL(out); in mat33Multiply()
[all …]
Dlevenberg_marquardt.c33 ASSERT_NOT_NULL(solver); in lmSolverInit()
34 ASSERT_NOT_NULL(params); in lmSolverInit()
35 ASSERT_NOT_NULL(func); in lmSolverInit()
47 ASSERT_NOT_NULL(solver); in lmSolverSetData()
48 ASSERT_NOT_NULL(data); in lmSolverSetData()
66 ASSERT_NOT_NULL(solver); in lmSolverSolve()
67 ASSERT_NOT_NULL(initial_state); in lmSolverSolve()
68 ASSERT_NOT_NULL(state); in lmSolverSolve()
69 ASSERT_NOT_NULL(solver->data); in lmSolverSolve()
222 ASSERT_NOT_NULL(state); in computeResidualAndGradients()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c256 ASSERT_NOT_NULL(over_temp_cal); in overTempCalInit()
312 ASSERT_NOT_NULL(over_temp_cal); in overTempCalSetModel()
313 ASSERT_NOT_NULL(offset); in overTempCalSetModel()
314 ASSERT_NOT_NULL(temp_sensitivity); in overTempCalSetModel()
315 ASSERT_NOT_NULL(sensor_intercept); in overTempCalSetModel()
415 ASSERT_NOT_NULL(over_temp_cal); in overTempCalGetModel()
416 ASSERT_NOT_NULL(offset); in overTempCalGetModel()
417 ASSERT_NOT_NULL(offset_temp_celsius); in overTempCalGetModel()
418 ASSERT_NOT_NULL(timestamp_nanos); in overTempCalGetModel()
419 ASSERT_NOT_NULL(temp_sensitivity); in overTempCalGetModel()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c45 ASSERT_NOT_NULL(sphere_cal); in sphereFitInit()
46 ASSERT_NOT_NULL(lm_params); in sphereFitInit()
64 ASSERT_NOT_NULL(sphere_cal); in sphereFitReset()
79 ASSERT_NOT_NULL(sphere_cal); in sphereFitSetSolverData()
80 ASSERT_NOT_NULL(lm_data); in sphereFitSetSolverData()
89 ASSERT_NOT_NULL(sphere_cal); in sphereFitRunCal()
90 ASSERT_NOT_NULL(data); in sphereFitRunCal()
102 ASSERT_NOT_NULL(sphere_cal); in sphereFitSetInitialBias()
110 ASSERT_NOT_NULL(sphere_cal); in sphereFitGetLatestCal()
111 ASSERT_NOT_NULL(cal_data); in sphereFitGetLatestCal()
[all …]
/device/google/contexthub/firmware/os/algos/util/
Dnano_assert.h47 #define ASSERT_NOT_NULL(ptr) ASSERT((ptr) != nullptr) macro
49 #define ASSERT_NOT_NULL(ptr) ASSERT((ptr) != NULL) macro
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c29 ASSERT_NOT_NULL(diverse_data); in diversityCheckerInit()
64 ASSERT_NOT_NULL(diverse_data); in diversityCheckerReset()
112 ASSERT_NOT_NULL(diverse_data); in diversityCheckerUpdate()
141 ASSERT_NOT_NULL(diverse_data); in diversityCheckerNormQuality()
/device/google/contexthub/firmware/os/algos/calibration/sample_rate_estimator/
Dsample_rate_estimator.c35 ASSERT_NOT_NULL(sample_rate_estimator); in sampleRateEstimatorInit()