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()
826 static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_fetch_type how, enu… in do_fetch() argument
833 if (how == PDO_FETCH_USE_DEFAULT) { in do_fetch()
834 how = stmt->default_fetch_type; in do_fetch()
836 flags = how & PDO_FETCH_FLAGS; in do_fetch()
837 how = how & ~PDO_FETCH_FLAGS; in do_fetch()
843 if (how == PDO_FETCH_BOUND) { in do_fetch()
857 if (how == PDO_FETCH_LAZY) { in do_fetch()
864 switch (how) { in do_fetch()
975 how = PDO_FETCH_OBJ; in do_fetch()
998 if (return_all && how != PDO_FETCH_KEY_PAIR) { in do_fetch()
999 if (flags == PDO_FETCH_GROUP && how == PDO_FETCH_COLUMN && stmt->fetch.column > 0) { in do_fetch()
1005 if (how == PDO_FETCH_COLUMN) { in do_fetch()
1016 switch (how) { in do_fetch()
1139 switch (how) { in do_fetch()
1261 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1266 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "|lll", &how, in PHP_METHOD()
1273 if (!pdo_stmt_verify_mode(stmt, how, 0)) { in PHP_METHOD()
1277 if (!do_fetch(stmt, TRUE, return_value, how, ori, off, 0)) { in PHP_METHOD()
1288 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()
1375 zend_long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1383 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "|lzz", &how, &arg2, &ctor_args)) { in PHP_METHOD()
1387 if (!pdo_stmt_verify_mode(stmt, how, 1)) { in PHP_METHOD()
1397 switch(how & ~PDO_FETCH_FLAGS) { in PHP_METHOD()
1459 stmt->fetch.column = how & PDO_FETCH_GROUP ? -1 : 0; in PHP_METHOD()
1478 flags = how & PDO_FETCH_FLAGS; in PHP_METHOD()
1480 if ((how & ~PDO_FETCH_FLAGS) == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD()
1482 how |= stmt->default_fetch_type & ~PDO_FETCH_FLAGS; in PHP_METHOD()
1487 if ((how & PDO_FETCH_GROUP) || how == PDO_FETCH_KEY_PAIR || in PHP_METHOD()
1488 (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type == PDO_FETCH_KEY_PAIR) in PHP_METHOD()
1495 if (!do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)) { in PHP_METHOD()
1500 if ((how & PDO_FETCH_GROUP)) { in PHP_METHOD()
1501 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1502 …} else if (how == PDO_FETCH_KEY_PAIR || (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type … in PHP_METHOD()
1503 while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all)); in PHP_METHOD()
1508 } while (do_fetch(stmt, 1, &data, how | flags, PDO_FETCH_ORI_NEXT, 0, 0)); in PHP_METHOD()