Lines Matching defs:rvalue

27 static void test_config_parse_path_one(const char *rvalue, const char *expected) {
30 assert_se(config_parse_path("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &path, NULL) >= 0);
36 static void test_config_parse_log_level_one(const char *rvalue, int expected) {
39 assert_se(config_parse_log_level("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &log_level, NULL) >= 0);
43 static void test_config_parse_log_facility_one(const char *rvalue, int expected) {
46 assert_se(config_parse_log_facility("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &log_facility, NULL) >= 0);
50 static void test_config_parse_iec_size_one(const char *rvalue, size_t expected) {
53 assert_se(config_parse_iec_size("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &iec_size, NULL) >= 0);
57 static void test_config_parse_si_size_one(const char *rvalue, size_t expected) {
60 assert_se(config_parse_si_size("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &si_size, NULL) >= 0);
64 static void test_config_parse_int_one(const char *rvalue, int expected) {
67 assert_se(config_parse_int("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &v, NULL) >= 0);
71 static void test_config_parse_unsigned_one(const char *rvalue, unsigned expected) {
74 assert_se(config_parse_unsigned("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &v, NULL) >= 0);
78 static void test_config_parse_strv_one(const char *rvalue, char **expected) {
81 assert_se(config_parse_strv("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &strv, NULL) >= 0);
87 static void test_config_parse_mode_one(const char *rvalue, mode_t expected) {
90 assert_se(config_parse_mode("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &v, NULL) >= 0);
94 static void test_config_parse_sec_one(const char *rvalue, usec_t expected) {
97 assert_se(config_parse_sec("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &v, NULL) >= 0);
101 static void test_config_parse_nsec_one(const char *rvalue, nsec_t expected) {
104 assert_se(config_parse_nsec("unit", "filename", 1, "nsection", 1, "lvalue", 0, rvalue, &v, NULL) >= 0);