| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gdkanji.c | 86 /* 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_TRUNK/ext/intl/ |
| H A D | intl_convertcpp.cpp | 52 * from.getBuffer(), from.length(), &status), 54 int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status) argument 56 if (from.isBogus()) { 62 int32_t capacity = from.length() * 3 + 1; 64 if (from.isEmpty()) { 74 const UChar *utf16buf = from.getBuffer(); 76 u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
|
| /PHP_TRUNK/ext/mbstring/libmbfl/mbfl/ |
| H A D | mbfilter.c | 127 enum mbfl_no_encoding from, 131 const mbfl_encoding *_from = mbfl_no2encoding(from); 139 const mbfl_encoding *from, 152 convd->from = from; 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); 163 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, 1304 int from, 1323 start = from; 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 1301 mbfl_substr( mbfl_string *string, mbfl_string *result, int from, int length) argument 1459 mbfl_strcut( mbfl_string *string, mbfl_string *result, int from, int length) argument 1819 int from; member in struct:collector_strimwidth_data 1860 mbfl_strimwidth( mbfl_string *string, mbfl_string *marker, mbfl_string *result, int from, int width) argument [all...] |
| H A D | mbfilter.h | 125 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); 130 MBFLAPI extern mbfl_buffer_converter * mbfl_buffer_converter_new2(const mbfl_encoding *from, const mbfl_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 D | mbfl_convert.c | 25 * The source code included in this files was separated from mbfilter.c 284 enum mbfl_no_encoding from, 292 if ((filter->from = mbfl_no2encoding(from)) == NULL) { 325 enum mbfl_no_encoding from, 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, t 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 D | mbfl_convert.h | 25 * 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_TRUNK/ext/mbstring/oniguruma/enc/ |
| H A D | unicode.c | 8533 OnigCodePoint from; member in struct:__anon217 8538 OnigCodePoint from; member in struct:__anon218 8548 OnigCodePoint from[2]; member in struct:__anon220 8553 OnigCodePoint from[3]; member in struct:__anon221 10908 st_add_direct(FoldTable, (st_data_t )p->from, (st_data_t )&(p->to)); 10913 st_add_direct(FoldTable, (st_data_t )p->from, (st_data_t )&(p->to)); 10922 st_add_direct(Unfold1Table, (st_data_t )p1->from, (st_data_t )&(p1->to)); 10928 st_add_direct(Unfold1Table, (st_data_t )p1->from, (st_data_t )&(p1->to)); 10937 st_add_direct(Unfold2Table, (st_data_t )p2->from, (st_data_t )(&p2->to)); 10943 st_add_direct(Unfold2Table, (st_data_t )p2->from, (st_data_ [all...] |
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regenc.h | 44 OnigCodePoint from; member in struct:__anon237
|
| H A D | regexec.c | 264 onig_region_copy(OnigRegion* to, OnigRegion* from) argument 266 #define RREGC_SIZE (sizeof(int) * from->num_regs) 269 if (to == from) return; 272 if (from->num_regs > 0) { 275 to->allocated = from->num_regs; 278 else if (to->allocated < from->num_regs) { 281 to->allocated = from->num_regs; 284 for (i = 0; i < from->num_regs; i++) { 285 to->beg[i] = from->beg[i]; 286 to->end[i] = from 3799 onig_copy_encoding(OnigEncoding to, OnigEncoding from) argument [all...] |
| H A D | regext.c | 95 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 D | regsyntax.c | 233 onig_copy_syntax(OnigSyntaxType* to, OnigSyntaxType* from) argument 235 *to = *from;
|
| H A D | testc.c | 34 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 D | testu.c | 25 static void uconv(char* from, char* to, int len) argument 34 c = (unsigned char )from[i]; 36 c = (unsigned char )from[i+1]; 49 c = (unsigned char )from[i+1]; 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, in argument 195 x3(char* pattern, char* str, int from, int to, int mem) argument [all...] |
| /PHP_TRUNK/ext/mbstring/oniguruma/win32/ |
| H A D | testc.c | 34 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_TRUNK/Zend/ |
| H A D | zend_multibyte.c | 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 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 D | zend_language_scanner.c | 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_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument 142 return zend_multibyte_encoding_converter(to, to_length, from, from_length, 146 static size_t encoding_filter_intermediate_to_internal(unsigned char **to, size_t *to_length, const unsigned char *from, size_t from_length TSRMLS_DC) argument 150 return zend_multibyte_encoding_converter(to, to_length, from, from_length, 516 zend_error_noreturn(E_COMPILE_ERROR, "Could not convert the script from the detected " 683 zend_error_noreturn(E_COMPILE_ERROR, "Could not convert the script from th [all...] |
| /PHP_TRUNK/ext/dba/libinifile/ |
| H A D | inifile.c | 251 /* we got position already from last fetch */ 414 * copy from to dba while ignoring key name (group must equal) 416 static int inifile_filter(inifile *dba, inifile *from, const key_type *key TSRMLS_DC) argument 422 php_stream_seek(from->fp, 0, SEEK_SET); 424 while(inifile_read(from, &ln TSRMLS_CC)) { 427 pos_curr = php_stream_tell(from->fp); 429 php_stream_seek(from->fp, pos_start, SEEK_SET); 430 if (!php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { 431 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start); 434 php_stream_seek(from [all...] |
| /PHP_TRUNK/ext/mbstring/ |
| H A D | mbstring.c | 29 * 2001.5.1 Renamed from jstring to mbstring (hirokawa@php.net) 355 ZEND_ARG_INFO(0, from) 407 ZEND_ARG_INFO(0, from) 901 static size_t php_mb_zend_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 913 string.val = (unsigned char*)from; 2716 long from, len; local 2721 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|Zs", &str, &str_len, &from, &z_len, &encoding, &encoding_len) == FAILURE) { 2749 if (from < 0 || len < 0) { 2753 /* if "from" position is negative, count start position from th 2793 long from, len; local 2894 long from, width; local [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | cyr_convert.c | 36 * 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 D | url.c | 492 unsigned char const *from, *end; local 494 from = (unsigned char *)s; 498 while (from < end) { 499 c = *from++;
|
| H A D | dns.c | 60 /* 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); 722 struct sockaddr_storage from; local 723 uint32_t fromsize = sizeof(from); 939 struct sockaddr_storage from; local 940 uint32_t fromsize = sizeof(from);
|
| /PHP_TRUNK/ext/spl/ |
| H A D | spl_dllist.c | 321 static void spl_ptr_llist_copy(spl_ptr_llist *from, spl_ptr_llist *to TSRMLS_DC) /* {{{ */ argument 323 spl_ptr_llist_element *current = from->head, *next; 324 spl_ptr_llist_ctor_func ctor = from->ctor; 614 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0 TSRMLS_CC); 637 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0 TSRMLS_CC);
|
| /PHP_TRUNK/ext/opcache/ |
| H A D | zend_shared_alloc.c | 107 static void copy_shared_segments(void *to, void *from, int count, int size) argument 111 void *shared_segments_from_p = from; 402 * won't be taken from space which is freed by efree in memdup.
|
| /PHP_TRUNK/ext/opcache/Optimizer/ |
| H A D | block_pass.c | 66 fprintf(stderr, " %d", bs->from->start_opline - opcodes); 134 /* start new block from this+1 */ 318 while (__s && __s->from != fromb) __s = __s->next; \ 323 __t->from = fromb; \ 341 if ((*cs)->from == new) { 349 if ((*cs)->from == old) { 353 (*cs)->from = new; 360 static inline void del_source(zend_code_block *from, zend_code_block *to) argument 362 /* delete source 'from' from 't [all...] |
| H A D | zend_optimizer_internal.h | 79 zend_code_block *from;
member in struct:_zend_block_source
|