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

12345678

/PHP_5_3/ext/bcmath/libbcmath/src/
H A Dadd.c43 N1 is added to N2 and the result placed into RESULT. SCALE_MIN
44 is the minimum scale for the result. */
47 bc_add (n1, n2, result, scale_min)
48 bc_num n1, n2, *result;
85 bc_free_num (result);
86 *result = sum;
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_5_3/ext/spl/examples/
H A Dclass_tree.php84 $result = parent::key(); variable
85 $parent = get_parent_class($result);
88 $interfaces = array_diff(class_implements($result), class_implements($parent));
98 $result .= ' (' . join(', ', $interfaces) . ')';
101 return $result;
/PHP_5_3/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_5_3/tests/
H A Dquicktester.inc51 $result = $left === $right;
56 $result = FALSE;
59 $result = abs(($left-$right) / $left) < 1e-12;
66 $success = $success && $result;
67 if (!$result) {
/PHP_5_3/ext/filter/tests/
H A D033_run.inc25 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("regexp"=>'/^O.*/')));
27 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test"));
30 printf("%-5s",$result[0]);
31 printf("%-3s",$result[1]);
32 printf("%-15s",$result[2]);
33 printf("%-20s",$result[3]);
34 printf("%-10s",$result[4]);
35 printf("%-5s",$result[5]);
36 printf("%-20s",$result[6]);
37 printf("%-15s",$result[
[all...]
/PHP_5_3/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 Dgd_io.h36 int gdGetByte(int *result, gdIOCtx *ctx);
37 int gdGetWord(int *result, gdIOCtx *ctx);
38 int gdGetInt(int *result, gdIOCtx *ctx);
H A Dgdhelpers.c19 char *result = 0; local
54 result = s;
61 return result;
75 return result;
/PHP_5_3/ext/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h137 MBFLAPI extern mbfl_string * mbfl_buffer_converter_getbuffer(mbfl_buffer_converter *convd, mbfl_string *result);
138 MBFLAPI extern mbfl_string * mbfl_buffer_converter_result(mbfl_buffer_converter *convd, mbfl_string *result);
139 MBFLAPI extern mbfl_string * mbfl_buffer_converter_feed_result(mbfl_buffer_converter *convd, mbfl_string *string, mbfl_string *result);
163 mbfl_convert_encoding(mbfl_string *string, mbfl_string *result, enum mbfl_no_encoding toenc);
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);
245 mime_header_encoder_result(struct mime_header_encoder_data *pe, mbfl_string *result);
249 mbfl_string *string, mbfl_string *result,
270 mime_header_decoder_result(struct mime_header_decoder_data *pd, mbfl_string *result);
[all...]
/PHP_5_3/ext/mbstring/libmbfl/tests/
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_5_3/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_5_3/ext/interbase/
H A Dibase_service.c278 char res_buf[400], *result, *heap_buf = NULL, *heap_p; local
292 result = res_buf;
300 while (*result != isc_info_end) {
301 switch (*result++) {
306 if (! (line_len = isc_vax_integer(result, 2))) {
323 result += 2;
324 *(result+line_len) = 0;
325 snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result);
327 goto query_loop; /* repeat until result is exhausted */
335 RETURN_STRINGL(result
[all...]
/PHP_5_3/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)
308 static void _free_result(mssql_result *result, int free_fields) argument
312 if (result->data) {
313 for (i=0; i<result
355 mssql_result *result = (mssql_result *)rsrc->ptr; local
928 php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) argument
1055 php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) argument
1206 _mssql_fetch_batch(mssql_link *mssql_ptr, mssql_result *result, int retvalue TSRMLS_DC) argument
1295 mssql_result *result; local
1326 mssql_result *result; local
1414 mssql_result *result; local
1458 mssql_result *result; local
1475 mssql_result *result; local
1492 mssql_result *result; local
1621 mssql_result *result; local
1704 mssql_result *result; local
1740 mssql_result *result; local
1770 mssql_result *result; local
1800 mssql_result *result; local
1830 mssql_result *result; local
1855 mssql_result *result; local
1905 mssql_result *result; local
2128 mssql_result *result; local
[all...]
/PHP_5_3/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);
138 int result, use_ssl, use_ssl_on_data = 0, tmp_len; local
161 result = 0; /* silence */
169 result = GET_FTP_RESULT(stream);
170 if (result > 299 || result < 20
326 int result, i; local
422 int result = 0, use_ssl, use_ssl_on_data=0; local
700 int result = 0, use_ssl, use_ssl_on_data = 0; local
788 int result; local
911 int result; local
961 int result; local
1040 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; local
1134 int result; local
[all...]
H A Dimage.c102 struct gfxinfo *result = NULL; local
111 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
112 result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8);
113 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8);
114 result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0;
115 result->channels = 3; /* allways */
117 return result;
125 struct gfxinfo *result = NULL; local
134 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
135 result
146 struct gfxinfo *result = NULL; local
180 unsigned long int result = 0; local
196 struct gfxinfo *result = NULL; local
268 struct gfxinfo *result = NULL; local
294 struct gfxinfo *result = NULL; local
472 struct gfxinfo *result = NULL; local
601 struct gfxinfo *result = NULL; local
673 struct gfxinfo *result = NULL; local
800 struct gfxinfo *result = NULL; local
881 struct gfxinfo * result; local
940 php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check TSRMLS_DC) argument
997 struct gfxinfo *result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); local
1072 struct gfxinfo *result; local
1082 struct gfxinfo *result = NULL; local
1299 struct gfxinfo *result = NULL; local
[all...]
/PHP_5_3/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) argument
1300 sybase_result *result; local
1432 sybase_result *result; local
1691 sybase_result *result; local
1724 sybase_result *result; local
1742 sybase_result *result; local
1761 sybase_result *result; local
1795 sybase_result *result; local
1850 sybase_result *result; local
1916 sybase_result *result; local
1988 sybase_result *result; local
2024 sybase_result *result; local
2050 sybase_result *result; local
[all...]
/PHP_5_3/Zend/
H A Dzend_ini_parser.y48 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
81 Z_STRLEN_P(result) = zend_sprintf(str_result, "%d", i_result);
82 Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1);
83 memcpy(Z_STRVAL_P(result), str_result, Z_STRLEN_P(result));
84 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0;
85 Z_TYPE_P(result) = IS_STRING;
91 static void zend_ini_init_string(zval *result)
[all...]
H A Dzend_operators.c107 double result = 0.0; local
113 return result;
118 result *= 10;
119 result += *digit - '0';
125 result *= pow(10.0, exponent);
126 return result;
128 return result;
135 result += (*digit - '0') / divisor;
139 result *= pow(10.0, exponent);
140 return result;
758 add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
820 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
867 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
908 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
973 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
999 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1012 boolean_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1022 bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) argument
1050 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1090 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1132 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1173 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1186 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1200 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1212 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1225 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1281 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1313 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1345 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1376 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1542 zval result; local
1557 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1599 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1609 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1619 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1629 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1639 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1874 register unsigned char *result = (unsigned char*)dest; local
1992 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument
2025 zval result; local
2040 zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 TSRMLS_DC) argument
2046 zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC) argument
2052 zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_ps.c44 enum_func_status mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES *result, void *param,
48 enum_func_status mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES *result, void *param,
62 MYSQLND_RES * result; local
66 if (!stmt || !stmt->conn || !stmt->result) {
98 result = stmt->result;
99 result->type = MYSQLND_RES_PS_BUF;
100 result->m.fetch_row = mysqlnd_stmt_fetch_row_buffered;
101 result->m.fetch_lengths = NULL;/* makes no sense */
103 result
131 MYSQLND_RES *result; local
421 MYSQLND_RES * result = stmt->conn->m->result_init(stmt_to_prepare->field_count, stmt_to_prepare->persistent TSRMLS_CC); local
729 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES *result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC) argument
828 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES *result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC) argument
962 MYSQLND_RES *result; local
1005 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES *result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC) argument
1780 MYSQLND_RES *result; local
[all...]
H A Dmysqlnd_result.c37 MYSQLND_METHOD(mysqlnd_res, initialize_result_set_rest)(MYSQLND_RES * const result TSRMLS_DC)
40 zval **data_cursor = result->stored_data? result->stored_data->data:NULL;
41 zval **data_begin = result->stored_data? result->stored_data->data:NULL;
42 unsigned int field_count = result->meta? result->meta->field_count : 0;
43 uint64_t row_count = result->stored_data? result->stored_data->row_count:0;
47 if (!data_cursor || row_count == result
460 MYSQLND_RES * result; local
753 mysqlnd_fetch_row_unbuffered(MYSQLND_RES * result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC) argument
1023 mysqlnd_fetch_row_buffered(MYSQLND_RES * result, void *param, unsigned int flags, zend_bool *fetched_anything TSRMLS_DC) argument
1737 _mysqlnd_plugin_get_plugin_result_data(const MYSQLND_RES * result, unsigned int plugin_id TSRMLS_DC) argument
[all...]
/PHP_5_3/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
1466 odbc_result *result; local
1578 odbc_result *result = NULL; local
1661 odbc_result *result; local
1813 odbc_result *result; local
1933 odbc_result *result; local
1966 odbc_result *result; local
2020 odbc_result *result; local
2196 odbc_result *result; local
2316 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_5_3/ext/intl/locale/
H A Dlocale_methods.c126 char* result = NULL; local
132 result = estrdup( LOC_PREFERRED_GRANDFATHERED[grOffset] );
135 result = estrdup( LOC_GRANDFATHERED[grOffset] );
137 return result;
147 int result =-1; local
155 result = i-2;
157 result = i;
162 if(result < 1){
164 result =-1;
166 return result;
177 int result =-1; local
378 int result = 0; local
879 handleAppendResult( int result, smart_str* loc_name TSRMLS_DC) argument
905 int result = 0; local
986 char* result =NULL; local
1036 int result = 0; local
1141 int result = 0; local
1196 int result = 0; local
1238 int result = 0; local
1415 int result = 0; local
1539 char* result =NULL; local
[all...]

Completed in 29 milliseconds

12345678