/hardware/invensense/mlsdk/mllite/ |
D | mlMathFunc.h | 36 const long *b; member 43 long inv_q29_mult(long a, long b); 44 long inv_q30_mult(long a, long b); 59 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y); 61 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y);
|
D | mlMathFunc.c | 39 const long *b = state->b; in inv_filter_long() local 46 tmp = (long long)x *(b[0]); in inv_filter_long() 48 tmp += ((long long)state->x[ii] * (long long)(b[ii + 1])); in inv_filter_long() 72 long inv_q29_mult(long a, long b) in inv_q29_mult() argument 76 temp = (long long)a *b; in inv_q29_mult() 88 long inv_q30_mult(long a, long b) in inv_q30_mult() argument 92 temp = (long long)a *b; in inv_q30_mult() 280 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y) in inv_matrix_det_inc() argument 289 *(b + 10 * k + l) = *(a + 10 * i + j); in inv_matrix_det_inc() 295 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y) in inv_matrix_det_incd() argument [all …]
|
D | mlsupervisor.c | 116 int a, b; in MLUpdateCompassCalibration3DOF() local 150 b = a; in MLUpdateCompassCalibration3DOF() 151 for (i = 0; i < b; i++) { in MLUpdateCompassCalibration3DOF() 152 for (j = 0; j < b; j++) { in MLUpdateCompassCalibration3DOF() 153 a = b; in MLUpdateCompassCalibration3DOF() 158 a = b; in MLUpdateCompassCalibration3DOF()
|
D | ml.c | 1450 unsigned short b; in inv_row_2_scale() local 1453 b = 0; in inv_row_2_scale() 1455 b = 4; in inv_row_2_scale() 1457 b = 1; in inv_row_2_scale() 1459 b = 5; in inv_row_2_scale() 1461 b = 2; in inv_row_2_scale() 1463 b = 6; in inv_row_2_scale() 1465 b = 7; // error in inv_row_2_scale() 1466 return b; in inv_row_2_scale()
|
/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() 308 Local<Value> b = Encode(data, end - start, BINARY); in BinarySlice() local 311 return scope.Close(b); in BinarySlice()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | ethernet.h | 118 #define ether_cmp(a, b) (!(((short*)a)[0] == ((short*)b)[0]) | \ argument 119 !(((short*)a)[1] == ((short*)b)[1]) | \ 120 !(((short*)a)[2] == ((short*)b)[2]))
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/ |
D | ethernet.h | 118 #define ether_cmp(a, b) (!(((short*)a)[0] == ((short*)b)[0]) | \ argument 119 !(((short*)a)[1] == ((short*)b)[1]) | \ 120 !(((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/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-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/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/broadcom/wlan/bcm4329/dhdutil/include/ |
D | bcmutils.h | 515 #define MIN(a, b) (((a) < (b))?(a):(b)) argument 519 #define MAX(a, b) (((a) > (b))?(a):(b)) argument 677 extern void bcm_binit(struct bcmstrbuf *b, char *buf, uint size); 678 extern int bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 515 #define MIN(a, b) (((a) < (b))?(a):(b)) argument 519 #define MAX(a, b) (((a) > (b))?(a):(b)) argument 677 extern void bcm_binit(struct bcmstrbuf *b, char *buf, uint size); 678 extern int bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...);
|
/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/dhdutil/ |
D | bcmutils.c | 1802 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) in bcm_binit() argument 1804 b->origsize = b->size = size; in bcm_binit() 1805 b->origbuf = b->buf = buf; in bcm_binit() 1810 bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...) in bcm_bprintf() argument 1816 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf() 1822 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf() 1823 b->size = 0; in bcm_bprintf() 1825 b->size -= r; in bcm_bprintf() 1826 b->buf += r; in bcm_bprintf()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 1802 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) in bcm_binit() argument 1804 b->origsize = b->size = size; in bcm_binit() 1805 b->origbuf = b->buf = buf; in bcm_binit() 1810 bcm_bprintf(struct bcmstrbuf *b, const char *fmt, ...) in bcm_bprintf() argument 1816 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf() 1822 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf() 1823 b->size = 0; in bcm_bprintf() 1825 b->size -= r; in bcm_bprintf() 1826 b->buf += r; in bcm_bprintf()
|
/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/omap4xxx/hwc/ |
D | hwc.c | 41 #define min(a, b) ( { typeof(a) __a = (a), __b = (b); __a < __b ? __a : __b; } ) argument 42 #define max(a, b) ( { typeof(a) __a = (a), __b = (b); __a > __b ? __a : __b; } ) argument 43 #define swap(a, b) do { typeof(a) __a = (a); (a) = (b); (b) = __a; } while (0) argument 59 #define MIN(a,b) ((a)<(b)?(a):(b)) argument 60 #define MAX(a,b) ((a)>(b)?(a):(b)) argument
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
D | schannel6_protocol.h | 115 uint32_t b; member 145 uint32_t b; member
|
/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/ti/omap4xxx/security/tf_sdk/include/ |
D | tee_client_api.h | 96 uint32_t b; member
|