Lines Matching refs:buf
1320 smart_str_appendl(&t->buf, data, (int) length); in curl_write()
1613 smart_str_appendl(&ch->handlers->write->buf, data, (int) length); in curl_write_header()
1678 static int curl_debug(CURL *cp, curl_infotype type, char *buf, size_t buf_len, void *ctx) /* {{{ */ in curl_debug() argument
1687 ch->header.str = estrndup(buf, buf_len); in curl_debug()
1699 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) in curl_passwd() argument
1725 strlcpy(buf, Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in curl_passwd()
2951 if (ch->handlers->write->buf.len > 0) { in _php_curl_cleanup_handle()
2952 smart_str_free(&ch->handlers->write->buf); in _php_curl_cleanup_handle()
2986 if (ch->handlers->write->buf.len > 0) { in PHP_FUNCTION()
2987 smart_str_free(&ch->handlers->write->buf); in PHP_FUNCTION()
3000 if (ch->handlers->write->method == PHP_CURL_RETURN && ch->handlers->write->buf.len > 0) { in PHP_FUNCTION()
3001 smart_str_0(&ch->handlers->write->buf); in PHP_FUNCTION()
3002 RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1); in PHP_FUNCTION()
3324 if (ch->handlers->write->buf.len > 0) { in _php_curl_close_ex()
3325 smart_str_free(&ch->handlers->write->buf); in _php_curl_close_ex()