Lines Matching refs:how

49 	ZEND_ARG_INFO(0, how)  in ZEND_END_ARG_INFO()
64 ZEND_ARG_INFO(0, how) in ZEND_END_ARG_INFO()
854 …enum pdo_fetch_type how, enum pdo_fetch_orientation ori, long offset, zval *return_all TSRMLS_DC) … in do_fetch() argument
861 if (how == PDO_FETCH_USE_DEFAULT) { in do_fetch()
862 how = stmt->default_fetch_type; in do_fetch()
864 flags = how & PDO_FETCH_FLAGS; in do_fetch()
865 how = how & ~PDO_FETCH_FLAGS; in do_fetch()
871 if (how == PDO_FETCH_BOUND) { in do_fetch()
885 if (how == PDO_FETCH_LAZY) { in do_fetch()
892 switch (how) { in do_fetch()
1005 how = PDO_FETCH_OBJ; in do_fetch()
1028 if (return_all && how != PDO_FETCH_KEY_PAIR) { in do_fetch()
1030 if (flags == PDO_FETCH_GROUP && how == PDO_FETCH_COLUMN && stmt->fetch.column > 0) { in do_fetch()
1036 if (how == PDO_FETCH_COLUMN) { in do_fetch()
1048 switch (how) { in do_fetch()
1175 switch (how) { in do_fetch()
1306 long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1311 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lll", &how, in PHP_METHOD()
1318 if (!pdo_stmt_verify_mode(stmt, how, 0 TSRMLS_CC)) { in PHP_METHOD()
1322 if (!do_fetch(stmt, TRUE, return_value, how, ori, off, 0 TSRMLS_CC)) { in PHP_METHOD()
1333 long how = PDO_FETCH_CLASS; in PHP_METHOD() local
1351 if (!pdo_stmt_verify_mode(stmt, how, 0 TSRMLS_CC)) { in PHP_METHOD()
1389 if (!error && !do_fetch(stmt, TRUE, return_value, how, ori, off, 0 TSRMLS_CC)) { in PHP_METHOD()
1432 long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1440 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lzz", &how, &arg2, &ctor_args)) { in PHP_METHOD()
1444 if (!pdo_stmt_verify_mode(stmt, how, 1 TSRMLS_CC)) { in PHP_METHOD()
1454 switch(how & ~PDO_FETCH_FLAGS) { in PHP_METHOD()
1512 stmt->fetch.column = how & PDO_FETCH_GROUP ? -1 : 0; in PHP_METHOD()
1531 flags = how & PDO_FETCH_FLAGS; in PHP_METHOD()
1533 if ((how & ~PDO_FETCH_FLAGS) == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD()
1535 how |= stmt->default_fetch_type & ~PDO_FETCH_FLAGS; in PHP_METHOD()
1541 if ( (how & PDO_FETCH_GROUP) || how == PDO_FETCH_KEY_PAIR || in PHP_METHOD()
1542 (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type == PDO_FETCH_KEY_PAIR) in PHP_METHOD()
1549 if (!do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)) { in PHP_METHOD()
1555 if ((how & PDO_FETCH_GROUP)) { in PHP_METHOD()
1558 } while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)); in PHP_METHOD()
1559 …} else if (how == PDO_FETCH_KEY_PAIR || (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type … in PHP_METHOD()
1560 while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)); in PHP_METHOD()
1566 } while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, 0 TSRMLS_CC)); in PHP_METHOD()