Searched defs:format (Results 1 - 11 of 11) sorted by relevance

/sssd/src/util/
H A Dsss_log.c60 static void sss_log_internal(int priority, int facility, const char *format,
63 void sss_log(int priority, const char *format, ...) argument
67 va_start(ap, format);
68 sss_log_internal(priority, LOG_DAEMON, format, ap);
72 void sss_log_ext(int priority, int facility, const char *format, ...) argument
76 va_start(ap, format);
77 sss_log_internal(priority, facility, format, ap);
85 static void sss_log_internal(int priority, int facility, const char *format, argument
93 ret = vasprintf(&message, format, ap);
118 static void sss_log_internal(int priority, int facility, const char *format, argument
[all...]
H A Dsafe-format-string.c36 #include "safe-format-string.h"
78 const char *format,
96 cp = format;
271 const char *format,
285 va_start (va, format);
297 ret = safe_format_string_cb (snprintf_copy_fn, &cx, format, args, num_args);
76 safe_format_string_cb(void (* copy_fn) (void *, const char *, size_t), void *data, const char *format, const char * const args[], int num_args) argument
269 safe_format_string(char *str, size_t len, const char *format, ...) argument
H A Ddebug.c127 static void debug_vprintf(const char *format, va_list ap) argument
129 vfprintf(debug_file ? debug_file : stderr, format, ap);
132 static void debug_printf(const char *format, ...)
135 static void debug_printf(const char *format, ...) argument
139 va_start(ap, format);
141 debug_vprintf(format, ap);
151 const char *format,
162 ret = vasprintf(&message, format, ap);
214 const char *format,
235 ret = journal_send(file, line, function, level, format, a
147 journal_send(const char *file, long line, const char *function, int level, const char *format, va_list ap) argument
209 sss_vdebug_fn(const char *file, long line, const char *function, int level, int flags, const char *format, va_list ap) argument
275 sss_debug_fn(const char *file, long line, const char *function, int level, const char *format, ...) argument
[all...]
H A Dutil.c935 errno_t sss_utc_to_time_t(const char *str, const char *format, time_t *_unix_time) argument
955 end = strptime(str, format, &tm);
956 /* not all characters from format were matched */
959 "String [%s] failed to match format [%s].\n", str, format);
963 /* str is 'longer' than format */
966 "String [%s] is longer than format [%s].\n", str, format);
/sssd/src/tests/cmocka/
H A Dtest_expire_common.c37 static char *now_str(TALLOC_CTX *mem_ctx, const char* format, int s) argument
47 len = strftime(timestr, MAX, format, tm);
/sssd/src/tests/
H A Dsafe-format-tests.c18 #include "src/util/safe-format-string.h"
34 const char *format; member in struct:__anon48
163 ret = safe_format_string_cb(callback, &out, fixture->format,
205 Suite *s = suite_create("safe-format");
206 TCase *tc_format = tcase_create("safe-format-string");
H A Dutil-tests.c1063 const char *format = "%Y%m%d%H%M%SZ"; local
1067 ret = sss_utc_to_time_t("20150127133540P", format, &unix_time);
1069 ret = sss_utc_to_time_t("0Z", format, &unix_time);
1071 ret = sss_utc_to_time_t("000001010000Z", format, &unix_time);
/sssd/src/krb5_plugin/
H A Dsssd_krb5_locator_plugin.c64 void plugin_debug_fn(const char *format, ...) argument
70 va_start(ap, format);
72 ret = vasprintf(&s, format, ap);
/sssd/src/db/
H A Dsysdb_sudo.c46 /* SUDO requires times to be in generalized time format:
49 * We need to use more format strings to parse this with strptime().
51 const char **format = NULL; local
60 for (format = formats; *format != NULL; format++) {
63 tret = strptime(str, *format, &tm);
117 DEBUG(SSSDBG_MINOR_FAILURE, "Invalid time format in rule [%s]!\n",
140 DEBUG(SSSDBG_MINOR_FAILURE, "Invalid time format in rule [%s]!\n",
/sssd/src/providers/krb5/
H A Dkrb5_child.c257 * 4. interactive otp format correction
263 static inline checker pick_checker(int format) argument
265 switch (format) {
330 check = pick_checker(ti->format);
339 check = pick_checker(ti->format);
422 check = pick_checker(ti->format);
435 check = pick_checker(ti->format);
/sssd/src/python/
H A Dpyhbac.c497 PyObject *o, *format, *args; local
499 format = PyUnicode_FromString("<category %lu names [%s] groups [%s]>");
500 if (format == NULL) {
512 Py_DECREF(format);
522 Py_DECREF(format);
526 o = PyUnicode_Format(format, args);
529 Py_DECREF(format);
874 PyObject *o, *format, *args; local
876 format = PyUnicode_FromString("<name %s enabled %d "
879 if (format
1296 PyObject *o, *format, *args; local
1667 PyObject *o, *format, *args; local
[all...]

Completed in 76 milliseconds