Searched refs:row (Results 1 - 25 of 26) 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";
/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 Dgdft.c77 * Line separation will be rounded up to next pixel row.
628 int x, y, row, col, pc, pcr; local
638 for (row = 0; row < bitmap.rows; row++) {
639 pc = row * bitmap.pitch;
641 y = pen_y + row;
693 for (row = 0; row < bitmap.rows; row
[all...]
H A Dgd_interpolation.c965 static inline void _gdScaleRow(gdImagePtr pSrc, unsigned int src_width, gdImagePtr dst, unsigned int dst_width, unsigned int row, LineContribType *contrib) argument
967 int *p_src_row = pSrc->tpixels[row];
968 int *p_dst_row = dst->tpixels[row];
1006 /* Scale each row */
1021 int *row = pRes->tpixels[y]; local
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...]
/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/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...]
/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/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/mysqlnd/
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_priv.h162 typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC);
199 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.h129 #define mysqlnd_data_seek(result, row) (result)->m.seek_data((result), (row) TSRMLS_CC)
232 #define mysqlnd_stmt_data_seek(stmt, row) (stmt)->m->seek_data((stmt), (row) TSRMLS_CC)
H A Dmysqlnd_result.c219 /* Free last row's zvals */
224 DBG_INF("Freeing last row buffer");
278 int64_t row; local
280 for (row = set->row_count - 1; row >= 0; row--) {
281 zval **current_row = data + row * field_count;
324 int64_t row; local
327 DBG_INF_FMT("Freeing "MYSQLND_LLU_SPEC" row(s)", set->row_count);
335 for (row
761 MYSQLND_ROW_C *row = (MYSQLND_ROW_C *) param; local
880 zval *row = (zval *) param; local
1053 MYSQLND_ROW_C * row = (MYSQLND_ROW_C *) param; local
1145 zval * row = (zval *) param; local
1238 zval * row = (zval *) param; local
1873 zval *row; local
1910 zval row; local
[all...]
H A Dmysqlnd_structs.h635 typedef enum_func_status (*func_mysqlnd_res__seek_data)(MYSQLND_RES * const result, const uint64_t row TSRMLS_DC);
712 typedef enum_func_status (*func_mysqlnd_result_buffered__data_seek)(MYSQLND_RES_BUFFERED * const result, const uint64_t row TSRMLS_DC);
757 typedef enum_func_status (*func_mysqlnd_stmt__seek_data)(const MYSQLND_STMT * const stmt, uint64_t row TSRMLS_DC);
1011 /* Column lengths of current row - both buffered and unbuffered. For buffered results it duplicates the data found in **data */ \
1049 zend_uchar *initialized; /* every row is a single bit */
1062 Column lengths of current row - both buffered and unbuffered.
/PHP_TRUNK/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.c1152 MYSQL_ROW row; local
1157 if (!(row = mysql_fetch_row(result))) {
1169 if (row[i]) {
1179 case 8:llval = (my_ulonglong) bit_uint8korr(row[i]);break;
1180 case 7:llval = (my_ulonglong) bit_uint7korr(row[i]);break;
1181 case 6:llval = (my_ulonglong) bit_uint6korr(row[i]);break;
1182 case 5:llval = (my_ulonglong) bit_uint5korr(row[i]);break;
1183 case 4:llval = (my_ulonglong) bit_uint4korr(row[i]);break;
1184 case 3:llval = (my_ulonglong) bit_uint3korr(row[i]);break;
1185 case 2:llval = (my_ulonglong) bit_uint2korr(row[
[all...]
/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)
1889 pg_result->row = 0;
2029 pg_result->row = 0;
2112 pg_result->row = 0;
2236 pg_result->row
2618 long row; local
2683 long row = -1; local
2945 long row; local
2973 long row; local
6991 zval *row; local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1293 Tell whether a field in the current row is NULL */
1357 Prepare a new row of data for reading */
1362 ub4 nrows = 1; /* only one row at a time is supported for now */
1378 Fetch a row of result data into an array */
1420 zval *row; local
1422 MAKE_STD_ZVAL(row);
1423 array_init(row);
1430 zend_hash_next_index_insert(Z_ARRVAL_P(row), &element, sizeof(zval*), NULL);
1432 zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL);
1436 zend_hash_next_index_insert(Z_ARRVAL_P(array), &row, sizeo local
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c199 ZEND_ARG_INFO(0, row)
1466 MYSQL_ROW row; local
1478 while ((row = mysql_fetch_row(mysql_result))) {
1479 if (!strcmp("ALL", row[1])) {
1480 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]);
1481 } else if (!strcmp("INDEX", row[1])) {
1482 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]);
1910 /* {{{ proto mixed mysql_result(resource result, int row [, mixe
1915 long row; local
[all...]

Completed in 96 milliseconds

12