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

12

/PHP_TRUNK/ext/gd/libgd/
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_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp52 * 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 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);
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 Dmbfl_convert.c25 * 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 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);
H A Dmbfilter.c127 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...]
/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dunicode.c8533 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 Dregenc.h44 OnigCodePoint from; member in struct:__anon237
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 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
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 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_TRUNK/ext/dba/libinifile/
H A Dinifile.c251 /* 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, zend_bool *found TSRMLS_DC) argument
422 php_stream_seek(from->fp, 0, SEEK_SET);
424 while(inifile_read(from, &ln TSRMLS_CC)) {
430 pos_curr = php_stream_tell(from->fp);
432 php_stream_seek(from->fp, pos_start, SEEK_SET);
433 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) {
434 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start);
437 php_stream_seek(from
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_extra_field.c18 products derived from this software without specific prior
161 _zip_ef_merge(struct zip_extra_field *to, struct zip_extra_field *from)
167 return from;
172 for (; from; from=ef2) {
173 ef2 = from->next;
177 if (tt->id == from->id && tt->size == from->size && memcmp(tt->data, from->data, tt->size) == 0) {
178 tt->flags |= (from
156 _zip_ef_merge(struct zip_extra_field *to, struct zip_extra_field *from) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_multibyte.c48 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 Dzend_language_scanner.c128 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,
517 zend_error_noreturn(E_COMPILE_ERROR, "Could not convert the script from the detected "
682 zend_error_noreturn(E_COMPILE_ERROR, "Could not convert the script from th
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_common.c49 static void ppc_cache_flush(sljit_ins *from, sljit_ins *to) argument
52 _sync_cache_range((caddr_t)from, (int)((size_t)to - (size_t)from));
56 while (from < to) {
60 : : "r"(from)
62 from++;
69 while (from < to) {
74 : : "r"(from)
76 from++;
2020 /* Get a bit from C
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer_internal.h75 zend_code_block *from; member in struct:_zend_block_source
H A Dblock_pass.c87 fprintf(stderr, " %d", bs->from->start_opline - opcodes);
146 /* start new block from this+1 */
316 while (__s && __s->from != fromb) __s = __s->next; \
321 __t->from = fromb; \
337 if ((*cs)->from == new) {
345 if ((*cs)->from == old) {
349 (*cs)->from = new;
356 static inline void del_source(zend_code_block *from, zend_code_block *to) argument
358 /* delete source 'from' from 't
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c107 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/spl/
H A Dspl_dllist.c324 static void spl_ptr_llist_copy(spl_ptr_llist *from, spl_ptr_llist *to TSRMLS_DC) /* {{{ */ argument
326 spl_ptr_llist_element *current = from->head, *next;
327 //??? spl_ptr_llist_ctor_func ctor = from->ctor;
600 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0 TSRMLS_CC);
620 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0 TSRMLS_CC);
/PHP_TRUNK/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 Ddns.c60 /* Borrowed from SYS/SOCKET.H */
69 /* For the local hostname obtained via gethostname which is different from the
351 struct sockaddr_storage from; local
352 uint32_t fromsize = sizeof(from);
761 struct sockaddr_storage from; local
762 uint32_t fromsize = sizeof(from);
978 struct sockaddr_storage from; local
979 uint32_t fromsize = sizeof(from);
H A Durl.c492 unsigned char const *from, *end; local
495 from = (unsigned char *)s;
500 while (from < end) {
501 c = *from++;

Completed in 40 milliseconds

12