Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-fileio.c939 _cleanup_free_ char *rbuf = NULL; in TEST() local
950 …assert_se(read_full_file_full(AT_FDCWD, fn, UINT64_MAX, SIZE_MAX, 0, NULL, &rbuf, &rbuf_size) >= 0… in TEST()
952 assert_se(memcmp(buf, rbuf, rbuf_size) == 0); in TEST()
953 rbuf = mfree(rbuf); in TEST()
955 … assert_se(read_full_file_full(AT_FDCWD, fn, UINT64_MAX, 128, 0, NULL, &rbuf, &rbuf_size) >= 0); in TEST()
957 assert_se(memcmp(buf, rbuf, rbuf_size) == 0); in TEST()
958 rbuf = mfree(rbuf); in TEST()
960 …ll(AT_FDCWD, fn, UINT64_MAX, 128, READ_FULL_FILE_FAIL_WHEN_LARGER, NULL, &rbuf, &rbuf_size) == -E2… in TEST()
961 …D, fn, UINT64_MAX, sizeof(buf)-1, READ_FULL_FILE_FAIL_WHEN_LARGER, NULL, &rbuf, &rbuf_size) == -E2… in TEST()
962 …DCWD, fn, UINT64_MAX, sizeof(buf), READ_FULL_FILE_FAIL_WHEN_LARGER, NULL, &rbuf, &rbuf_size) >= 0); in TEST()
[all …]