Searched refs:buffer_len (Results 1 - 11 of 11) sorted by relevance

/PHP_5_5/ext/soap/
H A Dphp_http.c336 int *buffer_len TSRMLS_DC)
1271 *buffer_len = Z_STRLEN(retval);
1285 *buffer_len = http_body_size;
1293 if (*buffer_len == 0) {
1295 } else if (*buffer_len > 0) {
H A Dsoap.c2159 int buffer_len; local
2171 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2174 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2177 if (buffer_len > sizeof(buffer) - 1 || buffer_len < 0) {
2178 buffer_len = sizeof(buffer) - 1;
2245 int buffer_len; local
2252 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, argcopy);
2255 buffer_len = vslprintf(buffer, sizeof(buffer)-1, format, args);
2258 if (buffer_len > sizeo
[all...]
/PHP_5_5/ext/standard/
H A Dpassword.c358 size_t buffer_len; local
392 buffer_len = (size_t) buffer_len_int;
393 if (buffer_len < required_salt_len) {
396 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);
398 } else if (php_password_salt_is_alphabet(buffer, buffer_len) == FAILURE) {
400 if (php_password_salt_to64(buffer, buffer_len, required_salt_len, salt) == FAILURE) {
404 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Provided salt is too short: %lu", (unsigned long) buffer_len);
H A Duser_filters.c515 int buffer_len; local
518 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs", &zstream, &buffer, &buffer_len) == FAILURE) {
524 if (!(pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)))) {
528 memcpy(pbuffer, buffer, buffer_len);
530 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream) TSRMLS_CC);
/PHP_5_5/ext/zip/
H A Dphp_zip.c1820 int buffer_len, name_len; local
1833 &name, &name_len, &buffer, &buffer_len) == FAILURE) {
1846 ze_obj->buffers[pos] = (char *)emalloc(buffer_len + 1);
1847 memcpy(ze_obj->buffers[pos], buffer, buffer_len + 1);
1849 zs = zip_source_buffer(intern, ze_obj->buffers[pos], buffer_len, 0);
/PHP_5_5/main/
H A Dmain.c706 int buffer_len = 0; local
716 buffer_len = vspprintf(&buffer, 0, format, args);
720 char *replace = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
723 buffer_len = len;
864 ZVAL_STRINGL(tmp, buffer, buffer_len, 1);
949 int buffer_len, display; local
952 buffer_len = vspprintf(&buffer, PG(log_errors_max_len), format, args);
1088 char *buf = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC);
1194 ZVAL_STRINGL(tmp, buffer, buffer_len, 1);
/PHP_5_5/ext/fileinfo/
H A Dfileinfo.c415 int buffer_len; local
434 buffer_len = Z_STRLEN_P(what);
453 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
459 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FAILURE) {
474 ret_val = (char *) magic_buffer(magic, buffer, buffer_len);
/PHP_5_5/ext/oci8/
H A Doci8_interface.c283 ub4 buffer_len; local
298 if (php_oci_lob_read(descriptor, -1, 0, &buffer, &buffer_len TSRMLS_CC)) {
301 if (buffer_len > 0) {
302 RETURN_STRINGL(buffer, buffer_len, 0);
318 ub4 buffer_len; local
343 if (php_oci_lob_read(descriptor, length, descriptor->lob_current_position, &buffer, &buffer_len TSRMLS_CC)) {
346 if (buffer_len > 0) {
347 RETURN_STRINGL(buffer, buffer_len, 0);
/PHP_5_5/sapi/apache_hooks/
H A Dphp_apache.c1093 int buffer_len; local
1097 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &buffer, &buffer_len) == FAILURE) {
1102 ap_rwrite(buffer, buffer_len, (request_rec*)SG(server_context));
/PHP_5_5/ext/pdo_pgsql/
H A Dpgsql_driver.c564 int buffer_len = 0; local
574 if (buffer_len < Z_STRLEN_PP(tmp)) {
575 buffer_len = Z_STRLEN_PP(tmp);
576 query = erealloc(query, buffer_len + 2); /* room for \n\0 */
/PHP_5_5/ext/simplexml/
H A Dsimplexml.c412 int buffer_len; local
433 buffer_len = xmlStrlen(buffer);
436 xmlNodeSetContentLen(node, buffer, buffer_len);

Completed in 33 milliseconds