Lines Matching refs:cmd_buf
1212 zend_uchar cmd_buf[STMT_ID_LENGTH /* statement id */]; in MYSQLND_METHOD() local
1260 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD()
1262 FAIL == (ret = conn->m->simple_command(conn, COM_STMT_RESET, (char *)cmd_buf, in MYSQLND_METHOD()
1263 sizeof(cmd_buf), PROT_OK_PACKET, in MYSQLND_METHOD()
1283 zend_uchar *cmd_buf; in MYSQLND_METHOD() local
1331 cmd_buf = mnd_emalloc(packet_len = STMT_ID_LENGTH + 2 + length); in MYSQLND_METHOD()
1332 if (cmd_buf) { in MYSQLND_METHOD()
1335 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD()
1336 int2store(cmd_buf + STMT_ID_LENGTH, param_no); in MYSQLND_METHOD()
1337 memcpy(cmd_buf + STMT_ID_LENGTH + 2, data, length); in MYSQLND_METHOD()
1340 …ret = conn->m->simple_command(conn, cmd, (char *)cmd_buf, packet_len, PROT_LAST , FALSE, TRUE TSRM… in MYSQLND_METHOD()
1341 mnd_efree(cmd_buf); in MYSQLND_METHOD()
2140 zend_uchar cmd_buf[STMT_ID_LENGTH /* statement id */]; in MYSQLND_METHOD_PRIVATE() local
2181 int4store(cmd_buf, stmt->stmt_id); in MYSQLND_METHOD_PRIVATE()
2183 FAIL == conn->m->simple_command(conn, COM_STMT_CLOSE, (char *)cmd_buf, sizeof(cmd_buf), in MYSQLND_METHOD_PRIVATE()