Searched refs:result (Results 1 - 25 of 224) 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/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
/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_ini_parser.y48 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
84 Z_STRLEN_P(result) = zend_sprintf(str_result, "%d", i_result);
85 Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1);
86 memcpy(Z_STRVAL_P(result), str_result, Z_STRLEN_P(result));
87 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0;
88 Z_TYPE_P(result) = IS_STRING;
94 static void zend_ini_init_string(zval *result)
[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
596 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
682 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
771 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
799 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
860 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
883 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
902 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
921 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
940 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
H A Dzend_operators.c141 double result = 0.0; local
147 return result;
152 result *= 10;
153 result += *digit - '0';
159 result *= pow(10.0, exponent);
160 return result;
162 return result;
169 result += (*digit - '0') / divisor;
173 result *= pow(10.0, exponent);
174 return result;
810 add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
874 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
923 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
966 pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1050 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1117 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1149 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1169 boolean_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1184 bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1215 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1262 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1309 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1356 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1376 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1397 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1410 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1422 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1483 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1518 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1524 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1531 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1563 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1594 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1768 zval result; local
1783 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1825 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1835 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1845 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1855 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1865 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
2132 register unsigned char *result = (unsigned char*)dest; local
2304 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument
2358 zval result; local
2373 zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 TSRMLS_DC) argument
2379 zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC) argument
2385 zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC) argument
[all...]
/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 Z_STRVAL_P(return_value) = bc_num2str(result);
238 bc_free_num(&result);
250 bc_num first, second, result; local
263 bc_init_num(&result TSRMLS_CC);
266 bc_sub (first, second, &result, scal
289 bc_num first, second, result; local
328 bc_num first, second, result; local
372 bc_num first, second, result; local
408 bc_num first, second, mod, result; local
452 bc_num first, second, result; local
491 bc_num 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/mysqli/
H A Dmysqli_result_iterator.c40 mysqli_object *result; member in struct:__anon121
59 iterator->result = (mysqli_object *) zend_object_store_get_object(object TSRMLS_CC);
109 mysqli_object *intern = iterator->result;
110 MYSQL_RES *result; local
112 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID);
117 php_mysqli_fetch_into_hash_aux(iterator->current_row, result, MYSQLI_ASSOC TSRMLS_CC);
129 mysqli_object *intern = iterator->result;
130 MYSQL_RES *result; local
132 MYSQLI_FETCH_RESOURCE_BY_OBJ(result, MYSQL_RES *, intern, "mysqli_result", MYSQLI_STATUS_VALID);
134 if (mysqli_result_is_unbuffered(result)) {
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c112 ZEND_ARG_INFO(0, result)
117 ZEND_ARG_INFO(0, result)
721 le_result = zend_register_list_destructors_ex(_free_odbc_result, NULL, "odbc result", module_number);
915 odbc_result *result; local
924 ZEND_FETCH_RESOURCE(result, odbc_result *, &pv_res, -1, "ODBC result", le_result);
926 result->longreadlen = flag;
928 result->binmode = flag;
942 int odbc_bindcols(odbc_result *result TSRMLS_DC)
949 result
1035 odbc_result *result; local
1144 odbc_result *result = NULL; local
1239 odbc_result *result; local
1460 odbc_result *result; local
1572 odbc_result *result = NULL; local
1655 odbc_result *result; local
1807 odbc_result *result; local
1927 odbc_result *result; local
1960 odbc_result *result; local
2014 odbc_result *result; local
2190 odbc_result *result; local
2310 odbc_result *result; local
2692 odbc_result *result; local
2710 odbc_result *result; local
2759 odbc_result *result; local
2774 odbc_result *result; local
2807 odbc_result *result; local
2861 odbc_result *result; local
3006 odbc_result *result; local
3058 odbc_result *result = NULL; local
3125 odbc_result *result = NULL; local
3195 odbc_result *result = NULL; local
3259 odbc_result *result = NULL; local
3337 odbc_result *result = NULL; local
3395 odbc_result *result = NULL; local
3456 odbc_result *result = NULL; local
3524 odbc_result *result = NULL; local
3590 odbc_result *result = NULL; local
3660 odbc_result *result = NULL; local
3728 odbc_result *result = NULL; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbase64.c60 unsigned char *result; local
69 result = (unsigned char *) safe_emalloc((length + 2) / 3, 4 * sizeof(char), 1);
70 p = result;
96 *ret_length = (int)(p - result);
99 return result;
148 unsigned char *result; local
150 result = (unsigned char *)safe_emalloc(length, 1, 1);
164 efree(result);
174 efree(result);
180 result[
223 unsigned char *result; local
243 unsigned char *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
702 int result = 0, use_ssl, use_ssl_on_data = 0; local
790 int result; local
913 int result; local
963 int result; local
1042 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; local
1136 int result; local
[all...]
H A Dphp_crypt.h26 PHPAPI int php_crypt(const char *password, const int pass_len, const char *salt, int salt_len, char **result);
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
272 struct gfxinfo *result = NULL; local
298 struct gfxinfo *result = NULL; local
476 struct gfxinfo *result = NULL; local
605 struct gfxinfo *result = NULL; local
677 struct gfxinfo *result = NULL; local
804 struct gfxinfo *result = NULL; local
885 struct gfxinfo * result; local
944 php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check TSRMLS_DC) argument
1001 struct gfxinfo *result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); local
1076 struct gfxinfo *result; local
1086 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/mysqlnd/
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
556 MYSQLND_RES * result; local
[all...]

Completed in 69 milliseconds

123456789