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()
822 static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_fetch_type how, enu… in do_fetch() argument
829 if (how == PDO_FETCH_USE_DEFAULT) { in do_fetch()
830 how = stmt->default_fetch_type; in do_fetch()
832 flags = how & PDO_FETCH_FLAGS; in do_fetch()
833 how = how & ~PDO_FETCH_FLAGS; in do_fetch()
839 if (how == PDO_FETCH_BOUND) { in do_fetch()
853 if (how == PDO_FETCH_LAZY) { in do_fetch()
860 switch (how) { in do_fetch()
971 how = PDO_FETCH_OBJ; in do_fetch()
994 if (return_all && how != PDO_FETCH_KEY_PAIR) { in do_fetch()
995 if (flags == PDO_FETCH_GROUP && how == PDO_FETCH_COLUMN && stmt->fetch.column > 0) { in do_fetch()
1001 if (how == PDO_FETCH_COLUMN) { in do_fetch()
1012 switch (how) { in do_fetch()
1135 switch (how) { in do_fetch()
1257 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1264 Z_PARAM_LONG(how) in PHP_METHOD()
1271 if (!pdo_stmt_verify_mode(stmt, how, 0)) { in PHP_METHOD()
1275 if (!do_fetch(stmt, TRUE, return_value, how, ori, off, 0)) { in PHP_METHOD()
1286 zend_long how = PDO_FETCH_CLASS; in PHP_METHOD() local
1304 if (!pdo_stmt_verify_mode(stmt, how, 0)) { in PHP_METHOD()
1332 if (!error && !do_fetch(stmt, TRUE, return_value, how, ori, off, 0)) { in PHP_METHOD()
1376 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1386 Z_PARAM_LONG(how) in PHP_METHOD()
1391 if (!pdo_stmt_verify_mode(stmt, how, 1)) { in PHP_METHOD()
1401 switch(how & ~PDO_FETCH_FLAGS) { in PHP_METHOD()
1463 stmt->fetch.column = how & PDO_FETCH_GROUP ? -1 : 0; in PHP_METHOD()
1482 flags = how & PDO_FETCH_FLAGS; in PHP_METHOD()
1484 if ((how & ~PDO_FETCH_FLAGS) == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD()
1486 how |= stmt->default_fetch_type & ~PDO_FETCH_FLAGS; in PHP_METHOD()
1491 if ((how & PDO_FETCH_GROUP) || how == PDO_FETCH_KEY_PAIR || in PHP_METHOD()
1492 (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type == PDO_FETCH_KEY_PAIR) in PHP_METHOD()
1499 if (!do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)) { in PHP_METHOD()
1504 if ((how & PDO_FETCH_GROUP)) { in PHP_METHOD()
1505 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1506 …} else if (how == PDO_FETCH_KEY_PAIR || (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type … in PHP_METHOD()
1507 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1512 } while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, 0)); in PHP_METHOD()