Lines Matching defs:code

307     OH_Drawing_ErrorCode code = OH_Drawing_MatrixGetAll(matrix, value);
308 EXPECT_EQ(code, OH_Drawing_ErrorCode::OH_DRAWING_SUCCESS);
334 // 2. OH_Drawing_MatrixSetMatrix with the first parameter as null, check the error code with OH_Drawing_ErrorCodeGet
347 // 4. OH_Drawing_MatrixGetAll with the first parameter as null, check the error code with OH_Drawing_ErrorCodeGet
349 OH_Drawing_ErrorCode code = OH_Drawing_MatrixGetAll(nullptr, value);
350 EXPECT_EQ(code, OH_Drawing_ErrorCode::OH_DRAWING_ERROR_INVALID_PARAMETER);
351 // 5. OH_Drawing_MatrixGetAll with the second parameter as an empty array, check the error code with
356 // 6. OH_Drawing_MatrixGetAll with the second parameter as null, check the error code with OH_Drawing_ErrorCodeGet
359 // 7. OH_Drawing_MatrixGetValue with the first parameter as null, check the error code with OH_Drawing_ErrorCodeGet
393 // 4. OH_Drawing_MatrixGetValue with the parameter 'index' as -1, check the error code with OH_Drawing_ErrorCodeGet
396 // 5. OH_Drawing_MatrixGetValue with the parameter 'index' as 9, check the error code with OH_Drawing_ErrorCodeGet
455 OH_Drawing_ErrorCode code = OH_Drawing_MatrixGetAll(matrix, value);
456 EXPECT_EQ(code, OH_Drawing_ErrorCode::OH_DRAWING_SUCCESS);
503 // 2. OH_Drawing_MatrixTranslate with the first parameter as null, check the error code with OH_Drawing_ErrorCodeGet
616 // 2. OH_Drawing_MatrixRotate with the first parameter as null, check the error code with OH_Drawing_ErrorCodeGet
841 // 2. OH_Drawing_MatrixScale with the first parameter as null, check the error code using OH_Drawing_ErrorCodeGet
971 // 2. OH_Drawing_MatrixSetRectToRect, the first parameter is null, check the error code using
975 // 3. OH_Drawing_MatrixSetRectToRect, the second parameter is null, check the error code using
979 // 4. OH_Drawing_MatrixSetRectToRect, the third parameter is null, check the error code using
1056 // 2. OH_Drawing_MatrixPreRotate with the first parameter as null, check the error code using
1057 // OH_Drawing_ErrorCodeGet, no crash, error code returns OH_DRAWING_ERROR_INVALID_PARAMETER
1165 // 2. OH_Drawing_MatrixPreScale, the first parameter is null, check the error code using OH_Drawing_ErrorCodeGet, no
1166 // crash, error code returns OH_DRAWING_ERROR_INVALID_PARAMETER
1283 // 2. OH_Drawing_MatrixPreTranslate, the first parameter is null, check the error code using OH_Drawing_ErrorCodeGet
1391 // 2. OH_Drawing_MatrixPostRotate with the first parameter as null, check the error code using
1500 // 2. OH_Drawing_MatrixPostScale, the first parameter is null, check the error code using OH_Drawing_ErrorCodeGet