Home
last modified time | relevance | path

Searched refs:tst_parse_filesize (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/lib/newlib_tests/
Dtest_parse_filesize.c17 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/
Ddio_sparse.c66 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()
Ddio_read.c109 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()
Ddio_append.c41 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
Ddio_truncate.c93 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
Daiodio_append.c120 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
/third_party/ltp/include/
Dtst_test.h125 int tst_parse_filesize(const char *str, long long *val, long long min, long long max);
/third_party/ltp/lib/
Dtst_test.c700 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/
Dc-test-api.txt462 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