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

123456789

/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 TSRMLS_DC) argument
66 bc_free_num (result);
67 *result = bc_copy_num (BCG(_one_));
112 bc_divide (BCG(_one_), temp, result, rscale TSRMLS_CC); local
117 bc_free_num (result);
118 *result = temp;
119 if ((*result)->n_scale > rscale)
120 (*result)->n_scale = rscale;
/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/ext/bcmath/
H A Dbcmath.c210 bc_num first, second, result; local
224 bc_init_num(&result TSRMLS_CC);
227 bc_add (first, second, &result, scale);
229 if (result->n_scale > scale) {
230 result->n_scale = scale;
233 RETVAL_STR(bc_num2str(result));
236 bc_free_num(&result);
248 bc_num first, second, result; local
261 bc_init_num(&result TSRMLS_CC);
264 bc_sub (first, second, &result, scal
285 bc_num first, second, result; local
322 bc_num first, second, result; local
364 bc_num first, second, result; local
398 bc_num first, second, mod, result; local
440 bc_num first, second, result; local
477 bc_num result; local
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_result_iterator.c40 mysqli_object *result; member in struct:__anon124
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 TSRMLS_CC);
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 TSRMLS_CC);
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 TSRMLS_CC); 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 TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_DC) 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/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 TSRMLS_CC, 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
693 int result = 0, use_ssl, use_ssl_on_data = 0; local
781 int result; local
904 int result; local
954 int result; local
1033 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; local
1127 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 TSRMLS_DC) argument
1002 struct gfxinfo *result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); local
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
1194 php_sybase_fetch_result_row(sybase_result *result, int numrows TSRMLS_DC) argument
1299 sybase_result *result; local
1431 sybase_result *result; local
1690 sybase_result *result; local
1723 sybase_result *result; local
1741 sybase_result *result; local
1760 sybase_result *result; local
1794 sybase_result *result; local
1845 sybase_result *result; local
1911 sybase_result *result; local
1983 sybase_result *result; local
2019 sybase_result *result; local
2045 sybase_result *result; 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 TSRMLS_DC);
46 static void php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC);
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)
313 static void _free_result(mssql_result *result, int free_fields) argument
317 if (result->data) {
318 for (i=0; i<result
360 mssql_result *result = (mssql_result *)rsrc->ptr; local
933 php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) argument
1060 php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) argument
1211 _mssql_fetch_batch(mssql_link *mssql_ptr, mssql_result *result, int retvalue TSRMLS_DC) argument
1300 mssql_result *result; local
1331 mssql_result *result; local
1419 mssql_result *result; local
1463 mssql_result *result; local
1480 mssql_result *result; local
1497 mssql_result *result; local
1616 mssql_result *result; local
1699 mssql_result *result; local
1735 mssql_result *result; local
1765 mssql_result *result; local
1795 mssql_result *result; local
1825 mssql_result *result; local
1850 mssql_result *result; local
1900 mssql_result *result; local
2123 mssql_result *result; local
[all...]
/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 TSRMLS_DC) 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/odbc/
H A Dphp_odbc.c112 ZEND_ARG_INFO(0, result)
117 ZEND_ARG_INFO(0, result)
715 le_result = zend_register_list_destructors_ex(_free_odbc_result, NULL, "odbc result", module_number);
912 odbc_result *result; local
921 ZEND_FETCH_RESOURCE(result, odbc_result *, pv_res, -1, "ODBC result", le_result);
923 result->longreadlen = flag;
925 result->binmode = flag;
939 int odbc_bindcols(odbc_result *result TSRMLS_DC)
948 result
1052 odbc_result *result; local
1152 odbc_result *result = NULL; local
1247 odbc_result *result; local
1468 odbc_result *result; local
1580 odbc_result *result = NULL; local
1663 odbc_result *result; local
1813 odbc_result *result; local
1932 odbc_result *result; local
1965 odbc_result *result; local
2019 odbc_result *result; local
2205 odbc_result *result; local
2328 odbc_result *result; local
2704 odbc_result *result; local
2722 odbc_result *result; local
2771 odbc_result *result; local
2786 odbc_result *result; local
2819 odbc_result *result; local
2873 odbc_result *result; local
3018 odbc_result *result; local
3070 odbc_result *result = NULL; local
3137 odbc_result *result = NULL; local
3207 odbc_result *result = NULL; local
3271 odbc_result *result = NULL; local
3349 odbc_result *result = NULL; local
3407 odbc_result *result = NULL; local
3468 odbc_result *result = NULL; local
3536 odbc_result *result = NULL; local
3602 odbc_result *result = NULL; local
3672 odbc_result *result = NULL; local
3740 odbc_result *result = NULL; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_operators.c183 #define zendi_convert_scalar_to_number(op, holder, result) \
184 if (op==result) { \
224 #define zendi_convert_to_long(op, holder, result) \
225 if (op == result) { \
263 #define zendi_convert_to_boolean(op, holder, result) \
264 if (op==result) { \
877 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
891 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
893 ZVAL_LONG(result, lval);
899 ZVAL_DOUBLE(result, ((doubl
941 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
994 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1041 pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1129 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1200 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1232 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1252 boolean_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1271 bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1301 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1346 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1391 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1436 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1468 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1501 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1514 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1527 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1593 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1610 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1632 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1655 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1669 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1694 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1882 zval result; local
1898 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1946 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1956 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1966 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1976 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1986 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
2288 register unsigned char *result = (unsigned char*)dest; local
2460 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument
2514 zval result; local
2529 zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 TSRMLS_DC) argument
2535 zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC) argument
2541 zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC) argument
[all...]
H A Dzend_operators.h47 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
48 ZEND_API int sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
49 ZEND_API int mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
50 ZEND_API int pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
51 ZEND_API int div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
52 ZEND_API int mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
53 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
54 ZEND_API int boolean_not_function(zval *result, zval *op1 TSRMLS_DC);
55 ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC);
56 ZEND_API int bitwise_or_function(zval *result, zva
447 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
528 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
611 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
636 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
687 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
707 fast_equal_check_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
741 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
783 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
825 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
848 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
871 fast_is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
880 fast_is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
942 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1); local
[all...]

Completed in 43 milliseconds

123456789