/third_party/ltp/lib/newlib_tests/ |
H A D | test_parse_filesize.c | 7 * Tests for tst_parse_filesize. 17 if ((ret = tst_parse_filesize("1", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 27 if ((ret = tst_parse_filesize("1k", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 36 if ((ret = tst_parse_filesize("1m", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 45 if ((ret = tst_parse_filesize("1g", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 55 if ((ret = tst_parse_filesize("1K", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 64 if ((ret = tst_parse_filesize("1M", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 73 if ((ret = tst_parse_filesize("1G", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 83 if ((ret = tst_parse_filesize("k", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 89 tst_res(TFAIL, "tst_parse_filesize shoul in do_test() [all...] |
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dio_sparse.c | 70 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup() 73 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup() 76 if (tst_parse_filesize(str_offset, &offset, 0, LLONG_MAX)) in setup()
|
H A D | dio_read.c | 117 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup() 120 if (tst_parse_filesize(str_writesize, &writesize, 1, filesize)) in setup() 123 if (tst_parse_filesize(str_readsize, &readsize, 1, filesize)) in setup()
|
H A D | aiodio_sparse.c | 152 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup() 155 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
|
H A D | dio_append.c | 41 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
|
H A D | aiocp.c | 216 if (tst_parse_filesize(str_aio_blksize, &aio_blksize, 1, LLONG_MAX)) in setup() 239 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
|
H A D | dio_truncate.c | 95 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
|
H A D | aiodio_append.c | 120 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
|
H A D | aio-stress.c | 1180 if (tst_parse_filesize(str_context_offset, &context_offset, 1, LLONG_MAX)) in setup() 1183 if (tst_parse_filesize(str_file_size, &file_size, 1, LLONG_MAX)) in setup() 1186 if (tst_parse_filesize(str_rec_len, &rec_len, 1, LONG_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress01.c | 88 if (tst_parse_filesize(opt_filesize, &filesize, 0, FSIZE_MAX)) in setup() 91 if (tst_parse_filesize(opt_sparseoffset, &sparseoffset, FSIZE_MIN, FSIZE_MAX)) in setup()
|
/third_party/ltp/include/ |
H A D | tst_test.h | 138 int tst_parse_filesize(const char *str, long long *val, long long min, long long max);
|
/third_party/ltp/lib/ |
H A D | tst_test.c | 777 int tst_parse_filesize(const char *str, long long *val, long long min, long long max) in tst_parse_filesize() function
|