Searched refs:row (Results 1 - 25 of 27) sorted by relevance

12

/PHP_TRUNK/ext/mysqli/tests/
H A Dconnect.inc134 ($row = $res->fetch_row()) &&
135 !empty($row)) {
136 if ($row[1] == "DISABLED" || $row[1] == "NO") {
143 while ($row = $res->fetch_assoc()) {
144 if (!isset($row['Engine']) || !isset($row['Support']))
147 if (('InnoDB' == $row['Engine']) &&
148 (('YES' == $row['Support']) || ('DEFAULT' == $row['Suppor
[all...]
H A Dlocal_infile_tools.inc14 $row = mysqli_fetch_assoc($res);
16 if ('ON' != $row['Value'])
17 return sprintf("Server variable 'local_infile' seems not set to 'ON', found '%s'", $row['Value']);
/PHP_TRUNK/ext/pdo/
H A Dpdo.php28 foreach ($x->query("select NAME, VALUE from test") as $row) {
29 print_r($row);
40 foreach ($x->query("select NAME, VALUE from test", PDO_FETCH_COLUMN, 1) as $row) {
41 debug_zval_dump($row);
52 while ($row = $stmt->fetch()) {
53 echo "name=$row[NAME] value=$row[VALUE]\n";
H A Dpdo_stmt.c260 pdo_row_t *row = ecalloc(1, sizeof(pdo_row_t)); local
261 row->stmt = stmt;
262 zend_object_std_init(&row->std, pdo_row_ce TSRMLS_CC);
263 ZVAL_OBJ(&stmt->lazy_object_ref, &row->std);
264 row->std.handlers = &pdo_row_object_handlers;
1269 Fetches the next row and returns it, or false if there are no more rows */
1296 Fetches the next row and returns it as an object. */
1632 bind a column to a PHP variable. On each row fetch $param will contain the value of the corresponding column. $column is the 1-based offset of the column, or the column name. For portability, don't call this before execute(). */
2485 pdo_row_t *row = (pdo_row_t *)Z_OBJ_P(object); local
2486 pdo_stmt_t *stmt = row
2541 pdo_row_t *row = (pdo_row_t *)Z_OBJ_P(object); local
2581 pdo_row_t *row = (pdo_row_t *)Z_OBJ_P(object); local
2677 pdo_row_t *row = (pdo_row_t *)std; local
2686 pdo_row_t *row = ecalloc(1, sizeof(pdo_row_t)); local
[all...]
/PHP_TRUNK/ext/sybase_ct/tests/
H A Dtest.inc73 while ($row= sybase_fetch_assoc($h)) {
74 $return[]= $row;
80 // Fires an SQL query and returns the first value from the first row
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_topal.c231 * of a true 3-D array, we use a row of pointers to 2-D arrays. Each
234 * on 80x86 machines, the pointer row is in near memory but the actual
276 * We can get away with a single array (holding one row's worth of errors)
277 * by using it to store the current row's errors at pixel columns not yet
278 * processed, but the next row's errors at columns already processed. We
322 boolean on_odd_row; /* flag to remember which row we are on */
355 int row; local
364 for (row = 0; row < num_rows; row
1303 int row; local
1383 int row; local
[all...]
H A Dgd_wbmp.c133 int col, row, pos; local
151 for (row = 0; row < wbmp->height; row++) {
154 gdImageSetPixel(im, col, row, white);
156 gdImageSetPixel(im, col, row, black);
H A Dwbmp.c153 int row, col, byte, pel, pos; local
206 for (row = 0; row < wbmp->height; row++)
250 int row, col; local
265 for (row = 0; row < wbmp->height; row++)
271 octet |= ((wbmp->bitmap[row * wbmp->width + col] == 1) ? WBMP_WHITE : WBMP_BLACK) << --bitpos;
309 int row, co local
[all...]
H A Dgd_jpeg.c170 volatile JSAMPROW row = 0; local
183 if (row) {
184 gdFree (row);
209 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0);
210 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE));
211 rowptr[0] = row;
232 row[jidx++] = gdTrueColorGetRed (val);
233 row[jidx++] = gdTrueColorGetGreen (val);
234 row[jidx++] = gdTrueColorGetBlue (val);
252 row[jid
326 volatile JSAMPROW row = 0; local
[all...]
H A Dgdft.c77 * Line separation will be rounded up to next pixel row.
630 int x, y, row, col, pc, pcr; local
640 for (row = 0; row < bitmap.rows; row++) {
641 pc = row * bitmap.pitch;
643 y = pen_y + row;
695 for (row = 0; row < bitmap.rows; row
[all...]
/PHP_TRUNK/ext/pdo_mysql/tests/
H A Dmysql_pdo_test.inc145 foreach ($db->query("show variables like 'have%'") as $row) {
146 if (!empty($row) && $row[1] == 'YES' && ($row[0] == 'have_innodb' || $row[0] == 'have_bdb')) {
147 return str_replace("have_", "", $row[0]);
151 foreach ($db->query("SHOW ENGINES") as $row) {
152 if (isset($row['engine']) && isset($row['support'])) {
153 if ('InnoDB' == $row['engin
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c199 ZEND_ARG_INFO(0, row)
1484 MYSQL_ROW row; local
1496 while ((row = mysql_fetch_row(mysql_result))) {
1497 if (!strcmp("ALL", row[1])) {
1498 php_error_docref("http://www.mysql.com/doc" TSRMLS_CC, E_WARNING, "Your query requires a full tablescan (table %s, %s rows affected). Use EXPLAIN to optimize your query.", row[0], row[6]);
1499 } else if (!strcmp("INDEX", row[1])) {
1500 php_error_docref("http://www.mysql.com/doc" TSRMLS_CC, E_WARNING, "Your query requires a full indexscan (table %s, %s rows affected). Use EXPLAIN to optimize your query.", row[0], row[6]);
1925 /* {{{ proto mixed mysql_result(resource result, int row [, mixe
1930 zend_long row; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c1155 MYSQL_ROW row; local
1160 if (!(row = mysql_fetch_row(result))) {
1172 if (row[i]) {
1180 case 8:llval = (my_ulonglong) bit_uint8korr(row[i]);break;
1181 case 7:llval = (my_ulonglong) bit_uint7korr(row[i]);break;
1182 case 6:llval = (my_ulonglong) bit_uint6korr(row[i]);break;
1183 case 5:llval = (my_ulonglong) bit_uint5korr(row[i]);break;
1184 case 4:llval = (my_ulonglong) bit_uint4korr(row[i]);break;
1185 case 3:llval = (my_ulonglong) bit_uint3korr(row[i]);break;
1186 case 2:llval = (my_ulonglong) bit_uint2korr(row[
[all...]
H A Dmysqli_warning.c77 MYSQL_ROW row; local
85 while ((row = mysql_fetch_row(result))) {
86 w = php_new_warning(row[2], atoi(row[1]) TSRMLS_CC);
126 zval row; local
138 mysqlnd_fetch_into(result, MYSQLND_FETCH_NUM, &row, MYSQLND_MYSQLI);
139 if (Z_TYPE(row) != IS_ARRAY) {
140 zval_ptr_dtor(&row);
143 zend_hash_internal_pointer_reset(Z_ARRVAL(row));
145 zend_hash_move_forward(Z_ARRVAL(row));
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h129 #define mysqlnd_data_seek(result, row) (result)->m.seek_data((result), (row) TSRMLS_CC)
231 #define mysqlnd_stmt_data_seek(stmt, row) (stmt)->m->seek_data((stmt), (row) TSRMLS_CC)
H A Dmysqlnd_priv.h155 typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC);
192 void ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row, unsigned int byte_count TSRMLS_DC);
H A Dmysqlnd_ps_codec.c58 zend_uchar ** row, unsigned int byte_count TSRMLS_DC)
69 case 8:uval = is_bit? (uint64_t) bit_uint8korr(*row):(uint64_t) uint8korr(*row);break;
70 case 7:uval = bit_uint7korr(*row);break;
71 case 6:uval = bit_uint6korr(*row);break;
72 case 5:uval = bit_uint5korr(*row);break;
73 case 4:uval = is_bit? (uint64_t) bit_uint4korr(*row):(uint64_t) uint4korr(*row);break;
74 case 3:uval = is_bit? (uint64_t) bit_uint3korr(*row):(uint64_t) uint3korr(*row);brea
57 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row, unsigned int byte_count TSRMLS_DC) argument
[all...]
H A Dmysqlnd_result.c161 /* Free last row's zvals */
166 DBG_INF("Freeing last row buffer");
218 int64_t row; local
220 for (row = set->row_count - 1; row >= 0; row--) {
221 zval *current_row = data + row * field_count;
254 int64_t row; local
257 DBG_INF_FMT("Freeing "MYSQLND_LLU_SPEC" row(s)", set->row_count);
265 for (row
682 MYSQLND_ROW_C *row = (MYSQLND_ROW_C *) param; local
801 zval *row = (zval *) param; local
970 MYSQLND_ROW_C * row = (MYSQLND_ROW_C *) param; local
1062 zval * row = (zval *) param; local
1149 zval * row = (zval *) param; local
1778 zval row; local
1814 zval row; local
[all...]
H A Dmysqlnd_structs.h634 typedef enum_func_status (*func_mysqlnd_res__seek_data)(MYSQLND_RES * const result, const uint64_t row TSRMLS_DC);
711 typedef enum_func_status (*func_mysqlnd_result_buffered__data_seek)(MYSQLND_RES_BUFFERED * const result, const uint64_t row TSRMLS_DC);
756 typedef enum_func_status (*func_mysqlnd_stmt__seek_data)(const MYSQLND_STMT * const stmt, uint64_t row TSRMLS_DC);
1016 /* Column lengths of current row - both buffered and unbuffered. For buffered results it duplicates the data found in **data */ \
1054 zend_uchar *initialized; /* every row is a single bit */
1069 Column lengths of current row - both buffered and unbuffered.
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1294 Tell whether a field in the current row is NULL */
1358 Prepare a new row of data for reading */
1363 ub4 nrows = 1; /* only one row at a time is supported for now */
1379 Fetch a row of result data into an array */
1422 zval row; local
1424 array_init(&row);
1430 zend_hash_next_index_insert(Z_ARRVAL(row), &element);
1432 zend_symtable_update(Z_ARRVAL(row), zend_string_init(columns[ i ]->name, columns[ i ]->name_len+1, 0), &element);
1436 zend_hash_next_index_insert(Z_ARRVAL_P(array), &row); local
1489 Fetch a result row a
[all...]
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c432 UDWORD row; local
441 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat);
467 UDWORD row; local
502 stat = SQLExtendedFetch(res->hstmt,SQL_FETCH_NEXT,1,&row,RowStat);
/PHP_TRUNK/ext/pgsql/
H A Dphp_pgsql.h291 int row; member in struct:_php_pgsql_result_handle
H A Dpgsql.c253 ZEND_ARG_INFO(0, row)
259 ZEND_ARG_INFO(0, row)
264 ZEND_ARG_INFO(0, row)
270 ZEND_ARG_INFO(0, row)
292 ZEND_ARG_INFO(0, row)
298 ZEND_ARG_INFO(0, row)
1886 pg_result->row = 0;
2021 pg_result->row = 0;
2105 pg_result->row = 0;
2225 pg_result->row
2603 zend_long row; local
2667 zend_long row = -1; local
2927 zend_long row; local
2954 zend_long row; local
6921 zval row; local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c131 ZEND_ARG_INFO(0, row)
1273 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Error reading row %d", result->num_rows);
1304 * fetch all rows from the server into the row buffer, thus:
1755 Get row as enumerated array */
1804 /* Unbuffered ? Fetch next row */
1839 Fetch row as object */
1890 Fetch row as array */
1898 Fetch row as array without numberic indices */
1906 Move internal row pointer */
1924 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Bad row offse
2043 long row; local
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c110 ZEND_ARG_INFO(0, row)
1576 Returns an array of the current row in the result set specified by result_id */
1584 Returns a pseudo-object of the current row in the result set specified by result_id */
1595 Returns an associative array of the current row in the result set specified by result_id */
1603 Returns an associative array of the current row in the result set specified by result_id */
1611 Moves the internal row pointer of the MS-SQL result associated with the specified result identifier to pointer to the specified row number */
1625 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad row offset");
1843 /* {{{ proto string mssql_result(resource result_id, int row, mixed field)
1848 long row; local
[all...]

Completed in 58 milliseconds

12