Home
last modified time | relevance | path

Searched refs:buf (Results 251 – 275 of 326) sorted by relevance

1...<<11121314

/PHP-5.4/ext/standard/
H A Dfilters.c51 php_strtr(bucket->buf, bucket->buflen, rot13_from, rot13_to, 52); in strfilter_rot13_filter()
99 php_strtr(bucket->buf, bucket->buflen, lowercase, uppercase, 26); in strfilter_toupper_filter()
127 php_strtr(bucket->buf, bucket->buflen, uppercase, lowercase, 26); in strfilter_tolower_filter()
220 …bucket->buflen = php_strip_tags(bucket->buf, bucket->buflen, &(inst->state), (char *)inst->allowed… in strfilter_strip_tags_filter()
1760 buckets_out, bucket->buf, bucket->buflen, &consumed, in strfilter_convert_filter()
1955 static int php_dechunk(char *buf, int len, php_chunked_filter_data *data) in php_dechunk() argument
1957 char *p = buf; in php_dechunk()
1959 char *out = buf; in php_dechunk()
2089 bucket->buflen = php_dechunk(bucket->buf, bucket->buflen, data); in php_chunked_filter()
/PHP-5.4/ext/oci8/
H A Doci8_lob.c724 char buf[8192]; local
741 while ((loblen = read(fp, &buf, sizeof(buf))) > 0) {
750 (dvoid *) &buf,
/PHP-5.4/sapi/apache2handler/
H A Dsapi_apache2.c184 php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_apache_sapi_read_post() argument
202 apr_brigade_flatten(brigade, buf, &len); in php_apache_sapi_read_post()
208 buf += len; in php_apache_sapi_read_post()
/PHP-5.4/main/
H A Dfopen_wrappers.c181 char buf[MAXPATHLEN]; local
183 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
188 memcpy(path_tmp, buf, ret);
H A DSAPI.c893 char buf[255]; in sapi_send_headers() local
899 http_status_line.header = buf; in sapi_send_headers()
900 …http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_re… in sapi_send_headers()
/PHP-5.4/Zend/
H A Dzend_interfaces.c463 ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, z… in zend_user_unserialize() argument
470 ZVAL_STRINGL(zdata, (char*)buf, buf_len, 1); in zend_user_unserialize()
492 …unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len,… in zend_class_unserialize_deny() argument
H A Dzend_gc.h103 gc_root_buffer *buf; /* preallocated arrays of buffers */ member
H A Dzend_alloc.c973 static void zend_mm_random(unsigned char *buf, size_t size) /* {{{ */ in zend_mm_random() argument
995 BOOL ret = CryptGenRandom(hCryptProv, size, buf); in zend_mm_random()
998 while (i < size && buf[i] != 0) { in zend_mm_random()
1011 if (read(fd, buf, size) == size) { in zend_mm_random()
1012 while (i < size && buf[i] != 0) { in zend_mm_random()
1026 buf[i] = ((unsigned char)rand()) ^ t; in zend_mm_random()
1027 } while (buf[i] == 0); in zend_mm_random()
1028 t = buf[i++] << 1; in zend_mm_random()
/PHP-5.4/ext/phar/
H A Dzip.c169 char buf[sizeof(locator) + 65536]; in phar_parse_zipfile() local
174 char *p = buf, *ext, *actual_alias = NULL; in phar_parse_zipfile()
193 if (!php_stream_read(fp, buf, size)) { in phar_parse_zipfile()
201 while ((p=(char *) memchr(p + 1, 'P', (size_t) (size - (p + 1 - buf)))) != NULL) { in phar_parse_zipfile()
229 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile()
532 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
537 p = buf; in phar_parse_zipfile()
551 …ZVAL_STRINGL(entry.metadata, pestrndup(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent… in phar_parse_zipfile()
H A Dstream.c359 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_stream_read() argument
379 got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position)); in phar_stream_read()
434 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{… in phar_stream_write() argument
439 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
/PHP-5.4/ext/soap/
H A Dphp_encoding.c663 xmlBufferPtr buf; in to_zval_user() local
668 buf = xmlBufferCreate(); in to_zval_user()
672 xmlBufferFree(buf); in to_zval_user()
2997 char *buf; in to_xml_datetime_ex() local
3017 buf = (char *) erealloc(buf, buf_len); in to_xml_datetime_ex()
3038 buf = (char *) erealloc(buf, real_len+1); in to_xml_datetime_ex()
3040 strcat(buf, tzbuf); in to_xml_datetime_ex()
3043 efree(buf); in to_xml_datetime_ex()
3208 xmlBufferPtr buf; in to_zval_any() local
3230 buf = xmlBufferCreate(); in to_zval_any()
[all …]
/PHP-5.4/ext/mbstring/oniguruma/enc/
H A Dgb18030.c85 gb18030_code_to_mbc(OnigCodePoint code, UChar *buf) in gb18030_code_to_mbc() argument
87 return onigenc_mb4_code_to_mbc(ONIG_ENCODING_GB18030, code, buf); in gb18030_code_to_mbc()
/PHP-5.4/ext/xml/
H A Dcompat.c586 if (data_len >= 4 || (parser->parser->input->buf->buffer->use + data_len >= 4)) { in XML_Parse()
590 char_count = parser->parser->input->buf->buffer->use; in XML_Parse()
595 memcpy(start, parser->parser->input->buf->buffer->content, (size_t)char_count); in XML_Parse()
/PHP-5.4/ext/pcre/pcrelib/sljit/
H A DsljitNativeSPARC_common.c273 struct sljit_memory_fragment *buf; in sljit_generate_code() local
291 buf = compiler->buf; in sljit_generate_code()
299 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
300 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
331 buf = buf->next; in sljit_generate_code()
332 } while (buf); in sljit_generate_code()
/PHP-5.4/ext/wddx/
H A Dwddx.c396 php_wddx_add_chunk_ex(packet, buf, l); \
407 char *buf; in php_wddx_serialize_string() local
410buf = php_escape_html_entities(Z_STRVAL_P(var), Z_STRLEN_P(var), &buf_len, 0, ENT_QUOTES, NULL TSR… in php_wddx_serialize_string()
412 php_wddx_add_chunk_ex(packet, buf, buf_len); in php_wddx_serialize_string()
414 efree(buf); in php_wddx_serialize_string()
/PHP-5.4/main/streams/
H A Duserspace.c621 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_userstreamop_write() argument
636 ZVAL_STRINGL(zbufptr, (char*)buf, count, 1);; in php_userstreamop_write()
670 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_read() argument
704 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
1505 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_readdir() argument
1512 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_userstreamop_readdir()
/PHP-5.4/ext/zlib/
H A Dzlib_filter.c98 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_inflate_filter()
221 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_deflate_filter()
/PHP-5.4/ext/spl/internal/
H A Dsplfileobject.inc67 $buf = fgets($this->fp, $this->max_len);
69 return $buf;
/PHP-5.4/ext/bz2/
H A Dbz2_filter.c116 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_decompress_filter()
239 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_compress_filter()
/PHP-5.4/sapi/phttpd/
H A Dphttpd.c129 php_phttpd_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_phttpd_sapi_read_post() argument
/PHP-5.4/
H A Dacinclude.m41174 char buf[27];
1180 r = (int) asctime_r(&t, buf, 26);
1192 char buf[27], *p;
1195 p = asctime_r(&t, buf, 26);
1258 char buf[3];
1486 AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
1511 char buf[20];
1514 res = res || (buf[1] != '\0');
1516 snprintf(buf, 0, "boerger");
1518 res = res || (buf[0] != 'm');
[all …]
/PHP-5.4/sapi/fpm/
H A Dconfig.m4251 char buf[128];
253 sprintf(buf, "/proc/%d/$proc_mem_file", getpid());
254 fd = open(buf, O_RDONLY);
/PHP-5.4/Zend/tests/
H A Dcompare_002.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
/PHP-5.4/ext/mssql/
H A Dphp_mssql.c519 char buf[32]; in PHP_MINFO_FUNCTION() local
524 snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_persistent)); in PHP_MINFO_FUNCTION()
525 php_info_print_table_row(2, "Active Persistent Links", buf); in PHP_MINFO_FUNCTION()
526 snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_links)); in PHP_MINFO_FUNCTION()
527 php_info_print_table_row(2, "Active Links", buf); in PHP_MINFO_FUNCTION()
/PHP-5.4/ext/hash/
H A Dhash_sha.c125 unsigned char buf[1024]; in PHP_FUNCTION() local
142 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
143 PHP_SHA1Update(&context, buf, n); in PHP_FUNCTION()

Completed in 166 milliseconds

1...<<11121314