HomeSort by: relevance | last modified time | path
    Searched refs:charset (Results 1 - 25 of 282) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/mit/expat/dist/xmlwf/
xmlmime.h 38 /* Registered charset names are at most 40 characters long. */
42 /* Figure out the charset to use from the ContentType.
44 charset gets the charset to use. It must be at least CHARSET_MAX chars
45 long. charset will be empty if the default charset should be used.
48 void getXMLCharset(const char *buf, char *charset);
xmlmime.c 120 getXMLCharset(const char *buf, char *charset) {
123 charset[0] = '\0';
127 strcpy(charset, "us-ascii");
136 if (! matchkey(p, next, "xml") && charset[0] == '\0')
144 if (matchkey(p, next, "charset")) {
149 char *s = charset;
154 if (s == charset + CHARSET_MAX - 1) {
155 charset[0] = '\0';
189 printf("charset=\"%s\"\n", buf);
ct.c 115 getXMLCharset(const char *buf, char *charset) {
118 charset[0] = '\0';
122 strcpy(charset, "us-ascii");
135 if (matchkey(p, next, "charset")) {
140 char *s = charset;
145 if (s == charset + CHARSET_MAX - 1) {
146 charset[0] = '\0';
172 printf("charset = \"%s\"\n", buf);
  /src/common/lib/libc/string/
strcspn.c 44 strcspn(const char *s, const char *charset)
51 if (charset[0] == '\0')
53 if (charset[1] == '\0') {
55 if (*t == *charset)
62 for (; *charset != '\0'; ++charset)
63 set[UC(*charset) >> 3] |= idx[UC(*charset) & 7];
strspn.c 43 strspn(const char *s, const char *charset)
50 if (charset[0] == '\0')
52 if (charset[1] == '\0') {
54 if (*t != *charset)
62 for (; *charset != '\0'; ++charset)
63 set[UC(*charset) >> 3] |= idx[UC(*charset) & 7];
79 const unsigned char *charset = (const unsigned char *)charset_s; local
92 for (ch = *charset; ch != 0; ch = next_ch)
    [all...]
strpbrk.c 53 strpbrk(const char *s, const char *charset)
64 if (charset[0] == '\0')
66 if (charset[1] == '\0')
67 return __UNCONST(strchr(s, charset[0]));
69 for (; *charset != '\0'; ++charset)
70 ADD_TO_SET(UC(*charset));
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
py-charset.exp 24 # 1. The string used in 'show XXX-charset' command,
33 with_test_prefix "charset=[lindex $test_data 0]" {
34 set charset "unknown"
35 gdb_test_multiple "show [lindex $test_data 0]-charset" "" {
37 set charset $expect_out(1,string)
41 set charset $expect_out(1,string)
45 set charset "${charset}[lindex $test_data 3]"
47 "${charset}"
py-error.exp 29 set charset "IBM1047"
33 set test "set host-charset $charset"
39 -re "^$test_regex\r\nUndefined item: \"$charset\"\\.\r\n$gdb_prompt $" {
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
py-charset.exp 24 # 1. The string used in 'show XXX-charset' command,
33 with_test_prefix "charset=[lindex $test_data 0]" {
34 set charset "unknown"
35 gdb_test_multiple "show [lindex $test_data 0]-charset" "" {
37 set charset $expect_out(1,string)
41 set charset $expect_out(1,string)
45 set charset "${charset}[lindex $test_data 3]"
47 "${charset}"
py-error.exp 29 set charset "IBM1047"
33 set test "set host-charset $charset"
39 -re "^$test_regex\r\nUndefined item: \"$charset\"\\.\r\n$gdb_prompt $" {
  /src/share/i18n/csmapper/
Makefile 11 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
  /src/external/gpl2/lvm2/dist/libdm/regex/
parse_rx.c 23 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, lc)
    [all...]
parse_rx.h 27 CHARSET
40 dm_bitset_t charset; member in struct:rx_node
  /src/external/ibm-public/postfix/dist/src/global/
rfc2047_code.h 28 const char *charset,
rfc2047_code.c 14 /* const char *charset,
48 /* .IP charset
50 /* rfc2047_encode() logs a warning and returns null if a charset
101 * The general form of an encoded-word is =?charset?encoding?encoded-text?=
102 * where charset and encoding are case insensitive, and encoding is B or Q.
106 * What ASCII characters are allowed in the 'charset' or 'encoding' tokens
117 #define ENC_WORD_MAX_LEN 75 /* =?charset?encoding?encoded?= */
118 #define ENC_WORD_PROLOG_FMT "=?%s?%c?" /* =?charset?encoding? */
167 const char *charset,
184 vstring_sprintf_append(result, ENC_WORD_PROLOG_FMT, charset,
388 const char *charset; member in struct:TEST_CASE
468 VSTRING *charset; local
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/src/
msgl-charset.c 1 /* Message list charset and locale charset handling.
26 #include "msgl-charset.h"
31 #include "po-charset.h"
71 const char *charsetstr = c_strstr (header, "charset=");
76 char *charset; local
79 charsetstr += strlen ("charset=");
81 charset = (char *) xallocsa (len + 1);
82 memcpy (charset, charsetstr, len);
83 charset[len] = '\0'
    [all...]
msgl-iconv.c 1 /* Message list charset and locale charset handling.
39 #include "po-charset.h"
184 /* Search the header entry, and extract and replace the charset name. */
192 const char *charsetstr = c_strstr (header, "charset=");
197 char *charset; local
202 charsetstr += strlen ("charset=");
204 charset = (char *) xallocsa (len + 1);
205 memcpy (charset, charsetstr, len);
206 charset[len] = '\0'
482 char *charset; local
    [all...]
  /src/lib/libc/string/
wcscspn_bloom.h 60 wcsspn_bloom_init(size_t *bloom, const wchar_t *charset)
66 val = wcscspn_bloom1((size_t)*charset);
68 val = wcscspn_bloom2((size_t)*charset);
71 while (*++charset);
  /src/external/mit/xorg/bin/luit/
Makefile 6 SRCS= luit.c iso2022.c charset.c parser.c sys.c other.c
  /src/external/gpl3/gdb/dist/gdb/guile/
scm-string.c 1 /* GDB/Scheme charset interface.
23 #include "charset.h"
82 const char *charset; member in struct:scm_to_stringn_data
95 data->result = scm_to_stringn (data->string, data->lenp, data->charset,
100 /* Convert an SCM string to a string in charset CHARSET.
117 const char *charset, int strict, SCM *except_scmp)
124 data.charset = charset;
149 const char *charset; member in struct:scm_from_stringn_data
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/guile/
scm-string.c 1 /* GDB/Scheme charset interface.
23 #include "charset.h"
82 const char *charset; member in struct:scm_to_stringn_data
95 data->result = scm_to_stringn (data->string, data->lenp, data->charset,
100 /* Convert an SCM string to a string in charset CHARSET.
117 const char *charset, int strict, SCM *except_scmp)
124 data.charset = charset;
149 const char *charset; member in struct:scm_from_stringn_data
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/test/
test_write_format_zip_windows_path.c 30 test_with_hdrcharset(const char *charset)
45 if (charset != NULL) {
46 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_option(a, "zip", "hdrcharset", charset));
87 failure("should find expected path in both local and central header (charset=%s)", charset);
89 failure("should not find unexpected path in anywhere (charset=%s)", charset);
  /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
Makefile.am 223 all-local: charset.alias ref-add.sed ref-del.sed
225 charset_alias = $(DESTDIR)$(libdir)/charset.alias
226 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
235 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
253 charset.alias: config.charset
255 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
264 CLEANFILES += charset.alias ref-add.sed ref-del.sed
266 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
  /src/lib/libc/citrus/modules/
citrus_zw.c 68 _ZWCharset charset; member in struct:__anon309
97 #define _STATE_NEEDS_EXPLICIT_INIT(_ps_) ((_ps_)->charset != NONE)
108 psenc->charset = NONE;
172 switch (psenc->charset) {
179 psenc->charset = NONE;
200 psenc->charset = ASCII;
205 psenc->charset = AMBIGIOUS;
213 psenc->charset = ASCII;
217 psenc->charset = GB2312;
226 psenc->charset = NONE
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/misc/
po-compat.el 33 ;; according to the Charset= header in the PO file. For more support
73 (defconst po-content-type-charset-alist
151 "How to convert a GNU libc/libiconv canonical charset name as seen in
154 (defun po-find-charset (filename)
155 "Return PO file charset value."
157 (let ((charset-regexp
158 "^\"Content-Type: text/plain;[ \t]*charset=\\(.*\\)\\\\n\"")
160 ;; Try the first 4096 bytes. In case we cannot find the charset value
171 (cond ((re-search-forward charset-regexp nil t) (match-string 1))
174 ;; value was loaded. Load the next 1024 bytes; if charset stil
    [all...]

Completed in 38 milliseconds

1 2 3 4 5 6 7 8 91011>>