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

/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c211 realpath_cache_bucket * bucket = NULL; local
284 bucket = realpath_cache_lookup(pathname, (int)strlen(pathname), t);
285 if(bucket == NULL && real_path == NULL) {
291 bucket = realpath_cache_lookup(pathname, (int)strlen(pathname), t);
298 if(bucket != NULL && bucket->is_rvalid) {
299 fAccess = bucket->is_readable;
304 if(bucket != NULL && bucket->is_wvalid) {
305 fAccess = bucket
[all...]
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c646 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
648 while (*bucket != NULL) {
649 if (key == (*bucket)->key && path_len == (*bucket)->path_len &&
650 memcmp(path, (*bucket)->path, path_len) == 0) {
651 realpath_cache_bucket *r = *bucket;
652 *bucket = (*bucket)->next;
664 bucket = &(*bucket)
682 realpath_cache_bucket *bucket = malloc(size); local
729 realpath_cache_bucket **bucket = &CWDG(realpath_cache)[n]; local
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2_filter.c77 php_stream_bucket *bucket; local
94 bucket = php_stream_bucket_make_writeable(buckets_in->head);
95 while (bin < bucket->buflen) {
100 php_stream_bucket_delref(bucket);
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);
149 php_stream_bucket_delref(bucket);
154 php_stream_bucket_delref(bucket);
215 php_stream_bucket *bucket; local
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c2789 php_stream_bucket *bucket = NULL; local
2794 bucket = buckets_in->head;
2796 php_stream_bucket_unlink(bucket);
2799 buckets_out, bucket->buf, bucket->buflen, &consumed,
2804 php_stream_bucket_delref(bucket);
2822 if (bucket != NULL) {
2823 php_stream_bucket_delref(bucket);
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c45 php_stream_bucket *bucket; local
56 bucket = buckets_in->head;
58 consumed += bucket->buflen;
63 int chunklen = (int)(bucket->buflen + data->block_used), n;
70 memcpy(outchunk + data->block_used, bucket->buf, bucket->buflen);
88 php_stream_bucket_unlink(bucket);
89 php_stream_bucket_delref(bucket);
92 php_stream_bucket_make_writeable(bucket);
94 mcrypt_generic(data->module, bucket
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1098 static void zend_accel_add_key(char *key, unsigned int key_length, zend_accel_hash_entry *bucket) argument
1109 if (zend_accel_hash_update(&ZCSG(hash), new_key, key_length, 1, bucket)) {
1121 zend_accel_hash_entry *bucket; local
1147 bucket = zend_accel_hash_find_entry(&ZCSG(hash), new_persistent_script->full_path->val, new_persistent_script->full_path->len);
1148 if (bucket) {
1149 zend_persistent_script *existing_persistent_script = (zend_persistent_script *)bucket->data;
1155 zend_accel_add_key(key, key_length, bucket);
1190 bucket = zend_accel_hash_update(&ZCSG(hash), new_persistent_script->full_path->val, new_persistent_script->full_path->len, 0, new_persistent_script);
1191 if (bucket) {
1199 if (zend_accel_hash_update(&ZCSG(hash), key, key_length, 1, bucket)) {
1498 zend_accel_hash_entry *bucket; local
1745 zend_accel_hash_entry *bucket; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilestat.c1230 realpath_cache_bucket *bucket = *buckets; local
1231 while(bucket) {
1236 /* bucket->key is unsigned long */
1237 if (ZEND_LONG_MAX >= bucket->key) {
1238 add_assoc_long_ex(&entry, "key", sizeof("key") - 1, bucket->key);
1240 add_assoc_double_ex(&entry, "key", sizeof("key") - 1, (double)bucket->key);
1242 add_assoc_bool_ex(&entry, "is_dir", sizeof("is_dir") - 1, bucket->is_dir);
1243 add_assoc_stringl_ex(&entry, "realpath", sizeof("realpath") - 1, bucket->realpath, bucket->realpath_len);
1244 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket
[all...]
H A Dfilters.c45 php_stream_bucket *bucket; local
49 bucket = php_stream_bucket_make_writeable(buckets_in->head);
51 php_strtr(bucket->buf, bucket->buflen, rot13_from, rot13_to, 52);
52 consumed += bucket->buflen;
54 php_stream_bucket_append(buckets_out, bucket);
93 php_stream_bucket *bucket; local
97 bucket = php_stream_bucket_make_writeable(buckets_in->head);
99 php_strtr(bucket->buf, bucket
121 php_stream_bucket *bucket; local
212 php_stream_bucket *bucket; local
1731 php_stream_bucket *bucket = NULL; local
1851 php_stream_bucket *bucket; local
2063 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 *)res->ptr; local
82 if (bucket) {
83 php_stream_bucket_delref(bucket);
84 bucket = NULL;
234 php_stream_bucket *bucket = buckets_in->head; local
237 while ((bucket = buckets_in->head)) {
239 php_stream_bucket_unlink(bucket);
240 php_stream_bucket_delref(bucket);
244 php_stream_bucket *bucket = buckets_out->head; local
410 php_stream_bucket *bucket; local
438 php_stream_bucket *bucket; local
502 php_stream_bucket *bucket; local
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c64 php_stream_bucket *bucket; local
79 bucket = php_stream_bucket_make_writeable(buckets_in->head);
81 while (bin < (unsigned int) bucket->buflen) {
84 consumed += bucket->buflen;
88 desired = bucket->buflen - bin;
92 memcpy(data->strm.next_in, bucket->buf + bin, desired);
101 php_stream_bucket_delref(bucket);
122 php_stream_bucket_delref(bucket);
127 consumed += bucket->buflen;
128 php_stream_bucket_delref(bucket);
187 php_stream_bucket *bucket; local
[all...]
/PHP_TRUNK/main/streams/
H A Dfilter.c74 php_stream_bucket *bucket; local
76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
78 if (bucket == NULL) {
82 bucket->next = bucket->prev = NULL;
85 /* all data in a persistent bucket must also be persistent */
86 bucket->buf = pemalloc(buflen, 1);
88 if (bucket->buf == NULL) {
89 pefree(bucket, 1);
93 memcpy(bucket
115 php_stream_bucket_make_writeable(php_stream_bucket *bucket) argument
180 php_stream_bucket_delref(php_stream_bucket *bucket) argument
190 php_stream_bucket_prepend(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket) argument
204 php_stream_bucket_append(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket) argument
222 php_stream_bucket_unlink(php_stream_bucket *bucket) argument
354 php_stream_bucket *bucket; local
432 php_stream_bucket *bucket; local
[all...]
H A Dstreams.c595 php_stream_bucket *bucket; local
599 /* read a chunk into a bucket */
602 bucket = php_stream_bucket_new(stream, chunk_buf, justread, 0, 0);
604 /* after this call, bucket is owned by the brigade */
605 php_stream_bucket_append(brig_inp, bucket);
635 bucket = brig_inp->head;
636 /* grow buffer to hold this bucket
638 if (stream->readbuflen - stream->writepos < bucket->buflen) {
639 stream->readbuflen += bucket->buflen;
643 memcpy(stream->readbuf + stream->writepos, bucket
1166 php_stream_bucket *bucket; local
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c544 apr_bucket *bucket; local
688 bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
689 APR_BRIGADE_INSERT_TAIL(brigade, bucket);

Completed in 21 milliseconds