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

12

/PHP_5_6/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...]
/PHP_5_6/ext/mbstring/libmbfl/mbfl/
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...]
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);
/PHP_5_6/ext/mbstring/oniguruma/
H A Dregenc.h45 OnigCodePoint to; member in struct:__anon242
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 Dregsyntax.c233 onig_copy_syntax(OnigSyntaxType* to, OnigSyntaxType* from) argument
235 *to = *from;
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
129 if (region->beg[mem] == from && region->end[mem] == to) {
135 from, to, region->beg[mem], region->end[mem]);
144 static void x2(char* pattern, char* str, int from, int to) argument
146 xx(pattern, str, from, to, 0, 0);
149 static void x3(char* pattern, char* str, int from, int to, int mem) argument
151 xx(pattern, str, from, to, mem, 0);
H A Dtestu.c25 static void uconv(char* from, char* to, int len) argument
31 q = to;
58 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
103 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
109 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
175 if (region->beg[mem] == from && region->end[mem] == to) {
181 from, to, region->beg[mem], region->end[mem]);
190 static void x2(char* pattern, char* str, int from, int to) argument
192 xx(pattern, str, from, to, 0, 0);
195 static void x3(char* pattern, char* str, int from, int to, in argument
[all...]
/PHP_5_6/ext/mbstring/oniguruma/win32/
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
129 if (region->beg[mem] == from && region->end[mem] == to) {
135 from, to, region->beg[mem], region->end[mem]);
144 static void x2(char* pattern, char* str, int from, int to) argument
146 xx(pattern, str, from, to, 0, 0);
149 static void x3(char* pattern, char* str, int from, int to, int mem) argument
151 xx(pattern, str, from, to, mem, 0);
/PHP_5_6/ext/intl/timezone/
H A Dtimezone_class.cpp5 | 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 |
50 TimeZone_object *to; local
53 TIMEZONE_METHOD_FETCH_OBJECT_NO_CHECK; /* fetch zend object from zval "object" into "to" */
54 to->utimezone = zone;
55 to->should_delete = owned;
60 * Convert from TimeZone to DateTimeZone object */
88 //convert offset from milliseconds to minutes
95 spprintf(&message, 0, "%s: could not convert id to UT
149 TimeZone_object *to = (TimeZone_object*)zend_objects_get_address( local
287 TimeZone_object *to; local
353 TimeZone_object* to = (TimeZone_object*) object; local
[all...]
/PHP_5_6/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_6/Zend/
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);
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...]
/PHP_5_6/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_6/ext/opcache/
H A Dzend_shared_alloc.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 |
51 /* pointer to globals allocated in SHM and shared across processes */
92 zend_accel_error(ACCEL_LOG_FATAL, "Unable to create lock file: %s (%d)", strerror(errno), errno);
104 zend_accel_error(ACCEL_LOG_FATAL, "Unable to allocate shared memory segment of %ld bytes: %s: %s (%d)", allocate_size, error?error:"unknown", strerror(errno), errno );
107 static void copy_shared_segments(void *to, void *from, int count, int size) argument
109 zend_shared_segment **shared_segments_v = (zend_shared_segment **)to;
110 void *shared_segments_to_p = ((char *)to + count*(sizeof(void *)));
163 * - make it temporarily point to
[all...]
/PHP_5_6/ext/zip/lib/
H A Dzip_extra_field.c5 This file is part of libzip, a library to manipulate ZIP archives.
17 3. The names of the authors may not be used to endorse or promote
161 _zip_ef_merge(struct zip_extra_field *to, struct zip_extra_field *from)
166 if (to == NULL)
169 for (tail=to; tail->next; tail=tail->next)
176 for (tt=to; tt; tt=tt->next) {
191 return to;
156 _zip_ef_merge(struct zip_extra_field *to, struct zip_extra_field *from) argument
/PHP_5_6/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 |
213 zend_uchar * to= *row; local
216 t.neg = (zend_bool) to[0];
218 t.day = (unsigned long) sint4korr(to+1);
219 t.hour = (unsigned int) to[5];
220 t.minute = (unsigned int) to[6];
221 t.second = (unsigned int) to[7];
222 t.second_part = (length > 8) ? (unsigned long) sint4korr(to
256 zend_uchar *to= *row; local
293 zend_uchar * to = *row; local
[all...]
/PHP_5_6/ext/opcache/Optimizer/
H A Dblock_pass.c183 * but, we have to keep brk_cont_array to avoid memory leaks during
336 /* replace all references to 'old' in 'list' with 'new' */
360 static inline void del_source(zend_code_block *from, zend_code_block *to) argument
362 /* delete source 'from' from 'to'-s sources list */
363 zend_block_source **cs = &to->sources;
365 if (to->sources == NULL) {
366 to->access = 0;
378 if (to->sources == NULL) {
379 /* 'to' ha
435 zend_code_block *to = block->follow_to; local
[all...]
/PHP_5_6/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 |
56 #define EX_TEMPFAIL 75 /* temp failure; user is invited to retry */
99 /* {{{ proto int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
103 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
111 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) {
116 MAIL_ASCIIZ_CHECK(to, to_len);
128 to_r = estrndup(to, to_len);
137 /* According to RF
228 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_6/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 */
90 /* we want to create a copy of this zval that we store in the multihandle structure element "easyh" */
119 /* Used internally as comparison routine passed to zend_list_del_element */
153 static void _make_timeval_struct(struct timeval *to, double timeout) /* {{{ */ argument
158 to->tv_sec = conv / 1000000;
159 to->tv_usec = conv % 1000000;
174 struct timeval to; local
[all...]
/PHP_5_6/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...]

Completed in 61 milliseconds

12