Lines Matching refs:buf
241 zend_string *buf;
243 buf = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0);
244 if (!buf) {
245 buf = ZSTR_EMPTY_ALLOC();
247 … if (!stmt->dbh->methods->quoter(stmt->dbh, ZSTR_VAL(buf), ZSTR_LEN(buf), &plc->quoted, &plc->qlen,
252 if (buf) {
253 zend_string_release_ex(buf, 0);
257 if (buf) {
258 zend_string_release_ex(buf, 0);
268 zend_string *buf = NULL;
283 buf = zend_long_to_str(zval_get_long(parameter));
285 plc->qlen = ZSTR_LEN(buf);
286 plc->quoted = estrdup(ZSTR_VAL(buf));
297 buf = zval_get_string(parameter);
299 !stmt->dbh->methods->quoter(stmt->dbh, ZSTR_VAL(buf),
300 ZSTR_LEN(buf), &plc->quoted, &plc->qlen,
305 if (buf) {
306 zend_string_release_ex(buf, 0);
313 if (buf) {
314 zend_string_release_ex(buf, 0);