Searched refs:charset (Results 1 - 25 of 189) sorted by relevance

12345678

/netbsd-6-1-5-RELEASE/external/mit/expat/dist/xmlwf/
H A Dxmlmime.h5 /* Registered charset names are at most 40 characters long. */
9 /* Figure out the charset to use from the ContentType.
11 charset gets the charset to use. It must be at least CHARSET_MAX chars
12 long. charset will be empty if the default charset should be used.
15 void getXMLCharset(const char *buf, char *charset);
H A Dxmlmime.c88 getXMLCharset(const char *buf, char *charset) argument
92 charset[0] = '\0';
96 strcpy(charset, "us-ascii");
104 if (!matchkey(p, next, "xml") && charset[0] == '\0')
111 if (matchkey(p, next, "charset")) {
116 char *s = charset;
121 if (s == charset + CHARSET_MAX - 1) {
122 charset[0] = '\0';
159 printf("charset=\"%s\"\n", buf);
H A Dct.c84 getXMLCharset(const char *buf, char *charset) argument
88 charset[0] = '\0';
92 strcpy(charset, "us-ascii");
105 if (matchkey(p, next, "charset")) {
110 char *s = charset;
115 if (s == charset + CHARSET_MAX - 1) {
116 charset[0] = '\0';
145 printf("charset = \"%s\"\n", buf);
/netbsd-6-1-5-RELEASE/lib/libc/string/
H A Dstrcspn.c40 strcspn(const char *s, const char *charset) argument
48 _DIAGASSERT(charset != NULL);
50 if (charset[0] == '\0')
52 if (charset[1] == '\0') {
54 if (*t == *charset)
61 for (; *charset != '\0'; ++charset)
62 set[UC(*charset) >> 3] |= idx[UC(*charset) & 7];
H A Dstrspn.c39 strspn(const char *s, const char *charset) argument
47 _DIAGASSERT(charset != NULL);
49 if (charset[0] == '\0')
51 if (charset[1] == '\0') {
53 if (*t != *charset)
61 for (; *charset != '\0'; ++charset)
62 set[UC(*charset) >> 3] |= idx[UC(*charset) & 7];
78 const unsigned char *charset local
141 strspn(const char *s, const char *charset) argument
147 strcspn(const char *s, const char *charset) argument
[all...]
H A Dstrpbrk.c49 strpbrk(const char *s, const char *charset) argument
61 _DIAGASSERT(charset != NULL);
63 if (charset[0] == '\0')
65 if (charset[1] == '\0')
66 return strchr(s, charset[0]);
68 for (; *charset != '\0'; ++charset)
69 ADD_TO_SET(UC(*charset));
H A Dwcscspn_bloom.h60 wcsspn_bloom_init(size_t *bloom, const wchar_t *charset) argument
66 val = wcscspn_bloom1((size_t)*charset);
68 val = wcscspn_bloom2((size_t)*charset);
71 while (*++charset);
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dskipto.c30 * Usage: p = skipto (string,charset);
31 * p = skipover (string,charset);
33 * char *p,*charset,*string;
36 * is in the string charset; it "skips until" a character in charset.
38 * is not in the string charset; it "skips over" characters in charset.
61 skipto(const char *string, const char *charset) argument
66 for (setp = charset; *setp; setp++)
70 for (setp = charset; *set
76 skipover(const char *string, const char *charset) argument
[all...]
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/
H A DMakefile11 SRCS_charset.pivot+= charset.pivot.src
32 charset.pivot: ${SRCS_charset.pivot}
35 charset.pivot.pvdb: charset.pivot
38 FILES+= charset.pivot charset.pivot.pvdb
39 CLEANFILES+= charset.pivot charset.pivot.pvdb
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/regex/
H A Dparse_rx.c23 int type; /* token type, 0 indicates a charset */
24 dm_bitset_t charset; /* The current charset */ member in struct:parse_sp
35 dm_bit_clear_all(ps->charset);
36 dm_bit_set(ps->charset, c);
58 dm_bit_set_all(ps->charset);
61 dm_bit_clear(ps->charset, 0);
66 dm_bit_clear_all(ps->charset);
108 dm_bit_clear(ps->charset, lc);
110 dm_bit_set(ps->charset, l
[all...]
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/CBM/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.CBM
7 CLEANFILES+= mapper.dir.CBM charset.pivot.CBM
15 charset.pivot.CBM: ${.CURDIR}/CBM/charset.pivot.CBM.src
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/KAZAKH/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.KAZAKH
7 CLEANFILES+= mapper.dir.KAZAKH charset.pivot.KAZAKH
17 charset.pivot.KAZAKH: ${.CURDIR}/KAZAKH/charset.pivot.KAZAKH.src
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/KS/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.KS
7 CLEANFILES+= mapper.dir.KS charset.pivot.KS
19 charset.pivot.KS: ${.CURDIR}/KS/charset.pivot.KS.src
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/TCVN/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.TCVN
7 CLEANFILES+= mapper.dir.TCVN charset.pivot.TCVN
17 charset.pivot.TCVN: ${.CURDIR}/TCVN/charset.pivot.TCVN.src
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dmsgl-charset.c1 /* Message list charset and locale charset handling.
26 #include "msgl-charset.h"
31 #include "po-charset.h"
69 const char *charsetstr = strstr (header, "charset=");
74 char *charset; local
77 charsetstr += strlen ("charset=");
79 charset = (char *) xallocsa (len + 1);
80 memcpy (charset, charsetstr, len);
81 charset[le
[all...]
H A Dpo-charset.c26 #include "po-charset.h"
56 po_charset_canonicalize (const char *charset) argument
59 iconv() across platforms. Taken from intl/config.charset. */
110 if (c_strcasecmp (charset, standard_charsets[i]) == 0)
202 const char *charsetstr = strstr (header_entry, "charset=");
207 char *charset; local
210 charsetstr += strlen ("charset=");
212 charset = (char *) xallocsa (len + 1);
213 memcpy (charset, charsetstr, len);
214 charset[le
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/lto/
H A D20091013-1_1.c70 int charset = (unsigned char)1; local
73 charset = WineEngGetTextCharsetInfo( dc->gdiFont, ((void *)0), 0 );
75 if (TranslateCharsetInfo( ((void *)(unsigned long)((unsigned long)charset)), &csi, 1) )
78 switch(charset) {
88 do { if((((__wine_dbch___default))->flags & (1 << __WINE_DBCL_FIXME))) { struct __wine_debug_channel * const __dbch = (__wine_dbch___default); const enum __wine_debug_class __dbcl = __WINE_DBCL_FIXME; wine_dbg_log( __dbcl, __dbch, __FUNCTION__, "Can't find codepage for charset %d\n", charset); } } while(0);
94 do { if((((__wine_dbch___default))->flags & (1 << __WINE_DBCL_TRACE))) { struct __wine_debug_channel * const __dbch = (__wine_dbch___default); const enum __wine_debug_class __dbcl = __WINE_DBCL_TRACE; wine_dbg_log( __dbcl, __dbch, __FUNCTION__, "charset %d => cp %d\n", charset, dc->font_code_page); } } while(0);
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/MISC/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.MISC
7 CLEANFILES+= mapper.dir.MISC charset.pivot.MISC
27 charset.pivot.MISC: ${.CURDIR}/MISC/charset.pivot.MISC.src
/netbsd-6-1-5-RELEASE/external/mit/xorg/bin/luit/
H A DMakefile6 SRCS= luit.c iso2022.c charset.c parser.c sys.c other.c
/netbsd-6-1-5-RELEASE/x11/bin/luit/
H A DMakefile6 SRCS= luit.c iso2022.c charset.c parser.c sys.c other.c
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/CP/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.CP
7 CLEANFILES+= mapper.dir.CP charset.pivot.CP
25 charset.pivot.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/charset.pivot.CP.src
33 cat ${.CURDIR}/CP/charset.pivot.CP.src;\
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/ISO646/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.ISO646
7 CLEANFILES+= mapper.dir.ISO646 charset.pivot.ISO646
25 charset.pivot.ISO646: ${.CURDIR}/ISO646/ISO646.part
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
H A Dpy-error.exp30 set charset "IBM1047"
34 set test "set host-charset $charset"
40 -re "^$test_regex\r\nUndefined item: \"$charset\"\\.\r\n$gdb_prompt $" {
54 gdb_test "source $remote_python_file" "Traceback.*ClassName.*\r\nLookupError: unknown encoding: $charset" $test2
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/BIG5/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.BIG5
7 CLEANFILES+= mapper.dir.BIG5 charset.pivot.BIG5
29 charset.pivot.BIG5: ${.CURDIR}/BIG5/charset.pivot.BIG5.src
/netbsd-6-1-5-RELEASE/share/i18n/csmapper/CNS/
H A DMakefile.inc6 SRCS_charset.pivot+= charset.pivot.CNS
7 CLEANFILES+= mapper.dir.CNS charset.pivot.CNS
27 charset.pivot.CNS: ${.CURDIR}/CNS/charset.pivot.CNS.src

Completed in 235 milliseconds

12345678