Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 62) sorted by relevance

123

/linux-2.4.37.9/arch/mips/math-emu/
Dieee754sp.c44 assert(ieee754sp_isnan(x)); in ieee754sp_issnan()
68 assert(ieee754sp_isnan(r)); in ieee754sp_nanxcpt()
92 assert(ieee754sp_isnan(x)); in ieee754sp_bestnan()
93 assert(ieee754sp_isnan(y)); in ieee754sp_bestnan()
135 assert(xm); /* we dont gen exact zeros (probably should) */ in ieee754sp_format()
137 assert((xm >> (SP_MBITS + 1 + 3)) == 0); /* no execess */ in ieee754sp_format()
138 assert(xm & (SP_HIDDEN_BIT << 3)); in ieee754sp_format()
181 assert((xm & (SP_HIDDEN_BIT << 3)) == 0); in ieee754sp_format()
182 assert(xe == SP_EMIN); in ieee754sp_format()
205 assert((xm >> (SP_MBITS + 1)) == 0); /* no execess */ in ieee754sp_format()
[all …]
Dieee754dp.c44 assert(ieee754dp_isnan(x)); in ieee754dp_issnan()
67 assert(ieee754dp_isnan(r)); in ieee754dp_nanxcpt()
91 assert(ieee754dp_isnan(x)); in ieee754dp_bestnan()
92 assert(ieee754dp_isnan(y)); in ieee754dp_bestnan()
134 assert(xm); /* we dont gen exact zeros (probably should) */ in ieee754dp_format()
136 assert((xm >> (DP_MBITS + 1 + 3)) == 0); /* no execess */ in ieee754dp_format()
137 assert(xm & (DP_HIDDEN_BIT << 3)); in ieee754dp_format()
181 assert((xm & (DP_HIDDEN_BIT << 3)) == 0); in ieee754dp_format()
182 assert(xe == DP_EMIN); in ieee754dp_format()
205 assert((xm >> (DP_MBITS + 1)) == 0); /* no execess */ in ieee754dp_format()
[all …]
Dieee754dp.h31 #define assert(expr) ((void)0) macro
53 assert((s) == 0 || (s) == 1); in builddp()
54 assert((bx) >= DP_EMIN - 1 + DP_EBIAS in builddp()
56 assert(((m) >> DP_MBITS) == 0); in builddp()
Dieee754sp.h31 #define assert(expr) ((void)0) macro
58 assert((s) == 0 || (s) == 1); in buildsp()
59 assert((bx) >= SP_EMIN - 1 + SP_EBIAS in buildsp()
61 assert(((m) >> SP_MBITS) == 0); in buildsp()
Dsp_add.c123 assert(xm & SP_HIDDEN_BIT); in ieee754sp_add()
124 assert(ym & SP_HIDDEN_BIT); in ieee754sp_add()
141 assert(xe == ye); in ieee754sp_add()
142 assert(xe <= SP_EMAX); in ieee754sp_add()
Dsp_sub.c128 assert(xm & SP_HIDDEN_BIT); in ieee754sp_sub()
129 assert(ym & SP_HIDDEN_BIT); in ieee754sp_sub()
147 assert(xe == ye); in ieee754sp_sub()
148 assert(xe <= SP_EMAX); in ieee754sp_sub()
Ddp_add.c126 assert(xm & DP_HIDDEN_BIT); in ieee754dp_add()
127 assert(ym & DP_HIDDEN_BIT); in ieee754dp_add()
146 assert(xe == ye); in ieee754dp_add()
147 assert(xe <= DP_EMAX); in ieee754dp_add()
Ddp_sub.c131 assert(xm & DP_HIDDEN_BIT); in ieee754dp_sub()
132 assert(ym & DP_HIDDEN_BIT); in ieee754dp_sub()
152 assert(xe == ye); in ieee754dp_sub()
153 assert(xe <= DP_EMAX); in ieee754dp_sub()
Dsp_div.c119 assert(xm & SP_HIDDEN_BIT); in ieee754sp_div()
120 assert(ym & SP_HIDDEN_BIT); in ieee754sp_div()
146 assert(rm); in ieee754sp_div()
Ddp_div.c119 assert(xm & DP_HIDDEN_BIT); in ieee754dp_div()
120 assert(ym & DP_HIDDEN_BIT); in ieee754dp_div()
146 assert(rm); in ieee754dp_div()
Dsp_mul.c109 assert(xm & SP_HIDDEN_BIT); in ieee754sp_mul()
110 assert(ym & SP_HIDDEN_BIT); in ieee754sp_mul()
167 assert(rm & (SP_HIDDEN_BIT << 3)); in ieee754sp_mul()
Ddp_mul.c109 assert(xm & DP_HIDDEN_BIT); in ieee754dp_mul()
110 assert(ym & DP_HIDDEN_BIT); in ieee754dp_mul()
174 assert(rm & (DP_HIDDEN_BIT << 3)); in ieee754dp_mul()
/linux-2.4.37.9/drivers/sound/
Dvia82cxxx_audio.c57 #define assert(expr) macro
59 #define assert(expr) \ macro
545 assert (card != NULL); in via_stop_everything()
980 assert (chan != NULL); in via_chan_pcm_fmt()
1161 assert (val != AFMT_QUERY); /* this case is handled elsewhere */ in via_chan_set_fmt()
1356 assert (chan->slop_len > 0); in via_chan_flush_frag()
1365 assert (atomic_read (&chan->n_frags) > 0); in via_chan_flush_frag()
1383 assert (chan->is_active == sg_active(chan->iobase)); in via_chan_maybe_start()
1417 assert (card != NULL); in via_ac97_wait_idle()
1418 assert (card->pdev != NULL); in via_ac97_wait_idle()
[all …]
/linux-2.4.37.9/drivers/char/
Di810_rng.c59 #define assert(expr) macro
61 #define assert(expr) \ macro
100 assert (rng_mem != NULL); in rng_hwstatus()
106 assert (rng_mem != NULL); in rng_hwstatus_set()
114 assert (rng_mem != NULL); in rng_data_present()
122 assert (rng_mem != NULL); in rng_data_read()
Dhw_random.c70 #define assert(expr) macro
72 #define assert(expr) \ macro
194 assert (rng_mem != NULL); in intel_hwstatus()
200 assert (rng_mem != NULL); in intel_hwstatus_set()
207 assert (rng_mem != NULL); in intel_data_present()
215 assert (rng_mem != NULL); in intel_data_read()
541 assert(rng_ops != NULL); in rng_init_one()
/linux-2.4.37.9/arch/mips/au1000/csb250/
Dboard_setup.c58 extern int (*board_pci_idsel)(unsigned int devsel, int assert);
59 int csb250_pci_idsel(unsigned int devsel, int assert);
224 csb250_pci_idsel(unsigned int devsel, int assert) in csb250_pci_idsel() argument
236 if (assert) { in csb250_pci_idsel()
/linux-2.4.37.9/drivers/net/
Dpci-skeleton.c129 # define assert(expr) do {} while (0) macro
131 # define assert(expr) \ macro
599 assert (pdev != NULL); in netdrv_init_board()
600 assert (ioaddr_out != NULL); in netdrv_init_board()
690 assert (inb (pio_start+Config0) == readb (ioaddr+Config0)); in netdrv_init_board()
691 assert (inb (pio_start+Config1) == readb (ioaddr+Config1)); in netdrv_init_board()
692 assert (inb (pio_start+TxConfig) == readb (ioaddr+TxConfig)); in netdrv_init_board()
693 assert (inb (pio_start+RxConfig) == readb (ioaddr+RxConfig)); in netdrv_init_board()
757 assert (pdev != NULL); in netdrv_init_one()
758 assert (ent != NULL); in netdrv_init_one()
[all …]
Dr8169.c63 #define assert(expr) \ macro
71 #define assert(expr) do {} while (0) macro
611 assert(tp->mac_version > RTL_GIGA_MAC_VER_B); in rtl8169_phy_timer()
612 assert(tp->phy_version < RTL_GIGA_PHY_VER_G); in rtl8169_phy_timer()
676 assert(pdev != NULL); in rtl8169_init_board()
677 assert(ioaddr_out != NULL); in rtl8169_init_board()
818 assert(pdev != NULL); in rtl8169_init_one()
819 assert(ent != NULL); in rtl8169_init_one()
833 assert(ioaddr != NULL); in rtl8169_init_one()
834 assert(dev != NULL); in rtl8169_init_one()
[all …]
D8139too.c150 # define assert(expr) do {} while (0) macro
152 # define assert(expr) \ macro
714 assert (dev != NULL); in __rtl8139_cleanup_dev()
715 assert (dev->priv != NULL); in __rtl8139_cleanup_dev()
718 assert (tp->pci_dev != NULL); in __rtl8139_cleanup_dev()
765 assert (pdev != NULL); in rtl8139_init_board()
931 assert (pdev != NULL); in rtl8139_init_one()
932 assert (ent != NULL); in rtl8139_init_one()
960 assert (dev != NULL); in rtl8139_init_one()
962 assert (tp != NULL); in rtl8139_init_one()
[all …]
/linux-2.4.37.9/fs/jfs/
Djfs_debug.h42 #define assert(p) KERNEL_ASSERT(#p, p) macro
44 #define assert(p) do { \ macro
58 #define ASSERT(p) assert(p)
Djfs_dmap.c756 assert(nblocks > 0); in dbAlloc()
1849 assert((blkno & (BPERDMAP - 1)) == 0); in dbAllocCtl()
1976 assert(l2nb <= L2BPERDMAP); in dbAllocDmapLev()
2167 assert(dbitno + nblocks <= BPERDMAP); in dbAllocBits()
2311 assert(dbitno + nblocks <= BPERDMAP); in dbFreeBits()
2587 assert(level == bmp->db_maxlevel); in dbAdjCtl()
2697 assert(leaf[leafno] == NOFREE); in dbBackSplit()
2723 assert(bsz < le32_to_cpu(tp->dmt_nleafs)); in dbBackSplit()
2742 assert(leaf[leafno] == size); in dbBackSplit()
2800 assert(newval == leaf[buddy]); in dbJoin()
[all …]
/linux-2.4.37.9/drivers/video/riva/
Dfbdev.c79 #define assert(expr) \ macro
86 #define assert(expr) macro
688 assert(rinfo != NULL); in riva_set_dispsw()
1181 assert(var != NULL); in riva_get_cmap_len()
1286 assert(rivainfo != NULL); in riva_setcolreg()
1287 assert(rivainfo->currcon_display != NULL); in riva_setcolreg()
1313 assert(regno < 16); in riva_setcolreg()
1329 assert(regno < 16); in riva_setcolreg()
1359 assert(fix != NULL); in rivafb_get_fix()
1360 assert(info != NULL); in rivafb_get_fix()
[all …]
/linux-2.4.37.9/arch/cris/drivers/
Dusb-host.c200 #define assert(expr) ((void) ((expr) ? 0 : (err("assert failed at line %d",__LINE__)))) macro
327 assert(urb_entry); in urb_list_add()
344 assert(urb_entry); in __urb_list_entry()
345 assert(urb_entry->urb); in __urb_list_entry()
358 assert(urb_entry); in urb_list_del()
369 assert(urb_entry); in urb_list_move_last()
1396 assert(urb_list_empty(epid)); in etrax_usb_unlink_urb()
1560 assert(urb_priv); in etrax_usb_rx_interrupt()
1572 assert(urb_priv->rx_offset + myNextRxDesc->hw_len in etrax_usb_rx_interrupt()
1607 assert(packet->actual_length <= packet->length); in etrax_usb_rx_interrupt()
[all …]
/linux-2.4.37.9/drivers/video/
Dclgenfb.c101 #define assert(expr) \ macro
107 #define assert(expr) macro
736 assert (div != NULL); in clgen_get_mclk()
802 assert (var != NULL); in clgen_decode_var()
803 assert (par != NULL); in clgen_decode_var()
804 assert (info != NULL); in clgen_decode_var()
960 assert (FALSE); in clgen_decode_var()
1101 assert (fb_info != NULL); in clgen_set_mclk()
1731 assert (regno < 16); in clgen_setcolreg()
1748 assert (regno < 16); in clgen_setcolreg()
[all …]
/linux-2.4.37.9/drivers/usb/
Dusbvideo.c114 assert(rq != NULL); in RingQueue_Initialize()
125 assert(rq != NULL); in RingQueue_Allocate()
126 assert(rqLen > 0); in RingQueue_Allocate()
136 assert(rq->queue != NULL); in RingQueue_Allocate()
148 assert(rq != NULL); in RingQueue_Free()
160 assert(rq != NULL); in RingQueue_Dequeue()
161 assert(dst != NULL); in RingQueue_Dequeue()
192 assert(rq != NULL); in RingQueue_Enqueue()
193 assert(cdata != NULL); in RingQueue_Enqueue()
194 assert(rq->length > 0); in RingQueue_Enqueue()
[all …]

123