Searched defs:from (Results 1 - 23 of 23) sorted by relevance

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree.c34 ** Finding a particular key requires reading O(log(M)) pages from the
296 ** is stored in memory. The u.aDisk[] array contains the raw bits read from
317 ** walk up the BTree from any leaf to the root. Care must be taken to
373 u8 iMatch; /* compare result from last sqliteBtreeMoveto() */
403 ** is NOT included in the value returned from this routine.
1018 ** on a table with wrFlag==0, that prevents all other cursors from
1169 ** Read payload information from the entry that the pCur cursor is
1174 ** It just reads bytes from the payload area.
1420 ** to the page we are coming from. If we are coming from th
2104 uptr from, to; local
[all...]
H A Dvdbe.c32 ** number, or the SQL "NULL" value. An inplicit conversion from one
43 ** in this file for details. If in doubt, do not deviate from existing
214 ** from sqliteMalloc(). This is different from Stringify() above in that
470 ** from sqliteMalloc() and p->zErrMsg is made to point to that memory.
588 ** Do not deviate from the formatting style currently in use.
596 ** the one at index P2 from the beginning of
716 ** a variable. Variables in the SQL string are number from left to
784 ** The P1-th element is removed from its current location on
894 ** are popped from th
4220 int from, to; local
[all...]
/PHP_5_3/ext/gd/libgd/
H A Dgd.c293 /* This code is taken from http://www.acm.org/jgt/papers/SmithLyons96/hwb_rgb.html, an article
294 * on colour conversion to/from RBG and HWB colour systems.
607 void gdImagePaletteCopy (gdImagePtr to, gdImagePtr from) argument
612 if (to->trueColor || from->trueColor) {
625 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]);
631 for (i = 0; i < from->colorsTotal; i++) {
632 to->red[i] = from->red[i];
633 to->blue[i] = from->blue[i];
634 to->green[i] = from->green[i];
635 to->alpha[i] = from
[all...]
H A Dgdkanji.c86 /* DetectKanjiCode() derived from DetectCodeType() by Ken Lunde. */
243 /* han2zen() was derived from han2zen() written by Ken Lunde. */
344 do_convert (unsigned char *to, unsigned char *from, const char *code) argument
358 strcpy ((char *) to, (const char *) from);
362 from_len = strlen ((const char *) from) + 1;
365 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1)
377 strcpy ((char *) to, (const char *) from);
393 for (i = 0; from[i] != '\0' && j < BUFSIZ; i++)
395 if (from[i] == ESC)
398 if (from[
466 do_check_and_conv(unsigned char *to, unsigned char *from) argument
[all...]
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c127 enum mbfl_no_encoding from,
140 convd->from = mbfl_no2encoding(from);
142 if (convd->from == NULL) {
143 convd->from = &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);
157 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding,
1184 int from,
1203 start = from;
126 mbfl_buffer_converter_new( enum mbfl_no_encoding from, enum mbfl_no_encoding to, int buf_initsz) argument
1181 mbfl_substr( mbfl_string *string, mbfl_string *result, int from, int length) argument
1339 mbfl_strcut( mbfl_string *string, mbfl_string *result, int from, int length) argument
1699 int from; member in struct:collector_strimwidth_data
1740 mbfl_strimwidth( mbfl_string *string, mbfl_string *marker, mbfl_string *result, int from, int width) argument
[all...]
H A Dmbfilter.h125 const mbfl_encoding *from; 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);
207 mbfl_substr(mbfl_string *string, mbfl_string *result, int from, int length);
213 mbfl_strcut(mbfl_string *string, mbfl_string *result, int from, int length);
225 mbfl_strimwidth(mbfl_string *string, mbfl_string *marker, mbfl_string *result, int from, int width);
H A Dmbfl_convert.c25 * The source code included in this files was separated from mbfilter.c
248 enum mbfl_no_encoding from,
256 if ((filter->from = mbfl_no2encoding(from)) == NULL) {
289 enum mbfl_no_encoding from,
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, t
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.h25 * The source code included in this files was separated from mbfilter.h
51 const mbfl_encoding *from; member in struct:_mbfl_convert_filter
60 enum mbfl_no_encoding from; member in struct:mbfl_convert_vtbl
72 enum mbfl_no_encoding from,
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.h137 OnigCodePoint from; member in struct:__anon200
746 int num_mem; /* used memory(...) num counted from 1 */
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);
3881 alt_merge_mml(MinMaxLen* to, MinMaxLen* from) argument
3883 if (to->min > from->min) to->min = from
3888 copy_opt_env(OptEnv* to, OptEnv* from) argument
3901 copy_opt_anc_info(OptAncInfo* to, OptAncInfo* from) argument
3985 copy_opt_exact_info(OptExactInfo* to, OptExactInfo* from) argument
4133 copy_opt_map_info(OptMapInfo* to, OptMapInfo* from) argument
4254 copy_node_opt_info(NodeOptInfo* to, NodeOptInfo* from) argument
5006 onig_transfer(regex_t* to, regex_t* from) argument
[all...]
H A Dregexec.c262 onig_region_copy(OnigRegion* to, OnigRegion* from) argument
264 #define RREGC_SIZE (sizeof(int) * from->num_regs)
267 if (to == from) return;
270 if (from->num_regs > 0) {
273 to->allocated = from->num_regs;
276 else if (to->allocated < from->num_regs) {
279 to->allocated = from->num_regs;
282 for (i = 0; i < from->num_regs; i++) {
283 to->beg[i] = from->beg[i];
284 to->end[i] = from
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
101 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) {
108 else if (from == ONIG_ENCODING_UTF16_LE) {
118 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) {
125 else if (from == ONIG_ENCODING_UTF16_BE) {
130 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) {
137 else if (from
[all...]
H A Dregparse.c109 bbuf_clone(BBuf** rto, BBuf* from) argument
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[i] = ~(from[i]);
1642 [n][from
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
4038 code_exist_check(OnigCodePoint c, UChar* from, UChar* end, int ignore_escaped, OnigEncoding enc) argument
[all...]
H A Dregsyntax.c154 onig_copy_syntax(OnigSyntaxType* to, OnigSyntaxType* from) argument
156 *to = *from;
/PHP_5_3/ext/dba/libinifile/
H A Dinifile.c252 /* we got position already from last fetch */
415 * copy from to dba while ignoring key name (group must equal)
417 static int inifile_filter(inifile *dba, inifile *from, const key_type *key TSRMLS_DC) argument
423 php_stream_seek(from->fp, 0, SEEK_SET);
425 while(inifile_read(from, &ln TSRMLS_CC)) {
428 pos_curr = php_stream_tell(from->fp);
430 php_stream_seek(from->fp, pos_start, SEEK_SET);
431 if (!php_stream_copy_to_stream(from->fp, dba->fp, pos_next - pos_start)) {
432 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start);
435 php_stream_seek(from
[all...]
/PHP_5_3/ext/mbstring/
H A Dmbstring.c29 * 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);
354 ZEND_ARG_INFO(0, from)
406 ZEND_ARG_INFO(0, from)
1585 /* TODO: make independent from mbstring.encoding_translation? */
2547 long from, len; local
2551 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|ls", &str, &str_len, &from, &len, &encoding, &encoding_len) == FAILURE) {
2576 if (from < 0 || len < 0) {
2580 /* if "from" position is negative, count start position from th
2620 long from, len; local
2717 long from, width; 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 Dcyr_convert.c36 * Each table contains data for 128-255 symbols from ASCII table.
37 * First 256 symbols are for conversion from koi8-r to corresponding charset,
38 * second 256 symbols are for reverse conversion, from charset to koi8-r.
190 /* {{{ static char * php_convert_cyr_string(unsigned char *str, int length, char from, char to TSRMLS_DC)
195 * from,to - one-symbol label of source and destination charset
204 static char * php_convert_cyr_string(unsigned char *str, int length, char from, char to TSRMLS_DC) argument
213 switch (toupper((int)(unsigned char)from))
231 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown source charset: %c", from);
270 /* {{{ proto string convert_cyr_string(string str, string from, string to)
271 Convert from on
[all...]
H A Durl.c488 unsigned char const *from, *end; local
490 from = (unsigned char *)s;
494 while (from < end) {
495 c = *from++;
H A Dstring.c778 Strips whitespace from the beginning and end of a string */
794 Strips whitespace from the beginning of a string */
2179 /* if "from" position is negative, count start position from the end
2190 * needed to stop that many chars from the end of the string
2216 zval **from; local
2228 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZZ|Z", &str, &repl, &from, &len) == FAILURE) {
2244 if (Z_TYPE_PP(from) != IS_ARRAY) {
2245 if (Z_ISREF_PP(from)) {
2246 SEPARATE_ZVAL(from);
2805 zval **from; 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...]
H A Ddns.c60 /* Borrowed from SYS/SOCKET.H */
69 /* For the local hostname obtained via gethostname which is different from the
352 struct sockaddr_storage from; local
353 uint32_t fromsize = sizeof(from);
716 struct sockaddr_storage from; local
717 uint32_t fromsize = sizeof(from);
907 struct sockaddr_storage from; local
908 uint32_t fromsize = sizeof(from);
/PHP_5_3/Zend/
H A Dzend_multibyte.c28 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);
633 *to_length, const unsigned char *from, size_t from_length TSRMLS_DC)
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_t *to_length, const char *to_encoding, const unsigned char *from, size_t from_length, const char *from_encoding TSRMLS_DC) argument
668 oddlen = CG(encoding_oddlen)(from, from_length, from_encoding TSRMLS_CC);
674 if (CG(encoding_converter)(to, to_length, from, from_length, to_encoding, from_encoding TSRMLS_CC) != 0) {
632 zend_multibyte_script_encoding_filter(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument
/PHP_5_3/ext/spl/
H A Dspl_dllist.c318 static void spl_ptr_llist_copy(spl_ptr_llist *from, spl_ptr_llist *to TSRMLS_DC) /* {{{ */ argument
320 spl_ptr_llist_element *current = from->head, *next;
321 spl_ptr_llist_ctor_func ctor = from->ctor;
609 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0 TSRMLS_CC);
632 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0 TSRMLS_CC);
/PHP_5_3/ext/pgsql/
H A Dpgsql.c1176 /* need to send & get something from backend to
2098 if ((result = PQexec(pgsql,"select oid,typname from pg_type")) == NULL || PQresultStatus(result) != PGRES_TUPLES_OK) {
2194 smart_str_appends(&querystr, "select relname from pg_class where oid=");
2354 Returns values from a result identifier */
2605 /* pg_fetch_assoc() is added from PHP 4.3.0. It should raise error, when
3318 Import large object direct from filesystem */
3881 Copy table from array */
4010 char *from = NULL, *to = NULL; local
4021 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &from, &from_len) == FAILURE) {
4029 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pgsql_link, &from,
4053 char *from = NULL, *to = NULL; local
4200 char *from = NULL, *to = NULL, *tmp = NULL; local
[all...]

Completed in 61 milliseconds