Home
last modified time | relevance | path

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

123

/hardware/ti/wlan/wl1271/platforms/os/common/inc/
Dcli_cu_common.h96 # define min(a, b) (((a)<(b)) ? (a) : (b)) argument
100 # define max(a, b) (((a)>(b)) ? (a) : (b)) argument
/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()
168 e->dst_rect.h = clip.b - clip.t; in set_rects()
174 e->src_rect.w = (clip.b - clip.t); in set_rects()
176 W = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc/src/
Dloc_apicb_appinit.c25 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
26 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/ril/mock-ril/src/cpp/
Dnode_util.cpp92 # define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
136 unsigned char *b = reinterpret_cast<unsigned char*>(&twobytebuf[i]); in DecodeWrite() local
137 assert(b[1] == 0); in DecodeWrite()
138 buf[i] = b[0]; in DecodeWrite()
Dnode_buffer.cpp52 #define MIN(a,b) ((a) < (b) ? (a) : (b)) argument
168 Local<Object> b = constructor_template->GetFunction()->NewInstance(1, &arg); in New() local
171 return ObjectWrap::Unwrap<Buffer>(b); in New()
310 Local<Value> b = Encode(data, end - start, BINARY); in BinarySlice() local
313 return scope.Close(b); in BinarySlice()
Dctrl_server.cpp72 Buffer *b = Buffer::New(length); in ObtainBuffer() local
73 return b; in ObtainBuffer()
/hardware/broadcom/wlan/bcm4329/src/include/proto/
Dethernet.h117 #define ether_cmp(a, b) (!(((short*)a)[0] == ((short*)b)[0]) | \ argument
118 !(((short*)a)[1] == ((short*)b)[1]) | \
119 !(((short*)a)[2] == ((short*)b)[2]))
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
Dperf_rt.c281 double b = (a + 1) / 2; in my_sqrt() local
282 b = (b + a/b) / 2; in my_sqrt()
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 return (b + a/b) / 2; in my_sqrt()
/hardware/ti/wlan/wl1271/utils/
Dtidef.h100 #define TI_MAX(a,b) (((a) > (b)) ? (a) : (b)) argument
108 #define TI_MIN(a,b) (((a) < (b)) ? (a) : (b)) argument
/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/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_rpc_glue.c83 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
84 #define RPC_FUNC_VERSION(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_rpc_glue.c83 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
84 #define RPC_FUNC_VERSION(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/ti/wlan/wl1271/CUDK/os/common/inc/
Dcu_osapi.h41 #define max(a,b) ((a>b)?a:b) argument
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmutils.h399 #define MIN(a, b) (((a) < (b))?(a):(b)) argument
403 #define MAX(a, b) (((a) > (b))?(a):(b)) argument
612 extern void bcm_binit(struct bcmstrbuf *b, char *buf, uint size);
613 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
/hardware/qcom/media/mm-video/vidc/vdec/src/
Dh264_utils.cpp139 for (uint32 b = 0; !b; ++leadingZeroBits) in ue() local
141 b = u (1); in ue()
/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.c1729 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) in bcm_binit() argument
1731 b->origsize = b->size = size; in bcm_binit()
1732 b->origbuf = b->buf = buf; in bcm_binit()
1737 bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...) in bcm_bprintf() argument
1743 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf()
1749 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf()
1750 b->size = 0; in bcm_bprintf()
1752 b->size -= r; in bcm_bprintf()
1753 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.h173 #define _DHD_PM_RESUME_WAIT(a, b) do { \ argument
176 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()

123