Home
last modified time | relevance | path

Searched refs:desired (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audio.c397 int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) in SDL_OpenAudio() argument
417 if ( desired->freq == 0 ) { in SDL_OpenAudio()
420 desired->freq = SDL_atoi(env); in SDL_OpenAudio()
423 if ( desired->freq == 0 ) { in SDL_OpenAudio()
425 desired->freq = 22050; in SDL_OpenAudio()
427 if ( desired->format == 0 ) { in SDL_OpenAudio()
430 desired->format = SDL_ParseAudioFormat(env); in SDL_OpenAudio()
433 if ( desired->format == 0 ) { in SDL_OpenAudio()
435 desired->format = AUDIO_S16; in SDL_OpenAudio()
437 if ( desired->channels == 0 ) { in SDL_OpenAudio()
[all …]
/external/llvm/test/CodeGen/X86/
Dcas.ll4 ;bool cas(float volatile *p, float *expected, float desired) {
6 ; __asm__ __volatile__("lock; cmpxchg %[desired], %[mem]; "
12 ; [desired] "q" (desired),
18 define zeroext i1 @cas(float* %p, float* %expected, float %desired) nounwind {
22 %desired.addr = alloca float, align 4
26 store float %desired, float* %desired.addr, align 4
30 %3 = load float* %desired.addr, align 4
45 define zeroext i1 @cas2(i8* %p, i8* %expected, i1 zeroext %desired) nounwind {
49 %desired.addr = alloca i8, align 1
53 %frombool = zext i1 %desired to i8
[all …]
Dinline-asm.ll35 define void @test6(i1 zeroext %desired) nounwind {
37 tail call void asm sideeffect "foo $0", "q,~{dirflag},~{fpsr},~{flags}"(i1 %desired) nounwind
41 define void @test7(i1 zeroext %desired, i32* %p) nounwind {
43 …ffect "xchg $0, $1", "=r,*m,0,~{memory},~{dirflag},~{fpsr},~{flags}"(i32* %p, i1 %desired) nounwind
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideocapturer_unittest.cc232 cricket::VideoFormat desired(640, 480, in TEST_F() local
236 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
241 desired.fourcc = cricket::FOURCC_MJPG; in TEST_F()
242 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
244 desired.fourcc = cricket::FOURCC_I420; in TEST_F()
245 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
249 cricket::VideoFormat desired(1920, 1080, in TEST_F() local
254 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
259 desired.width = 360; in TEST_F()
260 desired.height = 250; in TEST_F()
[all …]
Dvideocapturer.cc539 int64 VideoCapturer::GetFormatDistance(const VideoFormat& desired, in GetFormatDistance() argument
546 if (FOURCC_ANY == desired.fourcc) { in GetFormatDistance()
567 } else if (supported_fourcc == CanonicalFourCC(desired.fourcc)) { in GetFormatDistance()
577 int desired_width = desired.width; in GetFormatDistance()
578 int desired_height = desired.height; in GetFormatDistance()
582 supported_fps - VideoFormat::IntervalToFps(desired.interval); in GetFormatDistance()
610 VideoFormat::IntervalToFps(desired.interval) * 29 / 30 : in GetFormatDistance()
611 VideoFormat::IntervalToFps(desired.interval) * 24 / 30; in GetFormatDistance()
/external/qemu/distrib/sdl-1.2.15/test/
Dtesttimer.c29 int desired; in main() local
38 desired = 0; in main()
40 desired = atoi(argv[1]); in main()
42 if ( desired == 0 ) { in main()
43 desired = DEFAULT_RESOLUTION; in main()
45 SDL_SetTimer(desired, ticktock); in main()
58 desired, (double)(10*1000)/ticks); in main()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dfilevideocapturer_unittest.cc112 cricket::VideoFormat desired( in TEST_F() local
114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
119 desired.width = 0; in TEST_F()
120 desired.height = 0; in TEST_F()
121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
129 cricket::VideoFormat desired = capturer_->GetSupportedFormats()->at(0); in TEST_F() local
130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
131 EXPECT_TRUE(desired == capture_format_); in TEST_F()
134 desired.fourcc = cricket::FOURCC_ANY; in TEST_F()
135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dremotevideocapturer.cc76 const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) { in GetBestCaptureFormat() argument
83 best_format->width = desired.width; in GetBestCaptureFormat()
84 best_format->height = desired.height; in GetBestCaptureFormat()
86 best_format->interval = desired.interval; in GetBestCaptureFormat()
Dremotevideocapturer_unittest.cc114 VideoFormat desired = VideoFormat(kTestFormat); in TEST_F() local
115 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, NULL)); in TEST_F()
120 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best_format)); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dratelimiter.cc32 bool RateLimiter::CanUse(size_t desired, double time) { in CanUse() argument
33 return ((time > period_end_ && desired <= max_per_period_) || in CanUse()
34 (used_in_period_ + desired) <= max_per_period_); in CanUse()
/external/chromium_org/content/renderer/media/
Dvideo_destination_handler_unittest.cc89 VideoFormat desired(kTestFormat); in TEST_F() local
91 EXPECT_FALSE(writer_.GetBestCaptureFormat(desired, NULL)); in TEST_F()
92 EXPECT_TRUE(writer_.GetBestCaptureFormat(desired, &best_format)); in TEST_F()
95 desired.fourcc = best_format.fourcc; in TEST_F()
96 EXPECT_EQ(desired, best_format); in TEST_F()
Drtc_video_capturer.cc82 bool RtcVideoCapturer::GetBestCaptureFormat(const cricket::VideoFormat& desired, in GetBestCaptureFormat() argument
90 best_format->width = desired.width; in GetBestCaptureFormat()
91 best_format->height = desired.height; in GetBestCaptureFormat()
93 best_format->interval = desired.interval; in GetBestCaptureFormat()
Dvideo_destination_handler.cc65 bool PpFrameWriter::GetBestCaptureFormat(const VideoFormat& desired, in GetBestCaptureFormat() argument
74 best_format->width = desired.width; in GetBestCaptureFormat()
75 best_format->height = desired.height; in GetBestCaptureFormat()
77 best_format->interval = desired.interval; in GetBestCaptureFormat()
/external/chromium/net/base/
Dssl_cipher_suite_names.cc318 struct CipherSuite desired = {0}; in SSLCipherSuiteToStrings() local
319 desired.cipher_suite = cipher_suite; in SSLCipherSuiteToStrings()
321 void* r = bsearch(&desired, kCipherSuites, in SSLCipherSuiteToStrings()
/external/compiler-rt/BlocksRuntime/tests/
Dfail.c82 char desired[512]; in main() local
84 bool gotErrorFile = readfile(desired, errorfile); in main()
92 char *where = strstr(got, desired); in main()
/external/chromium_org/net/ssl/
Dssl_cipher_suite_names.cc283 struct CipherSuite desired = {0}; in SSLCipherSuiteToStrings() local
284 desired.cipher_suite = cipher_suite; in SSLCipherSuiteToStrings()
286 void* r = bsearch(&desired, kCipherSuites, in SSLCipherSuiteToStrings()
/external/icu4c/i18n/
Dastro.h531 UDate getSunTime(double desired, UBool next);
631 UDate getMoonTime(double desired, UBool next);
632 UDate getMoonTime(const MoonAge& desired, UBool next);
653 UDate timeOfAngle(AngleFunc& func, double desired,
Dastro.cpp729 UDate CalendarAstronomer::getSunTime(double desired, UBool next) in getSunTime() argument
733 desired, in getSunTime()
1245 UDate CalendarAstronomer::getMoonTime(double desired, UBool next) in getMoonTime() argument
1249 desired, in getMoonTime()
1265 UDate CalendarAstronomer::getMoonTime(const CalendarAstronomer::MoonAge& desired, UBool next) { in getMoonTime() argument
1266 return getMoonTime(desired.value, next); in getMoonTime()
1297 UDate CalendarAstronomer::timeOfAngle(AngleFunc& func, double desired, in timeOfAngle() argument
1304 double deltaAngle = norm2PI(desired - lastAngle) ; in timeOfAngle()
1326 deltaT = normPI(desired - angle) * factor; in timeOfAngle()
1352 return timeOfAngle(func, desired, periodDays, epsilon, next); in timeOfAngle()
/external/chromium_org/third_party/icu/source/i18n/
Dastro.h531 UDate getSunTime(double desired, UBool next);
631 UDate getMoonTime(double desired, UBool next);
632 UDate getMoonTime(const MoonAge& desired, UBool next);
653 UDate timeOfAngle(AngleFunc& func, double desired,
Dastro.cpp727 UDate CalendarAstronomer::getSunTime(double desired, UBool next) in getSunTime() argument
731 desired, in getSunTime()
1237 UDate CalendarAstronomer::getMoonTime(double desired, UBool next) in getMoonTime() argument
1241 desired, in getMoonTime()
1257 UDate CalendarAstronomer::getMoonTime(const CalendarAstronomer::MoonAge& desired, UBool next) { in getMoonTime() argument
1258 return getMoonTime(desired.value, next); in getMoonTime()
1286 UDate CalendarAstronomer::timeOfAngle(AngleFunc& func, double desired, in timeOfAngle() argument
1293 double deltaAngle = norm2PI(desired - lastAngle) ; in timeOfAngle()
1315 deltaT = normPI(desired - angle) * factor; in timeOfAngle()
1341 return timeOfAngle(func, desired, periodDays, epsilon, next); in timeOfAngle()
/external/compiler-rt/lib/
Datomic.c200 void *desired, int success, int failure) { in __atomic_compare_exchange_c() argument
203 *(type*)desired, success, failure) in __atomic_compare_exchange_c()
209 memcpy(ptr, desired, size); in __atomic_compare_exchange_c()
289 int __atomic_compare_exchange_##n(type *ptr, type *expected, type desired,\
292 return __c11_atomic_compare_exchange_strong((_Atomic(type)*)ptr, expected, desired,\
297 *ptr = desired;\
/external/chromium_org/chrome/test/functional/
Dperf.cfg11 # Set to custom username/password if desired.
18 # Set to custom Google account url if desired.
21 # Set to custom Gmail/Plus/Docs urls if desired.
/external/libvorbis/vq/
Dvqgen.c337 long desired; in vqgen_iterate() local
369 desired=fdesired; in vqgen_iterate()
370 desired2=desired*2; in vqgen_iterate()
436 if(k<desired){ in vqgen_iterate()
439 if(k==desired){ in vqgen_iterate()
441 qsort(nearbiasptr,desired,sizeof(float),directdsort); in vqgen_iterate()
444 }else if(thismetric>nearbiasptr[desired-1]){ in vqgen_iterate()
450 k=desired; in vqgen_iterate()
465 if(nearcount[i]>desired) in vqgen_iterate()
468 v->bias[i]=nearbiasptr[desired-1]; in vqgen_iterate()
/external/chromium_org/third_party/mesa/src/src/gallium/docs/source/
Dcso.rst7 out a state object with the desired properties, then passing that object
9 can be bound at any time for the desired effect.
/external/mesa3d/src/gallium/docs/source/
Dcso.rst7 out a state object with the desired properties, then passing that object
9 can be bound at any time for the desired effect.

12345678910>>...12