Searched defs:buffer_len (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c284 ub4 buffer_len; local
299 if (php_oci_lob_read(descriptor, -1, 0, &buffer, &buffer_len TSRMLS_CC)) {
302 if (buffer_len > 0) {
303 RETURN_STRINGL(buffer, buffer_len);
319 ub4 buffer_len; local
344 if (php_oci_lob_read(descriptor, length, descriptor->lob_current_position, &buffer, &buffer_len TSRMLS_CC)) {
347 if (buffer_len > 0) {
348 RETURN_STRINGL(buffer, buffer_len);
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c1091 int buffer_len; local
1095 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &buffer, &buffer_len) == FAILURE) {
1100 ap_rwrite(buffer, buffer_len, (request_rec*)SG(server_context));
/PHP_TRUNK/ext/soap/
H A Dsoap.c2167 int buffer_len; local
2179 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2182 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2185 if (buffer_len > sizeof(buffer) - 1 || buffer_len < 0) {
2186 buffer_len = sizeof(buffer) - 1;
2251 int buffer_len; local
2258 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2261 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2264 if (buffer_len > sizeo
[all...]
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c417 size_t buffer_len; local
436 buffer_len = Z_STRLEN_P(what);
455 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
476 ret_val = (char *) magic_buffer(magic, buffer, buffer_len);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c403 int buffer_len; local
425 buffer_len = xmlStrlen(buffer);
428 xmlNodeSetContentLen(node, buffer, buffer_len);
/PHP_TRUNK/ext/standard/
H A Dpassword.c349 size_t buffer_len; local
385 buffer_len = (size_t) buffer_len_int;
386 if (buffer_len < required_salt_len) {
389 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Provided salt is too short: %lu expecting %lu", (unsigned long) buffer_len, (unsigned long) required_salt_len);
391 } else if (php_password_salt_is_alphabet(buffer, buffer_len) == FAILURE) {
393 if (php_password_salt_to64(buffer, buffer_len, required_salt_len, salt) == FAILURE) {
397 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Provided salt is too short: %lu", (unsigned long) buffer_len);
H A Duser_filters.c501 size_t buffer_len; local
504 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs", &zstream, &buffer, &buffer_len) == FAILURE) {
510 if (!(pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)))) {
514 memcpy(pbuffer, buffer, buffer_len);
516 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream) TSRMLS_CC);
/PHP_TRUNK/main/
H A Dmain.c753 int buffer_len = 0; local
763 buffer_len = (int)vspprintf(&buffer, 0, format, args);
766 replace_buffer = php_escape_html_entities(buffer, buffer_len, 0, ENT_COMPAT, NULL TSRMLS_CC);
769 buffer_len = (int)replace_buffer->len;
910 ZVAL_STRINGL(&tmp, buffer, buffer_len);
1004 int buffer_len, display; local
1007 buffer_len = (int)vspprintf(&buffer, PG(log_errors_max_len), format, args);
1142 zend_string *buf = php_escape_html_entities(buffer, buffer_len, 0, ENT_COMPAT, NULL TSRMLS_CC);
1253 ZVAL_STRINGL(&tmp, buffer, buffer_len);
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c580 int buffer_len = 0; local
588 if (buffer_len < Z_STRLEN_P(tmp)) {
589 buffer_len = Z_STRLEN_P(tmp);
590 query = erealloc(query, buffer_len + 2); /* room for \n\0 */

Completed in 27 milliseconds