Lines Matching refs:how
47 ZEND_ARG_INFO(0, how) in ZEND_END_ARG_INFO()
62 ZEND_ARG_INFO(0, how) in ZEND_END_ARG_INFO()
824 static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_fetch_type how, enu… in do_fetch() argument
831 if (how == PDO_FETCH_USE_DEFAULT) { in do_fetch()
832 how = stmt->default_fetch_type; in do_fetch()
834 flags = how & PDO_FETCH_FLAGS; in do_fetch()
835 how = how & ~PDO_FETCH_FLAGS; in do_fetch()
841 if (how == PDO_FETCH_BOUND) { in do_fetch()
855 if (how == PDO_FETCH_LAZY) { in do_fetch()
862 switch (how) { in do_fetch()
974 how = PDO_FETCH_OBJ; in do_fetch()
997 if (return_all && how != PDO_FETCH_KEY_PAIR) { in do_fetch()
998 if (flags == PDO_FETCH_GROUP && how == PDO_FETCH_COLUMN && stmt->fetch.column > 0) { in do_fetch()
1004 if (how == PDO_FETCH_COLUMN) { in do_fetch()
1015 switch (how) { in do_fetch()
1127 switch (how) { in do_fetch()
1249 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1256 Z_PARAM_LONG(how) in PHP_METHOD()
1263 if (!pdo_stmt_verify_mode(stmt, how, 0)) { in PHP_METHOD()
1267 if (!do_fetch(stmt, TRUE, return_value, how, ori, off, 0)) { in PHP_METHOD()
1278 zend_long how = PDO_FETCH_CLASS; in PHP_METHOD() local
1296 if (!pdo_stmt_verify_mode(stmt, how, 0)) { in PHP_METHOD()
1324 if (!error && !do_fetch(stmt, TRUE, return_value, how, ori, off, 0)) { in PHP_METHOD()
1368 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1378 Z_PARAM_LONG(how) in PHP_METHOD()
1383 if (!pdo_stmt_verify_mode(stmt, how, 1)) { in PHP_METHOD()
1393 switch(how & ~PDO_FETCH_FLAGS) { in PHP_METHOD()
1455 stmt->fetch.column = how & PDO_FETCH_GROUP ? -1 : 0; in PHP_METHOD()
1474 flags = how & PDO_FETCH_FLAGS; in PHP_METHOD()
1476 if ((how & ~PDO_FETCH_FLAGS) == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD()
1478 how |= stmt->default_fetch_type & ~PDO_FETCH_FLAGS; in PHP_METHOD()
1483 if ((how & PDO_FETCH_GROUP) || how == PDO_FETCH_KEY_PAIR || in PHP_METHOD()
1484 (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type == PDO_FETCH_KEY_PAIR) in PHP_METHOD()
1491 if (!do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)) { in PHP_METHOD()
1496 if ((how & PDO_FETCH_GROUP)) { in PHP_METHOD()
1497 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1498 …} else if (how == PDO_FETCH_KEY_PAIR || (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type … in PHP_METHOD()
1499 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1504 } while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, 0)); in PHP_METHOD()