Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 92) sorted by relevance

1234

/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp75 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post() local
77 if (m->currentBuffer) in fb_post()
79 m->base.unlock(&m->base, m->currentBuffer); in fb_post()
80 m->currentBuffer = 0; in fb_post()
85 m->base.lock(&m->base, buffer, private_module_t::PRIV_USAGE_LOCKED_FOR_POST, in fb_post()
86 0, 0, m->info.xres, m->info.yres, NULL); in fb_post()
88 const size_t offset = (uintptr_t)hnd->base - (uintptr_t)m->framebuffer->base; in fb_post()
90 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
91 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
[all …]
Dalloc_device.cpp103 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_buffer() local
109 ret = ion_alloc(m->ion_client, size, 0, ION_HEAP_SYSTEM_MASK, 0, &(ion_hnd)); in gralloc_alloc_buffer()
113 AERR("Failed to ion_alloc from ion_client:%d", m->ion_client); in gralloc_alloc_buffer()
117 ret = ion_share(m->ion_client, ion_hnd, &shared_fd); in gralloc_alloc_buffer()
121 AERR("ion_share( %d ) failed", m->ion_client); in gralloc_alloc_buffer()
123 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()
125 AERR("ion_free( %d ) failed", m->ion_client); in gralloc_alloc_buffer()
135 AERR("ion_map( %d ) failed", m->ion_client); in gralloc_alloc_buffer()
137 if (0 != ion_free(m->ion_client, ion_hnd)) in gralloc_alloc_buffer()
139 AERR("ion_free( %d ) failed", m->ion_client); in gralloc_alloc_buffer()
[all …]
Dgralloc_module.cpp140 private_module_t *m = NULL; in gralloc_register_buffer() local
144 m = reinterpret_cast<private_module_t *>(pmodule); in gralloc_register_buffer()
157 if (m->ion_client <= 0) in gralloc_register_buffer()
160 m->ion_client = ion_open(); in gralloc_register_buffer()
162 if (m->ion_client < 0) in gralloc_register_buffer()
343 private_module_t *m = NULL; in gralloc_unlock() local
347 m = reinterpret_cast<private_module_t *>(pmodule); in gralloc_unlock()
/device/asus/fugu/libaudio/
Dalsa_utils.cpp153 Mode m; in loadCaps() local
162 m.fmt = static_cast<AudFormat>(tmp); in loadCaps()
163 ALOGI("Got mode %d from ALSA driver.", m.fmt); in loadCaps()
167 m.max_ch = static_cast<uint32_t>(tmp); in loadCaps()
171 m.sr_bitmask = static_cast<uint32_t>(tmp); in loadCaps()
175 m.bps_bitmask = 0; in loadCaps()
176 m.comp_bitrate = 0; in loadCaps()
178 if (m.fmt == kFmtLPCM) { in loadCaps()
181 m.bps_bitmask = static_cast<uint32_t>(tmp); in loadCaps()
182 } else if ((m.fmt >= kFmtAC3) && (m.fmt <= kFmtATRAC)) { // FIXME ATRAC is not last format!? in loadCaps()
[all …]
Dalsa_utils.h132 static bool sanityCheckMode(const Mode& m);
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
De_atan2f.c36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local
46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2f()
50 switch(m) { in __ieee754_atan2f()
63 switch(m) { in __ieee754_atan2f()
70 switch(m) { in __ieee754_atan2f()
85 m&=1; in __ieee754_atan2f()
89 switch (m) { in __ieee754_atan2f()
/device/google/contexthub/lib/libm/
Def_sqrt.c33 __int32_t ix,s,q,m,t,i; local
47 m = (ix>>23);
50 m -= i-1;
52 m -= 127; /* unbias exponent */
54 if(m&1) /* odd m, double x to make it even */
56 m >>= 1; /* m = [m/2] */
86 ix += (m <<23);
Def_atan2.c39 __int32_t k,m,hx,hy,ix,iy; local
49 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
53 switch(m) {
66 switch(m) {
73 switch(m) {
89 switch (m) {
Dkf_rem_pio2.c62 __int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
75 j = jv-jx; m = jx+jk;
76 for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (float) ipio2[j];
/device/google/contexthub/firmware/src/algos/
Dtime_sync.c36 size_t k, m; in time_sync_truncate() local
49 for (m = 0; m < NUM_TIME_SYNC_DATAPOINTS - 1; ++m) { in time_sync_truncate()
50 sync->time1[m] = sync->time1[m + 1]; in time_sync_truncate()
51 sync->time2[m] = sync->time2[m + 1]; in time_sync_truncate()
Dmat.c348 uint32_t i, j, k, l, m; in mat33GetEigenbasis() local
361 m = 0; in mat33GetEigenbasis()
363 if (fabsf(S->elem[k][ind[k]]) > fabsf(S->elem[m][ind[m]])) { in mat33GetEigenbasis()
364 m = k; in mat33GetEigenbasis()
368 k = m; in mat33GetEigenbasis()
369 l = ind[m]; in mat33GetEigenbasis()
428 m = k; in mat33GetEigenbasis()
430 if (_eigenvals[l] > _eigenvals[m]) { in mat33GetEigenbasis()
431 m = l; in mat33GetEigenbasis()
435 if (k != m) { in mat33GetEigenbasis()
[all …]
Dfusion.c548 struct Vec3 m; in fusionHandleAcc() local
549 mat33Apply(&m, &R, &fusion->Bm); in fusionHandleAcc()
551 fusionUpdate(fusion, &m, &fusion->Bm, in fusionHandleAcc()
591 int fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT) { in fusionHandleMag() argument
592 if (!fusion_init_complete(fusion, MAG, m, 0.0f /* dT */)) { in fusionHandleMag()
596 float magFieldSq = vec3NormSquared(m); in fusionHandleMag()
612 vec3Cross(&east, m, &up); in fusionHandleMag()
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DDemoKitActivity.java277 Message m = Message.obtain(mHandler, MESSAGE_SWITCH); in run() local
278 m.obj = new SwitchMsg(buffer[i + 1], buffer[i + 2]); in run()
279 mHandler.sendMessage(m); in run()
286 Message m = Message.obtain(mHandler, in run() local
288 m.obj = new TemperatureMsg(composeInt(buffer[i + 1], in run()
290 mHandler.sendMessage(m); in run()
297 Message m = Message.obtain(mHandler, MESSAGE_LIGHT); in run() local
298 m.obj = new LightMsg(composeInt(buffer[i + 1], in run()
300 mHandler.sendMessage(m); in run()
307 Message m = Message.obtain(mHandler, MESSAGE_JOY); in run() local
[all …]
DSlider.java54 public boolean onTouch(View v, MotionEvent m) {
60 double y = m.getY();
63 double x = m.getX();
/device/generic/goldfish/qemud/
Dqemud.c1594 multiplexer_control_accept( Multiplexer* m, Packet* p ) in multiplexer_control_accept() argument
1599 Client* client = client_new( m, fd, m->fdhandlers, &m->clients ); in multiplexer_control_accept()
1608 multiplexer_control_close( Multiplexer* m ) in multiplexer_control_close() argument
1614 multiplexer_init( Multiplexer* m, const char* serial_dev ) in multiplexer_init() argument
1620 looper_init( m->looper ); in multiplexer_init()
1621 fdhandler_list_init( m->fdhandlers, m->looper ); in multiplexer_init()
1641 recv.user = m; in multiplexer_init()
1645 serial_init( m->serial, fd, m->fdhandlers, &recv ); in multiplexer_init()
1648 recv.user = m; in multiplexer_init()
1657 fdhandler_new_accept( fd, m->fdhandlers, &recv ); in multiplexer_init()
[all …]
/device/google/marlin/common/
Dutils.mk35 $(eval m:= $(findstring $(w),$(wl))) \
36 $(if $(m),$(1),) \
/device/google/contexthub/firmware/inc/algos/
Dfusion.h79 int fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT);
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles.cpp156 void glLoadMatrixf(const GLfloat *m) in glLoadMatrixf() argument
158 getDispatch()->glLoadMatrixf(m); in glLoadMatrixf()
171 void glMultMatrixf(const GLfloat *m) in glMultMatrixf() argument
173 getDispatch()->glMultMatrixf(m); in glMultMatrixf()
571 void glLoadMatrixx(const GLfixed *m) in glLoadMatrixx() argument
573 getDispatch()->glLoadMatrixx(m); in glLoadMatrixx()
596 void glMultMatrixx(const GLfixed *m) in glMultMatrixx() argument
598 getDispatch()->glMultMatrixx(m); in glMultMatrixx()
946 void glLoadMatrixxOES(const GLfixed *m) in glLoadMatrixxOES() argument
948 getDispatch()->glLoadMatrixxOES(m); in glLoadMatrixxOES()
[all …]
/device/htc/flounder/VolantisKeyboard/res/raw/
Dkeyboard_layout_volantis_japanese.kcm290 label: 'm'
291 base: 'm'
Dkeyboard_layout_volantis_english_us.kcm288 label: 'm'
289 base: 'm'
Dkeyboard_layout_volantis_english_uk.kcm300 label: 'm'
301 base: 'm'
/device/google/dragon/DragonKeyboard/res/raw/
Dkeyboard_layout_dragon_english_us.kcm273 label: 'm'
274 base: 'm'
Dkeyboard_layout_dragon_english_uk.kcm285 label: 'm'
286 base: 'm'
Dkeyboard_layout_dragon_french.kcm237 label: 'm'
238 base: 'm'
Dkeyboard_layout_dragon_spanish.kcm282 label: 'm'
283 base: 'm'

1234