Home
last modified time | relevance | path

Searched refs:tst_parse_filesize (Results 1 – 14 of 14) 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.c70 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()
Ddio_read.c117 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()
Daiodio_sparse.c152 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()
Daiocp.c216 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()
Ddio_append.c41 if (tst_parse_filesize(str_writesize, &writesize, 1, LLONG_MAX)) in setup()
Ddio_truncate.c95 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()
Daio-stress.c1180 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/
Dmmapstress01.c88 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/
Dtst_test.h138 int tst_parse_filesize(const char *str, long long *val, long long min, long long max);
/third_party/ltp/lib/
Dtst_test.c777 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.asciidoc502 int tst_parse_filesize(const char *str, long long *val, long long min, long long max);
514 In particular, 'tst_parse_filesize' function accepts prefix multiplies such as
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