Searched refs:result (Results 1 - 25 of 226) sorted by relevance

12345678910

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_config.h39 # define timeradd(a, b, result) \
41 (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
42 (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
43 if ((result)->tv_usec >= 1000000) \
45 ++(result)->tv_sec; \
46 (result)->tv_usec -= 1000000; \
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_io.c76 int gdGetByte (int *result, gdIOCtx * ctx) argument
81 *result = r;
85 int gdGetWord (int *result, gdIOCtx * ctx) argument
90 *result = r << 8;
93 *result += r;
98 int gdGetInt (int *result, gdIOCtx * ctx) argument
103 *result = r << 24;
107 *result += r << 16;
113 *result += r << 8;
117 *result
[all...]
H A Dgdhelpers.c19 char *result = 0; local
54 result = s;
61 return result;
75 return result;
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Demoji.c34 mbfl_string string, result, *ret; local
78 mbfl_string_init_set(&result, no_language, to_encoding);
79 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
82 for (i = 0; i < result.len; i+= 2) {
83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair
84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1];
85 int l = (result.val[i+2] & 0x03)<<8 | result
[all...]
H A Dsample.c16 mbfl_string string, result, *ret; local
25 mbfl_string_init(&result);
33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
/PHP_TRUNK/ext/filter/tests/
H A D033_run.inc26 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("regexp"=>'/^O.*/')));
28 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test"));
31 printf("%-5s",$result[0]);
32 printf("%-3s",$result[1]);
33 printf("%-15s",$result[2]);
34 printf("%-20s",$result[3]);
35 printf("%-10s",$result[4]);
36 printf("%-5s",$result[5]);
37 printf("%-20s",$result[6]);
38 printf("%-15s",$result[
[all...]
/PHP_TRUNK/ext/dom/tests/
H A Ddomdocumentload_test_method.php8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options); variable
11 assert('$result === $expectedResult');
H A Ddomdocumentload_test_method_savexml.php8 $result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options); variable
11 assert('$result === $expectedResult');
H A Ddomdocumentloadxml_test_method.php7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), variable
11 assert('$result === $expectedResult');
H A Ddomdocumentloadxml_test_method_savexml.php7 $result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), variable
11 assert('$result === $expectedResult');
/PHP_TRUNK/Zend/
H A Dzend_operators.c183 #define zendi_convert_scalar_to_number(op, holder, result) \
184 if (op==result) { \
786 ZEND_API int add_function(zval *result, zval *op1, zval *op2) /* {{{ */ argument
800 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
802 ZVAL_LONG(result, lval);
808 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
812 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
816 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
820 if ((result == op1) && (result
850 sub_function(zval *result, zval *op1, zval *op2) argument
903 mul_function(zval *result, zval *op1, zval *op2) argument
950 pow_function(zval *result, zval *op1, zval *op2) argument
1038 div_function(zval *result, zval *op1, zval *op2) argument
1109 mod_function(zval *result, zval *op1, zval *op2) argument
1164 boolean_xor_function(zval *result, zval *op1, zval *op2) argument
1214 boolean_not_function(zval *result, zval *op1) argument
1239 bitwise_not_function(zval *result, zval *op1) argument
1271 bitwise_or_function(zval *result, zval *op1, zval *op2) argument
1329 bitwise_and_function(zval *result, zval *op1, zval *op2) argument
1387 bitwise_xor_function(zval *result, zval *op1, zval *op2) argument
1445 shift_left_function(zval *result, zval *op1, zval *op2) argument
1500 shift_right_function(zval *result, zval *op1, zval *op2) argument
1556 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1569 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1582 concat_function(zval *result, zval *op1, zval *op2) argument
1660 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive) argument
1677 string_compare_function(zval *result, zval *op1, zval *op2) argument
1699 string_case_compare_function(zval *result, zval *op1, zval *op2) argument
1722 string_locale_compare_function(zval *result, zval *op1, zval *op2) argument
1736 numeric_compare_function(zval *result, zval *op1, zval *op2) argument
1761 compare_function(zval *result, zval *op1, zval *op2) argument
1945 zval result; local
1961 is_identical_function(zval *result, zval *op1, zval *op2) argument
2009 is_not_identical_function(zval *result, zval *op1, zval *op2) argument
2019 is_equal_function(zval *result, zval *op1, zval *op2) argument
2029 is_not_equal_function(zval *result, zval *op1, zval *op2) argument
2039 is_smaller_function(zval *result, zval *op1, zval *op2) argument
2049 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
2344 int result; local
2370 register unsigned char *result = (unsigned char*)dest; local
2542 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument
2596 zval result; local
2611 zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2) argument
2617 zend_compare_arrays(zval *result, zval *a1, zval *a2) argument
2623 zend_compare_objects(zval *result, zval *o1, zval *o2) argument
[all...]
H A Dzend_operators.h47 ZEND_API int add_function(zval *result, zval *op1, zval *op2);
48 ZEND_API int sub_function(zval *result, zval *op1, zval *op2);
49 ZEND_API int mul_function(zval *result, zval *op1, zval *op2);
50 ZEND_API int pow_function(zval *result, zval *op1, zval *op2);
51 ZEND_API int div_function(zval *result, zval *op1, zval *op2);
52 ZEND_API int mod_function(zval *result, zval *op1, zval *op2);
53 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2);
54 ZEND_API int boolean_not_function(zval *result, zval *op1);
55 ZEND_API int bitwise_not_function(zval *result, zval *op1);
56 ZEND_API int bitwise_or_function(zval *result, zva
270 int result; local
561 fast_add_function(zval *result, zval *op1, zval *op2) argument
672 fast_sub_function(zval *result, zval *op1, zval *op2) argument
785 fast_mul_function(zval *result, zval *op1, zval *op2) argument
810 fast_div_function(zval *result, zval *op1, zval *op2) argument
861 fast_mod_function(zval *result, zval *op1, zval *op2) argument
881 fast_equal_check_function(zval *result, zval *op1, zval *op2) argument
915 fast_equal_function(zval *result, zval *op1, zval *op2) argument
957 fast_not_equal_function(zval *result, zval *op1, zval *op2) argument
999 fast_is_smaller_function(zval *result, zval *op1, zval *op2) argument
1022 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
1045 fast_is_identical_function(zval *result, zval *op1, zval *op2) argument
1054 fast_is_not_identical_function(zval *result, zval *op1, zval *op2) argument
1116 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1); local
[all...]
/PHP_TRUNK/ext/bcmath/
H A Dbcmath.c216 bc_num first, second, result; local
230 bc_init_num(&result);
233 bc_add (first, second, &result, scale);
235 if (result->n_scale > scale) {
236 result->n_scale = scale;
239 RETVAL_STR(bc_num2str(result));
242 bc_free_num(&result);
254 bc_num first, second, result; local
267 bc_init_num(&result);
270 bc_sub (first, second, &result, scal
291 bc_num first, second, result; local
328 bc_num first, second, result; local
370 bc_num first, second, result; local
404 bc_num first, second, mod, result; local
446 bc_num first, second, result; local
483 bc_num result; local
[all...]
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Draise.c42 /* Raise NUM1 to the NUM2 power. The result is placed in RESULT.
47 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) argument
66 bc_free_num (result);
67 *result = bc_copy_num (BCG(_one_));
112 bc_divide (BCG(_one_), temp, result, rscale); local
117 bc_free_num (result);
118 *result = temp;
119 if ((*result)->n_scale > rscale)
120 (*result)->n_scale = rscale;
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c126 char* result = NULL; local
135 result = estrdup( LOC_PREFERRED_GRANDFATHERED[grOffset] );
138 result = estrdup( LOC_GRANDFATHERED[grOffset] );
140 return result;
150 int result =-1; local
158 result = i-2;
160 result = i;
165 if(result < 1){
167 result =-1;
169 return result;
180 int result =-1; local
383 int result = 0; local
888 handleAppendResult( int result, smart_str* loc_name) argument
914 int result = 0; local
995 char* result =NULL; local
1045 int result = 0; local
1150 int result = 0; local
1205 int result = 0; local
1247 int result = 0; local
1424 int result = 0; local
1541 char* result =NULL; local
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c45 static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type);
46 static void php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type);
74 ZEND_ARG_INFO(0, result)
85 ZEND_ARG_INFO(0, result)
90 ZEND_ARG_INFO(0, result)
99 ZEND_ARG_INFO(0, result)
109 ZEND_ARG_INFO(0, result)
310 static void _free_result(mssql_result *result, int free_fields) argument
314 if (result->data) {
315 for (i=0; i<result
357 mssql_result *result = (mssql_result *)rsrc->ptr; local
930 php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type ) argument
1057 php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type) argument
1208 _mssql_fetch_batch(mssql_link *mssql_ptr, mssql_result *result, int retvalue) argument
1297 mssql_result *result; local
1328 mssql_result *result; local
1416 mssql_result *result; local
1460 mssql_result *result; local
1477 mssql_result *result; local
1494 mssql_result *result; local
1613 mssql_result *result; local
1696 mssql_result *result; local
1732 mssql_result *result; local
1762 mssql_result *result; local
1792 mssql_result *result; local
1822 mssql_result *result; local
1847 mssql_result *result; local
1897 mssql_result *result; local
2120 mssql_result *result; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_result_iterator.c40 mysqli_object *result; member in struct:__anon126
59 iterator->result = Z_MYSQLI_P(object);
100 mysqli_object *intern = iterator->result;
101 MYSQL_RES *result; local
103 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID);
106 php_mysqli_fetch_into_hash_aux(&iterator->current_row, result, MYSQLI_ASSOC);
117 mysqli_object *intern = iterator->result;
118 MYSQL_RES *result; local
120 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID);
122 if (mysqli_result_is_unbuffered(result)) {
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c53 MYSQLND_RES * result; local
56 if (!stmt || !stmt->conn || !stmt->result) {
88 result = stmt->result;
89 result->type = MYSQLND_RES_PS_BUF;
90 /* result->m.row_decoder = php_mysqlnd_rowp_read_binary_protocol; */
92 result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_count, TRUE, result->persistent);
93 if (!result
149 MYSQLND_RES *result; local
440 MYSQLND_RES * result = stmt->conn->m->result_init(stmt_to_prepare->field_count, stmt_to_prepare->persistent); local
650 zval *result = &stmt->result_bind[i].zv; local
737 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
789 zval *result = &stmt->result_bind[i].zv; local
838 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
896 zval *result = &stmt->result_bind[i].zv; local
968 MYSQLND_RES * result; local
1010 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
1080 zval *result = &stmt->result_bind[i].zv; local
1196 zval *result = &stmt->result_bind[i].zv; local
1801 MYSQLND_RES *result; local
[all...]
H A Dmysqlnd_result.c37 MYSQLND_METHOD(mysqlnd_result_buffered_zval, initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result, MYSQLND_RES_METADATA * const meta,
43 const uint64_t row_count = result->row_count;
46 zval *data_begin = ((MYSQLND_RES_BUFFERED_ZVAL *) result)->data;
51 if (!data_cursor || row_count == result->initialized_rows) {
56 rc = result->m.row_decoder(result->row_buffers[(data_cursor - data_begin) / field_count],
66 result->initialized_rows++;
90 MYSQLND_METHOD(mysqlnd_result_buffered_c, initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result, MYSQLND_RES_METADATA * const meta,
96 const uint64_t row_count = result->row_count;
100 if (result
486 MYSQLND_RES * result; local
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c112 ZEND_ARG_INFO(0, result)
117 ZEND_ARG_INFO(0, result)
710 le_result = zend_register_list_destructors_ex(_free_odbc_result, NULL, "odbc result", module_number);
906 odbc_result *result; local
915 ZEND_FETCH_RESOURCE(result, odbc_result *, pv_res, -1, "ODBC result", le_result);
917 result->longreadlen = flag;
919 result->binmode = flag;
933 int odbc_bindcols(odbc_result *result) argument
942 result
1046 odbc_result *result; local
1146 odbc_result *result = NULL; local
1241 odbc_result *result; local
1462 odbc_result *result; local
1574 odbc_result *result = NULL; local
1657 odbc_result *result; local
1807 odbc_result *result; local
1926 odbc_result *result; local
1959 odbc_result *result; local
2013 odbc_result *result; local
2199 odbc_result *result; local
2322 odbc_result *result; local
2698 odbc_result *result; local
2716 odbc_result *result; local
2765 odbc_result *result; local
2780 odbc_result *result; local
2813 odbc_result *result; local
2867 odbc_result *result; local
3012 odbc_result *result; local
3064 odbc_result *result = NULL; local
3131 odbc_result *result = NULL; local
3201 odbc_result *result = NULL; local
3265 odbc_result *result = NULL; local
3343 odbc_result *result = NULL; local
3401 odbc_result *result = NULL; local
3462 odbc_result *result = NULL; local
3530 odbc_result *result = NULL; local
3596 odbc_result *result = NULL; local
3666 odbc_result *result = NULL; local
3734 odbc_result *result = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbase64.c60 zend_string *result; local
62 result = zend_string_alloc(((length + 2) / 3) * 4 * sizeof(char), 0);
63 p = (unsigned char *)result->val;
90 result->len = (p - (unsigned char *)result->val);
92 return result;
141 zend_string *result; local
143 result = zend_string_alloc(length, 0);
157 zend_string_free(result);
167 zend_string_free(result);
216 zend_string *result; local
237 zend_string *result; local
[all...]
H A Dftp_fopen_wrapper.c112 int result; local
115 result = GET_FTP_RESULT(controlstream);
116 if (result != 226 && result != 250) {
117 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line);
139 int result, use_ssl, use_ssl_on_data = 0, tmp_len; local
162 result = 0; /* silence */
170 result = GET_FTP_RESULT(stream);
171 if (result > 299 || result < 20
326 int result, i; local
423 int result = 0, use_ssl, use_ssl_on_data=0; local
692 int result = 0, use_ssl, use_ssl_on_data = 0; local
780 int result; local
903 int result; local
953 int result; local
1032 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; local
1126 int result; local
[all...]
H A Dimage.c105 struct gfxinfo *result = NULL; local
114 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
115 result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8);
116 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8);
117 result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0;
118 result->channels = 3; /* always */
120 return result;
128 struct gfxinfo *result = NULL; local
137 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
138 result
149 struct gfxinfo *result = NULL; local
184 unsigned long int result = 0; local
200 struct gfxinfo *result = NULL; local
273 struct gfxinfo *result = NULL; local
299 struct gfxinfo *result = NULL; local
477 struct gfxinfo *result = NULL; local
606 struct gfxinfo *result = NULL; local
678 struct gfxinfo *result = NULL; local
805 struct gfxinfo *result = NULL; local
886 struct gfxinfo * result; local
945 php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check) argument
1002 struct gfxinfo *result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); local
1015 php_get_xbm(php_stream *stream, struct gfxinfo **result) argument
1077 struct gfxinfo *result; local
1087 struct gfxinfo *result = NULL; local
1300 struct gfxinfo *result = NULL; local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c82 ZEND_ARG_INFO(0, result)
90 ZEND_ARG_INFO(0, result)
94 ZEND_ARG_INFO(0, result)
98 ZEND_ARG_INFO(0, result)
102 ZEND_ARG_INFO(0, result)
107 ZEND_ARG_INFO(0, result)
111 ZEND_ARG_INFO(0, result)
115 ZEND_ARG_INFO(0, result)
120 ZEND_ARG_INFO(0, result)
125 ZEND_ARG_INFO(0, result)
268 _free_sybase_result(sybase_result *result) argument
311 sybase_result *result = (sybase_result *)rsrc->ptr; local
1088 php_sybase_finish_results(sybase_result *result) argument
1192 php_sybase_fetch_result_row(sybase_result *result, int numrows) argument
1297 sybase_result *result; local
1429 sybase_result *result; local
1688 sybase_result *result; local
1721 sybase_result *result; local
1739 sybase_result *result; local
1758 sybase_result *result; local
1792 sybase_result *result; local
1843 sybase_result *result; local
1909 sybase_result *result; local
1981 sybase_result *result; local
2017 sybase_result *result; local
2043 sybase_result *result; local
[all...]

Completed in 47 milliseconds

12345678910