Home
last modified time | relevance | path

Searched refs:msgmap (Results 1 – 25 of 708) sorted by relevance

12345678910>>...29

/dports/mail/dovecot/dovecot-2.3.17/src/lib-imap-client/
H A Dimapc-msgmap.c15 struct imapc_msgmap *msgmap; in imapc_msgmap_init() local
18 i_array_init(&msgmap->uids, 128); in imapc_msgmap_init()
19 msgmap->uid_next = 1; in imapc_msgmap_init()
20 return msgmap; in imapc_msgmap_init()
29 array_free(&msgmap->uids); in imapc_msgmap_deinit()
30 i_free(msgmap); in imapc_msgmap_deinit()
35 return array_count(&msgmap->uids); in imapc_msgmap_count()
40 return msgmap->uid_next; in imapc_msgmap_uidnext()
73 msgmap->uid_next = uid + 1; in imapc_msgmap_append()
87 array_clear(&msgmap->uids); in imapc_msgmap_reset()
[all …]
H A Dimapc-msgmap.h5 void imapc_msgmap_deinit(struct imapc_msgmap **msgmap);
7 uint32_t imapc_msgmap_count(struct imapc_msgmap *msgmap);
8 uint32_t imapc_msgmap_uidnext(struct imapc_msgmap *msgmap);
9 uint32_t imapc_msgmap_rseq_to_uid(struct imapc_msgmap *msgmap, uint32_t rseq);
10 bool imapc_msgmap_uid_to_rseq(struct imapc_msgmap *msgmap,
13 void imapc_msgmap_append(struct imapc_msgmap *msgmap,
15 void imapc_msgmap_expunge(struct imapc_msgmap *msgmap, uint32_t rseq);
16 void imapc_msgmap_reset(struct imapc_msgmap *msgmap);
/dports/mail/alpine/alpine-465e23b/pith/
H A Dsort.c107 if(!msgmap) in sort_folder()
131 raw_current = mn_m2raw(msgmap, mn_get_cur(msgmap)); in sort_folder()
158 qsort(msgmap->sort+1, (size_t) mn_get_total(msgmap), in sort_folder()
166 msgmap->sort[i] = j; in sort_folder()
170 msgmap->sort[i] = i; in sort_folder()
200 qsort(msgmap->sort+1, (size_t) mn_get_total(msgmap), in sort_folder()
213 long *ep = &msgmap->sort[mn_get_total(msgmap)], in sort_folder()
302 g_sort.msgmap = msgmap; in sort_folder()
387 long *ep = &msgmap->sort[mn_get_total(msgmap)], in sort_folder()
461 mn_reset_cur(msgmap, mn_raw2m(msgmap, raw_current)); in sort_folder()
[all …]
H A Dthread.c102 set_lflag(stream, msgmap, mn_raw2m(msgmap, thrd->rawno), f, v); in set_flags_for_thread()
139 set_lflag(stream, msgmap, mn_raw2m(msgmap, n), in erase_threading_info()
199 g_sort.msgmap->visible_threads = g_sort.msgmap->max_thrdno; in sort_thread_callback()
812 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in collapse_or_expand()
896 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in select_thread_stmp()
916 && any_lflagged(msgmap, MN_STMP) == mn_get_total(msgmap)) in select_thread_stmp()
917 set_lflag(stream, msgmap, mn_get_cur(msgmap), MN_HIDE, 1); in select_thread_stmp()
1367 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in view_thread()
1412 msgmap->top = mn_get_cur(msgmap); in view_thread()
1431 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in unview_thread()
[all …]
H A Dmailcmd.c171 msgno = mn_get_cur(msgmap); in cmd_delete()
237 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in cmd_undelete()
296 mn_get_cur(msgmap), mn_get_total(msgmap))); in cmd_expunge_work()
1120 mn_set_cur(ps_global->msgmap, mn_get_revsort(ps_global->msgmap) in do_broach_folder()
1714 MSGNO_S *msgmap = NULL; in move_read_msgs() local
1739 msgmap = sp_msgmap(stream); in move_read_msgs()
2031 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in zoom_index()
2131 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in zoom_index()
2136 || !get_lflag(stream, msgmap, mn_get_cur(msgmap), onflag)){ in zoom_index()
2157 mn_set_cur(msgmap, first); in zoom_index()
[all …]
H A Dsequence.c66 for(i = 1L; i <= mn_get_total(msgmap); i++) in selected_sequence()
67 if(get_lflag(stream, msgmap, i, MN_SLCT)){ in selected_sequence()
76 rawno = mn_m2raw(msgmap, i); in selected_sequence()
139 for(i = mn_first_cur(msgmap); i > 0L; i = mn_next_cur(msgmap)){ in currentf_sequence()
141 rawno = mn_m2raw(msgmap, i); in currentf_sequence()
191 thrd = fetch_thread(stream, mn_m2raw(msgmap, i)); in currentf_sequence()
194 && (t = mn_raw2m(msgmap, thrd->rawno))) in currentf_sequence()
230 invalid_elt_sequence(MAILSTREAM *stream, MSGNO_S *msgmap) in invalid_elt_sequence() argument
242 for(i = mn_first_cur(msgmap); i > 0L; i = mn_next_cur(msgmap)) in invalid_elt_sequence()
283 if(msgmap){ in build_sequence()
[all …]
H A Dflag.c66 || (msgmap && !(rawno = mn_m2raw(msgmap, msgno)))) in flag_search_sequence()
69 || (msgmap && msgline_hidden(stream, msgmap, msgno, flags))) in flag_search_sequence()
415 MSGNO_S *msgmap; in first_sorted_flagged() local
417 msgmap = sp_msgmap(stream); in first_sorted_flagged()
424 ? mn_get_total(msgmap) : 1L; in first_sorted_flagged()
456 : (mn_get_revsort(msgmap) in first_sorted_flagged()
482 MSGNO_S *msgmap; in next_sorted_flagged() local
484 msgmap = sp_msgmap(stream); in next_sorted_flagged()
495 msgmap, in next_sorted_flagged()
703 if(any_lflagged(msgmap, from)){ in copy_lflags()
[all …]
H A Dimap.c142 MSGNO_S *msgmap; in mm_exists() local
151 if(!msgmap) in mm_exists()
190 set_lflag(stream, msgmap, mn_get_total(msgmap) - n, lflags, 1); in mm_exists()
212 MSGNO_S *msgmap; in mm_expunged() local
225 if(!msgmap) in mm_expunged()
255 mn_get_nmsgs(msgmap), mn_get_total(msgmap))); in mm_expunged()
302 && mn_is_cur(msgmap, mn_raw2m(msgmap, (long) rawno)) in mm_expunged()
321 msgmap->flagged_hid--; in mm_expunged()
324 msgmap->flagged_exld--; in mm_expunged()
327 msgmap->flagged_tmp--; in mm_expunged()
[all …]
H A Dsave.c422 MSGNO_S *msgmap, int flgs) in save() argument
466 for(i = mn_first_cur(msgmap); !worry_about_keywords && i > 0L; i = mn_next_cur(msgmap)){ in save()
467 rawno = mn_m2raw(msgmap, i); in save()
519 i = mn_next_cur(msgmap)){ in save()
739 || (mn_get_sort(msgmap) == SortArrival && !mn_get_revsort(msgmap)))){ in save()
873 pkg.msgmap = msgmap; in save()
918 i = mn_next_cur(msgmap)){ in save()
937 for(i = mn_first_cur(msgmap); so && i > 0L; i = mn_next_cur(msgmap)){ in save()
942 rawno = mn_m2raw(msgmap, i); in save()
974 rawno = mn_m2raw(msgmap, i); in save()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/pith/
H A Dsort.c107 if(!msgmap) in sort_folder()
131 raw_current = mn_m2raw(msgmap, mn_get_cur(msgmap)); in sort_folder()
158 qsort(msgmap->sort+1, (size_t) mn_get_total(msgmap), in sort_folder()
166 msgmap->sort[i] = j; in sort_folder()
170 msgmap->sort[i] = i; in sort_folder()
200 qsort(msgmap->sort+1, (size_t) mn_get_total(msgmap), in sort_folder()
213 long *ep = &msgmap->sort[mn_get_total(msgmap)], in sort_folder()
302 g_sort.msgmap = msgmap; in sort_folder()
387 long *ep = &msgmap->sort[mn_get_total(msgmap)], in sort_folder()
461 mn_reset_cur(msgmap, mn_raw2m(msgmap, raw_current)); in sort_folder()
[all …]
H A Dthread.c102 set_lflag(stream, msgmap, mn_raw2m(msgmap, thrd->rawno), f, v); in set_flags_for_thread()
139 set_lflag(stream, msgmap, mn_raw2m(msgmap, n), in erase_threading_info()
199 g_sort.msgmap->visible_threads = g_sort.msgmap->max_thrdno; in sort_thread_callback()
812 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in collapse_or_expand()
896 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in select_thread_stmp()
916 && any_lflagged(msgmap, MN_STMP) == mn_get_total(msgmap)) in select_thread_stmp()
917 set_lflag(stream, msgmap, mn_get_cur(msgmap), MN_HIDE, 1); in select_thread_stmp()
1367 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in view_thread()
1412 msgmap->top = mn_get_cur(msgmap); in view_thread()
1431 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in unview_thread()
[all …]
H A Dmailcmd.c171 msgno = mn_get_cur(msgmap); in cmd_delete()
237 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in cmd_undelete()
296 mn_get_cur(msgmap), mn_get_total(msgmap))); in cmd_expunge_work()
1120 mn_set_cur(ps_global->msgmap, mn_get_revsort(ps_global->msgmap) in do_broach_folder()
1714 MSGNO_S *msgmap = NULL; in move_read_msgs() local
1739 msgmap = sp_msgmap(stream); in move_read_msgs()
2031 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in zoom_index()
2131 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in zoom_index()
2136 || !get_lflag(stream, msgmap, mn_get_cur(msgmap), onflag)){ in zoom_index()
2157 mn_set_cur(msgmap, first); in zoom_index()
[all …]
H A Dsequence.c66 for(i = 1L; i <= mn_get_total(msgmap); i++) in selected_sequence()
67 if(get_lflag(stream, msgmap, i, MN_SLCT)){ in selected_sequence()
76 rawno = mn_m2raw(msgmap, i); in selected_sequence()
139 for(i = mn_first_cur(msgmap); i > 0L; i = mn_next_cur(msgmap)){ in currentf_sequence()
141 rawno = mn_m2raw(msgmap, i); in currentf_sequence()
191 thrd = fetch_thread(stream, mn_m2raw(msgmap, i)); in currentf_sequence()
194 && (t = mn_raw2m(msgmap, thrd->rawno))) in currentf_sequence()
230 invalid_elt_sequence(MAILSTREAM *stream, MSGNO_S *msgmap) in invalid_elt_sequence() argument
242 for(i = mn_first_cur(msgmap); i > 0L; i = mn_next_cur(msgmap)) in invalid_elt_sequence()
283 if(msgmap){ in build_sequence()
[all …]
H A Dflag.c66 || (msgmap && !(rawno = mn_m2raw(msgmap, msgno)))) in flag_search_sequence()
69 || (msgmap && msgline_hidden(stream, msgmap, msgno, flags))) in flag_search_sequence()
415 MSGNO_S *msgmap; in first_sorted_flagged() local
417 msgmap = sp_msgmap(stream); in first_sorted_flagged()
424 ? mn_get_total(msgmap) : 1L; in first_sorted_flagged()
456 : (mn_get_revsort(msgmap) in first_sorted_flagged()
482 MSGNO_S *msgmap; in next_sorted_flagged() local
484 msgmap = sp_msgmap(stream); in next_sorted_flagged()
495 msgmap, in next_sorted_flagged()
703 if(any_lflagged(msgmap, from)){ in copy_lflags()
[all …]
H A Dimap.c142 MSGNO_S *msgmap; in mm_exists() local
151 if(!msgmap) in mm_exists()
190 set_lflag(stream, msgmap, mn_get_total(msgmap) - n, lflags, 1); in mm_exists()
212 MSGNO_S *msgmap; in mm_expunged() local
225 if(!msgmap) in mm_expunged()
255 mn_get_nmsgs(msgmap), mn_get_total(msgmap))); in mm_expunged()
302 && mn_is_cur(msgmap, mn_raw2m(msgmap, (long) rawno)) in mm_expunged()
321 msgmap->flagged_hid--; in mm_expunged()
324 msgmap->flagged_exld--; in mm_expunged()
327 msgmap->flagged_tmp--; in mm_expunged()
[all …]
H A Dsave.c422 MSGNO_S *msgmap, int flgs) in save() argument
466 for(i = mn_first_cur(msgmap); !worry_about_keywords && i > 0L; i = mn_next_cur(msgmap)){ in save()
467 rawno = mn_m2raw(msgmap, i); in save()
519 i = mn_next_cur(msgmap)){ in save()
739 || (mn_get_sort(msgmap) == SortArrival && !mn_get_revsort(msgmap)))){ in save()
873 pkg.msgmap = msgmap; in save()
918 i = mn_next_cur(msgmap)){ in save()
937 for(i = mn_first_cur(msgmap); so && i > 0L; i = mn_next_cur(msgmap)){ in save()
942 rawno = mn_m2raw(msgmap, i); in save()
974 rawno = mn_m2raw(msgmap, i); in save()
[all …]
/dports/mail/alpine/alpine-465e23b/alpine/
H A Dmailindx.c342 id.msgmap = msgmap; in index_lister()
646 if(mn_get_total(msgmap) > 0L && mn_total_cur(msgmap) == 1L) in index_lister()
675 if(mn_get_total(msgmap) > 0L && mn_total_cur(msgmap) == 1L) in index_lister()
744 mn_set_cur(msgmap, mn_raw2m(msgmap, thrd->rawno)); in index_lister()
775 mn_m2raw(msgmap, mn_get_cur(msgmap))); in index_lister()
818 msgmap->top = msgmap->top_after_thrd; in index_lister()
996 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
1080 id.msgmap = msgmap = state->msgmap; in index_lister()
1108 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
1136 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
[all …]
H A Dmailcmd.c601 && ((i = mn_get_cur(msgmap)) < mn_get_total(msgmap))){ in process_cmd()
1372 mn_set_cur(msgmap, mn_raw2m(msgmap,save_cur_rawno)); in process_cmd()
1907 && (rawno = mn_m2raw(msgmap, mn_get_cur(msgmap))) > 0L in cmd_flag()
2003 && (rawno = mn_m2raw(msgmap, mn_get_cur(msgmap))) > 0L in cmd_flag()
2079 mn_m2raw(msgmap, mn_get_cur(msgmap)), in cmd_flag()
2104 mn_m2raw(msgmap, mn_get_cur(msgmap)), in cmd_flag()
2443 mn_m2raw(msgmap, mn_get_cur(msgmap)), MN_SLCT) == 0) in cmd_bounce()
2448 mn_m2raw(msgmap, mn_get_cur(msgmap)), MN_SLCT)) in cmd_bounce()
2501 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in cmd_save()
2520 mn_m2raw(msgmap, mn_first_cur(msgmap)), in cmd_save()
[all …]
H A Dtitlebar.c73 MSGNO_S *msgmap; member
193 style, mn_total_cur(msgmap))); in set_titlebar()
198 ? MAX(0, mn_get_cur(msgmap)) : 0L; in set_titlebar()
199 as.msgmap = msgmap; in set_titlebar()
300 if(mn_get_total(msgmap) > 0L) in set_titlebar()
301 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in set_titlebar()
312 as.total_lines = msgmap->max_thrdno; in set_titlebar()
558 if(!mn_get_total(as.msgmap)){ in format_titlebar()
937 if(as.stream && (rawno=mn_m2raw(as.msgmap, mn_get_cur(as.msgmap)))) in update_titlebar_message()
944 curnum = mn_get_cur(as.msgmap); in update_titlebar_message()
[all …]
H A Dreply.c575 mn_m2raw(pine_state->msgmap, in reply()
627 msgno = mn_m2raw(pine_state->msgmap, in reply()
628 mn_get_cur(pine_state->msgmap)); in reply()
1530 msgno = mn_m2raw(ps->msgmap, mn_get_cur(ps->msgmap)); in forward()
1573 j = mn_first_cur(ps->msgmap); in forward()
1718 mn_m2raw(ps->msgmap, msgno), in forward()
1748 mn_m2raw(ps->msgmap,msgno), in forward()
1753 mn_m2raw(ps->msgmap, msgno), in forward()
1981 mn_total_cur(pine_state->msgmap)); in bounce()
2167 ps_global->msgmap, in signature_edit()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/alpine/
H A Dmailindx.c342 id.msgmap = msgmap; in index_lister()
646 if(mn_get_total(msgmap) > 0L && mn_total_cur(msgmap) == 1L) in index_lister()
675 if(mn_get_total(msgmap) > 0L && mn_total_cur(msgmap) == 1L) in index_lister()
744 mn_set_cur(msgmap, mn_raw2m(msgmap, thrd->rawno)); in index_lister()
775 mn_m2raw(msgmap, mn_get_cur(msgmap))); in index_lister()
818 msgmap->top = msgmap->top_after_thrd; in index_lister()
996 rawno = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
1080 id.msgmap = msgmap = state->msgmap; in index_lister()
1108 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
1136 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in index_lister()
[all …]
H A Dmailcmd.c601 && ((i = mn_get_cur(msgmap)) < mn_get_total(msgmap))){ in process_cmd()
1372 mn_set_cur(msgmap, mn_raw2m(msgmap,save_cur_rawno)); in process_cmd()
1907 && (rawno = mn_m2raw(msgmap, mn_get_cur(msgmap))) > 0L in cmd_flag()
2003 && (rawno = mn_m2raw(msgmap, mn_get_cur(msgmap))) > 0L in cmd_flag()
2079 mn_m2raw(msgmap, mn_get_cur(msgmap)), in cmd_flag()
2104 mn_m2raw(msgmap, mn_get_cur(msgmap)), in cmd_flag()
2443 mn_m2raw(msgmap, mn_get_cur(msgmap)), MN_SLCT) == 0) in cmd_bounce()
2448 mn_m2raw(msgmap, mn_get_cur(msgmap)), MN_SLCT)) in cmd_bounce()
2501 raw = mn_m2raw(msgmap, mn_get_cur(msgmap)); in cmd_save()
2520 mn_m2raw(msgmap, mn_first_cur(msgmap)), in cmd_save()
[all …]
H A Dtitlebar.c73 MSGNO_S *msgmap; member
193 style, mn_total_cur(msgmap))); in set_titlebar()
198 ? MAX(0, mn_get_cur(msgmap)) : 0L; in set_titlebar()
199 as.msgmap = msgmap; in set_titlebar()
300 if(mn_get_total(msgmap) > 0L) in set_titlebar()
301 thrd = fetch_thread(stream, mn_m2raw(msgmap, mn_get_cur(msgmap))); in set_titlebar()
312 as.total_lines = msgmap->max_thrdno; in set_titlebar()
558 if(!mn_get_total(as.msgmap)){ in format_titlebar()
937 if(as.stream && (rawno=mn_m2raw(as.msgmap, mn_get_cur(as.msgmap)))) in update_titlebar_message()
944 curnum = mn_get_cur(as.msgmap); in update_titlebar_message()
[all …]
H A Dreply.c575 mn_m2raw(pine_state->msgmap, in reply()
627 msgno = mn_m2raw(pine_state->msgmap, in reply()
628 mn_get_cur(pine_state->msgmap)); in reply()
1530 msgno = mn_m2raw(ps->msgmap, mn_get_cur(ps->msgmap)); in forward()
1573 j = mn_first_cur(ps->msgmap); in forward()
1718 mn_m2raw(ps->msgmap, msgno), in forward()
1748 mn_m2raw(ps->msgmap,msgno), in forward()
1753 mn_m2raw(ps->msgmap, msgno), in forward()
1981 mn_total_cur(pine_state->msgmap)); in bounce()
2167 ps_global->msgmap, in signature_edit()
[all …]
/dports/net-mgmt/ocsinventory-agent/UnixAgent-2.8.1/lib/Ocsinventory/Agent/Backend/Virtualization/
H A DVmsystem.pm149 my %msgmap = (
183 foreach my $str (keys %msgmap) {
185 $status = "$msgmap{$str}";
197 foreach my $str (keys %msgmap) {
199 $status = "$msgmap{$str}";
210 foreach my $str (keys %msgmap) {
212 $status = "$msgmap{$str}";

12345678910>>...29