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

12

/PHP_5_3/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";
/PHP_5_3/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_5_3/ext/sqlite/
H A Dsqlite.php30 while ($row = sqlite_fetch_array($r, SQLITE_ASSOC)) {
31 print_r($row);
H A Dsqlite.c402 ZEND_ARG_INFO(0, row)
406 ZEND_ARG_INFO(0, row)
700 res->nrows = 1; /* only one row is stored */
1789 /* first row - lets copy the column names */
1801 /* non buffered mode - also fetch memory for on single row */
1809 /* add the row to our collection */
1825 /* non buffered: only fetch one row but first free data if not first row */
1908 /* now the result set is ready for stepping: get first row */
2170 /* check range of the row */
2991 long row; local
[all...]
/PHP_5_3/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_5_3/ext/gd/libgd/
H A Dgd_jpeg.c166 volatile JSAMPROW row = 0; local
179 if (row) {
180 gdFree (row);
205 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0);
206 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE));
207 rowptr[0] = row;
228 row[jidx++] = gdTrueColorGetRed (val);
229 row[jidx++] = gdTrueColorGetGreen (val);
230 row[jidx++] = gdTrueColorGetBlue (val);
248 row[jid
307 volatile JSAMPROW row = 0; local
[all...]
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 Dgdft.c77 * Line separation will be rounded up to next pixel row.
594 int x, y, row, col, pc, pcr; local
604 for (row = 0; row < bitmap.rows; row++) {
605 pc = row * bitmap.pitch;
607 y = pen_y + row;
659 for (row = 0; row < bitmap.rows; row
[all...]
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...]
/PHP_5_3/ext/mysqli/tests/
H A Dconnect.inc147 while ($row = mysqli_fetch_assoc($res)) {
148 $names[$row['Variable_name']] = $row['Value'];
227 ($row = $res->fetch_row()) &&
228 !empty($row)) {
229 if ($row[1] == "DISABLED" || $row[1] == "NO") {
236 while ($row = $res->fetch_assoc()) {
237 if (!isset($row['Engine']) || !isset($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_5_3/ext/mssql/
H A Dphp_mssql.c110 ZEND_ARG_INFO(0, row)
1581 Returns an array of the current row in the result set specified by result_id */
1589 Returns a pseudo-object of the current row in the result set specified by result_id */
1600 Returns an associative array of the current row in the result set specified by result_id */
1608 Returns an associative array of the current row in the result set specified by result_id */
1616 Moves the internal row pointer of the MS-SQL result associated with the specified result identifier to pointer to the specified row number */
1630 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad row offset");
1848 /* {{{ proto string mssql_result(resource result_id, int row, mixed field)
1853 long row; local
[all...]
/PHP_5_3/ext/mysqli/
H A Dmysqli_warning.c80 MYSQL_ROW row; local
88 while ((row = mysql_fetch_row(result))) {
89 w = php_new_warning(row[2], atoi(row[1]) TSRMLS_CC);
130 zval *row; local
142 MAKE_STD_ZVAL(row);
143 mysqlnd_fetch_into(result, MYSQLND_FETCH_NUM, row, MYSQLND_MYSQLI);
144 if (Z_TYPE_P(row) != IS_ARRAY) {
145 zval_ptr_dtor(&row);
148 zend_hash_internal_pointer_reset(Z_ARRVAL_P(row));
[all...]
H A Dmysqli.c1098 MYSQL_ROW row; local
1141 if (!(row = mysql_fetch_row(result))) {
1153 if (row[i]) {
1163 case 8:llval = (my_ulonglong) bit_uint8korr(row[i]);break;
1164 case 7:llval = (my_ulonglong) bit_uint7korr(row[i]);break;
1165 case 6:llval = (my_ulonglong) bit_uint6korr(row[i]);break;
1166 case 5:llval = (my_ulonglong) bit_uint5korr(row[i]);break;
1167 case 4:llval = (my_ulonglong) bit_uint4korr(row[i]);break;
1168 case 3:llval = (my_ulonglong) bit_uint3korr(row[i]);break;
1169 case 2:llval = (my_ulonglong) bit_uint2korr(row[
[all...]
/PHP_5_3/ext/oci8/
H A Doci8_interface.c1362 Prepare a new row of data for reading */
1367 ub4 nrows = 1; /* only one row at a time is supported for now */
1383 Fetch a row of result data into an array */
1425 zval *row; local
1427 MAKE_STD_ZVAL(row);
1428 array_init(row);
1435 zend_hash_next_index_insert(Z_ARRVAL_P(row), &element, sizeof(zval*), NULL);
1439 zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL);
1442 zend_hash_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL);
1447 zend_hash_next_index_insert(Z_ARRVAL_P(array), &row, sizeo local
[all...]
/PHP_5_3/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_5_3/ext/pgsql/
H A Dphp_pgsql.h270 int row; member in struct:_php_pgsql_result_handle
H A Dpgsql.c243 ZEND_ARG_INFO(0, row)
249 ZEND_ARG_INFO(0, row)
254 ZEND_ARG_INFO(0, row)
260 ZEND_ARG_INFO(0, row)
282 ZEND_ARG_INFO(0, row)
288 ZEND_ARG_INFO(0, row)
1627 pg_result->row = 0;
1767 pg_result->row = 0;
1850 pg_result->row = 0;
1974 pg_result->row
2358 long row; local
2423 long row = -1; local
2700 long row; local
2728 long row; local
6246 zval *row; local
[all...]
/PHP_5_3/ext/sybase_ct/
H A Dphp_sybase_ct.c131 ZEND_ARG_INFO(0, row)
1274 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Error reading row %d", result->num_rows);
1305 * fetch all rows from the server into the row buffer, thus:
1756 Get row as enumerated array */
1805 /* Unbuffered ? Fetch next row */
1844 Fetch row as object */
1895 Fetch row as array */
1903 Fetch row as array without numberic indices */
1911 Move internal row pointer */
1929 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Bad row offse
2048 long row; local
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h141 #define mysqlnd_data_seek(result, row) (result)->m.seek_data((result), (row) TSRMLS_CC)
246 #define mysqlnd_stmt_data_seek(stmt, row) (stmt)->m->seek_data((stmt), (row) TSRMLS_CC)
H A Dmysqlnd_priv.h155 unsigned int pack_len, zend_uchar **row,
181 unsigned int pack_len, zend_uchar **row, zend_bool as_unicode,
H A Dmysqlnd_ps_codec.c57 unsigned int pack_len, zend_uchar **row, zend_bool as_unicode,
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
56 ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode, unsigned int byte_count TSRMLS_DC) argument
139 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
150 ps_fetch_int8(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
161 ps_fetch_int16(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
172 ps_fetch_int32(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
183 ps_fetch_int64(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
194 ps_fetch_float(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
211 ps_fetch_double(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
228 ps_fetch_time(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
285 ps_fetch_date(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
336 ps_fetch_datetime(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
395 ps_fetch_string(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
427 ps_fetch_bit(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
[all...]
H A Dmysqlnd_result.c173 /* Free last row's zvals */
178 DBG_INF("Freeing last row buffer");
195 int64_t row; local
198 DBG_INF_FMT("Freeing "MYSQLND_LLU_SPEC" row(s)", set->row_count);
206 for (row = set->row_count - 1; row >= 0; row--) {
207 zval **current_row = set->data + row * field_count;
208 MYSQLND_MEMORY_POOL_CHUNK *current_buffer = set->row_buffers[row];
595 - first row ha
756 zval *row = (zval *) param; local
1026 zval *row = (zval *) param; local
1598 zval *row; local
1636 zval row; local
[all...]
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c199 ZEND_ARG_INFO(0, row)
1432 MYSQL_ROW row; local
1444 while ((row = mysql_fetch_row(mysql_result))) {
1445 if (!strcmp("ALL", row[1])) {
1446 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]);
1447 } else if (!strcmp("INDEX", row[1])) {
1448 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]);
1876 /* {{{ proto mixed mysql_result(resource result, int row [, mixe
1881 long row; local
[all...]

Completed in 54 milliseconds

12