/external/chromium_org/third_party/webrtc/base/ |
ratelimiter.cc | 15 bool RateLimiter::CanUse(size_t desired, double time) { 16 return ((time > period_end_ && desired <= max_per_period_) || 17 (used_in_period_ + desired) <= max_per_period_);
|
ratelimiter.h | 37 // Returns true if if the desired quantity is available in the 40 bool CanUse(size_t desired, double time);
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
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;
|
remotevideocapturer.h | 55 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
remotevideocapturer_unittest.cc | 114 VideoFormat desired = VideoFormat(kTestFormat); local 115 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, NULL)); 120 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best_format));
|
/bionic/libc/include/ |
stdatomic.h | 398 desired, success, failure) \ 399 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 402 desired, success, failure) \ 403 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 405 #define atomic_exchange_explicit(object, desired, order) \ 406 __c11_atomic_exchange(object, desired, order) 419 #define atomic_store_explicit(object, desired, order) \ 420 __c11_atomic_store(object, desired, order) 423 desired, success, failure) \ 425 desired, 0, success, failure [all...] |
/development/ndk/platforms/android-L/include/ |
stdatomic.h | 244 desired, success, failure) \ 245 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 248 desired, success, failure) \ 249 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 251 #define atomic_exchange_explicit(object, desired, order) \ 252 __c11_atomic_exchange(object, desired, order) 265 #define atomic_store_explicit(object, desired, order) \ 266 __c11_atomic_store(object, desired, order) 269 desired, success, failure) \ 271 desired, 0, success, failure [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
Boid.cpp | 70 Vector2D desired = cohesion.copy(); local 71 desired.sub(mPosition); 72 float d = desired.magnitude(); 74 desired.normalize(); 75 desired.scale(MAX_SPEED * ((d < 100.0f) ? d / 100.0f : 1)); 76 desired.sub(mVelocity); 77 desired.limit(MAX_FORCE); 78 mAcceleration.add(desired);
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
filevideocapturer_unittest.cc | 111 // desired format with large resolution. 112 cricket::VideoFormat desired( 114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); 118 // Desired format with small resolution. 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_)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocapturer_unittest.cc | 308 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.height = 250 [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
fail.c | 82 char desired[512]; local 84 bool gotErrorFile = readfile(desired, errorfile); 92 char *where = strstr(got, desired);
|
/external/chromium_org/chrome/browser/resources/local_ntp/ |
window_disposition_util.js | 20 * Gets the desired navigation behavior from a event. This function works both 23 * @return {WindowOpenDisposition} The desired navigation behavior.
|
/art/runtime/ |
atomic.h | 214 void StoreRelaxed(T desired) { 215 this->store(desired, std::memory_order_relaxed); 219 void StoreJavaData(T desired) { 220 this->store(desired, std::memory_order_relaxed); 224 void StoreRelease(T desired) { 225 this->store(desired, std::memory_order_release); 229 void StoreSequentiallyConsistent(T desired) { 230 this->store(desired, std::memory_order_seq_cst); 233 // Atomically replace the value with desired value if it matches the expected value. 244 // Atomically replace the value with desired value if it matches the expected value. Doesn' [all...] |
/external/chromium_org/content/renderer/media/webrtc/ |
webrtc_video_capturer_adapter.h | 47 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
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;
|
/external/chromium_org/remoting/host/ |
cast_video_capturer_adapter.h | 48 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
|
cast_video_capturer_adapter.cc | 65 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;
|
/external/chromium_org/third_party/icu/source/i18n/ |
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, UBool next) [all...] |
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) 733 desired, 765 MINUTE_MS / 12.); // Desired accuracy 931 // // number" d as outlined above, for the desired moment. Next compute: [all...] |
/external/icu/icu4c/source/i18n/ |
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, UBool next) [all...] |
/external/chromium_org/net/ssl/ |
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/ |
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;\
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/ |
multisect1.asm | 9 ; 9B0h is desired.
|
/external/bison/build-aux/ |
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/ |
webrtcvideocapturer.h | 67 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
|