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

123456789

/PHP_TRUNK/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_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 Dsample.c16 mbfl_string string, result, *ret; local
25 mbfl_string_init(&result);
33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
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...]
/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/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
/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/mbstring/libmbfl/mbfl/
H A Dmbfilter.h139 MBFLAPI extern mbfl_string * mbfl_buffer_converter_getbuffer(mbfl_buffer_converter *convd, mbfl_string *result);
140 MBFLAPI extern mbfl_string * mbfl_buffer_converter_result(mbfl_buffer_converter *convd, mbfl_string *result);
141 MBFLAPI extern mbfl_string * mbfl_buffer_converter_feed_result(mbfl_buffer_converter *convd, mbfl_string *string, mbfl_string *result);
167 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_TRUNK/ext/mysqli/
H A Dmysqli_result_iterator.c40 mysqli_object *result; member in struct:__anon121
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_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...]
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
671 zval *result = &stmt->result_bind[i].zv; local
751 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
803 zval *result = &stmt->result_bind[i].zv; local
852 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
910 zval *result = &stmt->result_bind[i].zv; local
984 MYSQLND_RES * result; local
1026 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
1096 zval *result = &stmt->result_bind[i].zv; local
1212 zval *result = &stmt->result_bind[i].zv; local
1817 MYSQLND_RES *result; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_service.c276 char res_buf[400], *result, *heap_buf = NULL, *heap_p; local
290 result = res_buf;
298 while (*result != isc_info_end) {
299 switch (*result++) {
304 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_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/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 *)ZSTR_VAL(result);
90 ZSTR_LEN(result) = (p - (unsigned char *)ZSTR_VAL(result));
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
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) argument
1008 struct gfxinfo *result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); local
1021 php_get_xbm(php_stream *stream, struct gfxinfo **result) argument
1083 struct gfxinfo *result; local
1093 struct gfxinfo *result = NULL; local
1310 struct gfxinfo *result = NULL; 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
883 handleAppendResult( int result, smart_str* loc_name) argument
909 int result = 0; local
990 char* result =NULL; local
1040 int result = 0; local
1145 int result = 0; local
1200 int result = 0; local
1240 int result = 0; local
1417 int result = 0; local
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c112 ZEND_ARG_INFO(0, result)
117 ZEND_ARG_INFO(0, result)
716 le_result = zend_register_list_destructors_ex(_free_odbc_result, NULL, "odbc result", module_number);
916 odbc_result *result; local
924 if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) {
929 result->longreadlen = flag;
931 result->binmode = flag;
939 int odbc_bindcols(odbc_result *result) argument
948 result
1082 odbc_result *result; local
1184 odbc_result *result = NULL; local
1281 odbc_result *result; local
1504 odbc_result *result; local
1621 odbc_result *result = NULL; local
1706 odbc_result *result; local
1858 odbc_result *result; local
1979 odbc_result *result; local
2014 odbc_result *result; local
2071 odbc_result *result; local
2259 odbc_result *result; local
2384 odbc_result *result; local
2765 odbc_result *result; local
2787 odbc_result *result; local
2839 odbc_result *result; local
2858 odbc_result *result; local
2893 odbc_result *result; local
2949 odbc_result *result; local
3100 odbc_result *result; local
3156 odbc_result *result = NULL; local
3225 odbc_result *result = NULL; local
3297 odbc_result *result = NULL; local
3363 odbc_result *result = NULL; local
3443 odbc_result *result = NULL; local
3503 odbc_result *result = NULL; local
3566 odbc_result *result = NULL; local
3636 odbc_result *result = NULL; local
3704 odbc_result *result = NULL; local
3776 odbc_result *result = NULL; local
3846 odbc_result *result = NULL; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_operators.c189 #define zendi_convert_scalar_to_number(op, holder, result) \
190 if (op==result) { \
854 ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ argument
868 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
870 ZVAL_LONG(result, lval);
876 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
880 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
884 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
888 if ((result == op1) && (result
918 sub_function(zval *result, zval *op1, zval *op2) argument
971 mul_function(zval *result, zval *op1, zval *op2) argument
1018 pow_function(zval *result, zval *op1, zval *op2) argument
1106 div_function(zval *result, zval *op1, zval *op2) argument
1171 mod_function(zval *result, zval *op1, zval *op2) argument
1203 boolean_xor_function(zval *result, zval *op1, zval *op2) argument
1253 boolean_not_function(zval *result, zval *op1) argument
1278 bitwise_not_function(zval *result, zval *op1) argument
1319 bitwise_or_function(zval *result, zval *op1, zval *op2) argument
1386 bitwise_and_function(zval *result, zval *op1, zval *op2) argument
1453 bitwise_xor_function(zval *result, zval *op1, zval *op2) argument
1520 shift_left_function(zval *result, zval *op1, zval *op2) argument
1551 shift_right_function(zval *result, zval *op1, zval *op2) argument
1582 concat_function(zval *result, zval *op1, zval *op2) argument
1662 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive) argument
1679 string_compare_function(zval *result, zval *op1, zval *op2) argument
1701 string_case_compare_function(zval *result, zval *op1, zval *op2) argument
1724 string_locale_compare_function(zval *result, zval *op1, zval *op2) argument
1738 numeric_compare_function(zval *result, zval *op1, zval *op2) argument
1763 compare_function(zval *result, zval *op1, zval *op2) argument
1945 zval_compare_function(zval *result, zval *op1, zval *op2) argument
1953 zval result; local
2000 is_identical_function(zval *result, zval *op1, zval *op2) argument
2007 is_not_identical_function(zval *result, zval *op1, zval *op2) argument
2014 is_equal_function(zval *result, zval *op1, zval *op2) argument
2024 is_not_equal_function(zval *result, zval *op1, zval *op2) argument
2034 is_smaller_function(zval *result, zval *op1, zval *op2) argument
2044 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
2370 int result; local
2396 register unsigned char *result = (unsigned char*)dest; local
2677 zval result; local
[all...]

Completed in 46 milliseconds

123456789