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

123456789

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/share/utf8/
H A Dcharset.h33 * charset, then uses the mbtowc() and wctomb() methods on it.
44 struct charset;
46 struct charset *charset_find(const char *code);
48 int charset_mbtowc(struct charset *charset, int *pwc, const char *s, size_t n);
49 int charset_wctomb(struct charset *charset, char *s, int wc);
50 int charset_max(struct charset *charset);
H A Dcharset_test.c26 #include "charset.h"
28 void test_any(struct charset *charset) argument
33 assert(charset);
37 assert(charset_mbtowc(charset, 0, 0, 0) == 0);
38 assert(charset_mbtowc(charset, 0, 0, 1) == 0);
39 assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0);
41 assert(charset_mbtowc(charset, 0, "a", 0) == 0);
42 assert(charset_mbtowc(charset, 0, "", 1) == 0);
43 assert(charset_mbtowc(charset,
67 struct charset *charset; local
151 struct charset *charset; local
173 struct charset *charset; local
193 struct charset *charset; local
[all...]
H A Dcharset.c39 #include "charset.h"
180 * The charset "object" and methods.
183 struct charset { struct
190 int charset_mbtowc(struct charset *charset, int *pwc, const char *s, size_t n) argument
192 return (*charset->mbtowc)(charset->map, pwc, s, n);
195 int charset_wctomb(struct charset *charset, char *s, int wc) argument
197 return (*charset
200 charset_max(struct charset *charset) argument
[all...]
H A DMakefile.lite11 charset.c \
H A DMakefile.am9 libutf8_la_SOURCES = charset.c charset.h iconvert.c utf8.c
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/expat-2.0.1/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);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dcurl_fnmatch.c71 static int parsekeyword(unsigned char **pattern, unsigned char *charset) argument
103 charset[CURLFNM_DIGIT] = 1;
105 charset[CURLFNM_ALNUM] = 1;
107 charset[CURLFNM_ALPHA] = 1;
109 charset[CURLFNM_XDIGIT] = 1;
111 charset[CURLFNM_PRINT] = 1;
113 charset[CURLFNM_GRAPH] = 1;
115 charset[CURLFNM_SPACE] = 1;
117 charset[CURLFNM_BLANK] = 1;
119 charset[CURLFNM_UPPE
128 setcharset(unsigned char **p, unsigned char *charset) argument
317 unsigned char charset[CURLFNM_CHSET_SIZE] = { 0 }; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/tests/
H A Dcheck-stateful5 charset="$2"
8 # charset, modified for use in filenames.
9 charsetf=`echo "$charset" | sed -e 's,:,-,g'`
11 ../src/iconv_no_i18n -f "$charset" -t UTF-8 < "${srcdir}"/"$charsetf"-snippet > tmp-snippet
13 ../src/iconv_no_i18n -f UTF-8 -t "$charset" < "${srcdir}"/"$charsetf"-snippet.UTF-8 > tmp-snippet
H A Dcheck-stateless5 charset="$2"
8 # charset, modified for use in filenames.
9 charsetf=`echo "$charset" | sed -e 's,:,-,g'`
12 ./table-from "$charset" > tmp-"$charsetf".TXT
15 ./table-to "$charset" | sort > tmp-"$charsetf".INVERSE.TXT
33 # ./table-from "$charset" > "$charsetf".TXT
35 # ./table-to "$charset" | sort > "$charsetf".INVERSE.TXT
H A Dtable-to.c34 const char* charset; local
39 fprintf(stderr,"Usage: table-to charset\n");
42 charset = argv[1];
48 cd = iconv_open(charset,"UCS-4-INTERNAL");
56 bmp_only = (strcmp(charset,"UTF-8") == 0);
H A Dtable-from.c101 const char* charset; local
106 fprintf(stderr,"Usage: table-from charset\n");
109 charset = argv[1];
115 cd = iconv_open("UCS-4-INTERNAL",charset);
123 bmp_only = (strcmp(charset,"UTF-8") == 0);
124 search_depth = (strcmp(charset,"UTF-8") == 0 ? 3 : 4);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dmsgl-charset.c1 /* Message list charset and locale charset handling.
25 #include "msgl-charset.h"
31 #include "po-charset.h"
70 const char *charsetstr = c_strstr (header, "charset=");
75 char *charset; local
78 charsetstr += strlen ("charset=");
80 charset = (char *) xmalloca (len + 1);
81 memcpy (charset, charsetstr, len);
82 charset[le
[all...]
H A Dmsgl-iconv.c1 /* Message list charset and locale charset handling.
38 #include "po-charset.h"
185 /* Search the header entry, and extract and replace the charset name. */
193 const char *charsetstr = c_strstr (header, "charset=");
198 char *charset; local
201 charsetstr += strlen ("charset=");
203 charset = (char *) xmalloca (len + 1);
204 memcpy (charset, charsetstr, len);
205 charset[le
500 char *charset; local
[all...]
H A Dpo-charset.h37 extern const char *po_charset_canonicalize (const char *charset);
H A Dx-po.c50 /* The charset found in the header entry. */
73 away, we have constructed a new one. Only remember its charset.
75 because the old header may contain a charset= directive. */
79 const char *charsetstr = strstr (msgstr, "charset=");
84 char *charset; local
86 charsetstr += strlen ("charset=");
88 charset = XNMALLOC (len + 1, char);
89 memcpy (charset, charsetstr, len);
90 charset[len] = '\0';
94 header_charset = charset;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/libcharset/lib/
H A DMakefile.vms43 all : charset.olb
52 charset.olb : $(OBJECTS)
53 $(AR) $(AR_FLAGS) charset.olb $(OBJECTS)
59 $(INSTALL_DATA) charset.olb $(libdir)]charset.olb
67 $(RM) $(libdir)]charset.olb
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/plugin_common/
H A Dcharset.c4 * Only slightly modified charset.c from:
40 #include "charset.h"
49 char *charset = getenv("CHARSET"); local
52 if (!charset)
53 charset = nl_langinfo(CODESET);
55 if (!charset)
56 charset = "ISO-8859-1";
58 return charset;
H A DMakefile.lite29 charset.c \
H A DMakefile.am26 charset.h \
33 charset.c \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/libcharset/tools/
H A Dall-charsets-X1124 charset=`LC_ALL=$lc ./locale_charset 2>/dev/null || echo '<error>'`
27 "$lc" "$charmap" "$codeset" "$charset" "$x11encoding"
H A Dall-charsets17 charset=`LC_ALL=$lc ./locale_charset 2>/dev/null || echo '<error>'`
18 case "$charset" in
33 "$lc" "$charmap" "$codeset" "$charset" "$comment"
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/misc/
H A Dpo-compat.el73 (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 still
181 (if (re-search-forward charset
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/
H A DMakefile.am26 charset.h \
47 plugin_sources = charset.c configure.c fileinfo.c http.c plugin.c tag.c

Completed in 96 milliseconds

123456789