Searched refs:desired (Results 1 - 25 of 98) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/base/
H A Dratelimiter.cc15 bool RateLimiter::CanUse(size_t desired, double time) { argument
16 return ((time > period_end_ && desired <= max_per_period_) ||
17 (used_in_period_ + desired) <= max_per_period_);
H A Dratelimiter.h37 // Returns true if if the desired quantity is available in the
40 bool CanUse(size_t desired, double time);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtesttimer.c29 int desired; local
38 desired = 0;
40 desired = atoi(argv[1]);
42 if ( desired == 0 ) {
43 desired = DEFAULT_RESOLUTION;
45 SDL_SetTimer(desired, ticktock);
57 "Timer resolution: desired = %d ms, actual = %f ms\n",
58 desired, (double)(10*1000)/ticks);
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dremotevideocapturer.cc76 const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) {
82 // Use the desired format as the best format.
83 best_format->width = desired.width;
84 best_format->height = desired.height;
86 best_format->interval = desired.interval;
75 GetBestCaptureFormat( const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) argument
H A Dremotevideocapturer.h55 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
H A Dremotevideocapturer_unittest.cc114 VideoFormat desired = VideoFormat(kTestFormat); local
115 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, NULL));
120 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best_format));
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audio.c397 int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) argument
417 if ( desired->freq == 0 ) {
420 desired->freq = SDL_atoi(env);
423 if ( desired->freq == 0 ) {
425 desired->freq = 22050;
427 if ( desired->format == 0 ) {
430 desired->format = SDL_ParseAudioFormat(env);
433 if ( desired->format == 0 ) {
435 desired->format = AUDIO_S16;
437 if ( desired
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dfilevideocapturer_unittest.cc111 // desired format with large resolution.
112 cricket::VideoFormat desired(
114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
119 desired.width = 0;
120 desired.height = 0;
121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
128 // desired format same as the capture format supported by the file
129 cricket::VideoFormat desired = capturer_->GetSupportedFormats()->at(0); local
130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_));
131 EXPECT_TRUE(desired
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideocapturer_unittest.cc308 cricket::VideoFormat desired(640, 480,
312 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
317 desired.fourcc = cricket::FOURCC_MJPG;
318 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best));
320 desired.fourcc = cricket::FOURCC_I420;
321 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
325 cricket::VideoFormat desired(1920, 1080,
330 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best));
335 desired.width = 360;
336 desired
[all...]
/external/compiler-rt/test/BlocksRuntime/
H A Dfail.c82 char desired[512]; local
84 bool gotErrorFile = readfile(desired, errorfile);
92 char *where = strstr(got, desired);
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_capturer_adapter.h47 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
H A Dwebrtc_video_capturer_adapter.cc67 const cricket::VideoFormat& desired,
71 << " w = " << desired.width
72 << " h = " << desired.height;
76 // Use the desired format as the best format.
77 best_format->width = desired.width;
78 best_format->height = desired.height;
80 best_format->interval = desired.interval;
66 GetBestCaptureFormat( const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Dastro.h306 * @param longitude The desired longitude, in <em>degrees</em> east of
309 * @param latitude The desired latitude, in <em>degrees</em>. Positive
357 * @param jdn the desired time, expressed as a "julian day number",
528 * the desired value.
531 UDate getSunTime(double desired, UBool next);
624 * longitude will have the desired value.
626 * @param desired The desired longitude.
628 * is desired, <tt>false</tt> for the previous occurrance.
631 UDate getMoonTime(double desired, UBoo
[all...]
H A Dastro.cpp262 * @param longitude The desired longitude, in <em>degrees</em> east of
265 * @param latitude The desired latitude, in <em>degrees</em>. Positive
310 * @param jdn the desired time, expressed as a "julian day number",
717 * the desired value.
729 UDate CalendarAstronomer::getSunTime(double desired, UBool next) argument
733 desired,
931 // // number" d as outlined above, for the desired moment. Next compute:
1237 * longitude will have the desired value.
1239 * @param desired The desired longitud
1245 getMoonTime(double desired, UBool next) argument
1265 getMoonTime(const CalendarAstronomer::MoonAge& desired, UBool next) argument
1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dastro.h306 * @param longitude The desired longitude, in <em>degrees</em> east of
309 * @param latitude The desired latitude, in <em>degrees</em>. Positive
357 * @param jdn the desired time, expressed as a "julian day number",
528 * the desired value.
531 UDate getSunTime(double desired, UBool next);
624 * longitude will have the desired value.
626 * @param desired The desired longitude.
628 * is desired, <tt>false</tt> for the previous occurrance.
631 UDate getMoonTime(double desired, UBoo
[all...]
H A Dastro.cpp262 * @param longitude The desired longitude, in <em>degrees</em> east of
265 * @param latitude The desired latitude, in <em>degrees</em>. Positive
310 * @param jdn the desired time, expressed as a "julian day number",
717 * the desired value.
729 UDate CalendarAstronomer::getSunTime(double desired, UBool next) argument
733 desired,
931 // // number" d as outlined above, for the desired moment. Next compute:
1237 * longitude will have the desired value.
1239 * @param desired The desired longitud
1245 getMoonTime(double desired, UBool next) argument
1265 getMoonTime(const CalendarAstronomer::MoonAge& desired, UBool next) argument
1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument
[all...]
/external/chromium_org/net/ssl/
H A Dssl_cipher_suite_names.cc283 struct CipherSuite desired = {0}; local
284 desired.cipher_suite = cipher_suite;
286 void* r = bsearch(&desired, kCipherSuites,
349 CipherSuite desired = {0}; local
350 desired.cipher_suite = cipher_suite;
352 void* r = bsearch(&desired,
/external/chromium_org/remoting/host/
H A Dcast_video_capturer_adapter.cc65 const cricket::VideoFormat& desired,
69 // For now, just used the desired width and height.
70 best_format->width = desired.width;
71 best_format->height = desired.height;
64 GetBestCaptureFormat( const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) argument
H A Dcast_video_capturer_adapter.h48 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
/external/compiler-rt/lib/builtins/
H A Datomic.c195 /// to the value at *expected, then this copies value at *desired to *ptr. If
200 void *desired, int success, int failure) {
203 *(type*)desired, success, failure)
209 memcpy(ptr, desired, size);
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;\
199 __atomic_compare_exchange_c(int size, void *ptr, void *expected, void *desired, int success, int failure) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/
H A Dmultisect1.asm9 ; 9B0h is desired.
/external/bison/build-aux/
H A Ddo-release-commit-and-tag161 # Update NEWS to have today's date, plus desired version number and $type.
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideocapturer.h67 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
H A Dwebrtcvideocapturer.cc157 // Find the desired camera, by name.
232 bool WebRtcVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, argument
238 if (!VideoCapturer::GetBestCaptureFormat(desired, best_format)) {
240 // Use the desired format as the best format.
241 best_format->width = desired.width;
242 best_format->height = desired.height;
244 best_format->interval = desired.interval;
/external/libvorbis/vq/
H A Dvqgen.c59 /* default metric; squared 'distance' from desired value. */
161 than the preceeding value. Thus the desired quantibits apply to
337 long desired; local
369 desired=fdesired;
370 desired2=desired*2;
436 if(k<desired){
439 if(k==desired){
441 qsort(nearbiasptr,desired,sizeof(float),directdsort);
444 }else if(thismetric>nearbiasptr[desired-1]){
450 k=desired;
[all...]

Completed in 520 milliseconds

1234