Searched defs:to (Results 1 - 25 of 26) sorted by relevance

12

/PHP_5_4/ext/gd/libgd/
H A Dgdkanji.c340 /* Recast strcpy to handle unsigned chars used below. */
344 do_convert (unsigned char *to, unsigned char *from, const char *code) argument
358 strcpy ((char *) to, (const char *) from);
365 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1)
377 strcpy ((char *) to, (const char *) from);
417 to[j++] = from[i] + 128;
420 to[j++] = SS2;
421 to[j++] = from[i] + 128;
424 to[j++] = from[i];
434 to[
466 do_check_and_conv(unsigned char *to, unsigned char *from) argument
[all...]
H A Dgd.c88 /* 2.0.10: cast instead of floor() yields 35% performance improvement. Thanks to John Buckman. */
210 * off by default. This allows font antialiasing to work as expected
281 /* gd 2.02: whoops, was - b (thanks to David Marwood) */
294 * on colour conversion to/from RBG and HWB colour systems.
295 * It has been modified to return the converted value as a * parameter.
314 * Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms. Pure
315 * red always maps to 6 in this implementation. Therefore UNDEFINED can be
364 * I made this bit up; it seems to produce OK results, and it is certainly
385 * This is not actually used, but is here for completeness, in case someone wants to
516 * in a single function. Its advantage is that it is guaranteed to
607 gdImagePaletteCopy(gdImagePtr to, gdImagePtr from) argument
[all...]
/PHP_5_4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h126 const mbfl_encoding *to; member in struct:_mbfl_buffer_converter
129 MBFLAPI extern mbfl_buffer_converter * mbfl_buffer_converter_new(enum mbfl_no_encoding from, enum mbfl_no_encoding to, int buf_initsz);
130 MBFLAPI extern mbfl_buffer_converter * mbfl_buffer_converter_new2(const mbfl_encoding *from, const mbfl_encoding *to, int buf_initsz);
H A Dmbfl_convert.c18 * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
285 enum mbfl_no_encoding to,
296 if ((filter->to = mbfl_no2encoding(to)) == NULL) {
326 enum mbfl_no_encoding to,
334 vtbl = mbfl_convert_filter_get_vtbl(from, to);
346 if (mbfl_convert_filter_common_init(filter, from, to, vtbl,
374 if (mbfl_convert_filter_common_init(filter, vtbl->from, vtbl->to, vtbl,
406 enum mbfl_no_encoding from, enum mbfl_no_encoding to)
413 vtbl = mbfl_convert_filter_get_vtbl(from, to);
282 mbfl_convert_filter_common_init( mbfl_convert_filter *filter, enum mbfl_no_encoding from, enum mbfl_no_encoding to, const struct mbfl_convert_vtbl *vtbl, int (*output_function)(int, void* ), int (*flush_function)(void*), void* data) argument
324 mbfl_convert_filter_new( enum mbfl_no_encoding from, enum mbfl_no_encoding to, int (*output_function)(int, void* ), int (*flush_function)(void*), void* data) argument
405 mbfl_convert_filter_reset(mbfl_convert_filter *filter, enum mbfl_no_encoding from, enum mbfl_no_encoding to) argument
576 mbfl_convert_filter_get_vtbl(enum mbfl_no_encoding from, enum mbfl_no_encoding to) argument
[all...]
H A Dmbfl_convert.h18 * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
52 const mbfl_encoding *to; member in struct:_mbfl_convert_filter
61 enum mbfl_no_encoding to; member in struct:mbfl_convert_vtbl
73 enum mbfl_no_encoding to,
85 MBFLAPI extern void mbfl_convert_filter_reset(mbfl_convert_filter *filter, enum mbfl_no_encoding from, enum mbfl_no_encoding to);
88 MBFLAPI extern const struct mbfl_convert_vtbl * mbfl_convert_filter_get_vtbl(enum mbfl_no_encoding from, enum mbfl_no_encoding to);
H A Dmbfilter.c128 enum mbfl_no_encoding to,
132 const mbfl_encoding *_to = mbfl_no2encoding(to);
140 const mbfl_encoding *to,
153 convd->to = to;
158 if (mbfl_convert_filter_get_vtbl(convd->from->no_encoding, convd->to->no_encoding) != NULL) {
159 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
161 convd->filter2 = mbfl_convert_filter_new(mbfl_no_encoding_wchar, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
321 result->no_encoding = convd->to->no_encoding;
337 result->no_encoding = convd->to
126 mbfl_buffer_converter_new( enum mbfl_no_encoding from, enum mbfl_no_encoding to, int buf_initsz) argument
138 mbfl_buffer_converter_new2( const mbfl_encoding *from, const mbfl_encoding *to, int buf_initsz) argument
[all...]
/PHP_5_4/ext/intl/transliterator/
H A Dtransliterator_class.c5 | This source file is subject to version 3.01 of the PHP license, |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
41 Transliterator_object *to; local
45 assert( to->utrans == NULL );
48 * to close the transliterator) */
49 to->utrans = utrans;
69 /* {{{ void transliterator_object_init( Transliterator_object* to )
72 static void transliterator_object_init( Transliterator_object* to TSRMLS_DC )
74 if( !to )
111 Transliterator_object* to = (Transliterator_object*) object; local
[all...]
H A Dtransliterator_methods.c5 | This source file is subject to version 3.01 of the PHP license, |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
32 Transliterator_object *to; local
48 TRANSLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK; /* fetch zend object from zval "object" into "to" */
50 /* Convert transliterator id to UTF-16 */
51 intl_convert_utf8_to_utf16( &ustr_id, &ustr_id_len, str_id, str_id_len, TRANSLITERATOR_ERROR_CODE_P( to ) );
52 if( U_FAILURE( TRANSLITERATOR_ERROR_CODE( to ) ) )
54 intl_error_set_code( NULL, TRANSLITERATOR_ERROR_CODE( to ) TSRMLS_CC );
55 intl_error_set_custom_msg( NULL, "String conversion of id to UT
[all...]
/PHP_5_4/ext/mbstring/oniguruma/
H A Doniguruma.h138 OnigCodePoint to; member in struct:__anon66
169 int (*mbc_to_normalize)(OnigAmbigType flag, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to);
674 /* errors related to thread */
829 void onig_region_copy P_((OnigRegion* to, OnigRegion* from));
865 void onig_copy_syntax P_((OnigSyntaxType* to, OnigSyntaxType* from));
885 void onig_copy_encoding P_((OnigEncoding to, OnigEncoding from));
H A Dregcomp.c549 /* padding for return value from compile_length_cclass_node() to be fix. */
3858 copy_mml(MinMaxLen* to, MinMaxLen* from) argument
3860 to->min = from->min;
3861 to->max = from->max;
3865 add_mml(MinMaxLen* to, MinMaxLen* from) argument
3867 to->min = distance_add(to->min, from->min);
3868 to->max = distance_add(to->max, from->max);
3873 add_len_mml(MinMaxLen* to, OnigDistanc
3881 alt_merge_mml(MinMaxLen* to, MinMaxLen* from) argument
3888 copy_opt_env(OptEnv* to, OptEnv* from) argument
3901 copy_opt_anc_info(OptAncInfo* to, OptAncInfo* from) argument
3907 concat_opt_anc_info(OptAncInfo* to, OptAncInfo* left, OptAncInfo* right, OnigDistance left_len, OnigDistance right_len) argument
3935 is_set_opt_anc_info(OptAncInfo* to, int anc) argument
3943 add_opt_anc_info(OptAncInfo* to, int anc) argument
3952 remove_opt_anc_info(OptAncInfo* to, int anc) argument
3961 alt_merge_opt_anc_info(OptAncInfo* to, OptAncInfo* add) argument
3985 copy_opt_exact_info(OptExactInfo* to, OptExactInfo* from) argument
3991 concat_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OnigEncoding enc) argument
4021 concat_opt_exact_info_str(OptExactInfo* to, UChar* s, UChar* end, int raw, OnigEncoding enc) argument
4038 alt_merge_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OptEnv* env) argument
4133 copy_opt_map_info(OptMapInfo* to, OptMapInfo* from) argument
4208 alt_merge_opt_map_info(OnigEncoding enc, OptMapInfo* to, OptMapInfo* add) argument
4254 copy_node_opt_info(NodeOptInfo* to, NodeOptInfo* from) argument
4260 concat_left_node_opt_info(OnigEncoding enc, NodeOptInfo* to, NodeOptInfo* add) argument
4319 alt_merge_node_opt_info(NodeOptInfo* to, NodeOptInfo* add, OptEnv* env) argument
5006 onig_transfer(regex_t* to, regex_t* from) argument
5020 onig_chain_link_add(regex_t* to, regex_t* add) argument
[all...]
H A Dregexec.c262 onig_region_copy(OnigRegion* to, OnigRegion* from) argument
267 if (to == from) return;
269 if (to->allocated == 0) {
271 to->beg = (int* )xmalloc(RREGC_SIZE);
272 to->end = (int* )xmalloc(RREGC_SIZE);
273 to->allocated = from->num_regs;
276 else if (to->allocated < from->num_regs) {
277 to->beg = (int* )xrealloc(to->beg, RREGC_SIZE);
278 to
3945 onig_copy_encoding(OnigEncoding to, OnigEncoding from) argument
[all...]
H A Dregext.c95 conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* end, argument
100 if (to == ONIG_ENCODING_UTF16_BE) {
117 else if (to == ONIG_ENCODING_UTF16_LE) {
129 if (to == ONIG_ENCODING_UTF32_BE) {
146 else if (to == ONIG_ENCODING_UTF32_LE) {
H A Dregparse.c112 BBuf *to; local
114 *rto = to = (BBuf* )xmalloc(sizeof(BBuf));
115 CHECK_NULL_RETURN_VAL(to, ONIGERR_MEMORY);
116 r = BBUF_INIT(to, from->alloc);
118 to->used = from->used;
119 xmemcpy(to->p, from->p, from->used);
150 bitset_set_range(BitSetRef bs, int from, int to) argument
153 for (i = from; i <= to && i < SINGLE_BYTE_SIZE; i++) {
179 bitset_invert_to(BitSetRef from, BitSetRef to) argument
183 to[
1664 add_code_range_to_buf(BBuf** pbuf, OnigCodePoint from, OnigCodePoint to) argument
1739 add_code_range(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePoint to) argument
1755 OnigCodePoint pre, from, *data, to = 0; local
1799 OnigCodePoint from, to; local
1895 OnigCodePoint from, to, from1, to1, from2, to2; local
2680 find_str_position(OnigCodePoint s[], int n, UChar* from, UChar* to, UChar **next, OnigEncoding enc) argument
2709 str_exist_check_with_esc(OnigCodePoint s[], int n, UChar* from, UChar* to, OnigCodePoint bad, OnigEncoding enc) argument
[all...]
H A Dregsyntax.c154 onig_copy_syntax(OnigSyntaxType* to, OnigSyntaxType* from) argument
156 *to = *from;
/PHP_5_4/Zend/
H A Dzend_language_scanner.c9 | This source file is subject to version 2.00 of the Zend license, |
13 | If you did not receive a copy of the Zend license and are unable to |
14 | obtain it through the world-wide-web, please send a note to |
79 # error ZEND_MMAP_AHEAD should be greater than or equal to YYMAXFILL
117 /* To save initial string length after scanning to first variable, CG(doc_comment_len) can be reused */
128 static size_t encoding_filter_script_to_internal(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument
132 return zend_multibyte_encoding_converter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding) TSRMLS_CC);
135 static size_t encoding_filter_script_to_intermediate(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument
137 return zend_multibyte_encoding_converter(to, to_length, from, from_length, zend_multibyte_encoding_utf8, LANG_SCNG(script_encoding) TSRMLS_CC);
140 static size_t encoding_filter_intermediate_to_script(unsigned char **to, size_ argument
146 encoding_filter_intermediate_to_internal(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument
[all...]
H A Dzend_multibyte.c7 | This source file is subject to version 2.00 of the Zend license, |
11 | If you did not receive a copy of the Zend license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
48 static size_t dummy_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length, const zend_encoding *encoding_to, const zend_encoding *encoding_from TSRMLS_DC) argument
114 * populated, we need to reinitialize script_encoding here.
148 ZEND_API size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length, const zend_encoding *encoding_to, const zend_encoding *encoding_from TSRMLS_DC) argument
150 return multibyte_functions.encoding_converter(to, to_length, from, from_length, encoding_to, encoding_from TSRMLS_CC);
/PHP_5_4/ext/date/lib/
H A Dparse_tz.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
350 * all the transistion times to find the first non-DST one, or the first
367 /* In all other cases we loop through the available transtion times to find
397 ttinfo *to; local
400 if ((to = fetch_timezone_offset(tz, ts, &dummy))) {
401 return to->isdst;
408 ttinfo *to; local
415 if ((to
[all...]
/PHP_5_4/ext/imap/
H A Dphp_imap.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
429 ZEND_ARG_INFO(0, to)
605 /* Do not try to close prototype streams */
669 * Accepts: pointer to FOBJECTLIST pointer
705 * Accepts: pointer to FOBJECTLIST pointer
715 fs_give((void **) errlist); /* return string to free storage */
735 * Accepts: pointer to MESSAGELIST pointer
773 /* this is to ad
3883 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath TSRMLS_DC) argument
4048 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_5_4/ext/mbstring/
H A Dmbstring.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
28 * 2001.4.30 Release php4_jstring-1.1 (contribute to The PHP Group)
29 * 2001.5.1 Renamed from jstring to mbstring (hirokawa@php.net)
354 ZEND_ARG_INFO(0, to)
406 ZEND_ARG_INFO(0, to)
425 ZEND_ARG_INFO(0, to)
723 /* convert to the encoding number and check encoding */
901 static size_t php_mb_zend_encoding_converter(unsigned char **to, size_ argument
4021 char *to = NULL; local
[all...]
/PHP_5_4/ext/standard/
H A Dmail.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
54 #define EX_TEMPFAIL 75 /* temp failure; user is invited to retry */
97 /* {{{ proto int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
101 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
109 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
114 MAIL_ASCIIZ_CHECK(to, to_len);
126 to_r = estrndup(to, to_len);
135 /* According to RF
226 php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC) argument
[all...]
H A Durl.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
133 /* check if the data we get is a port this allows us to
388 /* @todo Find a method to determine why php_url_parse_ex() failed */
428 /* add the various elements to the array */
491 unsigned char *to, *start; local
496 start = to = (unsigned char *) safe_emalloc(3, len, 1);
502 *to++ = '+';
508 to[
[all...]
/PHP_5_4/ext/curl/
H A Dmulti.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
72 Add a normal cURL handle to a cURL multi handle */
91 /* we want to create a copy of this zval that we store in the multihandle structure element "easyh" */
124 /* Used internally as comparison routine passed to zend_list_del_element */
158 static void _make_timeval_struct(struct timeval *to, double timeout) /* {{{ */ argument
163 to->tv_sec = conv / 1000000;
164 to->tv_usec = conv % 1000000;
179 struct timeval to; local
[all...]
/PHP_5_4/ext/spl/
H A Dspl_fixedarray.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
94 /* nothing to do */
136 static void spl_fixedarray_copy(spl_fixedarray *to, spl_fixedarray *from TSRMLS_DC) /* {{{ */ argument
142 to->elements[i] = from->elements[i];
144 to->elements[i] = NULL;
348 /* we have to return NULL on error here to avoid memleak because of
856 Sets the value at the specified $index to
[all...]
/PHP_5_4/ext/pgsql/
H A Dpgsql.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
756 #define PQescapeStringConn(conn, to, from, len, error) PQescapeString(to, from, len)
974 php_error_docref("ref.pgsql" TSRMLS_CC, E_NOTICE, "Cannot set connection to blocking mode");
1261 } else if (ZEND_NUM_ARGS() == 2 ) { /* Safe to add conntype_option, since 2 args was illegal */
1283 /* try to find if we already have this link in our persistent list */
1305 PHP_PQ_ERROR("Unable to connect to PostgreSQ
4135 char *from = NULL, *to = NULL; local
4177 char *from = NULL, *to = NULL; local
4324 char *from = NULL, *to = NULL, *tmp = NULL; local
4349 char *from = NULL, *to = NULL; local
[all...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c7 | This source file is subject to version 3.01 of the PHP license, |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
206 * The following is needed to correctly support 4-byte floats.
210 * For GCC, we use the built-in decimal support to "up-convert" a
211 * 4-byte float to a 8-byte double.
212 * When that is not available, we fall back to converting the float
213 * to a string and then converting the string to a double. This mimics
221 /* The following cast is guaranteed to d
279 zend_uchar *to= *row; local
332 zend_uchar *to= *row; local
379 zend_uchar *to= *row; local
[all...]

Completed in 47 milliseconds

12