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

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree.c4 ** The author disclaims copyright to this source code. In place of
15 ** For a detailed discussion of BTrees, refer to
22 ** entries and N+1 pointers to subpages.
28 ** All of the keys on the page that Ptr(0) points to have values less
39 ** key and data for any entry are combined to form the "payload". Up to
43 ** entry and the preceding pointer are combined to form a "Cell". Each
46 ** The first page of the file contains a magic string used to verify that
47 ** the file really is a valid BTree database, a pointer to a list of unused
62 ** Macros used for byteswapping. B is a pointer to th
2104 uptr from, to; local
[all...]
H A Dvdbe.c4 ** The author disclaims copyright to this source code. In place of
19 ** to a VDBE.
22 ** the VDBE to do the work of the SQL statement. VDBE programs are
23 ** similar in form to assembly language. The program consists of
33 ** type to the other occurs as necessary.
37 ** But other routines are also provided to help in building up
40 ** Various scripts scan this source file in order to generate HTML
56 ** procedures use this information to make sure that indices are
57 ** working correctly. This variable has no function other than to
65 ** of the db.flags field is set in order to simulat
4220 int from, to; local
[all...]
/PHP_5_3/ext/gd/libgd/
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...]
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_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c128 enum mbfl_no_encoding to,
141 convd->to = mbfl_no2encoding(to);
145 if (convd->to == NULL) {
146 convd->to = &mbfl_encoding_pass;
152 if (mbfl_convert_filter_get_vtbl(convd->from->no_encoding, convd->to->no_encoding) != NULL) {
153 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
155 convd->filter2 = mbfl_convert_filter_new(mbfl_no_encoding_wchar, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
301 result->no_encoding = convd->to->no_encoding;
317 result->no_encoding = convd->to
126 mbfl_buffer_converter_new( enum mbfl_no_encoding from, enum mbfl_no_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);
H A Dmbfl_convert.c18 * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
249 enum mbfl_no_encoding to,
260 if ((filter->to = mbfl_no2encoding(to)) == NULL) {
290 enum mbfl_no_encoding to,
298 vtbl = mbfl_convert_filter_get_vtbl(from, to);
310 if (mbfl_convert_filter_common_init(filter, from, to, vtbl,
338 if (mbfl_convert_filter_common_init(filter, vtbl->from, vtbl->to, vtbl,
370 enum mbfl_no_encoding from, enum mbfl_no_encoding to)
377 vtbl = mbfl_convert_filter_get_vtbl(from, to);
246 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
288 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
369 mbfl_convert_filter_reset(mbfl_convert_filter *filter, enum mbfl_no_encoding from, enum mbfl_no_encoding to) argument
534 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_3/ext/mbstring/oniguruma/
H A Doniguruma.h138 OnigCodePoint to; member in struct:__anon200
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_3/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_3/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_3/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
3892 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath TSRMLS_DC) argument
4057 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_5_3/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)
103 static int php_mb_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length, const char *encoding_to, const char *encoding_from TSRMLS_DC);
353 ZEND_ARG_INFO(0, to)
405 ZEND_ARG_INFO(0, to)
423 ZEND_ARG_INFO(0, to)
720 /* convert to th
3833 char *to = NULL; local
4820 php_mb_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length, const char *encoding_to, const char *encoding_from TSRMLS_DC) argument
[all...]
/PHP_5_3/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
114 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len,
121 MAIL_ASCIIZ_CHECK(to, to_len);
133 to_r = estrndup(to, to_len);
142 /* According to RF
202 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
384 /* @todo Find a method to determine why php_url_parse_ex() failed */
424 /* add the various elements to the array */
487 unsigned char *to, *start; local
492 start = to = (unsigned char *) safe_emalloc(3, len, 1);
498 *to++ = '+';
504 to[
[all...]
H A Dstring.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 |
41 * to point to libintl_setlocale. That's a ridiculous thing to do as far
43 * limit the damage to just the actual setlocale() call in this file
94 /* This is bad, but since we are going to be hardcoding in the POSIX stuff anyway... */
196 Converts the binary representation of data to hex */
666 * it needs to b
2806 char *str, *to = NULL; local
2834 to, local
3320 php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, int case_sensitivity, int *replace_count) argument
3390 php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result) argument
[all...]
/PHP_5_3/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 |
28 static size_t zend_multibyte_encoding_filter(unsigned char **to, size_t *to_length, const char *to_encoding, const unsigned char *from, size_t from_length, const char *from_encoding TSRMLS_DC);
581 /* nothing to do in this case */
632 ZEND_API size_t zend_multibyte_script_encoding_filter(unsigned char **to, size_t argument
643 return zend_multibyte_encoding_filter(to, to_length, name, from, from_length, LANG_SCNG(script_encoding)->name TSRMLS_CC);
646 ZEND_API size_t zend_multibyte_internal_encoding_filter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument
656 return zend_multibyte_encoding_filter(to, to_length, LANG_SCNG(internal_encoding)->name, from, from_length, name TSRMLS_CC);
659 static size_t zend_multibyte_encoding_filter(unsigned char **to, size_ argument
[all...]
/PHP_5_3/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 |
238 zend_uchar *to= *row; local
241 t.neg = (zend_bool) to[0];
243 t.day = (unsigned long) sint4korr(to+1);
244 t.hour = (unsigned int) to[5];
245 t.minute = (unsigned int) to[6];
246 t.second = (unsigned int) to[7];
247 t.second_part = (length > 8) ? (unsigned long) sint4korr(to
295 zend_uchar *to= *row; local
346 zend_uchar *to= *row; local
[all...]
/PHP_5_3/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 |
856 php_error_docref("ref.pgsql" TSRMLS_CC, E_NOTICE, "Cannot set connection to blocking mode");
1111 } else if (ZEND_NUM_ARGS() == 2 ) { /* Safe to add conntype_option, since 2 args was illegal */
1133 /* try to find if we already have this link in our persistent list */
1155 PHP_PQ_ERROR("Unable to connect to PostgreSQL server: %s", pgsql)
1176 /* need to send & get something from backend to
4010 char *from = NULL, *to = NULL; local
4053 char *from = NULL, *to = NULL; local
4200 char *from = NULL, *to = NULL, *tmp = NULL; local
[all...]
/PHP_5_3/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;
331 /* we have to return NULL on error here to avoid memleak because of
807 Sets the value at the specified $index to
[all...]

Completed in 103 milliseconds