Searched defs:bucket (Results 1 - 14 of 14) sorted by relevance

/PHP_5_4/ext/standard/
H A Dfilestat.c1205 realpath_cache_bucket *bucket = *buckets; local
1206 while(bucket) {
1211 /* bucket->key is unsigned long */
1212 if (LONG_MAX >= bucket->key) {
1213 add_assoc_long(entry, "key", bucket->key);
1215 add_assoc_double(entry, "key", (double)bucket->key);
1217 add_assoc_bool(entry, "is_dir", bucket->is_dir);
1218 add_assoc_stringl(entry, "realpath", bucket->realpath, bucket->realpath_len, 1);
1219 add_assoc_long(entry, "expires", bucket
[all...]
H A Dfilters.c45 php_stream_bucket *bucket; local
49 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
51 php_strtr(bucket->buf, bucket->buflen, rot13_from, rot13_to, 52);
52 consumed += bucket->buflen;
54 php_stream_bucket_append(buckets_out, bucket TSRMLS_CC);
93 php_stream_bucket *bucket; local
97 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
99 php_strtr(bucket->buf, bucket
121 php_stream_bucket *bucket; local
212 php_stream_bucket *bucket; local
1750 php_stream_bucket *bucket = NULL; local
1870 php_stream_bucket *bucket; local
2082 php_stream_bucket *bucket; local
[all...]
H A Duser_filters.c28 #define PHP_STREAM_BRIGADE_RES_NAME "userfilter.bucket brigade"
29 #define PHP_STREAM_BUCKET_RES_NAME "userfilter.bucket"
81 php_stream_bucket *bucket = (php_stream_bucket *)rsrc->ptr; local
82 if (bucket) {
83 php_stream_bucket_delref(bucket TSRMLS_CC);
84 bucket = NULL;
244 php_stream_bucket *bucket = buckets_in->head; local
247 while ((bucket = buckets_in->head)) {
249 php_stream_bucket_unlink(bucket TSRMLS_CC);
250 php_stream_bucket_delref(bucket TSRMLS_C
254 php_stream_bucket *bucket = buckets_out->head; local
423 php_stream_bucket *bucket; local
452 php_stream_bucket *bucket; local
516 php_stream_bucket *bucket; local
[all...]
/PHP_5_4/ext/zlib/
H A Dzlib_filter.c64 php_stream_bucket *bucket; local
83 bucket = buckets_in->head;
85 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
87 while (bin < (unsigned int) bucket->buflen) {
90 consumed += bucket->buflen;
94 desired = bucket->buflen - bin;
98 memcpy(data->strm.next_in, bucket->buf + bin, desired);
107 php_stream_bucket_delref(bucket TSRMLS_CC);
128 php_stream_bucket_delref(bucket TSRMLS_CC);
133 consumed += bucket
193 php_stream_bucket *bucket; local
[all...]
/PHP_5_4/main/streams/
H A Dfilter.c76 php_stream_bucket *bucket; local
78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
80 if (bucket == NULL) {
84 bucket->next = bucket->prev = NULL;
87 /* all data in a persistent bucket must also be persistent */
88 bucket->buf = pemalloc(buflen, 1);
90 if (bucket->buf == NULL) {
91 pefree(bucket, 1);
95 memcpy(bucket
356 php_stream_bucket *bucket; local
434 php_stream_bucket *bucket; local
[all...]
H A Dstreams.c596 php_stream_bucket *bucket; local
600 /* read a chunk into a bucket */
603 bucket = php_stream_bucket_new(stream, chunk_buf, justread, 0, 0 TSRMLS_CC);
605 /* after this call, bucket is owned by the brigade */
606 php_stream_bucket_append(brig_inp, bucket TSRMLS_CC);
636 bucket = brig_inp->head;
637 /* grow buffer to hold this bucket
639 if (stream->readbuflen - stream->writepos < bucket->buflen) {
640 stream->readbuflen += bucket->buflen;
644 memcpy(stream->readbuf + stream->writepos, bucket
1167 php_stream_bucket *bucket; local
[all...]
/PHP_5_4/TSRM/
H A Dtsrm_virtual_cwd.c617 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
619 while (*bucket != NULL) {
620 if (key == (*bucket)->key && path_len == (*bucket)->path_len &&
621 memcmp(path, (*bucket)->path, path_len) == 0) {
622 realpath_cache_bucket *r = *bucket;
623 *bucket = (*bucket)->next;
635 bucket = &(*bucket)
653 realpath_cache_bucket *bucket = malloc(size); local
700 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
[all...]
H A Dtsrm_win32.c208 realpath_cache_bucket * bucket = NULL; local
282 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
283 if(bucket == NULL && real_path == NULL) {
289 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
296 if(bucket != NULL && bucket->is_rvalid) {
297 fAccess = bucket->is_readable;
302 if(bucket != NULL && bucket->is_wvalid) {
303 fAccess = bucket
[all...]
/PHP_5_4/Zend/
H A Dzend_hash.h54 typedef struct bucket { struct
59 struct bucket *pListNext;
60 struct bucket *pListLast;
61 struct bucket *pNext;
62 struct bucket *pLast;
H A Dzend_objects_API.h48 } bucket; member in struct:_zend_object_store_bucket
/PHP_5_4/ext/bz2/
H A Dbz2_filter.c77 php_stream_bucket *bucket; local
94 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
95 while (bin < bucket->buflen) {
100 php_stream_bucket_delref(bucket TSRMLS_CC);
108 consumed += bucket->buflen;
112 desired = bucket->buflen - bin;
116 memcpy(data->strm.next_in, bucket->buf + bin, desired);
130 php_stream_bucket_delref(bucket TSRMLS_CC);
149 php_stream_bucket_delref(bucket TSRMLS_CC);
154 php_stream_bucket_delref(bucket TSRMLS_C
215 php_stream_bucket *bucket; local
[all...]
/PHP_5_4/ext/iconv/
H A Diconv.c2738 php_stream_bucket *bucket = NULL; local
2743 bucket = buckets_in->head;
2745 php_stream_bucket_unlink(bucket TSRMLS_CC);
2748 buckets_out, bucket->buf, bucket->buflen, &consumed,
2753 php_stream_bucket_delref(bucket TSRMLS_CC);
2771 if (bucket != NULL) {
2772 php_stream_bucket_delref(bucket TSRMLS_CC);
/PHP_5_4/ext/mcrypt/
H A Dmcrypt_filter.c45 php_stream_bucket *bucket; local
56 bucket = buckets_in->head;
58 consumed += bucket->buflen;
63 int chunklen = bucket->buflen + data->block_used, n;
70 memcpy(outchunk + data->block_used, bucket->buf, bucket->buflen);
88 php_stream_bucket_unlink(bucket TSRMLS_CC);
89 php_stream_bucket_delref(bucket TSRMLS_CC);
92 php_stream_bucket_make_writeable(bucket TSRMLS_CC);
94 mcrypt_generic(data->module, bucket
[all...]
/PHP_5_4/sapi/apache2handler/
H A Dsapi_apache2.c541 apr_bucket *bucket; local
681 bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
682 APR_BRIGADE_INSERT_TAIL(brigade, bucket);

Completed in 21 milliseconds