Searched refs:head (Results 1 - 25 of 38) sorted by relevance

12

/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dqueue.c134 q->head = q->tail = NULL;
135 q->cursor = q->head;
147 ** purpose : tests if cursor is at head of queue
151 ** returns : boolean - True_ is at head else False_
159 return(q && q->cursor == q->head);
226 ** purpose : position queue cursor to first element (head) of queue.
230 ** returns : pointer to data at head. If queue is IsEmpty returns NULL
241 q->cursor = q->head;
276 ** purpose : put a data pointer at the head of the queue
296 n = q->head;
[all...]
H A Dqueue.h38 node *head, *tail, *cursor; member in struct:__anon495
83 #define Q_Iter_Head_F(q) (q ? (q_iter)((queue*)q)->head : NULL)
/PHP_5_5/ext/gd/
H A Dgdcache.h17 * The head structure has a pointer to the most-recently-used
19 * time they are used. The head also contains pointers to three
64 /* head structure */
84 gdCacheDelete( gdCache_head_t *head );
87 gdCacheGet( gdCache_head_t *head, void *keydata );
H A Dgdcache.c17 * The head structure has a pointer to the most-recently-used
19 * time they are used. The head also contains pointers to three
64 gdCache_head_t *head; local
66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1);
67 head->mru = NULL;
68 head->size = size;
69 head->gdCacheTest = gdCacheTest;
70 head->gdCacheFetch = gdCacheFetch;
71 head->gdCacheRelease = gdCacheRelease;
72 return head;
91 gdCacheGet( gdCache_head_t *head, void *keydata ) argument
[all...]
/PHP_5_5/ext/gd/libgd/
H A Dgdcache.c26 * The head structure has a pointer to the most-recently-used
28 * time they are used. The head also contains pointers to three
63 gdCache_head_t *head; local
65 head = (gdCache_head_t *) gdPMalloc(sizeof (gdCache_head_t));
66 head->mru = NULL;
67 head->size = size;
68 head->gdCacheTest = gdCacheTest;
69 head->gdCacheFetch = gdCacheFetch;
70 head->gdCacheRelease = gdCacheRelease;
71 return head;
75 gdCacheDelete(gdCache_head_t * head) argument
91 gdCacheGet(gdCache_head_t * head, void *keydata) argument
[all...]
H A Dgdcache.h17 * The head structure has a pointer to the most-recently-used
19 * time they are used. The head also contains pointers to three
63 /* head structure */
83 gdCacheDelete( gdCache_head_t *head );
86 gdCacheGet( gdCache_head_t *head, void *keydata );
/PHP_5_5/ext/pcntl/
H A Dpcntl.c494 PCNTL_G(head) = PCNTL_G(tail) = PCNTL_G(spares) = NULL;
519 while (PCNTL_G(head)) {
520 sig = PCNTL_G(head);
521 PCNTL_G(head) = sig->next;
1219 /* the head check is important, as the tick handler cannot atomically clear both
1220 * the head and tail */
1221 if (PCNTL_G(head) && PCNTL_G(tail)) {
1224 PCNTL_G(head) = psig;
1242 if (! PCNTL_G(head) || PCNTL_G(processing_signal_queue)) {
1250 queue = PCNTL_G(head);
[all...]
H A Dphp_pcntl.h70 struct php_pcntl_pending_signal *head, *tail, *spares; variable in typeref:struct:php_pcntl_pending_signal
/PHP_5_5/ext/soap/
H A Dphp_packet_soap.c29 xmlNodePtr trav, env, head, body, resp, cur, fault; local
103 head = NULL;
109 head = trav;
157 if (head != NULL) {
158 attr = head->properties;
395 if (soap_headers && head) {
396 trav = head->children;
/PHP_5_5/ext/standard/
H A Dhead.h24 extern PHP_RINIT_FUNCTION(head);
H A Duser_filters.c243 if (buckets_in->head) {
244 php_stream_bucket *bucket = buckets_in->head;
247 while ((bucket = buckets_in->head)) {
254 php_stream_bucket *bucket = buckets_out->head;
258 bucket = buckets_out->head;
433 if (brigade->head && (bucket = php_stream_bucket_make_writeable(brigade->head TSRMLS_CC))) {
/PHP_5_5/main/streams/
H A Dfilter.c194 bucket->next = brigade->head;
197 if (brigade->head) {
198 brigade->head->prev = bucket;
202 brigade->head = bucket;
218 brigade->head = bucket;
229 bucket->brigade->head = bucket->next;
318 filter->next = chain->head;
321 if (chain->head) {
322 chain->head->prev = filter;
326 chain->head
[all...]
H A Dphp_stream_filter_api.h59 php_stream_bucket *head, *tail; member in struct:_php_stream_bucket_brigade
102 php_stream_filter *head, *tail; member in struct:_php_stream_filter_chain
142 #define php_stream_is_filtered(stream) ((stream)->readfilters.head || (stream)->writefilters.head)
H A Dstreams.c498 while (stream->readfilters.head) {
499 php_stream_filter_remove(stream->readfilters.head, 1 TSRMLS_CC);
501 while (stream->writefilters.head) {
502 php_stream_filter_remove(stream->writefilters.head, 1 TSRMLS_CC);
575 if (stream->readfilters.head) {
609 for (filter = stream->readfilters.head; filter; filter = filter->next) {
630 while (brig_inp->head) {
631 bucket = brig_inp->head;
732 if (!stream->readfilters.head && (stream->flags & PHP_STREAM_FLAG_NO_BUFFER || stream->chunk_size == 1)) {
1173 for (filter = stream->writefilters.head; filte
[all...]
/PHP_5_5/Zend/
H A Dzend_llist.c28 l->head = NULL;
46 l->head = tmp;
59 tmp->next = l->head;
61 if (l->head) {
62 l->head->prev = tmp;
66 l->head = tmp;
77 (l)->head = (current)->next;\
93 zend_llist_element *current=l->head;
107 zend_llist_element *current=l->head, *next;
125 l->head
[all...]
H A Dzend_llist.h38 zend_llist_element *head; member in struct:_zend_llist
/PHP_5_5/ext/bz2/
H A Dbz2_filter.c91 while (buckets_in->head) {
94 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
227 while (buckets_in->head) {
230 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
/PHP_5_5/ext/dba/libcdb/
H A Dcdb_make.c61 c->head = 0;
78 struct cdb_hplist *head; local
80 head = c->head;
81 if (!head || (head->num >= CDB_HPLIST)) {
82 head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist));
83 if (!head)
85 head->num = 0;
86 head
[all...]
H A Dcdb_make.h47 struct cdb_hplist *head; member in struct:cdb_make
/PHP_5_5/ext/mcrypt/
H A Dmcrypt_filter.c55 while(buckets_in->head) {
56 bucket = buckets_in->head;
/PHP_5_5/sapi/caudium/
H A Dcaudium.c186 struct svalue *head = NULL; local
187 THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
188 if(!head || head->type != PIKE_T_STRING)
190 return head->u.string->str;
198 struct svalue *head = NULL; local
199 THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
200 if(!head || head->type != PIKE_T_INT)
202 return head
[all...]
/PHP_5_5/sapi/roxen/
H A Droxen.c188 struct svalue *head = NULL; local
189 THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
190 if(!head || head->type != PIKE_T_STRING)
192 return head->u.string->str;
200 struct svalue *head = NULL; local
201 THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
202 if(!head || head->type != PIKE_T_INT)
204 return head
[all...]
/PHP_5_5/build/
H A Dbuildcheck.sh32 ac_version=`$PHP_AUTOCONF --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
/PHP_5_5/ext/spl/
H A Dspl_dllist.c75 spl_ptr_llist_element *head; member in struct:_spl_ptr_llist
127 llist->head = NULL;
145 spl_ptr_llist_element *current = llist->head, *next;
170 current = llist->head;
193 elem->next = llist->head;
195 if (llist->head) {
196 llist->head->prev = elem;
201 llist->head = elem;
222 llist->head = elem;
246 llist->head
279 spl_ptr_llist_element *head = llist->head; local
292 spl_ptr_llist_element *head = llist->head; local
[all...]
/PHP_5_5/ext/zlib/
H A Dzlib_filter.c76 while (buckets_in->head) {
79 bucket = buckets_in->head;
81 bucket = php_stream_bucket_make_writeable(buckets_in->head TSRMLS_CC);
201 while (buckets_in->head) {
204 bucket = buckets_in->head;

Completed in 32 milliseconds

12