/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/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 | 232 cricket::VideoFormat desired(640, 480, 236 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 241 desired.fourcc = cricket::FOURCC_MJPG; 242 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); 244 desired.fourcc = cricket::FOURCC_I420; 245 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 249 cricket::VideoFormat desired(1920, 1080, 254 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); 259 desired.width = 360; 260 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/chromium_org/content/renderer/media/ |
H A D | video_destination_handler_unittest.cc | 89 VideoFormat desired(kTestFormat); 91 EXPECT_FALSE(writer_.GetBestCaptureFormat(desired, NULL)); 92 EXPECT_TRUE(writer_.GetBestCaptureFormat(desired, &best_format)); 95 desired.fourcc = best_format.fourcc; 96 EXPECT_EQ(desired, best_format);
|
H A D | rtc_video_capturer.cc | 47 // Update the desired aspect ratio so that later the video frame can be 82 bool RtcVideoCapturer::GetBestCaptureFormat(const cricket::VideoFormat& desired, argument 89 // Use the desired format as the best format. 90 best_format->width = desired.width; 91 best_format->height = desired.height; 93 best_format->interval = desired.interval;
|
H A D | rtc_video_capturer.h | 38 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
H A D | video_destination_handler.cc | 65 bool PpFrameWriter::GetBestCaptureFormat(const VideoFormat& desired, argument 73 // Use the desired format as the best format. 74 best_format->width = desired.width; 75 best_format->height = desired.height; 77 best_format->interval = desired.interval;
|
H A D | video_destination_handler.h | 51 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
/external/compiler-rt/BlocksRuntime/tests/ |
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/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/icu4c/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/compiler-rt/lib/ |
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 | 66 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
|