Searched refs:msgcat (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/ntp/lib/isc/nls/
H A Dmsgcat.c18 /* $Id: msgcat.c,v 1.18 2007/06/19 23:47:18 tbox Exp $ */
20 /*! \file msgcat.c
31 #include <isc/msgcat.h>
58 isc_msgcat_t *msgcat; local
67 msgcat = malloc(sizeof(*msgcat));
68 if (msgcat == NULL) {
79 msgcat->catalog = catopen(name, 0);
81 msgcat->magic = MSGCAT_MAGIC;
83 *msgcatp = msgcat;
88 isc_msgcat_t *msgcat; local
111 isc_msgcat_get(isc_msgcat_t *msgcat, int set, int message, const char *default_text) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dmsgcat.h18 /* $Id: msgcat.h,v 1.13 2007/06/19 23:47:18 tbox Exp $ */
27 /*! \file isc/msgcat.h
78 * will be set to NULL. If a NULL msgcat is given to isc_msgcat_get(),
112 isc_msgcat_get(isc_msgcat_t *msgcat, int set, int message,
115 * Get message 'message' from message set 'set' in 'msgcat'. If it
120 *\li 'msgcat' is a valid message catalog or is NULL.
H A Dlog.h654 isc_msgcat_t *msgcat, int msgset, int message,
661 isc_msgcat_t *msgcat, int msgset, int message,
668 isc_msgcat_t *msgcat, int msgset, int message,
675 isc_msgcat_t *msgcat, int msgset, int message,
H A Dresult.h105 const char **text, isc_msgcat_t *msgcat, int set);
H A Dmsgs.h26 #include <isc/msgcat.h> /* Provide isc_msgcat_*() functions. */
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dresult.c38 isc_msgcat_t * msgcat; member in struct:resulttable
117 isc_msgcat_t *msgcat, int set)
135 table->msgcat = msgcat;
193 txt = isc_msgcat_get(table->msgcat, table->set,
209 const char **txt, isc_msgcat_t *msgcat, int set)
213 return (register_table(base, nresults, txt, msgcat, set));
116 register_table(unsigned int base, unsigned int nresults, const char **txt, isc_msgcat_t *msgcat, int set) argument
208 isc_result_register(unsigned int base, unsigned int nresults, const char **txt, isc_msgcat_t *msgcat, int set) argument
H A Dlog.c243 isc_msgcat_t *msgcat, int msgset, int msg,
889 isc_msgcat_t *msgcat, int msgset, int msg,
900 msgcat, msgset, msg, format, args);
907 isc_msgcat_t *msgcat, int msgset, int msg,
914 msgcat, msgset, msg, format, args);
920 isc_msgcat_t *msgcat, int msgset, int msg,
931 msgcat, msgset, msg, format, args);
938 isc_msgcat_t *msgcat, int msgset, int msg,
945 msgcat, msgset, msg, format, args);
1407 isc_msgcat_t *msgcat, in
887 isc_log_iwrite(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, ...) argument
905 isc_log_ivwrite(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
918 isc_log_iwrite1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, ...) argument
936 isc_log_ivwrite1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
1405 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_boolean_t write_once, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
[all...]
/freebsd-11-stable/lib/libc/nls/
H A DMakefile.inc6 SRCS+= msgcat.c
/freebsd-11-stable/usr.bin/gencat/
H A Dgencat.c483 void *msgcat; /* message catalog data */ local
523 msgcat = xmalloc(msgcat_size);
524 memset(msgcat, '\0', msgcat_size);
527 cat_hdr = (struct _nls_cat_hdr *) msgcat;
538 set_hdr = (struct _nls_set_hdr *)(void *)((char *)msgcat +
540 msg_hdr = (struct _nls_msg_hdr *)(void *)((char *)msgcat +
543 strings = (char *) msgcat +
578 write(fd, msgcat, msgcat_size);
/freebsd-11-stable/usr.sbin/ntp/libntp/
H A DMakefile52 ISC_NLS_SRCS= msgcat.c
/freebsd-11-stable/contrib/ntp/libntp/
H A DMakefile.am24 $(srcdir)/../lib/isc/nls/msgcat.c \
H A DMakefile.in176 $(srcdir)/../lib/isc/md5.c $(srcdir)/../lib/isc/nls/msgcat.c \
198 md5.$(OBJEXT) msgcat.$(OBJEXT) net.$(OBJEXT) netaddr.$(OBJEXT) \
262 $(srcdir)/../lib/isc/md5.c $(srcdir)/../lib/isc/nls/msgcat.c \
630 $(srcdir)/../lib/isc/md5.c $(srcdir)/../lib/isc/nls/msgcat.c \
834 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msgcat.Po@am__quote@
1137 msgcat.o: $(srcdir)/../lib/isc/nls/msgcat.c
1138 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT msgcat.o -MD -MP -MF $(DEPDIR)/msgcat.Tpo -c -o msgcat
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dlibisc.mak155 -@erase "$(INTDIR)\msgcat.obj"
266 "$(INTDIR)\msgcat.obj" \
386 -@erase "$(INTDIR)\msgcat.obj"
387 -@erase "$(INTDIR)\msgcat.sbr"
535 "$(INTDIR)\msgcat.sbr" \
623 "$(INTDIR)\msgcat.obj" \
1585 SOURCE=..\nls\msgcat.c
1590 "$(INTDIR)\msgcat.obj" : $(SOURCE) "$(INTDIR)"
1597 "$(INTDIR)\msgcat.obj" "$(INTDIR)\msgcat
[all...]
H A Dsocket.c431 isc_msgcat_t *msgcat, int msgset, int message,
849 isc_msgcat_t *msgcat, int msgset, int message,
866 msgcat, msgset, message,
871 msgcat, msgset, message,
847 socket_log(int lineno, isc_socket_t *sock, isc_sockaddr_t *address, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int message, const char *fmt, ...) argument
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dsocket.c729 isc_msgcat_t *msgcat, int msgset, int message,
734 isc_msgcat_t *msgcat, int msgset, int message,
750 msgcat, msgset, message,
755 msgcat, msgset, message,
732 socket_log(isc__socket_t *sock, isc_sockaddr_t *address, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int message, const char *fmt, ...) argument

Completed in 344 milliseconds