Home
last modified time | relevance | path

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

123

/hardware/invensense/mlsdk/mllite/
DmlMathFunc.h36 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);
DmlMathFunc.c39 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 …]
Dmlsupervisor.c116 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()
Dml.c1450 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/
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()
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/
Dethernet.h118 #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/
Dethernet.h118 #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/
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/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-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/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/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h515 #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/
Dbcmutils.h515 #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/
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/dhdutil/
Dbcmutils.c1802 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/
Dbcmutils.c1802 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/
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/omap4xxx/hwc/
Dhwc.c41 #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/
Dschannel6_protocol.h115 uint32_t b; member
145 uint32_t b; member
/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/ti/omap4xxx/security/tf_sdk/include/
Dtee_client_api.h96 uint32_t b; member

123