Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/dragonfly/contrib/xz/src/liblzma/rangecoder/
H A Drange_encoder.h69 rc->symbols[rc->count] = bit; in rc_bit()
70 rc->probs[rc->count] = prob; in rc_bit()
109 rc->symbols[rc->count++] in rc_direct()
119 rc->symbols[rc->count++] = RC_FLUSH; in rc_flush()
139 rc->cache = (rc->low >> 24) & 0xFF; in rc_shift_low()
155 while (rc->pos < rc->count) { in rc_encode()
165 switch (rc->symbols[rc->pos]) { in rc_encode()
171 *rc->probs[rc->pos] = prob; in rc_encode()
182 *rc->probs[rc->pos] = prob; in rc_encode()
192 rc->low += rc->range; in rc_encode()
[all …]
H A Drange_decoder.h42 rc->code = (rc->code << 8) | in[*in_pos]; in rc_read_init()
44 --rc->init_bytes_left; in rc_read_init()
63 range_decoder = rc; \
95 rc.code = (rc.code << RC_SHIFT_BITS) | in[rc_in_pos++]; \
114 if (rc.code < rc_bound)
121 rc.range = rc_bound; \
130 rc.range -= rc_bound; \
131 rc.code -= rc_bound; \
174 rc.range >>= 1; \
175 rc.code -= rc.range; \
[all …]
/dragonfly/lib/i18n_module/mapper_std/
H A Dcitrus_mapper_std.c88 rc = &ms->ms_rowcol; in rowcol_convert()
90 for (i = rc->rc_src_rowcol_len * rc->rc_src_rowcol_bits, in rowcol_convert()
171 lz = rc->rc_src_rowcol; in rowcol_parse_variable_compat()
172 rc->rc_src_rowcol_len = 1; in rowcol_parse_variable_compat()
214 rc->rc_src_rowcol = malloc(rc->rc_src_rowcol_len * in rowcol_parse_variable()
237 rc = &ms->ms_rowcol; in rowcol_uninit()
238 free(rc->rc_src_rowcol); in rowcol_uninit()
254 rc = &ms->ms_rowcol; in rowcol_init()
258 &rc->rc_table, NULL); in rowcol_init()
287 if (rc->rc_src_rowcol_len <= 32 / rc->rc_src_rowcol_bits) in rowcol_init()
[all …]
/dragonfly/sys/dev/netif/oce/
H A Doce_mbox.c81 return rc; in oce_reset_fun()
158 int rc; in oce_mbox_dispatch() local
609 if (rc) in oce_if_del()
633 int rc; in oce_config_vlan() local
661 if (rc) in oce_config_vlan()
680 int rc; in oce_set_flow_control() local
704 if (rc) in oce_set_flow_control()
762 int rc; in oce_config_nic_rss() local
826 int rc; in oce_rxf_set_promiscuous() local
830 if (rc) in oce_rxf_set_promiscuous()
[all …]
H A Doce_hw.c99 if (rc) in oce_hw_init()
110 if (rc) in oce_hw_init()
115 if (rc) in oce_hw_init()
120 if (rc) in oce_hw_init()
125 if (rc) in oce_hw_init()
132 if (rc) in oce_hw_init()
137 if (rc) in oce_hw_init()
378 int rc; in oce_create_nw_interface() local
406 if (rc) in oce_create_nw_interface()
415 if (rc) in oce_create_nw_interface()
[all …]
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dobsolete.c113 rc = 1; in _nc_conv_to_utf8()
115 rc = 2; in _nc_conv_to_utf8()
117 rc = 3; in _nc_conv_to_utf8()
119 rc = 4; in _nc_conv_to_utf8()
121 rc = 5; in _nc_conv_to_utf8()
123 rc = 6; in _nc_conv_to_utf8()
126 rc = 0; in _nc_conv_to_utf8()
192 rc = 1; in _nc_conv_to_utf32()
195 rc = 2; in _nc_conv_to_utf32()
198 rc = 3; in _nc_conv_to_utf32()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/pb_ds/detail/rc_binomial_heap_/
H A Drc.hpp50 class rc class
74 rc();
76 rc(const rc&);
79 swap(rc&);
121 rc<_Node, _Alloc>::
126 rc<_Node, _Alloc>::
127 rc(const rc<_Node, _Alloc>& other) : m_over_top(0) in rc() function in __gnu_pbds::detail::rc
132 rc<_Node, _Alloc>::
150 rc<_Node, _Alloc>::
161 rc<_Node, _Alloc>::
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/pb_ds/detail/rc_binomial_heap_/
H A Drc.hpp50 class rc class
74 rc();
76 rc(const rc&);
79 swap(rc&);
121 rc<_Node, _Alloc>::
126 rc<_Node, _Alloc>::
127 rc(const rc<_Node, _Alloc>& other) : m_over_top(0) in rc() function in __gnu_pbds::detail::rc
132 rc<_Node, _Alloc>::
150 rc<_Node, _Alloc>::
161 rc<_Node, _Alloc>::
[all …]
/dragonfly/etc/periodic/daily/
H A D200.backup-passwd20 rc=2
25 rc=2
28 rc=0
35 rc=1
42 [ $rc -lt 1 ] && rc=1
52 [ $rc -lt 1 ] && rc=1
54 cp -p /etc/group $bak/group.bak || rc=3
59 [ $rc -lt 1 ] && rc=1
70 chkgrp /etc/group || rc=3
74 *) rc=0;;
[all …]
H A D310.accounting18 rc=0 # nothing to do
23 rc=2
29 rc=0
35 [ $m -ge $n ] && { rm $f || rc=3; }
42 [ -f acct.$n.gz ] && { mv -f acct.$n.gz acct.$m.gz || rc=3; }
45 [ -f acct.$n ] && { mv -f acct.$n acct.$m || rc=3; }
50 /etc/rc.d/accounting rotate_log || rc=3
52 rm -f acct.merge && cp acct.0 acct.merge || rc=3
58 gzip -f acct.0 || rc=3;;
62 *) rc=0;;
[all …]
/dragonfly/tools/tools/net80211/w00t/prga/
H A Dprga.c162 int rc; in get_prga() local
205 for (rc = 0; rc < known_pt_len; rc++) { in get_prga()
206 p->prga[rc] = known_pt[rc] ^ (*ptr); in get_prga()
238 int rc; in send_packet() local
339 int rc; in wait_ack() local
406 int rc; in wait_relay() local
472 for (rc = 0; rc < p->data_len+4; rc++) in wait_relay()
473 p->prga[rc] = p->data[rc] ^ ptr[rc]; in wait_relay()
511 int rc; in read_tap() local
522 rc = read(p->tap, ptr, rc); in read_tap()
[all …]
/dragonfly/share/man/man8/
H A DMakefile8 rc.8 \
9 rc.sendmail.8 \
10 rc.subr.8 \
16 MLINKS= rc.8 rc.d.8 \
17 rc.8 rc.firewall.8 \
18 rc.8 rc.local.8 \
19 rc.8 rc.shutdown.8 \
20 rc.8 rc.shutdown.local.8
/dragonfly/sbin/svc/
H A Dsvc.c51 int rc; in main() local
62 return rc; in main()
73 int rc = 1; in process_cmd() local
220 if (rc) in process_cmd()
267 rc = 0; in process_cmd()
279 int rc; in execute_cmd() local
299 rc = 1; in execute_cmd()
350 rc = 1; in execute_cmd()
366 int rc; in execute_remote() local
385 rc = 0; in execute_remote()
[all …]
/dragonfly/test/testcases/mem/mmap_madvise_1/
H A Dmmap_madvise_1.c32 int rc; in main() local
53 if (rc != 0) in main()
57 if (rc == -1) in main()
67 if (rc == -1) in main()
72 rc = fork(); in main()
73 if (rc == 0) { in main()
80 rc = 0; in main()
84 rc = -1; in main()
88 rc = 0; in main()
94 printf("%d \n", rc); in main()
[all …]
/dragonfly/lib/libutil/
H A Dlogin_ok.c52 int rc = 0; in login_strinlist() local
57 while (rc == 0 && list[i] != NULL) in login_strinlist()
60 return rc; in login_strinlist()
72 int rc = 0; in login_str2inlist() local
75 rc = 1; in login_str2inlist()
77 rc = 1; in login_str2inlist()
78 return rc; in login_str2inlist()
130 int rc = 1; in login_ttyok() local
151 return rc; in login_ttyok()
196 return rc; in login_hostok()
[all …]
/dragonfly/stand/lib/
H A Dufs.c132 int rc; in read_inode() local
145 if (rc) in read_inode()
190 int rc; in block_map() local
297 int rc; in buf_read_file() local
305 if (rc) in buf_read_file()
359 int rc; in search_directory() local
366 if (rc) in search_directory()
407 int rc; in ufs_open() local
425 if (rc) in ufs_open()
508 if (rc) in ufs_open()
[all …]
/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath_tx_ht.c250 rc[i].flags = 0; in ath_tx_rate_fill_rcflags()
251 if (rc[i].tries == 0) in ath_tx_rate_fill_rcflags()
265 rc[i].ratecode = rate; in ath_tx_rate_fill_rcflags()
279 rc[i].flags |= ATH_RC_HT_FLAG; in ath_tx_rate_fill_rcflags()
344 rc[i].max4msframelen = in ath_tx_rate_fill_rcflags()
347 rc[i].max4msframelen = 0; in ath_tx_rate_fill_rcflags()
350 __func__, i, rate, rc[i].flags, rc[i].max4msframelen); in ath_tx_rate_fill_rcflags()
392 uint8_t rc, rix, flags; in ath_compute_num_delims() local
458 rc = rt->info[rix].rateCode; in ath_compute_num_delims()
562 if (rc[i].tries == 0) in ath_rateseries_setup()
[all …]
/dragonfly/sys/dev/virtual/amazon/ena/
H A Dena.c339 int rc; in ena_change_mtu() local
998 int rc; in ena_refill_rx_bufs() local
1301 int rc; in ena_tx_cleanup() local
2073 int rc; in ena_free_mgmnt_irq() local
2103 int rc; in ena_free_io_irq() local
2177 int rc; in ena_rss_configure() local
2200 int rc; in ena_up_complete() local
2383 int rc; in ena_ioctl() local
2391 rc = 0; in ena_ioctl()
2606 int rc; in ena_down() local
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_peer/
H A Deap_fast_pac.c192 rc->line++; in eap_fast_read_line()
193 if (rc->f) { in eap_fast_read_line()
194 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) in eap_fast_read_line()
199 if (rc->pos >= rc->end) in eap_fast_read_line()
207 os_memcpy(rc->buf, rc->pos, len); in eap_fast_read_line()
212 rc->buf[rc->buf_len - 1] = '\0'; in eap_fast_read_line()
213 pos = rc->buf; in eap_fast_read_line()
256 os_memset(rc, 0, sizeof(*rc)); in eap_fast_init_pac_data()
259 rc->buf = os_malloc(rc->buf_len); in eap_fast_init_pac_data()
293 if (rc->f) in eap_fast_deinit_pac_data()
[all …]
H A Deap_teap_pac.c192 rc->line++; in eap_teap_read_line()
193 if (rc->f) { in eap_teap_read_line()
194 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) in eap_teap_read_line()
200 if (rc->pos >= rc->end) in eap_teap_read_line()
208 os_memcpy(rc->buf, rc->pos, len); in eap_teap_read_line()
213 rc->buf[rc->buf_len - 1] = '\0'; in eap_teap_read_line()
214 pos = rc->buf; in eap_teap_read_line()
257 os_memset(rc, 0, sizeof(*rc)); in eap_teap_init_pac_data()
260 rc->buf = os_malloc(rc->buf_len); in eap_teap_init_pac_data()
261 if (!rc->buf) in eap_teap_init_pac_data()
[all …]
/dragonfly/etc/periodic/monthly/
H A D200.accounting17 rc=0
29 zcat $W.0.gz > $TMP || rc=1
32 bzcat $W.0.bz2 > $TMP || rc=1
35 xzcat $W.0.xz > $TMP || rc=1
38 zstdcat $W.0.zst > $TMP || rc=1
41 rc=2
46 rc=2
49 if [ $rc -eq 0 ]
55 [ $rc -gt 0 ] && rc=1
59 *) rc=0;;
[all …]
/dragonfly/sbin/rconfig/
H A Dsubs.c86 int rc; in udp_transact() local
147 rc = 508; in udp_transact()
151 return(rc); in udp_transact()
160 int rc; in tcp_transact() local
212 for (rc = 0; *bufp && rc < *lenp; rc += n) { in tcp_transact()
223 rc = 201; in tcp_transact()
225 rc = 509; in tcp_transact()
227 rc = 509; in tcp_transact()
230 rc = 509; in tcp_transact()
250 rc = 509; in tcp_transact()
[all …]
/dragonfly/tools/tools/net80211/w00t/assoc/
H A Dassoc.c102 int rc; in send_frame() local
105 if (rc == -1) { in send_frame()
340 int rc; in generic_process() local
423 int rc; in get_probe_response() local
433 if (rc == -1) in get_probe_response()
489 int rc; in get_auth() local
494 if (rc == -1) in get_auth()
543 int rc; in get_assoc() local
589 int rc; in read_wifi() local
790 int rc; in main() local
[all …]
/dragonfly/contrib/tcpdump/
H A Dprint-babel.c477 int rc; in babel_print_v2_tlvs() local
512 int rc; in babel_print_v2_tlvs() local
539 int rc; in babel_print_v2_tlvs() local
578 int rc; in babel_print_v2_tlvs() local
598 int rc; in babel_print_v2_tlvs() local
650 int rc; in babel_print_v2_tlvs() local
667 parsed_len += rc; in babel_print_v2_tlvs()
673 parsed_len += rc; in babel_print_v2_tlvs()
703 parsed_len += rc; in babel_print_v2_tlvs()
709 parsed_len += rc; in babel_print_v2_tlvs()
[all …]
/dragonfly/contrib/elftoolchain/libelf/
H A Delf_update.c478 return (rc); in _libelf_resync_sections()
515 rc = 0; in _libelf_resync_elf()
648 if ((rc = _libelf_resync_sections(e, rc, extents)) < 0) in _libelf_resync_elf()
705 return (rc); in _libelf_resync_elf()
716 off_t rc; in _libelf_write_scn() local
827 return (rc); in _libelf_write_scn()
1059 rc = nrc; in _libelf_write_elf()
1156 return (rc); in _libelf_write_elf()
1172 off_t rc; in elf_update() local
1210 rc = _libelf_write_elf(e, rc, &extents); in elf_update()
[all …]

12345678910>>...21