Lines Matching refs:cur

674 	FOBJECTLIST *cur, *next;  in mail_free_foblist()  local
676 for (cur=*foblist, next=cur->next; cur; cur=next) { in mail_free_foblist()
677 next = cur->next; in mail_free_foblist()
679 if(cur->text.data) in mail_free_foblist()
680 fs_give((void **)&(cur->text.data)); in mail_free_foblist()
682 fs_give((void **)&cur); in mail_free_foblist()
740 MESSAGELIST *cur, *next; in mail_free_messagelist() local
742 for (cur = *msglist, next = cur->next; cur; cur = next) { in mail_free_messagelist()
743 next = cur->next; in mail_free_messagelist()
744 fs_give((void **)&cur); in mail_free_messagelist()
1845 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
1863 cur=IMAPG(imap_folders); in PHP_FUNCTION()
1864 while (cur != NIL) { in PHP_FUNCTION()
1865 add_next_index_string(return_value, cur->LTEXT, 1); in PHP_FUNCTION()
1866 cur=cur->next; in PHP_FUNCTION()
1883 FOBJECTLIST *cur=NIL; in PHP_FUNCTION() local
1903 cur=IMAPG(imap_folder_objects); in PHP_FUNCTION()
1904 while (cur != NIL) { in PHP_FUNCTION()
1907 add_property_string(mboxob, "name", cur->LTEXT, 1); in PHP_FUNCTION()
1908 add_property_long(mboxob, "attributes", cur->attributes); in PHP_FUNCTION()
1910 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
1914 add_property_string(mboxob, "delimiter", cur->delimiter, 1); in PHP_FUNCTION()
1917 cur=cur->next; in PHP_FUNCTION()
1933 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
1948 cur=IMAPG(imap_folders); in PHP_FUNCTION()
1949 while (cur != NIL) { in PHP_FUNCTION()
1950 add_next_index_string(return_value, cur->LTEXT, 1); in PHP_FUNCTION()
1951 cur=cur->next; in PHP_FUNCTION()
2152 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
2170 cur=IMAPG(imap_sfolders); in PHP_FUNCTION()
2171 while (cur != NIL) { in PHP_FUNCTION()
2172 add_next_index_string(return_value, cur->LTEXT, 1); in PHP_FUNCTION()
2173 cur=cur->next; in PHP_FUNCTION()
2189 FOBJECTLIST *cur=NIL; in PHP_FUNCTION() local
2209 cur=IMAPG(imap_sfolder_objects); in PHP_FUNCTION()
2210 while (cur != NIL) { in PHP_FUNCTION()
2213 add_property_string(mboxob, "name", cur->LTEXT, 1); in PHP_FUNCTION()
2214 add_property_long(mboxob, "attributes", cur->attributes); in PHP_FUNCTION()
2216 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
2220 add_property_string(mboxob, "delimiter", cur->delimiter, 1); in PHP_FUNCTION()
2223 cur=cur->next; in PHP_FUNCTION()
4093 MESSAGELIST *cur; in PHP_FUNCTION() local
4121 cur = IMAPG(imap_messages); in PHP_FUNCTION()
4122 while (cur != NIL) { in PHP_FUNCTION()
4123 add_next_index_long(return_value, cur->msgid); in PHP_FUNCTION()
4124 cur = cur->next; in PHP_FUNCTION()
4136 STRINGLIST *cur=NIL; in PHP_FUNCTION() local
4148 cur = IMAPG(imap_alertstack); in PHP_FUNCTION()
4149 while (cur != NIL) { in PHP_FUNCTION()
4150 add_next_index_string(return_value, cur->LTEXT, 1); in PHP_FUNCTION()
4151 cur = cur->next; in PHP_FUNCTION()
4163 ERRORLIST *cur=NIL; in PHP_FUNCTION() local
4175 cur = IMAPG(imap_errorstack); in PHP_FUNCTION()
4176 while (cur != NIL) { in PHP_FUNCTION()
4177 add_next_index_string(return_value, cur->LTEXT, 1); in PHP_FUNCTION()
4178 cur = cur->next; in PHP_FUNCTION()
4190 ERRORLIST *cur=NIL; in PHP_FUNCTION() local
4200 cur = IMAPG(imap_errorstack); in PHP_FUNCTION()
4201 while (cur != NIL) { in PHP_FUNCTION()
4202 if (cur->next == NIL) { in PHP_FUNCTION()
4203 RETURN_STRING(cur->LTEXT, 1); in PHP_FUNCTION()
4205 cur = cur->next; in PHP_FUNCTION()
4332 buf.cur = buf.beg; in _php_rfc822_write_address()
4662 static void build_thread_tree_helper(THREADNODE *cur, zval *tree, long *numNodes, char *buf) in build_thread_tree_helper() argument
4669 add_assoc_long(tree, buf, cur->num); in build_thread_tree_helper()
4672 if(cur->next) { in build_thread_tree_helper()
4675 build_thread_tree_helper(cur->next, tree, numNodes, buf); in build_thread_tree_helper()
4681 if(cur->branch) { in build_thread_tree_helper()
4684 build_thread_tree_helper(cur->branch, tree, numNodes, buf); in build_thread_tree_helper()
4852 MESSAGELIST *cur = NIL; in mm_searched() local
4861 cur = IMAPG(imap_messages_tail); in mm_searched()
4862 cur->next = mail_newmessagelist(); in mm_searched()
4863 cur = cur->next; in mm_searched()
4864 cur->msgid = number; in mm_searched()
4865 cur->next = NIL; in mm_searched()
4866 IMAPG(imap_messages_tail) = cur; in mm_searched()
4885 STRINGLIST *cur = NIL; in mm_notify() local
4894 cur = IMAPG(imap_alertstack); in mm_notify()
4895 while (cur->next != NIL) { in mm_notify()
4896 cur = cur->next; in mm_notify()
4898 cur->next = mail_newstringlist (); in mm_notify()
4899 cur = cur->next; in mm_notify()
4900 cur->LSIZE = strlen(cur->LTEXT = cpystr(str)); in mm_notify()
4901 cur->next = NIL; in mm_notify()
4908 STRINGLIST *cur=NIL; in mm_list() local
4942 cur=IMAPG(imap_folders_tail); in mm_list()
4943 cur->next=mail_newstringlist (); in mm_list()
4944 cur=cur->next; in mm_list()
4945 cur->LSIZE = strlen (cur->LTEXT = cpystr (mailbox)); in mm_list()
4946 cur->next = NIL; in mm_list()
4947 IMAPG(imap_folders_tail) = cur; in mm_list()
4955 STRINGLIST *cur=NIL; in mm_lsub() local
4987 cur=IMAPG(imap_sfolders_tail); in mm_lsub()
4988 cur->next=mail_newstringlist (); in mm_lsub()
4989 cur=cur->next; in mm_lsub()
4990 cur->LSIZE = strlen (cur->LTEXT = cpystr (mailbox)); in mm_lsub()
4991 cur->next = NIL; in mm_lsub()
4992 IMAPG(imap_sfolders_tail) = cur; in mm_lsub()
5021 ERRORLIST *cur = NIL; in mm_log() local
5032 cur = IMAPG(imap_errorstack); in mm_log()
5033 while (cur->next != NIL) { in mm_log()
5034 cur = cur->next; in mm_log()
5036 cur->next = mail_newerrorlist(); in mm_log()
5037 cur = cur->next; in mm_log()
5038 cur->LSIZE = strlen(cur->LTEXT = cpystr(str)); in mm_log()
5039 cur->errflg = errflg; in mm_log()
5040 cur->next = NIL; in mm_log()