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)) {
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 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));
H A Dpassword.c332 size_t buffer_len = 0; local
339 buffer_len = Z_STRLEN_P(option_buffer);
350 buffer_len = Z_STRLEN(cast_option_buffer);
370 if (buffer_len > INT_MAX) {
375 } else if (buffer_len < required_salt_len) {
378 php_error_docref(NULL, E_WARNING, "Provided salt is too short: %zd expecting %zd", buffer_len, required_salt_len);
380 } else if (php_password_salt_is_alphabet(buffer, buffer_len) == FAILURE) {
382 if (php_password_salt_to64(buffer, buffer_len, required_salt_len, salt) == FAILURE) {
386 php_error_docref(NULL, E_WARNING, "Provided salt is too short: %zd", buffer_len);
/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/fileinfo/
H A Dfileinfo.c438 size_t buffer_len; local
457 buffer_len = Z_STRLEN_P(what);
476 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr", &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
482 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
499 ret_val = (char *) magic_buffer(magic, buffer, buffer_len);
534 if (CHECK_NULL_PATH(buffer, buffer_len)) {
/PHP_TRUNK/ext/soap/
H A Dsoap.c2160 int buffer_len; local
2172 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2175 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2178 if (buffer_len > sizeof(buffer) - 1 || buffer_len < 0) {
2179 buffer_len = sizeof(buffer) - 1;
2244 int buffer_len; local
2251 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2254 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2257 if (buffer_len > sizeo
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c588 size_t buffer_len = 0; local
596 if (buffer_len < Z_STRLEN_P(tmp)) {
597 buffer_len = Z_STRLEN_P(tmp);
598 query = erealloc(query, buffer_len + 2); /* room for \n\0 */
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c392 int buffer_len; local
414 buffer_len = xmlStrlen(buffer);
417 xmlNodeSetContentLen(node, buffer, buffer_len);
/PHP_TRUNK/main/
H A Dmain.c716 int buffer_len = 0; local
726 buffer_len = (int)vspprintf(&buffer, 0, format, args);
729 replace_buffer = php_escape_html_entities((unsigned char*)buffer, buffer_len, 0, ENT_COMPAT, NULL);
732 buffer_len = (int)replace_buffer->len;
873 ZVAL_STRINGL(&tmp, buffer, buffer_len);
967 int buffer_len, display; local
969 buffer_len = (int)vspprintf(&buffer, PG(log_errors_max_len), format, args);
1104 zend_string *buf = php_escape_html_entities((unsigned char*)buffer, buffer_len, 0, ENT_COMPAT, NULL);
1196 ZVAL_STRINGL(&tmp, buffer, buffer_len);

Completed in 45 milliseconds