Searched refs:ret (Results 1 - 25 of 561) sorted by path

1234567891011>>

/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php543 //passthru($cmd, $ret);
544 //dbg("ret=$ret");
/haiku/headers/cpp/
H A Dsstream143 pos_type ret = pos_type(off_type(-1));
184 ret = pos_type(newoffi + off + curi);
190 ret = pos_type(newoffo + off + curo);
193 return ret;
199 pos_type ret = seekoff(sp, ios::beg, which);
200 return ret;
/haiku/headers/libs/agg/
H A Dagg_clip_liang_barsky.h266 // Returns: ret >= 4 - Fully clipped
267 // (ret & 1) != 0 - First point has been moved
268 // (ret & 2) != 0 - Second point has been moved
276 unsigned ret = 0; local
312 ret |= 1;
324 ret |= 2;
326 return ret;
H A Dagg_color_gray.h158 self_type ret; local
160 ret.v = value_type(calc_type(v) + (((calc_type(c.v) - v) * ik) >> base_shift));
161 ret.a = value_type(calc_type(a) + (((calc_type(c.a) - a) * ik) >> base_shift));
162 return ret;
345 self_type ret; local
347 ret.v = value_type(calc_type(v) + (((calc_type(c.v) - v) * ik) >> base_shift));
348 ret.a = value_type(calc_type(a) + (((calc_type(c.a) - a) * ik) >> base_shift));
349 return ret;
H A Dagg_color_rgba.h133 rgba ret; local
134 ret.r = r + (c.r - r) * k;
135 ret.g = g + (c.g - g) * k;
136 ret.b = b + (c.b - b) * k;
137 ret.a = a + (c.a - a) * k;
138 return ret;
353 self_type ret; local
355 ret.r = value_type(calc_type(r) + (((calc_type(c.r) - r) * ik) >> base_shift));
356 ret.g = value_type(calc_type(g) + (((calc_type(c.g) - g) * ik) >> base_shift));
357 ret
615 self_type ret; local
[all...]
H A Dagg_span_gradient.h384 int ret = m_gradient->calculate(x, y, d) % d; local
385 if(ret < 0) ret += d;
386 return ret;
404 int ret = m_gradient->calculate(x, y, d) % d2; local
405 if(ret < 0) ret += d2;
406 if(ret >= d) ret = d2 - ret;
[all...]
H A Dagg_vertex_sequence.h147 bool ret = (dist = calc_distance(x, y, val.x, val.y)) > vertex_dist_epsilon; local
148 if(!ret) dist = 1.0 / vertex_dist_epsilon;
149 return ret;
/haiku/headers/libs/mapm/
H A Dm_apm.h483 {MAPM ret;m_apm_add(ret.val(),a.cval(),b.cval());return ret;} local
485 {MAPM ret;m_apm_subtract(ret.val(),a.cval(),b.cval());return ret;} local
487 {MAPM ret;m_apm_multiply(ret.val(),a.cval(),b.cval());return ret;} local
489 {MAPM quot,ret;m_apm_integer_div_re local
498 {MAPM ret;m_apm_divide(ret.val(),toDigits,cval(), local
525 {MAPM ret;m_apm_absolute_value(ret.val(),cval());return ret;} local
527 {MAPM ret;m_apm_negate(ret.val(),cval());return ret;} local
529 {MAPM ret;m_apm_round(ret.val(),toDigits,cval());return ret;} local
567 {MAPM ret;m_apm_pow(ret.val(),toDigits,cval(), local
571 {MAPM ret;m_apm_arctan2(ret.val(),toDigits,cval(), local
577 {MAPM ret;m_apm_gcd(ret.val(),cval(),m.cval());return ret;} local
580 {MAPM ret;m_apm_lcm(ret.val(),cval(),m.cval());return ret;} local
583 {MAPM ret;m_apm_get_random(ret.val());return ret;} local
586 {MAPM ret;m_apm_floor(ret.val(),cval());return ret;} local
588 {MAPM ret;m_apm_ceil(ret.val(),cval());return ret;} local
592 {MAPM ret;m_apm_factorial(ret.val(),cval());return ret;} local
594 {MAPM ret;m_apm_integer_pow_nr(ret.val(), local
597 {MAPM ret;m_apm_integer_pow(ret.val(), local
602 {MAPM ret;m_apm_integer_divide(ret.val(),cval(), local
608 MAPM rem(const MAPM &denom) const {MAPM ret,ignored; local
[all...]
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DCommandActuators.cpp94 status_t ret = BArchivable::Archive(into, deep); local
95 return ret;
157 status_t ret = CommandActuator::Archive(into, deep); local
162 return ret;
249 status_t ret = CommandActuator::Archive(into, deep); local
251 return ret;
987 status_t ret = CommandActuator::Archive(into, deep); local
989 return ret;
1012 status_t ret = be_roster->Launch(fMimeType.String()); local
1013 if ((ret !
1132 status_t ret = CommandActuator::Archive(into, deep); local
1249 status_t ret = CommandActuator::Archive(into, deep); local
1441 status_t ret = MoveMouseCommandActuator::Archive(into, deep); local
1647 status_t ret = CommandActuator::Archive(into, deep); local
[all...]
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsettings.c171 uint32 ret = 0; local
177 ret |= settings_keys[skkIdx].property;
182 ret |= vendor_prop;
189 return ret;
/haiku/src/add-ons/kernel/debugger/disasm/x86/
H A Ddisasm_arch.cpp114 int ret; local
115 ret = ud_disassemble(&sUDState);
116 if (ret < 1)
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmidi.c85 int ret; local
101 ret = (*mpu401->open_hook)(cards[ix].midi.driver, flags, cookie);
102 if (ret >= B_OK) {
106 ddprintf(("cmedia_pci: mpu401: open returns %x / %p\n", ret, *cookie));
107 return ret;
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dmidi.c105 int ret; local
121 ret = (*mpu401->open_hook)(cards[ix].midi.driver, flags, cookie);
122 if (ret >= B_OK) {
126 LOG(("mpu401: open returns %x / %p\n", ret, *cookie));
127 return ret;
/haiku/src/add-ons/kernel/drivers/audio/ice1712/
H A Dice1712.cpp227 bool ret; local
229 ret = (*mpu401->interrupt_hook)(ice->midiItf[0].mpu401device);
230 if (ret) {
237 ret = (*mpu401->interrupt_hook)(ice->midiItf[1].mpu401device);
238 if (ret) {
H A Dmidi.cpp67 status_t ret = ENODEV; local
76 ret = (*mpu401->open_hook)(dev->mpu401device, flags, cookie);
77 if (ret >= B_OK) {
85 return ret;
101 status_t ret; local
105 ret = (*mpu401->free_hook)(cookie);
117 return ret;
133 status_t ret = B_ERROR; local
135 ret = (*mpu401->read_hook)(cookie, pos, ptr, nread);
136 ITRACE_VV("**midi_read: %" B_PRIi32 "\n", ret);
146 status_t ret = B_ERROR; local
[all...]
/haiku/src/add-ons/kernel/drivers/bus/pcmcia/
H A Dds.c97 status_t ret, err;
102 err = ret = 0;
108 ret = CardServices(AdjustResourceInfo, s->handle, &buf.adjust);
111 ret = CardServices(GetCardServicesInfo, &buf.servinfo);
114 ret = CardServices(GetConfigurationInfo, s->handle, &buf.config);
117 ret = CardServices(GetFirstTuple, s->handle, &buf.tuple);
120 ret = CardServices(GetNextTuple, s->handle, &buf.tuple);
125 ret = CardServices(GetTupleData, s->handle, &buf.tuple);
129 ret = CardServices(ParseTuple, s->handle, &buf.tuple,
133 ret
184 status_t ret, err; local
[all...]
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp385 bool ret = true; local
514 ret = false;
534 ret = false;
538 return ret;
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_common.c247 int ret; local
255 ret = nvme_cpu_init();
256 if (ret != 0) {
263 ret = nvme_pci_init();
264 if (ret != 0) {
270 ret = nvme_mem_init();
271 if (ret != 0)
276 return ret;
H A Dnvme_ns.c46 int ret; local
48 ret = nvme_admin_identify_ns(ctrlr, ns->id, nsdata);
49 if (ret != 0) {
51 return ret;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_aic.c291 HAL_BOOL ret = AH_TRUE; local
356 ret = AH_FALSE;
381 ret = AH_FALSE;
419 ret = AH_FALSE;
481 return ret;
H A Dar9300_misc.c2037 u_int32_t ret; local
2040 ret = OS_REG_READ(ah, AR_TSF_L32);
2045 return ret;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_keycache.c203 int ret; local
261 ret = ath_keyset_tkip(sc, k, &hk, mac);
264 ret = ath_hal_keyset(ah, k->wk_keyix, &hk, mac);
269 return (ret);
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c246 int ret; local
254 ret = malo_hal_execute_cmd(mh, MALO_HOSTCMD_GET_CALTABLE);
255 if (ret == 0 && cmd->caltbl[0] != annex && annex != 0 && annex != 255)
256 ret = EIO;
257 return ret;
552 int ret; local
560 ret = malo_hal_execute_cmd(mh, MALO_HOSTCMD_GET_HW_SPEC);
561 if (ret == 0) {
580 return ret;
603 int ret; local
636 int ret; local
675 int ret; local
698 int i, idx, ret; local
729 int ret; local
795 int ret; local
813 int ret; local
832 int ret; local
851 int i, ret; local
895 int ret; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/pci/
H A Dr88ee_rx.c60 int ret; local
92 ret = 0;
94 ret |= RTWN_PCI_INTR_RX_ERROR;
96 ret |= RTWN_PCI_INTR_RX_OVERFLOW;
98 ret |= RTWN_PCI_INTR_RX_DESC_UNAVAIL;
100 ret |= RTWN_PCI_INTR_RX_DONE;
102 ret |= RTWN_PCI_INTR_TX_ERROR;
104 ret |= RTWN_PCI_INTR_TX_OVERFLOW;
106 ret |= RTWN_PCI_INTR_TX_REPORT;
108 ret |
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dbitmap.c120 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, ret = -1; local
250 ret = 0;
254 return ret;
270 int ret; local
274 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 1);
276 return ret;
292 int ret; local
296 ret = ntfs_bitmap_set_bits_in_run(na, start_bit, count, 0);
298 return ret;

Completed in 137 milliseconds

1234567891011>>