Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 41) sorted by relevance

12

/hardware/msm7k/libcopybit/
Dcopybit.cpp92 static inline int min(int a, int b) { in min() argument
93 return (a<b) ? a : b; in min()
97 static inline int max(int a, int b) { in max() argument
98 return (a>b) ? a : b; in max()
102 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
105 *b = (mul * *b) / div; in MULDIV()
116 out->b = min(lhs->b, rhs->b); in intersect()
167 e->dst_rect.h = clip.b - clip.t; in set_rects()
173 e->src_rect.w = (clip.b - clip.t); in set_rects()
175 W = dst->b - dst->t; in set_rects()
[all …]
/hardware/broadcom/wlan/bcm4329/src/include/proto/
Dethernet.h116 #define ether_cmp(a, b) (!(((short*)a)[0] == ((short*)b)[0]) | \ argument
117 !(((short*)a)[1] == ((short*)b)[1]) | \
118 !(((short*)a)[2] == ((short*)b)[2]))
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
Dperf_rt.c282 double b = (a + 1) / 2; in my_sqrt() local
283 b = (b + a/b) / 2; in my_sqrt()
284 b = (b + a/b) / 2; in my_sqrt()
285 b = (b + a/b) / 2; in my_sqrt()
286 b = (b + a/b) / 2; in my_sqrt()
287 b = (b + a/b) / 2; in my_sqrt()
288 b = (b + a/b) / 2; in my_sqrt()
289 return (b + a/b) / 2; in my_sqrt()
/hardware/ril/libril/
Dril_event.cpp50 #define timercmp(a, b, op) \ argument
51 ((a)->tv_sec == (b)->tv_sec \
52 ? (a)->tv_usec op (b)->tv_usec \
53 : (a)->tv_sec op (b)->tv_sec)
57 #define timersub(a, b, res) \ argument
59 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
60 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmutils.h393 #define MIN(a, b) (((a) < (b))?(a):(b)) argument
397 #define MAX(a, b) (((a) > (b))?(a):(b)) argument
606 extern void bcm_binit(struct bcmstrbuf *b, char *buf, uint size);
607 extern int bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...);
Dsbconfig.h40 #define SB_BUS_BASE(b) (SI_ENUM_BASE + (b) * SB_BUS_SIZE) argument
Dlinux_osl.h205 #define bzero(b, len) memset((b), '\0', (len)) argument
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
Dperf.h75 #define PERF_FOURCC(a,b,c,d) \ argument
77 ((((unsigned long) (b)) & 0xFF) << 16) | \
88 #define PREF(a,b) ((a) ? (a)->b : 0) argument
/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c1724 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) in bcm_binit() argument
1726 b->origsize = b->size = size; in bcm_binit()
1727 b->origbuf = b->buf = buf; in bcm_binit()
1732 bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...) in bcm_bprintf() argument
1738 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf()
1744 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf()
1745 b->size = 0; in bcm_bprintf()
1747 b->size -= r; in bcm_bprintf()
1748 b->buf += r; in bcm_bprintf()
Dsiutils_priv.h96 #define GOODCOREADDR(x, b) (((x) >= (b)) && ((x) < ((b) + SI_MAXCORES * SI_CORE_SIZE)) && \ argument
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c205 OMX_S16 maxint(OMX_S16 a, OMX_S16 b);
259 OMX_S16 maxint(OMX_S16 a, OMX_S16 b) in maxint() argument
261 return (a>b) ? a : b; in maxint()
1390 int a, b; in main() local
1392 b = (int)argv[7]; in main()
1396 if(((a != 8000)) || ((b <= 0) || (b >= 3))){ in main()
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_video_config_parser.cpp37 #define LoadBYTE( b, p ) b = *(uint8 *)p; p += sizeof( uint8 ) argument
/hardware/libhardware/include/hardware/
Dcopybit.h123 int b; member
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd.h166 #define _DHD_PM_RESUME_WAIT(a, b) do {\ argument
168 while (dhd_mmc_suspend && retry++ != b) { \
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c76 inline int maxint(int a, int b) in maxint() argument
78 return(a>b) ? a : b; in maxint()
189 int b = 0; local
209 ReadFile(infile, &b, 1, &got, NULL);
210 if ( a != 0xff || b != M_SOI ) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c133 int maxint(int a, int b);
165 int maxint(int a, int b) in maxint() argument
167 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c119 int maxint(int a, int b);
140 int maxint(int a, int b) in maxint() argument
142 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c655 inline int maxint(int a, int b);
663 inline int maxint(int a, int b) in maxint() argument
665 return(a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c193 int maxint(int a, int b);
229 int maxint(int a, int b) in maxint() argument
231 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c209 int maxint(int a, int b);
243 int maxint(int a, int b) in maxint() argument
245 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c176 OMX_S16 maxint(OMX_S16 a, OMX_S16 b);
230 OMX_S16 maxint(OMX_S16 a, OMX_S16 b) in maxint() argument
232 return (a>b) ? a : b; in maxint()
/hardware/ril/reference-ril/
Dreference-ril.c95 #define RIL_onUnsolicitedResponse(a,b,c) s_rilenv->OnUnsolicitedResponse(a,b,c) argument
96 #define RIL_requestTimedCallback(a,b,c) s_rilenv->RequestTimedCallback(a,b,c) argument
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c120 int maxint (int a, int b);
633 int maxint(int a, int b) in maxint() argument
635 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c271 int maxint(int a, int b);
300 int maxint(int a, int b) in maxint() argument
302 return (a>b) ? a : b; in maxint()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c228 int maxint(int a, int b);
259 int maxint(int a, int b) in maxint() argument
261 return (a>b) ? a : b; in maxint()

12