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

/PHP_5_3/TSRM/
H A Dtsrm_virtual_cwd.c629 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
631 while (*bucket != NULL) {
632 if (key == (*bucket)->key && path_len == (*bucket)->path_len &&
633 memcmp(path, (*bucket)->path, path_len) == 0) {
634 realpath_cache_bucket *r = *bucket;
635 *bucket = (*bucket)->next;
647 bucket = &(*bucket)
665 realpath_cache_bucket *bucket = malloc(size); local
712 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
[all...]
H A Dtsrm_win32.c208 realpath_cache_bucket * bucket = NULL; local
284 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
285 if(bucket == NULL && real_path == NULL) {
291 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC);
298 if(bucket != NULL && bucket->is_rvalid) {
299 fAccess = bucket->is_readable;
304 if(bucket != NULL && bucket->is_wvalid) {
305 fAccess = bucket
[all...]
/PHP_5_3/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) {
107 consumed += bucket->buflen;
111 desired = bucket->buflen - bin;
115 memcpy(data->strm.next_in, bucket->buf + bin, desired);
129 php_stream_bucket_delref(bucket TSRMLS_CC);
148 php_stream_bucket_delref(bucket TSRMLS_CC);
153 php_stream_bucket_delref(bucket TSRMLS_CC);
164 bucket
214 php_stream_bucket *bucket; local
[all...]
/PHP_5_3/ext/iconv/
H A Diconv.c2725 php_stream_bucket *bucket = NULL; local
2730 bucket = buckets_in->head;
2732 php_stream_bucket_unlink(bucket TSRMLS_CC);
2735 buckets_out, bucket->buf, bucket->buflen, &consumed,
2740 php_stream_bucket_delref(bucket TSRMLS_CC);
2758 if (bucket != NULL) {
2759 php_stream_bucket_delref(bucket TSRMLS_CC);
/PHP_5_3/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_3/ext/standard/
H A Dfilestat.c1157 realpath_cache_bucket *bucket = *buckets; local
1158 while(bucket) {
1163 /* bucket->key is unsigned long */
1164 if (LONG_MAX >= bucket->key) {
1165 add_assoc_long(entry, "key", bucket->key);
1167 add_assoc_double(entry, "key", (double)bucket->key);
1169 add_assoc_bool(entry, "is_dir", bucket->is_dir);
1170 add_assoc_stringl(entry, "realpath", bucket->realpath, bucket->realpath_len, 1);
1171 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
1711 php_stream_bucket *bucket = NULL; local
1831 php_stream_bucket *bucket; local
2043 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;
239 php_stream_bucket *bucket = buckets_in->head; local
242 while ((bucket = buckets_in->head)) {
244 php_stream_bucket_unlink(bucket TSRMLS_CC);
245 php_stream_bucket_delref(bucket TSRMLS_C
249 php_stream_bucket *bucket = buckets_out->head; local
418 php_stream_bucket *bucket; local
447 php_stream_bucket *bucket; local
511 php_stream_bucket *bucket; local
[all...]
/PHP_5_3/ext/zlib/
H A Dzlib_filter.c64 php_stream_bucket *bucket; local
83 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
84 while (bin < bucket->buflen) {
87 consumed += bucket->buflen;
91 desired = bucket->buflen - bin;
95 memcpy(data->strm.next_in, bucket->buf + bin, desired);
104 php_stream_bucket_delref(bucket TSRMLS_CC);
126 php_stream_bucket_delref(bucket TSRMLS_CC);
130 php_stream_bucket_delref(bucket TSRMLS_CC);
141 bucket
189 php_stream_bucket *bucket; local
[all...]
/PHP_5_3/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.c525 php_stream_bucket *bucket; local
529 /* read a chunk into a bucket */
532 bucket = php_stream_bucket_new(stream, chunk_buf, justread, 0, 0 TSRMLS_CC);
534 /* after this call, bucket is owned by the brigade */
535 php_stream_bucket_append(brig_inp, bucket TSRMLS_CC);
565 bucket = brig_inp->head;
566 /* grow buffer to hold this bucket
568 if (stream->readbuflen - stream->writepos < bucket->buflen) {
569 stream->readbuflen += bucket->buflen;
573 memcpy(stream->readbuf + stream->writepos, bucket
1092 php_stream_bucket *bucket; local
[all...]
/PHP_5_3/sapi/apache2handler/
H A Dsapi_apache2.c543 apr_bucket *bucket; local
683 bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
684 APR_BRIGADE_INSERT_TAIL(brigade, bucket);
/PHP_5_3/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.h47 } bucket; member in struct:_zend_object_store_bucket

Completed in 43 milliseconds