Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 780) sorted by relevance

12345678910>>...32

/PHP-5.4/tests/lang/
H A Dbug22592.phpt14 $result = "* *-*";
15 var_dump($result);
16 $result[6] = '*';
18 $result[1] = $i;
20 $result[3] = $s;
22 $result[7] = 0;
24 $a = $result[1] = $result[3] = '-';
26 $b = $result[3] = $result[5] = $s;
28 $c = $result[0] = $result[2] = $result[4] = $i;
30 $d = $result[6] = $result[8] = 5;
[all …]
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_result.c256 result->m.free_buffered_data(result TSRMLS_CC); in MYSQLND_METHOD()
286 result->m.free_result_buffers(result TSRMLS_CC); in mysqlnd_internal_free_result_contents()
310 mnd_pefree(result, result->persistent); in mysqlnd_internal_free_result()
334 result->meta = result->m.result_meta_init(result->field_count, result->persistent TSRMLS_CC); in MYSQLND_METHOD()
488 result = stmt->result; in mysqlnd_query_read_result_set_header()
608 …return (!result->unbuf || result->unbuf->last_row_data || result->unbuf->eof_reached)? result->len… in mysqlnd_fetch_lengths_unbuffered()
616 return result->m.fetch_lengths? result->m.fetch_lengths(result TSRMLS_CC) : NULL; in _mysqlnd_fetch_lengths()
1310 if (!result->stored_data && result->unbuf && in MYSQLND_METHOD()
1334 result->m.skip_result(result TSRMLS_CC); in MYSQLND_METHOD()
1373 …return result->stored_data? result->stored_data->row_count:(result->unbuf && result->unbuf->eof_re… in MYSQLND_METHOD()
[all …]
/PHP-5.4/ext/pgsql/tests/
H A D03sync_query.phpt23 pg_fetch_object($result);
27 pg_fetch_row($result, $i);
31 pg_fetch_result($result, $i, 0);
34 pg_result_error($result);
57 pg_field_name($result, 0);
59 pg_field_size($result, 0);
60 pg_field_type($result, 0);
61 pg_field_prtlen($result, 0);
62 pg_field_is_null($result, 0);
65 pg_last_oid($result);
[all …]
H A D24sync_query_prepared.phpt18 pg_result_error($result);
19 pg_free_result($result);
31 pg_fetch_object($result);
42 pg_result_error($result);
45 pg_field_name($result, 0);
47 pg_field_size($result, 0);
48 pg_field_type($result, 0);
53 pg_result_error($result);
54 pg_free_result($result);
56 pg_last_oid($result);
[all …]
H A D98old_api.phpt12 pg_numrows($result);
13 pg_numfields($result);
14 pg_fieldname($result, 0);
15 pg_fieldsize($result, 0);
16 pg_fieldtype($result, 0);
17 pg_fieldprtlen($result, 0);
18 pg_fieldisnull($result, 0);
20 pg_result($result,0,0);
22 $oid = pg_getlastoid($result);
23 pg_freeresult($result);
[all …]
H A D23sync_query_params.phpt28 pg_fetch_object($result);
32 pg_fetch_row($result, $i);
36 pg_fetch_result($result, $i, 0);
39 pg_result_error($result);
42 pg_field_name($result, 0);
44 pg_field_size($result, 0);
45 pg_field_type($result, 0);
46 pg_field_prtlen($result, 0);
47 pg_field_is_null($result, 0);
50 pg_last_oid($result);
[all …]
H A D04async_query.phpt19 if (!($result = pg_get_result($db)))
33 pg_fetch_object($result);
37 pg_fetch_row($result, $i);
41 pg_fetch_result($result, $i, 0);
46 pg_field_name($result, 0);
48 pg_field_size($result, 0);
49 pg_field_type($result, 0);
50 pg_field_prtlen($result, 0);
51 pg_field_is_null($result, 0);
58 pg_last_oid($result);
[all …]
H A D25async_query_params.phpt37 pg_fetch_object($result);
41 pg_fetch_row($result, $i);
45 pg_fetch_result($result, $i, 0);
50 pg_field_name($result, 0);
51 pg_field_num($result, $field_name);
52 pg_field_size($result, 0);
53 pg_field_type($result, 0);
54 pg_field_prtlen($result, 0);
55 pg_field_is_null($result, 0);
62 pg_last_oid($result);
[all …]
H A D26async_query_prepared.phpt28 pg_free_result($result);
51 pg_fetch_object($result);
55 pg_fetch_row($result, $i);
64 pg_field_name($result, 0);
66 pg_field_size($result, 0);
67 pg_field_type($result, 0);
68 pg_field_prtlen($result, 0);
69 pg_field_is_null($result, 0);
83 pg_free_result($result);
98 pg_last_oid($result);
[all …]
/PHP-5.4/ext/intl/tests/
H A Dformatter_get_set_attribute.phpt102 Old attribute value: 0 ; Format result: '12,345.123' ; Parse result: 12345.123
104 New attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345
107 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123
109 New attribute value: 0 ; Format result: '12345.123' ; Parse result: 12345.123
112 Old attribute value: 0 ; Format result: '12,345' ; Parse result: 12345
114 New attribute value: 1 ; Format result: '12,345.' ; Parse result: 12345
117 Old attribute value: 309 ; Format result: '12,345.123' ; Parse result: 12345.123
119 New attribute value: 2 ; Format result: '45.123' ; Parse result: 45.123
122 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123
127 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123
[all …]
/PHP-5.4/ext/odbc/
H A Dphp_odbc.c1224 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION()
1225 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
1460 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
1651 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
2772 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION()
3143 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
3212 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
3275 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
3353 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
3413 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/standard/
H A Dbase64.c60 unsigned char *result; in php_base64_encode() local
70 p = result; in php_base64_encode()
99 return result; in php_base64_encode()
164 efree(result); in php_base64_decode_ex()
174 efree(result); in php_base64_decode_ex()
191 result[j++] |= ch; in php_base64_decode_ex()
202 efree(result); in php_base64_decode_ex()
207 result[k] = 0; in php_base64_decode_ex()
213 result[j] = '\0'; in php_base64_decode_ex()
214 return result; in php_base64_decode_ex()
[all …]
H A Dimage.c120 return result; in php_handle_gif()
141 return result; in php_handle_psd()
169 result->height = abs((int32_t)result->height); in php_handle_bmp()
175 return result; in php_handle_bmp()
188 result = result + in php_swf_get_bits()
191 return result; in php_swf_get_bits()
263 return result; in php_handle_swc()
290 return result; in php_handle_swf()
319 return result; in php_handle_png()
649 if (result->channels < 0 || result->channels > 256) { in php_handle_jpc()
[all …]
H A Dftp_fopen_wrapper.c116 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
170 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
260 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect()
282 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
288 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
472 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
485 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
714 if (result > 299 || result < 200) in php_stream_ftp_opendir()
801 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
811 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
[all …]
/PHP-5.4/ext/sybase_ct/
H A Dphp_sybase_ct.c273 for (i = 0; i < (result->store ? result->num_rows : MIN(1, result->num_rows)); i++) { in _free_sybase_result()
1207 i= result->store ? result->num_rows- 1 : 0; in php_sybase_fetch_result_row()
1211 if (result->store || 1 == result->num_rows) { in php_sybase_fetch_result_row()
1234 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row()
1316 result->cur_field=result->cur_row=result->num_rows=0; in php_sybase_fetch_result_set()
1387 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set()
1409 Z_TYPE(result->fields[i]) = result->types[i]; in php_sybase_fetch_result_set()
1774 if (result->cur_row >= result->num_rows) { in PHP_FUNCTION()
1781 *field_content = result->data[result->store ? result->cur_row : 0][i]; in PHP_FUNCTION()
1810 if (result->cur_row >= result->num_rows) { in php_sybase_fetch_hash()
[all …]
/PHP-5.4/Zend/
H A Dzend_operators.c110 return result; in zend_string_to_double()
115 result *= 10; in zend_string_to_double()
143 return result; in zend_string_to_double()
791 if ((result == op1) && (result == op2)) { in add_function()
1577 zval result; in hash_zval_identical_function() local
1639 Z_LVAL_P(result) = !Z_LVAL_P(result); in is_not_identical_function()
1649 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function()
1659 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function()
1669 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function()
1679 ZVAL_BOOL(result, (Z_LVAL_P(result) <= 0)); in is_smaller_or_equal_function()
[all …]
H A Dzend_operators.h571 : "r"(result), in fast_add_function()
591 : "r"(result), in fast_add_function()
655 : "r"(result), in fast_sub_function()
679 : "r"(result), in fast_sub_function()
749 Z_LVAL_P(result) = 0; in fast_div_function()
768 Z_LVAL_P(result) = 0; in fast_div_function()
780 Z_LVAL_P(result) = 0; in fast_div_function()
790 Z_LVAL_P(result) = 0; in fast_div_function()
809 Z_LVAL_P(result) = 0; in fast_mod_function()
814 Z_LVAL_P(result) = 0; in fast_mod_function()
[all …]
/PHP-5.4/ext/mbstring/libmbfl/tests/
H A Demoji.c34 mbfl_string string, result, *ret; in main() local
78 mbfl_string_init_set(&result, no_language, to_encoding); in main()
82 for (i = 0; i < result.len; i+= 2) { in main()
83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair in main()
84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1]; in main()
85 int l = (result.val[i+2] & 0x03)<<8 | result.val[i+3]; in main()
90 printf("U+%x\n",(result.val[i] << 8) | result.val[i+1]); in main()
93 hexdump(&result); in main()
103 memcpy(dev2.buffer, result.val, result.len+1); in main()
109 hexdump(&result); in main()
[all …]
/PHP-5.4/ext/mssql/
H A Dphp_mssql.c359 efree(result); in _free_mssql_result()
1274 if (i<result->batchsize || result->batchsize==0) {
1310 result->cur_row=result->num_rows=0;
1311 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, result->lastresult TSRMLS_CC);
1382 result->cur_field=result->cur_row=result->num_rows=0;
1520 if (result->cur_row >= result->num_rows) {
1532 data = Z_STRVAL(result->data[result->cur_row][i]);
1548 add_assoc_long(return_value, result->fields[i].name, Z_LVAL(result->data[result->cur_row][i]));
1922 result->cur_row=result->num_fields=result->num_rows=0;
2155 result=NULL;
[all …]
/PHP-5.4/ext/bcmath/
H A Dbcmath.c230 result->n_scale = scale; in PHP_FUNCTION()
238 bc_free_num(&result); in PHP_FUNCTION()
269 result->n_scale = scale; in PHP_FUNCTION()
277 bc_free_num(&result); in PHP_FUNCTION()
316 bc_free_num(&result); in PHP_FUNCTION()
361 bc_free_num(&result); in PHP_FUNCTION()
397 bc_free_num(&result); in PHP_FUNCTION()
440 bc_free_num(&result); in PHP_FUNCTION()
479 bc_free_num(&result); in PHP_FUNCTION()
491 bc_num result; in PHP_FUNCTION() local
[all …]
/PHP-5.4/ext/filter/tests/
H A D033_run.inc25 …foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("re…
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[7]);
[all …]
/PHP-5.4/ext/date/tests/
H A Dbug20382-2.phpt49 result = Monday 2037-10-26 00:00:00 CET
54 result = Monday 1970-01-05 00:00:00 GST
59 result = Monday 1970-01-05 00:00:00 AFT
64 result = Monday 1970-01-05 00:00:00 AST
69 result = Monday 1970-01-05 00:00:00 AST
79 result = Monday 2037-10-26 00:00:00 AMT
84 result = Monday 1970-01-05 00:00:00 AST
89 result = Monday 1970-01-05 00:00:00 WAT
114 result = Monday 1971-04-05 00:00:00 AST
124 result = Monday 1971-01-04 00:00:00 CET
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dvprintf_basic3.phpt26 $result = vprintf($format1,$arg1);
28 var_dump($result);
30 $result = vprintf($format11,$arg1);
32 var_dump($result);
34 $result = vprintf($format2,$arg2);
36 var_dump($result);
38 $result = vprintf($format22,$arg2);
40 var_dump($result);
42 $result = vprintf($format3,$arg3);
44 var_dump($result);
[all …]
/PHP-5.4/ext/odbc/tests/
H A Dodbc_columnprivileges_001.phpt12 var_dump($result = odbc_columnprivileges($conn, '', '', '', ''));
13 var_dump(odbc_fetch_row($result));
15 var_dump($result = odbc_columnprivileges($conn, NULL, NULL, NULL, NULL));
16 var_dump(odbc_fetch_row($result));
18 var_dump($result = odbc_columnprivileges($conn, 'FOO', 'FOO', 'FOO', 'FOO'));
19 var_dump(odbc_fetch_row($result));
23 resource(%d) of type (odbc result)
25 resource(%d) of type (odbc result)
27 resource(%d) of type (odbc result)
H A Dodbc_columns_001.phpt12 var_dump($result = odbc_columns($conn, '', '', '', ''));
13 var_dump(odbc_fetch_row($result));
15 var_dump($result = odbc_columns($conn, NULL, NULL, NULL, NULL));
16 var_dump(odbc_fetch_row($result));
18 var_dump($result = odbc_columns($conn, 'FOO', 'FOO', 'FOO', 'FOO'));
19 var_dump(odbc_fetch_row($result));
23 resource(%d) of type (odbc result)
25 resource(%d) of type (odbc result)
27 resource(%d) of type (odbc result)

Completed in 75 milliseconds

12345678910>>...32