Lines Matching refs:infile
131 conn->infile.local_infile_init = mysqlnd_local_infile_init; in mysqlnd_local_infile_default()
132 conn->infile.local_infile_read = mysqlnd_local_infile_read; in mysqlnd_local_infile_default()
133 conn->infile.local_infile_error = mysqlnd_local_infile_error; in mysqlnd_local_infile_default()
134 conn->infile.local_infile_end = mysqlnd_local_infile_end; in mysqlnd_local_infile_default()
143 if (!conn->infile.callback) { in mysqlnd_set_local_infile_handler()
144 MAKE_STD_ZVAL(conn->infile.callback); in mysqlnd_set_local_infile_handler()
146 zval_dtor(conn->infile.callback); in mysqlnd_set_local_infile_handler()
148 ZVAL_STRING(conn->infile.callback, (char*) funcname, 1); in mysqlnd_set_local_infile_handler()
167 MYSQLND_INFILE infile; in mysqlnd_handle_local_infile() local
180 infile = conn->infile; in mysqlnd_handle_local_infile()
187 if (infile.local_infile_init(&info, (char *)filename, conn->infile.userdata TSRMLS_CC)) { in mysqlnd_handle_local_infile()
192 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf) TSRMLS_CC); in mysqlnd_handle_local_infile()
200 …while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEAD… in mysqlnd_handle_local_infile()
220 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf) TSRMLS_CC); in mysqlnd_handle_local_infile()
233 (*conn->infile.local_infile_end)(info TSRMLS_CC); in mysqlnd_handle_local_infile()