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()
842 …enum pdo_fetch_type how, enum pdo_fetch_orientation ori, long offset, zval *return_all TSRMLS_DC) … in do_fetch() argument
849 if (how == PDO_FETCH_USE_DEFAULT) { in do_fetch()
850 how = stmt->default_fetch_type; in do_fetch()
852 flags = how & PDO_FETCH_FLAGS; in do_fetch()
853 how = how & ~PDO_FETCH_FLAGS; in do_fetch()
859 if (how == PDO_FETCH_BOUND) { in do_fetch()
873 if (how == PDO_FETCH_LAZY) { in do_fetch()
880 switch (how) { in do_fetch()
993 how = PDO_FETCH_OBJ; in do_fetch()
1016 if (return_all && how != PDO_FETCH_KEY_PAIR) { in do_fetch()
1018 if (flags == PDO_FETCH_GROUP && how == PDO_FETCH_COLUMN && stmt->fetch.column > 0) { in do_fetch()
1024 if (how == PDO_FETCH_COLUMN) { in do_fetch()
1036 switch (how) { in do_fetch()
1161 switch (how) { in do_fetch()
1285 long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1290 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lll", &how, in PHP_METHOD()
1297 if (!pdo_stmt_verify_mode(stmt, how, 0 TSRMLS_CC)) { in PHP_METHOD()
1301 if (!do_fetch(stmt, TRUE, return_value, how, ori, off, 0 TSRMLS_CC)) { in PHP_METHOD()
1312 long how = PDO_FETCH_CLASS; in PHP_METHOD() local
1329 if (!pdo_stmt_verify_mode(stmt, how, 0 TSRMLS_CC)) { in PHP_METHOD()
1359 if (!error && !do_fetch(stmt, TRUE, return_value, how, ori, off, 0 TSRMLS_CC)) { in PHP_METHOD()
1402 long how = PDO_FETCH_USE_DEFAULT; in PHP_METHOD() local
1410 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lzz", &how, &arg2, &ctor_args)) { in PHP_METHOD()
1414 if (!pdo_stmt_verify_mode(stmt, how, 1 TSRMLS_CC)) { in PHP_METHOD()
1424 switch(how & ~PDO_FETCH_FLAGS) { in PHP_METHOD()
1482 stmt->fetch.column = how & PDO_FETCH_GROUP ? -1 : 0; in PHP_METHOD()
1501 flags = how & PDO_FETCH_FLAGS; in PHP_METHOD()
1503 if ((how & ~PDO_FETCH_FLAGS) == PDO_FETCH_USE_DEFAULT) { in PHP_METHOD()
1505 how |= stmt->default_fetch_type & ~PDO_FETCH_FLAGS; in PHP_METHOD()
1511 if ( (how & PDO_FETCH_GROUP) || how == PDO_FETCH_KEY_PAIR || in PHP_METHOD()
1512 (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type == PDO_FETCH_KEY_PAIR) in PHP_METHOD()
1519 if (!do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)) { in PHP_METHOD()
1525 if ((how & PDO_FETCH_GROUP)) { in PHP_METHOD()
1528 } while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)); in PHP_METHOD()
1529 …} else if (how == PDO_FETCH_KEY_PAIR || (how == PDO_FETCH_USE_DEFAULT && stmt->default_fetch_type … in PHP_METHOD()
1530 while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, return_all TSRMLS_CC)); in PHP_METHOD()
1536 } while (do_fetch(stmt, TRUE, data, how | flags, PDO_FETCH_ORI_NEXT, 0, 0 TSRMLS_CC)); in PHP_METHOD()