/external/regex-re2/util/ |
hash.cc | 10 hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final() 24 mix(a,b,c); 26 mix(a,b,c); 32 a mix of things, see the comments above hashlittle(). 35 then mix those integers. This is fast (you can do a lot more thorough 47 mix -- mix 3 32-bit values reversibly. 49 This is reversible, so any information in (a,b,c) before mix() is 50 still in (a,b,c) after mix(). 52 If four pairs of (a,b,c) inputs are run through mix(), or throug 89 #define mix macro [all...] |
/external/clang/test/CXX/except/except.spec/ |
p1.cpp | 44 namespace mix { namespace
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPolicyMix.cpp | 44 void AudioPolicyMix::setMix(AudioMix &mix) 46 mMix = mix; 54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix) 58 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string()); 62 policyMix->setMix(mix); 71 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()); 84 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()); 106 AudioMix *mix = policyMix->getMix(); local 108 if (mix->mMixType == MIX_TYPE_PLAYERS) { 109 for (size_t j = 0; j < mix->mCriteria.size(); j++) 147 AudioMix *mix = valueAt(i)->getMix(); local 183 AudioMix *mix = audioPolicyMix->getMix(); local [all...] |
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
SynthVoice.java | 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { method in class:SynthVoice
|
SynthEngine.java | 192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f);
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformat.c | 17 static MIX_RESULT mix_videofmt_getcaps_default(MixVideoFormat *mix, 19 static MIX_RESULT mix_videofmt_initialize_default(MixVideoFormat *mix, 26 mix_videofmt_decode_default(MixVideoFormat *mix, 29 static MIX_RESULT mix_videofmt_flush_default(MixVideoFormat *mix); 30 static MIX_RESULT mix_videofmt_eos_default(MixVideoFormat *mix); 31 static MIX_RESULT mix_videofmt_deinitialize_default(MixVideoFormat *mix); 91 MixVideoFormat *mix = MIX_VIDEOFORMAT(obj); local 94 if(mix->objectlock) { 95 g_mutex_free(mix->objectlock); 96 mix->objectlock = NULL [all...] |
mixvideoformatenc.c | 15 static MIX_RESULT mix_videofmtenc_getcaps_default(MixVideoFormatEnc *mix, 17 static MIX_RESULT mix_videofmtenc_initialize_default(MixVideoFormatEnc *mix, 25 mix_videofmtenc_encode_default(MixVideoFormatEnc *mix, MixBuffer * bufin[], 28 static MIX_RESULT mix_videofmtenc_flush_default(MixVideoFormatEnc *mix); 29 static MIX_RESULT mix_videofmtenc_eos_default(MixVideoFormatEnc *mix); 30 static MIX_RESULT mix_videofmtenc_deinitialize_default(MixVideoFormatEnc *mix); 32 MixVideoFormatEnc *mix, guint *max_size); 111 MixVideoFormatEnc *mix = MIX_VIDEOFORMATENC(obj); local 115 if(mix->objectlock) { 116 g_mutex_free(mix->objectlock) [all...] |
mixvideo.c | 47 #define MIX_VIDEO_PRIVATE(mix) (MixVideoPrivate *)(mix->context) 49 #define MIX_VIDEO_PRIVATE(mix) MIX_VIDEO_GET_PRIVATE(mix) 52 #define CHECK_INIT(mix, priv) \ 53 if (!mix) { \ 56 if (!MIX_IS_VIDEO(mix)) { \ 60 priv = MIX_VIDEO_PRIVATE(mix); \ 66 #define CHECK_INIT_CONFIG(mix, priv) \ 67 CHECK_INIT(mix, priv); 182 MixVideo *mix = MIX_VIDEO(obj); local [all...] |
/art/test/044-proxy/src/ |
WrappedThrow.java | 29 WTMix mix = new WTMix(); local 30 InvocationHandler handler = new WTInvocationHandler(mix);
|
/external/clang/test/CodeGen/ |
pragma-weak.c | 94 void mix(void); 95 #pragma weak mix macro 96 __attribute((weak)) void mix(void) { } function 97 // CHECK-LABEL: define weak void @mix()
|
/external/deqp/framework/common/ |
tcuVectorUtil.hpp | 70 inline float mix (float x, float y, float a) { return x * (1.0f - a) + y * a; } function in namespace:tcu 80 inline double mix (double x, double y, double a) { return x * (1.0 - a) + y * a; } function in namespace:tcu 206 Vector<float, Size> mix (const Vector<float, Size>& x, const Vector<float, Size>& y, float a) function in namespace:tcu 215 Vector<double, Size> mix (const Vector<double, Size>& x, const Vector<double, Size>& y, double a) function in namespace:tcu 460 TCU_DECLARE_VECTOR_TERNARY_FUNC(mix, deFloatMix)
|
/external/selinux/libsepol/src/ |
avtab.c | 66 #define mix(input) { \ macro 76 mix(keyp->target_class); 77 mix(keyp->target_type); 78 mix(keyp->source_type); 80 #undef mix macro
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_fmengine.c | 277 EAS_BOOL mix, 344 if (mix) 388 EAS_BOOL mix, 442 if (mix) 558 EAS_BOOL mix; local 614 /* operator 4 is in mix mode in modes 0 and 1 */ 615 mix = (mode < 2); 623 mix, 635 mix, 654 /* operator 1 is in mix mode in modes 0 and 5 * [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_fmengine.c | 277 EAS_BOOL mix, 344 if (mix) 388 EAS_BOOL mix, 442 if (mix) 558 EAS_BOOL mix; local 614 /* operator 4 is in mix mode in modes 0 and 1 */ 615 mix = (mode < 2); 623 mix, 635 mix, 654 /* operator 1 is in mix mode in modes 0 and 5 * [all...] |
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 249 ChannelMixer mix = gMixers[mUseFloatTexture]; local 275 (this->*mix)(start, end, amount, dst);
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioPolicyConfig.java | 51 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 55 public void addMix(AudioMix mix) throws IllegalArgumentException { 56 if (mix == null) { 59 mMixes.add(mix); 79 for (AudioMix mix : mMixes) { 80 // write mix route flags 81 dest.writeInt(mix.getRouteFlags()); 83 dest.writeInt(mix.mCallbackFlags); 84 // write mix format 85 dest.writeInt(mix.getFormat().getSampleRate()) [all...] |
/system/extras/ksmutils/ |
lookup3.c | 6 hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final() 20 mix(a,b,c); 22 mix(a,b,c); 28 a mix of things, see the comments above hashlittle(). 31 then mix those integers. This is fast (you can do a lot more thorough 73 mix -- mix 3 32-bit values reversibly. 75 This is reversible, so any information in (a,b,c) before mix() is 76 still in (a,b,c) after mix(). 78 If four pairs of (a,b,c) inputs are run through mix(), or throug 115 #define mix macro [all...] |
/external/llvm/include/llvm/ADT/ |
Hashing.h | 265 /// This effectively performs the initial mix. 271 state.mix(s); 275 /// \brief Mix 32-bytes from the input sequence into the 16-bytes of 'a' 287 /// \brief Mix in a 64-byte buffer of data. 288 /// We mix all 64 bytes even when the chunk length is smaller, but we 290 void mix(const char *s) { function in struct:llvm::hashing::detail::hash_state 426 // a mix of the last 64-bytes. That is how the algorithm works when we 430 // Mix this chunk into the current state. 431 state.mix(buffer); 460 state.mix(s_begin) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 60 public static final float mix(final float a, final float b, final float f) {
method in class:ShaderUtils 64 public static final Color mix(final Color a, final Color b, final float f) {
method in class:ShaderUtils 65 return new Color((int) ShaderUtils.clamp(ShaderUtils.mix(a.getRed(), b.getRed(), f), 0, 255), (int) ShaderUtils.clamp(
66 ShaderUtils.mix(a.getGreen(), b.getGreen(), f), 0, 255), (int) ShaderUtils.clamp(
67 ShaderUtils.mix(a.getBlue(), b.getBlue(), f), 0, 255));
70 public static final int mix(final int a, final int b, final float f) {
method in class:ShaderUtils 74 public static final float[] mix(final float[] c1, final float[] c2, final float f) {
method in class:ShaderUtils 75 return new float[] { ShaderUtils.mix(c1[0], c2[0], f), ShaderUtils.mix(c1[1], c2[1], f), ShaderUtils.mix(c1[2], c2[2], f) }; [all...] |
/frameworks/rs/driver/runtime/ |
rs_cl.c | 796 extern float __attribute__((overloadable)) mix(float start, float stop, float amount) { function 799 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { function 802 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float3 amount) { function 805 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float4 amount) { function 808 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { function 811 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float amount) { function 814 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float amount) { function [all...] |
/external/webp/src/enc/ |
histogram.c | 151 double mix; local 157 // Let's mix in a bit of entropy to favor good clustering when 167 mix = 0.95; 169 mix = 0.7; // nonzeros == 4. 172 mix = 0.627; 177 min_limit = mix * min_limit + (1.0 - mix) * retval;
|
/frameworks/av/media/libmedia/ |
IAudioPolicyService.cpp | 1279 AudioMix mix; local [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 74 // nothing to mix. However, this causes some problems with certain firewalls and 106 bool mix(int32_t *output, int head, int tail, int sampleRate); 236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) function in class:__anon23192::AudioStream 308 // Mix all other streams. 312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);
|
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.c | 42 * @title: Mix Audio Types 106 MIX_RESULT mix_audio_initialize_default(MixAudio *mix, MixCodecMode mode, MixAudioInitParams *aip, MixDrmParams *drminitparams); 107 MIX_RESULT mix_audio_configure_default(MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixDrmParams *drmparams); 108 MIX_RESULT mix_audio_decode_default(MixAudio *mix, const MixIOVec *iovin, gint iovincnt, guint64 *insize, MixIOVec *iovout, gint iovoutcnt, guint64 *outsize); 109 MIX_RESULT mix_audio_capture_encode_default(MixAudio *mix, MixIOVec *iovout, gint iovoutcnt); 110 MIX_RESULT mix_audio_start_default(MixAudio *mix); 111 MIX_RESULT mix_audio_stop_drop_default(MixAudio *mix); 112 MIX_RESULT mix_audio_stop_drain_default(MixAudio *mix); 113 MIX_RESULT mix_audio_pause_default(MixAudio *mix); 114 MIX_RESULT mix_audio_resume_default(MixAudio *mix); 292 MixAudio *mix = MIX_AUDIO(obj); local [all...] |
/frameworks/base/core/jni/ |
android_media_AudioSystem.cpp | 670 nAudioPortConfig->type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix"); 677 // constructed by java code with correct class type (device, mix etc...) 794 ALOGV("convertAudioPortConfigFromNative building a mix config"); 1584 AudioMix mix; local [all...] |