Searched refs:tolen (Results 1 - 25 of 34) sorted by relevance

12

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/include/mdn/
H A Dapi.h62 mdn_encodename(int actions, const char *from, char *to, size_t tolen);
65 mdn_decodename(int actions, const char *from, char *to, size_t tolen);
67 #define mdn_localtoutf8(from, to, tolen) \
69 #define mdn_delimitermap(from, to, tolen) \
71 #define mdn_localmap(from, to, tolen) \
73 #define mdn_nameprep(from, to, tolen) \
75 #define mdn_utf8toidn(from, to, tolen) \
77 #define mdn_idntoutf8(from, to, tolen) \
78 mdn_decodename(IDN_IDNCONV, from, to, tolen)
79 #define mdn_utf8tolocal(from, to, tolen) \
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/include/idn/
H A Dpunycode.h60 const char *from, unsigned long *to, size_t tolen);
64 const unsigned long *from, char *to, size_t tolen);
H A Drace.h62 const unsigned long *from, char *to, size_t tolen);
66 const char *from, unsigned long *to, size_t tolen);
H A Dapi.h186 * idn_buffer_overflow -- 'tolen' is too small.
197 idn_encodename(idn_action_t actions, const char *from, char *to, size_t tolen);
262 * idn_buffer_overflow -- 'tolen' is too small.
274 idn_decodename(idn_action_t actions, const char *from, char *to, size_t tolen);
291 idn_decodename2(idn_action_t actions, const char *from, char *to, size_t tolen,
H A Ducs4.h63 size_t tolen);
67 size_t tolen);
73 idn_ucs4_utf8toucs4(const char *utf8, unsigned long *ucs4, size_t tolen);
76 idn_ucs4_ucs4toutf8(const unsigned long *ucs4, char *utf8, size_t tolen);
H A Dunormalize.h70 * able to hold at least 'tolen' bytes.
75 * idn_buffer_overflow -- 'tolen' is too small.
80 size_t tolen);
H A Dfilemapper.h109 * whose length is specified by 'tolen'.
117 unsigned long *to, size_t tolen);
131 unsigned long *to, size_t tolen);
H A Dconverter.h135 const unsigned long *from, char *to, size_t tolen);
139 const char *from, unsigned long *to, size_t tolen);
229 char *to, size_t tolen);
235 size_t tolen);
H A Dmapselector.h154 const char *tld, unsigned long *to, size_t tolen);
159 size_t tolen);
H A Dnormalizer.h70 unsigned long *to, size_t tolen);
137 unsigned long *to, size_t tolen);
H A Dres.h186 * idn_buffer_overflow -- 'tolen' is too small.
198 char *to, size_t tolen);
263 * idn_buffer_overflow -- 'tolen' is too small.
276 char *to, size_t tolen);
294 char *to, size_t tolen, const char *auxencoding);
H A Ddelimitermap.h117 unsigned long *to, size_t tolen);
H A Ducsmap.h115 * of the mapped sequence is stored in '*maplenp'. 'tolen' specifies
125 size_t tolen, size_t *maplenp);
H A Dnameprep.h101 * store the result into 'to', whose length is specified by 'tolen'.
109 unsigned long *to, size_t tolen);
167 unsigned long *to, size_t tolen);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dapi.c139 idn_encodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument
151 r = idn_res_encodename(default_conf, actions, from, to, tolen);
164 idn_decodename(idn_action_t actions, const char *from, char *to, size_t tolen) { argument
169 TRACE(("idn_decodename(actions=%s, from=\"%s\", tolen=%d)\n",
171 idn__debug_xstring(from, 50), (int)tolen));
176 r = idn_res_decodename(default_conf, actions, from, to, tolen);
189 idn_decodename2(idn_action_t actions, const char *from, char *to, size_t tolen, argument
195 TRACE(("idn_decodename2(actions=%s, from=\"%s\", tolen=%d)\n",
197 idn__debug_xstring(from, 50), (int)tolen));
202 r = idn_res_decodename2(default_conf, actions, from, to, tolen,
226 mdn_encodename(int actions, const char *from, char *to, size_t tolen) argument
242 mdn_decodename(int actions, const char *from, char *to, size_t tolen) argument
[all...]
H A Ducs4.c84 size_t tolen) {
89 TRACE(("idn_ucs4_ucs4toutf16(ucs4=\"%s\", tolen=%d)\n",
90 idn__debug_ucs4xstring(ucs4, 50), (int)tolen));
106 if (tolen < 2) {
112 tolen -= 2;
114 if (tolen < 1) {
119 tolen--;
123 if (tolen < 1) {
143 size_t tolen) {
148 TRACE(("idn_ucs4_utf16toucs4(utf16=\"%s\", tolen
83 idn_ucs4_ucs4toutf16(const unsigned long *ucs4, unsigned short *utf16, size_t tolen) argument
142 idn_ucs4_utf16toucs4(const unsigned short *utf16, unsigned long *ucs4, size_t tolen) argument
198 idn_ucs4_utf8toucs4(const char *utf8, unsigned long *ucs4, size_t tolen) argument
295 idn_ucs4_ucs4toutf8(const unsigned long *ucs4, char *utf8, size_t tolen) argument
[all...]
H A Drace.c99 char *to, size_t tolen);
104 const char *from, unsigned long *to, size_t tolen) {
113 TRACE(("idn__race_decode(from=\"%s\", tolen=%d)\n",
114 idn__debug_xstring(from, 50), (int)tolen));
118 r = idn_ucs4_utf8toucs4(from, to, tolen);
152 r = idn_ucs4_utf16toucs4(buf, to, tolen);
243 const unsigned long *from, char *to, size_t tolen) {
254 TRACE(("idn__race_encode(from=\"%s\", tolen=%d)\n",
255 idn__debug_ucs4xstring(from, 50), (int)tolen));
258 r = idn_ucs4_ucs4toutf8(from, to, tolen);
103 idn__race_decode(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument
242 idn__race_encode(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument
333 race_compress_encode(const unsigned short *p, int compress_mode, char *to, size_t tolen) argument
[all...]
H A Dpunycode.c108 const char *from, unsigned long *to, size_t tolen) {
119 TRACE(("idn__punycode_decode(from=\"%s\", tolen=%d)\n",
120 idn__debug_xstring(from, 50), (int)tolen));
124 r = idn_ucs4_utf8toucs4(from, to, tolen);
140 if (tolen < fidx) {
175 if (tolen-- <= 0) {
188 if (tolen <= 0) {
207 const unsigned long *from, char *to, size_t tolen) {
219 TRACE(("idn__punycode_encode(from=\"%s\", tolen=%d)\n",
220 idn__debug_ucs4xstring(from, 50), (int)tolen));
107 idn__punycode_decode(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument
206 idn__punycode_encode(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument
[all...]
H A Dconverter.c136 char *to, size_t tolen);
140 unsigned long *to, size_t tolen);
153 char *to, size_t tolen);
158 unsigned long *to, size_t tolen);
175 char *to, size_t tolen);
181 size_t tolen);
421 char *to, size_t tolen) {
426 TRACE(("idn_converter_convfromucs4(ctx=%s, from=\"%s\", tolen=%d)\n",
428 (int)tolen));
437 r = (*ctx->ops->convfromucs4)(ctx, ctx->private_data, from, to, tolen);
420 idn_converter_convfromucs4(idn_converter_t ctx, const unsigned long *from, char *to, size_t tolen) argument
459 idn_converter_convtoucs4(idn_converter_t ctx, const char *from, unsigned long *to, size_t tolen) argument
777 converter_none_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument
785 converter_none_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument
897 converter_iconv_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument
1015 converter_iconv_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument
1108 converter_uescape_convfromucs4(idn_converter_t ctx, void *privdata, const unsigned long *from, char *to, size_t tolen) argument
1160 converter_uescape_convtoucs4(idn_converter_t ctx, void *privdata, const char *from, unsigned long *to, size_t tolen) argument
[all...]
H A Dnameprep.c139 unsigned long *to, size_t tolen) {
162 if (tolen < 1)
165 tolen--;
173 if (tolen < (mappedlen + 3) / 4)
175 tolen -= (mappedlen + 3) / 4;
195 if (tolen == 0)
337 unsigned long *to, size_t tolen) {
338 return idn_nameprep_map((idn_nameprep_t)handle, from, to, tolen);
138 idn_nameprep_map(idn_nameprep_t handle, const unsigned long *from, unsigned long *to, size_t tolen) argument
336 idn_nameprep_mapproc(void *handle, const unsigned long *from, unsigned long *to, size_t tolen) argument
H A Ddelimitermap.c200 unsigned long *to, size_t tolen) {
217 TRACE(("idn_delimitermap_map(from=\"%s\", tolen=%d)\n",
218 idn__debug_ucs4xstring(from, 50), (int)tolen));
225 if (tolen < 1) {
249 tolen--;
252 if (tolen < 1) {
199 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dconvert.c133 idnConvReq(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument
142 if (strlen(from) >= tolen)
148 r = idn_res_encodename(ctx, IDN_ENCODE_APP, from, to, tolen);
164 idnConvRsp(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument
170 if (strlen(from) >= tolen)
175 from, to, tolen) == idn_success) {
H A Dwrapcommon.h97 char FAR *to, size_t tolen);
99 char FAR *to, size_t tolen);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dutil.c70 char *from, char *to, int tolen)
87 if (tolen <= strlen(from))
103 if (tolen < len) {
110 tolen -= len;
121 r = idn_res_encodename(conf, actions, region_start, to, tolen);
133 tolen -= len;
141 char *from, char *to, int tolen)
206 if (tolen < len)
210 tolen -= len;
221 domain_name, to, tolen);
69 selective_encode(idn_resconf_t conf, idn_action_t actions, char *from, char *to, int tolen) argument
140 selective_decode(idn_resconf_t conf, idn_action_t actions, char *from, char *to, int tolen) argument
[all...]
H A Dutil.h60 char *to, int tolen);
63 char *to, int tolen);

Completed in 45 milliseconds

12