/external/dropbear/ |
bignum.h | 30 void m_mp_init(mp_int *mp); 31 void m_mp_init_multi(mp_int *mp, ...); 32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); 33 void sha1_process_mp(hash_state *hs, mp_int *mp);
|
bignum.c | 31 void m_mp_init(mp_int *mp) { 33 if (mp_init(mp) != MP_OKAY) { 40 void m_mp_init_multi(mp_int *mp, ...) 42 mp_int* cur_arg = mp; 45 va_start(args, mp); /* init args to next argument from caller */ 55 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len) { 57 if (mp_read_unsigned_bin(mp, (unsigned char*)bytes, len) != MP_OKAY) { 62 /* hash the ssh representation of the mp_int mp */ 63 void sha1_process_mp(hash_state *hs, mp_int *mp) { 70 buf_putmpint(buf, mp); [all...] |
/external/dropbear/libtommath/ |
bn_mp_clear_multi.c | 19 void mp_clear_multi(mp_int *mp, ...) 21 mp_int* next_mp = mp; 23 va_start(args, mp);
|
bn_mp_init_multi.c | 19 int mp_init_multi(mp_int *mp, ...) 23 mp_int* cur_arg = mp; 26 va_start(args, mp); /* init args to next argument from caller */ 38 cur_arg = mp; 39 va_start(clean_args, mp);
|
bn_mp_exptmod_fast.c | 35 mp_digit buf, mp; local 89 if ((err = mp_montgomery_setup (P, &mp)) != MP_OKAY) { 116 mp_dr_setup(P, &mp); 125 if ((err = mp_reduce_2k_setup(P, &mp)) != MP_OKAY) { 178 if ((err = redux (&M[1 << (winsize - 1)], P, mp)) != MP_OKAY) { 188 if ((err = redux (&M[x], P, mp)) != MP_OKAY) { 231 if ((err = redux (&res, P, mp)) != MP_OKAY) { 248 if ((err = redux (&res, P, mp)) != MP_OKAY) { 257 if ((err = redux (&res, P, mp)) != MP_OKAY) { 275 if ((err = redux (&res, P, mp)) != MP_OKAY) [all...] |
/external/dropbear/libtomcrypt/src/misc/crypt/ |
crypt_fsa.c | 20 int crypt_fsa(void *mp, ...) 26 va_start(args, mp); 27 if (mp != NULL) { 28 XMEMCPY(<c_mp, mp, sizeof(ltc_mp));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 84 MediaPlayer mp = new MediaPlayer(); local 86 mp.setDataSource(filePath); 87 mp.prepare(); 91 int duration = mp.getDuration(); 93 mp.release(); 103 MediaPlayer mp = new MediaPlayer(); local 105 mp.setDataSource(filePath); 107 mp.prepare(); 108 mp.start(); 111 mp.pause() 136 MediaPlayer mp = new MediaPlayer(); local 163 MediaPlayer mp = new MediaPlayer(); local 201 MediaPlayer mp = new MediaPlayer(); local 226 MediaPlayer mp = new MediaPlayer(); local 235 MediaPlayer mp = new MediaPlayer(); local 329 MediaPlayer mp = new MediaPlayer(); local 375 MediaPlayer mp = new MediaPlayer(); local 403 MediaPlayer mp = new MediaPlayer(); local 431 MediaPlayer mp = new MediaPlayer(); local 461 MediaPlayer mp = new MediaPlayer(); local 499 MediaPlayer mp = new MediaPlayer(); local 567 MediaPlayer mp = new MediaPlayer(); local 586 MediaPlayer mp = new MediaPlayer(); local 600 MediaPlayer mp = null; local 634 MediaPlayer mp = null; local [all...] |
MediaPresetReverbTest.java | 190 MediaPlayer mp = null; local 208 mp = new MediaPlayer(); 209 mp.setDataSource(MediaNames.SINE_200_1000); 210 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); 211 mp.attachAuxEffect(mReverb.getId()); 212 mp.setAuxEffectSendLevel(1.0f); 215 mp.prepare(); 216 mp.start(); 218 mp.stop(); 238 if (mp != null) 259 MediaPlayer mp = null; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStressTest.java | 69 MediaPlayer mp = new MediaPlayer(); local 70 mp.setDataSource(MediaNames.STREAM_H264_480_360_1411k); 71 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()); 72 mp.prepare(); 73 mp.start(); 82 mp.seekTo(seek_time); 84 mp.release(); 107 MediaPlayer mp = new MediaPlayer(); local 108 mp.setDataSource(MediaNames.VIDEO_H263_AMR); 109 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder()) [all...] |
/external/libgsm/src/ |
preprocess.c | 42 word mp = S->mp; local 105 msp = GSM_MULT_R( mp, -28180 ); 106 mp = SASR( L_temp, 15 ); 107 *so++ = GSM_ADD( mp, msp ); 112 S->mp = mp;
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 81 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { 220 MediaPlayer mp = MediaPlayer.create(mContext, resid); local 221 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); 222 mp.setWakeMode(mContext, PowerManager.PARTIAL_WAKE_LOCK); 224 assertFalse(mp.isPlaying()); 225 mp.start(); 226 assertTrue(mp.isPlaying()); 228 assertFalse(mp.isLooping()); 229 mp.setLooping(true); 230 assertTrue(mp.isLooping()) 610 MediaPlayer mp = new MediaPlayer(); local [all...] |
/external/dropbear/libtommath/mtest/ |
mpi.h | 56 #define SIGN(MP) ((MP)->sign) 57 #define USED(MP) ((MP)->used) 58 #define ALLOC(MP) ((MP)->alloc) 59 #define DIGITS(MP) ((MP)->dp) 60 #define DIGIT(MP,N) (MP)->dp[(N) [all...] |
mpi.c | 160 mp_err s_mp_grow(mp_int *mp, mp_size min); /* increase allocated size */ 161 mp_err s_mp_pad(mp_int *mp, mp_size min); /* left pad with zeroes */ 163 void s_mp_clamp(mp_int *mp); /* clip leading zeroes */ 167 mp_err s_mp_lshd(mp_int *mp, mp_size p); /* left-shift by p digits */ 168 void s_mp_rshd(mp_int *mp, mp_size p); /* right-shift by p digits */ 169 void s_mp_div_2d(mp_int *mp, mp_digit d); /* divide by 2^d in place */ 170 void s_mp_mod_2d(mp_int *mp, mp_digit d); /* modulo 2^d in place */ 171 mp_err s_mp_mul_2d(mp_int *mp, mp_digit d); /* multiply by 2^d in place*/ 172 void s_mp_div_2(mp_int *mp); /* divide by 2 in place */ 173 mp_err s_mp_mul_2(mp_int *mp); /* multiply by 2 in place * [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/ |
MediaPlayerPowerTest.java | 51 MediaPlayer mp = new MediaPlayer(); local 52 mp.setDataSource(filePath); 53 mp.prepare(); 54 mp.start(); 56 mp.stop(); 57 mp.release();
|
/frameworks/base/media/jni/ |
android_media_MediaPlayer.cpp | 140 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 141 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); 163 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 164 if (mp == NULL ) { 253 mp->setDataSource( 274 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 275 if (mp == NULL ) { 286 process_media_player_call( env, thiz, mp->setDataSource(fd, offset, length), "java/io/IOException", "setDataSourceFD failed." ); 289 static void setVideoSurface(const sp<MediaPlayer>& mp, JNIEnv *env, jobject thiz 303 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 314 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 326 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 345 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 357 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 369 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 380 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 394 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 406 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 423 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 441 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 455 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 470 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 482 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 494 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 506 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 518 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 650 sp<MediaPlayer> mp = new MediaPlayer(); local 668 sp<MediaPlayer> mp = setMediaPlayer(env, thiz, 0); local 687 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 698 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 708 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 721 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local 731 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); local [all...] |
android_media_MediaScanner.cpp | 151 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); local 175 mp->processDirectory(pathStr, extensionsStr, myClient, ExceptionCheck, env); 183 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); local 203 mp->processFile(pathStr, mimeTypeStr, myClient); 213 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); local 224 mp->setLocale(localeStr); 232 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); local 240 char* data = mp->extractAlbumArt(fd); 286 MediaScanner *mp = new StagefrightMediaScanner; local 288 if (mp == NULL) 299 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); local [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_mulmod_timing.c | 41 void *mu, *mp; local 51 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) { 55 mp_montgomery_free(mp); 60 mp_montgomery_free(mp); 72 mp_montgomery_free(mp); 94 if ((err = ltc_mp.ecc_ptdbl(tG, M[1], modulus, mp)) != CRYPT_OK) { goto done; } 122 if ((err = ltc_mp.ecc_ptadd(M[0], M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; } 123 if ((err = ltc_mp.ecc_ptdbl(M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; } 130 if ((err = ltc_mp.ecc_ptadd(M[0], M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; } 131 if ((err = ltc_mp.ecc_ptdbl(M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; [all...] |
ltc_ecc_map.c | 30 @param mp The "b" value from montgomery_setup() 33 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) 40 LTC_ARGCHK(mp != NULL); 47 if ((err = mp_montgomery_reduce(P->z, modulus, mp)) != CRYPT_OK) { goto done; } 60 if ((err = mp_montgomery_reduce(P->x, modulus, mp)) != CRYPT_OK) { goto done; } 62 if ((err = mp_montgomery_reduce(P->y, modulus, mp)) != CRYPT_OK) { goto done; }
|
ltc_ecc_mulmod.c | 43 void *mu, *mp; local 53 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) { 57 mp_montgomery_free(mp); 61 mp_montgomery_free(mp); 73 mp_montgomery_free(mp); 98 if ((err = ltc_mp.ecc_ptdbl(tG, M[0], modulus, mp)) != CRYPT_OK) { goto done; } 99 if ((err = ltc_mp.ecc_ptdbl(M[0], M[0], modulus, mp)) != CRYPT_OK) { goto done; } 100 if ((err = ltc_mp.ecc_ptdbl(M[0], M[0], modulus, mp)) != CRYPT_OK) { goto done; } 104 if ((err = ltc_mp.ecc_ptadd(M[j-9], tG, M[j-8], modulus, mp)) != CRYPT_OK) { goto done; } 138 if ((err = ltc_mp.ecc_ptdbl(R, R, modulus, mp)) != CRYPT_OK) { goto done; [all...] |
ltc_ecc_projective_add_point.c | 32 @param mp The "b" value from montgomery_setup() 35 int ltc_ecc_projective_add_point(ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, void *mp) 44 LTC_ARGCHK(mp != NULL); 57 return ltc_ecc_projective_dbl_point(P, R, modulus, mp); 68 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } 71 if ((err = mp_montgomery_reduce(x, modulus, mp)) != CRYPT_OK) { goto done; } 74 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } 77 if ((err = mp_montgomery_reduce(y, modulus, mp)) != CRYPT_OK) { goto done; } 82 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } 85 if ((err = mp_montgomery_reduce(t2, modulus, mp)) != CRYPT_OK) { goto done; [all...] |
ltc_ecc_mul2add.c | 46 void *mp, *mu; local 97 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) { 117 if ((err = ltc_mp.ecc_ptdbl(precomp[1], precomp[2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 118 if ((err = ltc_mp.ecc_ptadd(precomp[1], precomp[2], precomp[3], modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 121 if ((err = ltc_mp.ecc_ptdbl(precomp[1<<2], precomp[2<<2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 122 if ((err = ltc_mp.ecc_ptadd(precomp[1<<2], precomp[2<<2], precomp[3<<2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 127 if ((err = ltc_mp.ecc_ptadd(precomp[x], precomp[(y<<2)], precomp[x+(y<<2)], modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 160 if ((err = ltc_mp.ecc_ptdbl(C, C, modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 161 if ((err = ltc_mp.ecc_ptdbl(C, C, modulus, mp)) != CRYPT_OK) { goto ERR_MU; } 174 if ((err = ltc_mp.ecc_ptadd(C, precomp[nA + (nB<<2)], C, modulus, mp)) != CRYPT_OK) { goto ERR_MU; [all...] |
/external/dropbear/libtommath/etc/ |
mont.c | 7 mp_digit mp; local 23 mp_montgomery_setup(&modulus, &mp); 29 mp_montgomery_reduce(&pp, &modulus, mp);
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_misc.h | 19 int crypt_fsa(void *mp, ...);
|
/external/blktrace/btt/ |
seek.c | 159 static void __mode(struct rb_node *n, struct mode *mp) 164 __mode(n->rb_left, mp); 166 __mode(n->rb_right, mp); 169 if (mp->modes == NULL) { 170 mp->modes = malloc(sizeof(long long)); 171 mp->nmds = 0; 172 } else if (sbp->nseeks > mp->most_seeks) 173 mp->nmds = 0; 174 else if (sbp->nseeks == mp->most_seeks) 175 mp->modes = realloc(mp->modes, (mp->nmds + 1) [all...] |
/frameworks/base/media/java/android/media/ |
MediaPlayer.java | 627 MediaPlayer mp = new MediaPlayer(); local 628 mp.setDataSource(context, uri); 630 mp.setDisplay(holder); 632 mp.prepare(); 633 return mp; 665 MediaPlayer mp = new MediaPlayer(); 666 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 668 mp.prepare(); 669 return mp; 1379 MediaPlayer mp = (MediaPlayer)((WeakReference)mediaplayer_ref).get(); local [all...] |