/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | ratelimiter.cc | 32 bool RateLimiter::CanUse(size_t desired, double time) { argument 33 return ((time > period_end_ && desired <= max_per_period_) || 34 (used_in_period_ + desired) <= max_per_period_);
|
H A D | ratelimiter.h | 54 // Returns true if if the desired quantity is available in the 57 bool CanUse(size_t desired, double time);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | ratelimiter.cc | 15 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 D | ratelimiter.h | 37 // 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 D | testtimer.c | 29 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 D | remotevideocapturer.cc | 76 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 D | remotevideocapturer.h | 55 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
H A D | remotevideocapturer_unittest.cc | 114 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 D | SDL_audio.c | 397 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 D | filevideocapturer_unittest.cc | 111 // 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 D | videocapturer_unittest.cc | 292 cricket::VideoFormat desired(640, 480, 296 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 301 desired.fourcc = cricket::FOURCC_MJPG; 302 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); 304 desired.fourcc = cricket::FOURCC_I420; 305 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 309 cricket::VideoFormat desired(1920, 1080, 314 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 319 desired.width = 360; 320 desired [all...] |
H A D | mutedvideocapturer.h | 44 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
|
H A D | mutedvideocapturer.cc | 101 bool MutedVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, argument 103 *best_format = desired;
|
/external/compiler-rt/test/BlocksRuntime/ |
H A D | fail.c | 82 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 D | webrtc_video_capturer_adapter.h | 47 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
H A D | webrtc_video_capturer_adapter.cc | 67 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 D | astro.h | 306 * @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 D | astro.cpp | 263 * @param longitude The desired longitude, in <em>degrees</em> east of 266 * @param latitude The desired latitude, in <em>degrees</em>. Positive 311 * @param jdn the desired time, expressed as a "julian day number", 718 * the desired value. 727 UDate CalendarAstronomer::getSunTime(double desired, UBool next) argument 731 desired, 926 // // number" d as outlined above, for the desired moment. Next compute: 1229 * longitude will have the desired value. 1231 * @param desired The desired longitud 1237 getMoonTime(double desired, UBool next) argument 1257 getMoonTime(const CalendarAstronomer::MoonAge& desired, UBool next) argument 1286 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | astro.h | 306 * @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 D | astro.cpp | 262 * @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 D | ssl_cipher_suite_names.cc | 283 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/compiler-rt/lib/builtins/ |
H A D | atomic.c | 195 /// 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 D | multisect1.asm | 9 ; 9B0h is desired.
|
/external/bison/build-aux/ |
H A D | do-release-commit-and-tag | 161 # 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 D | webrtcvideocapturer.h | 67 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
|