Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 86) sorted by relevance

1234

/dragonfly/usr.sbin/installer/dfuife_curses/
H A Dcurses_form.c269 cf->want_x = cf->widget_focus->x + cf->widget_focus->width / 2; in curses_form_finalize()
282 cf->int_width = cf->width; in curses_form_finalize()
283 cf->int_height = cf->height; in curses_form_finalize()
301 cf->win = newwin(cf->height + 2, cf->width + 2, cf->top - 1, cf->left - 1); in curses_form_finalize()
304 cf->width + 2, cf->height + 2, cf->left - 1, cf->top - 1); in curses_form_finalize()
306 cf->pan = new_panel(cf->win); in curses_form_finalize()
337 mvwvline(cf->win, 1, cf->width + 1, ACS_CKBOARD, cf->height); in curses_form_draw()
348 mvwhline(cf->win, cf->height + 1, 1, ACS_CKBOARD, cf->width); in curses_form_draw()
358 wmove(cf->win, 0, (cf->width - strlen(cf->title)) / 2 - 1); in curses_form_draw()
362 waddstr(cf->win, cf->title); in curses_form_draw()
[all …]
H A Dcurses_xlat.c82 cf->widget_focus = cf->widget_head; in cb_click_remove_row()
84 cf->widget_focus = cf->widget_focus->prev; in cb_click_remove_row()
126 cf->want_y = cf->widget_focus->y; in cb_click_remove_row()
244 cf->want_y = cf->widget_focus->y; in cb_click_insert_row()
543 cf->height = curses_form_descriptive_labels_add(cf, in curses_form_construct_from_dfui_form_single()
600 cf->height++; in curses_form_construct_from_dfui_form_single()
604 return(cf); in curses_form_construct_from_dfui_form_single()
679 cf->height = curses_form_descriptive_labels_add(cf, in curses_form_construct_from_dfui_form_multiple()
735 cf->height++; in curses_form_construct_from_dfui_form_multiple()
745 return(cf); in curses_form_construct_from_dfui_form_multiple()
[all …]
H A Dcurses_widget.c166 wmove(cf->win, wy, wx); in curses_widget_draw()
168 curses_colors_set(cf->win, w == cf->widget_focus ? in curses_widget_draw()
178 waddstr(cf->win, "["); in curses_widget_draw()
191 curses_colors_set(cf->win, w == cf->widget_focus ? in curses_widget_draw()
193 waddstr(cf->win, "]"); in curses_widget_draw()
198 wmove(cf->win, w->y + 1 - cf->y_offset, in curses_widget_draw()
201 wmove(cf->win, w->y + 1 - cf->y_offset, in curses_widget_draw()
214 curses_colors_set(cf->win, w == cf->widget_focus ? in curses_widget_draw()
224 waddstr(cf->win, "["); in curses_widget_draw()
242 waddstr(cf->win, "]"); in curses_widget_draw()
[all …]
H A Dmain.c105 struct curses_form *cf; in present_form() local
108 cf = curses_form_construct_from_dfui_form(f); in present_form()
109 curses_form_draw(cf); in present_form()
110 curses_form_refresh(cf); in present_form()
111 cw = curses_form_frob(cf); in present_form()
115 r = response_construct_from_curses_form(f, cf, cw); in present_form()
116 curses_form_free(cf); in present_form()
/dragonfly/etc/sendmail/
H A DMakefile.4install83 INSTALL_CF= ${SENDMAIL_MC:R}.cf
84 INSTALL_SUBMIT_CF= ${SENDMAIL_SUBMIT_MC:R}.cf
101 SENDMAIL_CF_DIR?= /usr/local/share/sendmail/cf
159 .SUFFIXES: .cf .mc
161 .mc.cf: ${M4FILES}
179 all: cf maps aliases
185 cf: ${INSTALL_CF} ${INSTALL_SUBMIT_CF}
187 install: install-cf install-submit-cf
189 install-cf: ${INSTALL_CF}
190 .if ${INSTALL_CF} != /etc/mail/sendmail.cf
[all …]
H A DREADME27 Type 'make install-submit-cf' in /etc/mail/ to generate the submit.cf
47 These tools are discussed in /usr/local/share/sendmail/cf/README. Read the
49 additional tools can be found in /usr/local/share/sendmail/cf/cf/knecht.mc.
/dragonfly/contrib/dhcpcd/hooks/
H A D50-ntp.conf60 cf="$state_dir/ntp.conf.$ifname"
84 [ -e "$cf" ] && rm -f "$cf"
88 [ -e "$ntp_conf" ] && cp "$ntp_conf" "$cf"
92 "$ntp_conf" > "$cf"
96 echo "$signature_base${header:+ $from }$header" >> "$cf"
97 printf %s "$servers" >> "$cf"
100 [ -e "$ntp_conf" ] && [ -e "$cf" ] || return
104 if change_file "$ntp_conf" "$cf"; then
111 cf="$ntp_conf_dir/$ifname"
113 [ -e "$cf" ] && rm "$cf"
[all …]
H A D20-resolv.conf22 cf="$state_dir/resolv.conf.$ifname"
58 [ -f "$cf" ] && rm -f "$cf"
60 echo "$header" > "$cf"
62 cat /etc/resolv.conf.head >> "$cf"
64 echo "# /etc/resolv.conf.head can replace this line" >> "$cf"
66 printf %s "$domain$search$servers" >> "$cf"
68 cat /etc/resolv.conf.tail >> "$cf"
70 echo "# /etc/resolv.conf.tail can replace this line" >> "$cf"
72 if change_file /etc/resolv.conf "$cf"; then
75 rm -f "$cf"
H A D50-ypbind29 cf="$ypdomain_dir/$new_nis_domain$ypdomain_suffix"
31 ncf="$cf.$ifname"
36 change_file "$cf" "$ncf"
38 [ -e "$cf" ] && rm "$cf"
/dragonfly/contrib/openresolv/
H A Dpdnsd.in105 cf="$pdnsd_conf.new"
142 rm -f "$cf"
143 remove_markers "$signature" "$signature_end" "$pdnsd_conf" > "$cf"
145 echo "$signature" >> "$cf"
146 printf %s "$newconf" >> "$cf"
147 echo "$signature_end" >> "$cf"
149 if change_file "$pdnsd_conf" "$cf"; then
/dragonfly/contrib/gdb-7/gdb/
H A Dcorelow.c109 deprecated_add_core_fns (struct core_fns *cf) in deprecated_add_core_fns() argument
111 cf->next = core_file_fns; in deprecated_add_core_fns()
112 core_file_fns = cf; in deprecated_add_core_fns()
135 struct core_fns *cf; in sniff_core_bfd() local
144 for (cf = core_file_fns; cf != NULL; cf = cf->next) in sniff_core_bfd()
146 if (cf->core_sniffer (cf, abfd)) in sniff_core_bfd()
148 yummy = cf; in sniff_core_bfd()
179 struct core_fns *cf; in gdb_check_format() local
181 for (cf = core_file_fns; cf != NULL; cf = cf->next) in gdb_check_format()
183 if (cf->check_format (abfd)) in gdb_check_format()
H A Dgdbcore.h204 extern void deprecated_add_core_fns (struct core_fns *cf);
205 extern int default_core_sniffer (struct core_fns *cf, bfd * abfd);
/dragonfly/usr.sbin/clog/
H A Dclog.c190 struct clog_footer cf; in init_log() local
192 memcpy(&cf.cf_magic,MAGIC_CONST,4); in init_log()
193 cf.cf_max = size - sizeof(struct clog_footer); in init_log()
225 if (write(fd,&cf,sizeof(cf))==-1) { in init_log()
/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Dimport-export.h49 int (*check_version) (struct config_tree * cf);
51 struct config_tree * cf);
52 void (*read_desc) (struct dm_pool * mem, struct config_tree * cf,
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_ppmd7.c415 UInt32 cf, s0; in CreateSuccessors() local
418 cf = s->Freq - 1; in CreateSuccessors()
419 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors()
420 … upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0)))); in CreateSuccessors()
539 UInt32 cf, sf; in UpdateModel() local
580 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
582 if (cf < 6 * sf) in UpdateModel()
584 cf = 1 + (cf > sf) + (cf >= 4 * sf); in UpdateModel()
589 cf = 4 + (cf >= 9 * sf) + (cf >= 12 * sf) + (cf >= 15 * sf); in UpdateModel()
590 c->SummFreq = (UInt16)(c->SummFreq + cf); in UpdateModel()
[all …]
H A Darchive_ppmd8.c666 UInt32 cf, s0; in CreateSuccessors() local
669 cf = s->Freq - 1; in CreateSuccessors()
670 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors()
671 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((cf + 2 * s0 - 3) / s0))); in CreateSuccessors()
903 UInt32 cf, sf; in UpdateModel() local
944 cf = 2 * fFreq * (c->SummFreq + 6); in UpdateModel()
946 if (cf < 6 * sf) in UpdateModel()
948 cf = 1 + (cf > sf) + (cf >= 4 * sf); in UpdateModel()
953 cf = 4 + (cf > 9 * sf) + (cf > 12 * sf) + (cf > 15 * sf); in UpdateModel()
954 c->SummFreq = (UInt16)(c->SummFreq + cf); in UpdateModel()
[all …]
H A Darchive_read_disk_posix.c632 if (cf->allocation_ptr == NULL) { in setup_suitable_read_buffer()
636 long xfer_align = (cf->xfer_align == -1)?4096:cf->xfer_align; in setup_suitable_read_buffer()
638 if (cf->max_xfer_size != -1) in setup_suitable_read_buffer()
641 long incr = cf->incr_xfer_size; in setup_suitable_read_buffer()
645 incr = cf->min_xfer_size; in setup_suitable_read_buffer()
646 if (cf->min_xfer_size < 0) { in setup_suitable_read_buffer()
650 asize = cf->min_xfer_size; in setup_suitable_read_buffer()
660 cf->allocation_ptr = malloc(asize); in setup_suitable_read_buffer()
661 if (cf->allocation_ptr == NULL) { in setup_suitable_read_buffer()
671 s = (uintptr_t)cf->allocation_ptr; in setup_suitable_read_buffer()
[all …]
/dragonfly/usr.sbin/lpr/common_source/
H A Ddisplayq.c278 inform(const struct printer *pp, char *cf) in inform() argument
289 if ((cfp = fopen(cf, "r")) == NULL) in inform()
295 if (pp->remote || garbage || strcmp(cf, current)) in inform()
315 if (!inlist(line+1, cf)) { in inform()
324 printf(" [job %s]\n", cf+3); in inform()
329 printf("%-10s %-3d ", line+1, atoi(cf+3)); in inform()
/dragonfly/etc/
H A Drc.sendmail160 if [ -r /etc/mail/submit.cf ]; then
180 if [ -r /etc/mail/submit.cf ]; then
208 if [ -r /etc/mail/submit.cf ]; then
/dragonfly/contrib/file/magic/Magdir/
H A Dsendmail16 # freezed configuration file (dbm format?) created from sendmal.cf with -bz
19 # "sendmail -d0 -bt < /dev/null |grep -i Version" or "egrep '^DZ' /etc/sendmail.cf"
34 # i.e. files in /usr/share/sendmail/cf/
H A Dcoverage24 # cf. gcov-io.h
52 # cf. http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php
70 # cf. https://llvm.org/docs/doxygen/html/InstrProfData_8inc_source.html
81 # cf. https://llvm.org/docs/CoverageMappingFormat.html
/dragonfly/usr.sbin/sdpd/
H A Dsar.c61 profile_attr_create_p cf = profile_get_attr(provider->profile, attr); in server_prepare_attr_value_pair() local
64 if (cf == NULL) in server_prepare_attr_value_pair()
73 len = cf(buf, eob, (uint8_t const *) provider, sizeof(*provider)); in server_prepare_attr_value_pair()
/dragonfly/bin/dd/
H A Dref.pareven6 00000040 c0 41 42 c3 44 c5 c6 47 48 c9 ca 4b cc 4d 4e cf |.AB.D..GH..K.MN.|
14 000000c0 c0 41 42 c3 44 c5 c6 47 48 c9 ca 4b cc 4d 4e cf |.AB.D..GH..K.MN.|
H A Dref.parset6 00000040 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf |................|
14 000000c0 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf |................|
/dragonfly/crypto/libressl/crypto/lhash/
H A Dlhash.c375 LHASH_COMP_FN_TYPE cf; in getrn() local
385 cf = lh->comp; in getrn()
396 if (cf(n1->data, data) == 0) in getrn()

1234