MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fips_test_clear

Function fips_test_clear

dpdk/examples/fips_validation/fips_validation.c:362–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void
363fips_test_clear(void)
364{
365 if (info.fp_rd)
366 fclose(info.fp_rd);
367 if (info.fp_wr)
368 fclose(info.fp_wr);
369 free(info.one_line_text);
370 if (info.nb_vec_lines) {
371 uint32_t i;
372
373 for (i = 0; i < info.nb_vec_lines; i++)
374 free(info.vec[i]);
375 }
376
377 memset(&info, 0, sizeof(info));
378}
379
380int
381fips_test_parse_one_case(void)

Callers 3

fips_test_initFunction · 0.85
mainFunction · 0.85
fips_test_one_fileFunction · 0.85

Calls 2

memsetFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected