Searched refs: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)) {
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)) {
347 if (buffer_len > 0) {
348 RETURN_STRINGL(buffer, buffer_len);
/PHP_TRUNK/ext/standard/
H A Dpassword.c348 size_t buffer_len = 0; local
352 buffer_len = Z_STRLEN_P(option_buffer);
363 buffer_len = Z_STRLEN(cast_option_buffer);
383 if (buffer_len > INT_MAX) {
388 } else if (buffer_len < required_salt_len) {
391 php_error_docref(NULL, E_WARNING, "Provided salt is too short: %zd expecting %zd", buffer_len, required_salt_len);
393 } else if (php_password_salt_is_alphabet(buffer, buffer_len) == FAILURE) {
395 if (php_password_salt_to64(buffer, buffer_len, required_salt_len, salt) == FAILURE) {
399 php_error_docref(NULL, E_WARNING, "Provided salt is too short: %zd", buffer_len);
H A Duser_filters.c500 size_t buffer_len; local
503 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs", &zstream, &buffer, &buffer_len) == FAILURE) {
509 if (!(pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)))) {
513 memcpy(pbuffer, buffer, buffer_len);
515 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream));
/PHP_TRUNK/ext/intl/uchar/
H A Duchar.c46 int buffer_len = 0; local
56 U8_APPEND_UNSAFE(buffer, buffer_len, cp);
57 buffer[buffer_len] = 0;
58 RETURN_STRINGL(buffer, buffer_len);
240 int32_t buffer_len; local
247 buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, NULL, 0, &error);
248 buffer = zend_string_alloc(buffer_len, 0);
250 buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, buffer->val, buffer->len + 1, &error);
437 int buffer_len = 0; local
438 U8_APPEND_UNSAFE(buffer, buffer_len, re
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c593 size_t buffer_len = 0; local
601 if (buffer_len < Z_STRLEN_P(tmp)) {
602 buffer_len = Z_STRLEN_P(tmp);
603 query = erealloc(query, buffer_len + 2); /* room for \n\0 */
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c422 size_t buffer_len; local
441 buffer_len = Z_STRLEN_P(what);
460 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr", &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
466 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
483 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/main/
H A Dmain.c745 int buffer_len = 0; local
755 buffer_len = (int)vspprintf(&buffer, 0, format, args);
758 replace_buffer = php_escape_html_entities((unsigned char*)buffer, buffer_len, 0, ENT_COMPAT, NULL);
761 buffer_len = (int)replace_buffer->len;
902 ZVAL_STRINGL(&tmp, buffer, buffer_len);
996 int buffer_len, display; local
998 buffer_len = (int)vspprintf(&buffer, PG(log_errors_max_len), format, args);
1133 zend_string *buf = php_escape_html_entities((unsigned char*)buffer, buffer_len, 0, ENT_COMPAT, NULL);
1244 ZVAL_STRINGL(&tmp, buffer, buffer_len);
/PHP_TRUNK/ext/soap/
H A Dsoap.c2170 int buffer_len; local
2182 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2185 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2188 if (buffer_len > sizeof(buffer) - 1 || buffer_len < 0) {
2189 buffer_len = sizeof(buffer) - 1;
2254 int buffer_len; local
2261 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2264 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2267 if (buffer_len > sizeo
[all...]

Completed in 29 milliseconds