Lines Matching refs:cmd_buf
1234 zend_uchar cmd_buf[STMT_ID_LENGTH /* statement id */]; in MYSQLND_METHOD() local
1266 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD()
1268 FAIL == (ret = conn->m->simple_command(conn, COM_STMT_RESET, cmd_buf, in MYSQLND_METHOD()
1269 sizeof(cmd_buf), PROT_OK_PACKET, in MYSQLND_METHOD()
1327 zend_uchar * cmd_buf; in MYSQLND_METHOD() local
1374 cmd_buf = mnd_emalloc(packet_len = STMT_ID_LENGTH + 2 + length); in MYSQLND_METHOD()
1375 if (cmd_buf) { in MYSQLND_METHOD()
1378 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD()
1379 int2store(cmd_buf + STMT_ID_LENGTH, param_no); in MYSQLND_METHOD()
1380 memcpy(cmd_buf + STMT_ID_LENGTH + 2, data, length); in MYSQLND_METHOD()
1383 ret = conn->m->simple_command(conn, cmd, cmd_buf, packet_len, PROT_LAST , FALSE, TRUE); in MYSQLND_METHOD()
1384 mnd_efree(cmd_buf); in MYSQLND_METHOD()
2162 zend_uchar cmd_buf[STMT_ID_LENGTH /* statement id */]; in MYSQLND_METHOD_PRIVATE() local
2202 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD_PRIVATE()
2204 FAIL == conn->m->simple_command(conn, COM_STMT_CLOSE, cmd_buf, sizeof(cmd_buf), in MYSQLND_METHOD_PRIVATE()