Home
last modified time | relevance | path

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

/external/ltp/testcases/misc/math/float/
Dthread_code.c28 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
91 SAFE_FREE(buffer); in read_file()
106 SAFE_FREE(buffer); in read_file()
291 SAFE_FREE(din); in thread_code()
301 SAFE_FREE(din); in thread_code()
302 SAFE_FREE(dex); in thread_code()
321 SAFE_FREE(din); in thread_code()
322 SAFE_FREE(dex); in thread_code()
353 SAFE_FREE(din); in thread_code()
354 SAFE_FREE(dex); in thread_code()
[all …]
Dmain.c30 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
175 SAFE_FREE(bin_path); in main()
299 SAFE_FREE(pcom); in main()
304 SAFE_FREE(tabcom); in main()
305 SAFE_FREE(threads); in main()
/external/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c62 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
367 SAFE_FREE(rev_ctx_tab[i * num_fds + j]) in main()
369 SAFE_FREE(snd_ctx_tab[i]); in main()
371 SAFE_FREE(pth_tab); in main()
372 SAFE_FREE(snd_ctx_tab); in main()
373 SAFE_FREE(rev_ctx_tab); in main()
/external/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c91 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
434 SAFE_FREE(args_table[thrd_ndx]); in main()
435 SAFE_FREE(status_table[thrd_ndx]); in main()
447 SAFE_FREE(args_table); in main()
448 SAFE_FREE(status_table); in main()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c159 #ifndef SAFE_FREE
160 #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); (x)=NULL;} } while(0) macro
575 SAFE_FREE(tdb->lockrecs); in tdb_unlock()
1157 SAFE_FREE(buf); in tdb_alloc_read()
1634 SAFE_FREE(tdb->transaction); in tdb_transaction_start()
1686 SAFE_FREE(tdb->transaction->hash_heads); in tdb_transaction_start()
1687 SAFE_FREE(tdb->transaction); in tdb_transaction_start()
1733 SAFE_FREE(tdb->lockrecs); in tdb_transaction_cancel()
1741 SAFE_FREE(tdb->transaction->hash_heads); in tdb_transaction_cancel()
1742 SAFE_FREE(tdb->transaction); in tdb_transaction_cancel()
[all …]
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c61 #define SAFE_FREE(p) { if (p) { free(p); (p)=NULL; } } macro
488 SAFE_FREE(writebuf); in cleanup()
489 SAFE_FREE(readbuf); in cleanup()