Lines Matching refs:cur

683 	FOBJECTLIST *cur, *next;  in mail_free_foblist()  local
685 for (cur=*foblist, next=cur->next; cur; cur=next) { in mail_free_foblist()
686 next = cur->next; in mail_free_foblist()
688 if(cur->text.data) in mail_free_foblist()
689 fs_give((void **)&(cur->text.data)); in mail_free_foblist()
691 fs_give((void **)&cur); in mail_free_foblist()
749 MESSAGELIST *cur, *next; in mail_free_messagelist() local
751 for (cur = *msglist, next = cur->next; cur; cur = next) { in mail_free_messagelist()
752 next = cur->next; in mail_free_messagelist()
753 fs_give((void **)&cur); in mail_free_messagelist()
1890 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
1910 cur=IMAPG(imap_folders); in PHP_FUNCTION()
1911 while (cur != NIL) { in PHP_FUNCTION()
1912 add_next_index_string(return_value, (char*)cur->LTEXT); in PHP_FUNCTION()
1913 cur=cur->next; in PHP_FUNCTION()
1929 FOBJECTLIST *cur=NIL; in PHP_FUNCTION() local
1951 cur=IMAPG(imap_folder_objects); in PHP_FUNCTION()
1952 while (cur != NIL) { in PHP_FUNCTION()
1954 add_property_string(&mboxob, "name", (char*)cur->LTEXT); in PHP_FUNCTION()
1955 add_property_long(&mboxob, "attributes", cur->attributes); in PHP_FUNCTION()
1957 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
1961 add_property_string(&mboxob, "delimiter", cur->delimiter); in PHP_FUNCTION()
1964 cur=cur->next; in PHP_FUNCTION()
1979 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
1996 cur=IMAPG(imap_folders); in PHP_FUNCTION()
1997 while (cur != NIL) { in PHP_FUNCTION()
1998 add_next_index_string(return_value, (char*)cur->LTEXT); in PHP_FUNCTION()
1999 cur=cur->next; in PHP_FUNCTION()
2207 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
2227 cur=IMAPG(imap_sfolders); in PHP_FUNCTION()
2228 while (cur != NIL) { in PHP_FUNCTION()
2229 add_next_index_string(return_value, (char*)cur->LTEXT); in PHP_FUNCTION()
2230 cur=cur->next; in PHP_FUNCTION()
2245 FOBJECTLIST *cur=NIL; in PHP_FUNCTION() local
2267 cur=IMAPG(imap_sfolder_objects); in PHP_FUNCTION()
2268 while (cur != NIL) { in PHP_FUNCTION()
2270 add_property_string(&mboxob, "name", (char*)cur->LTEXT); in PHP_FUNCTION()
2271 add_property_long(&mboxob, "attributes", cur->attributes); in PHP_FUNCTION()
2273 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
2277 add_property_string(&mboxob, "delimiter", cur->delimiter); in PHP_FUNCTION()
2280 cur=cur->next; in PHP_FUNCTION()
4151 MESSAGELIST *cur; in PHP_FUNCTION() local
4181 cur = IMAPG(imap_messages); in PHP_FUNCTION()
4182 while (cur != NIL) { in PHP_FUNCTION()
4183 add_next_index_long(return_value, cur->msgid); in PHP_FUNCTION()
4184 cur = cur->next; in PHP_FUNCTION()
4196 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
4208 cur = IMAPG(imap_alertstack); in PHP_FUNCTION()
4209 while (cur != NIL) { in PHP_FUNCTION()
4210 add_next_index_string(return_value, (char*)cur->LTEXT); in PHP_FUNCTION()
4211 cur = cur->next; in PHP_FUNCTION()
4223 ERRORLIST *cur=NIL; in PHP_FUNCTION() local
4235 cur = IMAPG(imap_errorstack); in PHP_FUNCTION()
4236 while (cur != NIL) { in PHP_FUNCTION()
4237 add_next_index_string(return_value, (char*)cur->LTEXT); in PHP_FUNCTION()
4238 cur = cur->next; in PHP_FUNCTION()
4250 ERRORLIST *cur=NIL; in PHP_FUNCTION() local
4260 cur = IMAPG(imap_errorstack); in PHP_FUNCTION()
4261 while (cur != NIL) { in PHP_FUNCTION()
4262 if (cur->next == NIL) { in PHP_FUNCTION()
4263 RETURN_STRING((char*)cur->LTEXT); in PHP_FUNCTION()
4265 cur = cur->next; in PHP_FUNCTION()
4389 buf.cur = buf.beg; in _php_rfc822_write_address()
4702 static void build_thread_tree_helper(THREADNODE *cur, zval *tree, long *numNodes, char *buf) in build_thread_tree_helper() argument
4709 add_assoc_long(tree, buf, cur->num); in build_thread_tree_helper()
4712 if(cur->next) { in build_thread_tree_helper()
4715 build_thread_tree_helper(cur->next, tree, numNodes, buf); in build_thread_tree_helper()
4721 if(cur->branch) { in build_thread_tree_helper()
4724 build_thread_tree_helper(cur->branch, tree, numNodes, buf); in build_thread_tree_helper()
4893 MESSAGELIST *cur = NIL; in mm_searched() local
4901 cur = IMAPG(imap_messages_tail); in mm_searched()
4902 cur->next = mail_newmessagelist(); in mm_searched()
4903 cur = cur->next; in mm_searched()
4904 cur->msgid = number; in mm_searched()
4905 cur->next = NIL; in mm_searched()
4906 IMAPG(imap_messages_tail) = cur; in mm_searched()
4925 STRINGLIST *cur = NIL; in mm_notify() local
4933 cur = IMAPG(imap_alertstack); in mm_notify()
4934 while (cur->next != NIL) { in mm_notify()
4935 cur = cur->next; in mm_notify()
4937 cur->next = mail_newstringlist (); in mm_notify()
4938 cur = cur->next; in mm_notify()
4939 cur->LSIZE = strlen((char*)(cur->LTEXT = (unsigned char*)cpystr(str))); in mm_notify()
4940 cur->next = NIL; in mm_notify()
4947 STRINGLIST *cur=NIL; in mm_list() local
4980 cur=IMAPG(imap_folders_tail); in mm_list()
4981 cur->next=mail_newstringlist (); in mm_list()
4982 cur=cur->next; in mm_list()
4983 cur->LSIZE = strlen((char*)(cur->LTEXT = (unsigned char*)cpystr(mailbox))); in mm_list()
4984 cur->next = NIL; in mm_list()
4985 IMAPG(imap_folders_tail) = cur; in mm_list()
4993 STRINGLIST *cur=NIL; in mm_lsub() local
5024 cur=IMAPG(imap_sfolders_tail); in mm_lsub()
5025 cur->next=mail_newstringlist (); in mm_lsub()
5026 cur=cur->next; in mm_lsub()
5027 cur->LSIZE = strlen((char*)(cur->LTEXT = (unsigned char*)cpystr(mailbox))); in mm_lsub()
5028 cur->next = NIL; in mm_lsub()
5029 IMAPG(imap_sfolders_tail) = cur; in mm_lsub()
5057 ERRORLIST *cur = NIL; in mm_log() local
5067 cur = IMAPG(imap_errorstack); in mm_log()
5068 while (cur->next != NIL) { in mm_log()
5069 cur = cur->next; in mm_log()
5071 cur->next = mail_newerrorlist(); in mm_log()
5072 cur = cur->next; in mm_log()
5073 cur->LSIZE = strlen((char*)(cur->LTEXT = (unsigned char*)cpystr(str))); in mm_log()
5074 cur->errflg = errflg; in mm_log()
5075 cur->next = NIL; in mm_log()