/hardware/ti/wlan/wl1271/platforms/os/common/inc/ |
D | cli_cu_common.h | 96 # define min(a, b) (((a)<(b)) ? (a) : (b)) argument 100 # define max(a, b) (((a)>(b)) ? (a) : (b)) argument
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 92 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/ |
D | loc_apicb_appinit.c | 25 #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/ |
D | node_util.cpp | 92 # 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()
|
D | node_buffer.cpp | 52 #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()
|
D | ctrl_server.cpp | 72 Buffer *b = Buffer::New(length); in ObtainBuffer() local 73 return b; in ObtainBuffer()
|
/hardware/broadcom/wlan/bcm4329/src/include/proto/ |
D | ethernet.h | 117 #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/ |
D | perf_rt.c | 281 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/ |
D | tidef.h | 100 #define TI_MAX(a,b) (((a) > (b)) ? (a) : (b)) argument 108 #define TI_MIN(a,b) (((a) < (b)) ? (a) : (b)) argument
|
/hardware/ril/libril/ |
D | ril_event.cpp | 50 #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/ |
D | loc_api_rpc_glue.c | 83 #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/ |
D | loc_api_rpc_glue.c | 83 #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/ |
D | cu_osapi.h | 41 #define max(a,b) ((a>b)?a:b) argument
|
/hardware/broadcom/wlan/bcm4329/src/include/ |
D | bcmutils.h | 399 #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, ...);
|
D | sbconfig.h | 40 #define SB_BUS_BASE(b) (SI_ENUM_BASE + (b) * SB_BUS_SIZE) argument
|
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
D | h264_utils.cpp | 139 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/ |
D | perf.h | 75 #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/ |
D | bcmutils.c | 1729 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()
|
D | siutils_priv.h | 96 #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/ |
D | G711DecTest.c | 205 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/ |
D | ti_video_config_parser.cpp | 37 #define LoadBYTE( b, p ) b = *(uint8 *)p; p += sizeof( uint8 ) argument
|
/hardware/libhardware/include/hardware/ |
D | copybit.h | 123 int b; member
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
D | dhd.h | 173 #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/ |
D | JPEGTest.c | 76 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/ |
D | G726DecTest.c | 133 int maxint(int a, int b); 165 int maxint(int a, int b) in maxint() argument 167 return (a>b) ? a : b; in maxint()
|