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

/sssd-io/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.c181 static void debug_vprintf(const char *format, va_list ap) argument
183 vfprintf(debug_file ? debug_file : stderr, format, ap);
186 static void debug_printf(const char *format, ...)
189 static void debug_printf(const char *format, ...) argument
193 va_start(ap, format);
195 debug_vprintf(format, ap);
205 const char *format,
216 ret = vasprintf(&message, format, ap);
268 const char *format,
289 ret = journal_send(file, line, function, level, format, a
201 journal_send(const char *file, long line, const char *function, int level, const char *format, va_list ap) argument
263 sss_vdebug_fn(const char *file, long line, const char *function, int level, int flags, const char *format, va_list ap) argument
329 sss_debug_fn(const char *file, long line, const char *function, int level, const char *format, ...) argument
[all...]
H A Dutil.c836 errno_t sss_utc_to_time_t(const char *str, const char *format, time_t *_unix_time) argument
856 end = strptime(str, format, &tm);
857 /* not all characters from format were matched */
860 "String [%s] failed to match format [%s].\n", str, format);
864 /* str is 'longer' than format */
867 "String [%s] is longer than format [%s].\n", str, format);
/sssd-io/src/providers/ldap/
H A Dsdap_certmap.c37 const char *function, const char *format, ...)
48 va_start(ap, format);
50 format, ap);
36 ext_debug(void *private, const char *file, long line, const char *function, const char *format, ...) argument
/sssd-io/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);
H A Dtest_certmap.c52 const char *format, ...)
63 va_start(ap, format);
65 format, ap);
51 ext_debug(void *private, const char *file, long line, const char *function, const char *format, ...) argument
/sssd-io/src/tests/
H A Dsafe-format-tests.c18 #include "src/util/safe-format-string.h"
34 const char *format; member in struct:__anon57
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.c1082 const char *format = "%Y%m%d%H%M%SZ"; local
1086 ret = sss_utc_to_time_t("20150127133540P", format, &unix_time);
1088 ret = sss_utc_to_time_t("0Z", format, &unix_time);
1090 ret = sss_utc_to_time_t("000001010000Z", format, &unix_time);
/sssd-io/src/krb5_plugin/
H A Dsssd_krb5_locator_plugin.c66 void plugin_debug_fn(const char *format, ...) argument
72 va_start(ap, format);
74 ret = vasprintf(&s, format, ap);
/sssd-io/src/lib/certmap/
H A Dsss_certmap.c40 const char *format, ...)
36 sss_debug_fn(const char *file, long line, const char *function, int level, const char *format, ...) argument
/sssd-io/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-io/src/responder/pam/
H A Dpamsrv_p11.c131 const char *function, const char *format, ...)
142 va_start(ap, format);
144 format, ap);
130 ext_debug(void *private, const char *file, long line, const char *function, const char *format, ...) argument
/sssd-io/src/providers/krb5/
H A Dkrb5_child.c285 * 4. interactive OTP format correction
291 static inline checker pick_checker(int format) argument
293 switch (format) {
358 check = pick_checker(ti->format);
367 check = pick_checker(ti->format);
450 check = pick_checker(ti->format);
463 check = pick_checker(ti->format);
/sssd-io/src/python/
H A Dpyhbac.c499 PyObject *o, *format, *args; local
501 format = PyUnicode_FromString("<category %lu names [%s] groups [%s]>");
502 if (format == NULL) {
514 Py_DECREF(format);
524 Py_DECREF(format);
528 o = PyUnicode_Format(format, args);
531 Py_DECREF(format);
876 PyObject *o, *format, *args; local
878 format = PyUnicode_FromString("<name %s enabled %d "
881 if (format
1298 PyObject *o, *format, *args; local
1670 PyObject *o, *format, *args; local
[all...]

Completed in 85 milliseconds