Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/libarchive/test/
H A Dmain.c131 mode_t umasked(mode_t expected_mode) in umasked() argument
135 return expected_mode & ~mode; in umasked()
1411 assertion_file_mode(const char *file, int line, const char *pathname, int expected_mode) in assertion_file_mode() argument
1422 (void)expected_mode; /* UNUSED */ in assertion_file_mode()
1429 if (r == 0 && mode == expected_mode) in assertion_file_mode()
1432 pathname, mode, expected_mode); in assertion_file_mode()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_common.h405 mode_t umasked(mode_t expected_mode);
H A Dtest_main.c153 mode_t umasked(mode_t expected_mode) in umasked() argument
157 return expected_mode & ~mode; in umasked()
1582 assertion_file_mode(const char *file, int line, const char *pathname, int expected_mode) in assertion_file_mode() argument
1593 (void)expected_mode; /* UNUSED */ in assertion_file_mode()
1600 if (r == 0 && mode == expected_mode) in assertion_file_mode()
1603 pathname, mode, expected_mode); in assertion_file_mode()