Searched refs:tst_parse_filesize (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/lib/newlib_tests/ |
D | test_parse_filesize.c | 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() 92 if ((ret = tst_parse_filesize("100", &val, LLONG_MIN, 10))) { in do_test() 101 if ((ret = tst_parse_filesize("10", &val, 100, LLONG_MAX))) { in do_test() [all …]
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_sparse.c | 66 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup() 69 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup() 72 if (tst_parse_filesize(str_offset, &offset, 0, LLONG_MAX)) in setup()
|
D | dio_read.c | 109 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup() 112 if (tst_parse_filesize(str_writesize, &writesize, 1, filesize)) in setup() 115 if (tst_parse_filesize(str_readsize, &readsize, 1, filesize)) in setup()
|
D | dio_append.c | 41 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
|
D | dio_truncate.c | 93 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
|
D | aiodio_append.c | 120 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
|
/third_party/ltp/include/ |
D | tst_test.h | 125 int tst_parse_filesize(const char *str, long long *val, long long min, long long max);
|
/third_party/ltp/lib/ |
D | tst_test.c | 700 int tst_parse_filesize(const char *str, long long *val, long long min, long long max) in tst_parse_filesize() function
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 462 int tst_parse_filesize(const char *str, long long *val, long long min, long long max); 474 In particular, 'tst_parse_filesize' function accepts prefix multiplies such as
|