/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_);
|
/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_);
|
/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_unittest.cc | 114 VideoFormat desired = VideoFormat(kTestFormat); local 115 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, NULL)); 120 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best_format));
|
H A D | videosource_unittest.cc | 97 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired, argument 100 *best_format = desired; 103 return FakeVideoCapturer::GetBestCaptureFormat(desired,
|
/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/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/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.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/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/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | mutedvideocapturer.cc | 101 bool MutedVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, argument 103 *best_format = desired;
|
H A D | videocapturer.cc | 572 // Get the distance between the supported and desired formats. 577 // 4) Compression. If desired format has a specific fourcc, we need exact match; 579 int64 VideoCapturer::GetFormatDistance(const VideoFormat& desired, argument 586 if (FOURCC_ANY == desired.fourcc) { 587 // Any fourcc is OK for the desired. Use preference to find best fourcc. 607 } else if (supported_fourcc == CanonicalFourCC(desired.fourcc)) { 617 int desired_width = desired.width; 618 int desired_height = desired.height; 622 supported_fps - VideoFormat::IntervalToFpsFloat(desired.interval); 630 // Set high penalty if the supported format is lower than the desired forma [all...] |
/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/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvideocapturer.cc | 154 // Find the desired camera, by name. 229 bool WebRtcVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, argument 235 if (!VideoCapturer::GetBestCaptureFormat(desired, best_format)) { 237 // Use the desired format as the best format. 238 best_format->width = desired.width; 239 best_format->height = desired.height; 241 best_format->interval = desired.interval;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMatrixClipStateMgr.cpp | 42 const SkMatrix& desired = this->lookupMat(desiredMatID); local 47 delta.preConcat(desired);
|
/external/chromium_org/ui/base/x/ |
H A D | selection_utils.cc | 59 void GetAtomIntersection(const std::vector< ::Atom>& desired, argument 62 for (std::vector< ::Atom>::const_iterator it = desired.begin(); 63 it != desired.end(); ++it) {
|
/external/clang/test/CodeGen/ |
H A D | big-atomic-ops.c | 103 int desired = 1; local 104 return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire);
|
H A D | atomic-ops.c | 111 int desired = 1; local 112 return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire);
|
/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/skia/src/core/ |
H A D | SkMatrixClipStateMgr.cpp | 42 const SkMatrix& desired = this->lookupMat(desiredMatID); local 47 delta.preConcat(desired);
|
/external/libvorbis/vq/ |
H A D | vqgen.c | 59 /* 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...] |
/external/bison/src/ |
H A D | tables.c | 141 | the desired size is at least DESIRED + 1. | 145 table_grow (int desired) argument 149 while (table_size <= desired)
|
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | dtlscon.c | 1109 PRIntervalTime desired; local 1123 desired = PR_MillisecondsToInterval(ss->ssl3.hs.rtTimeoutMs); 1124 if (elapsed > desired) { 1128 *timeout = desired - elapsed;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | pseudotcp_unittest.cc | 158 // Randomly drop the desired percentage of packets. 381 // If we've received the desired amount of data, rewind things 383 size_t position, desired; local 385 send_stream_.GetSize(&desired); 386 if (position == desired) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11modes.c | 543 /* Find out which screen is the desired one */ 544 int desired = -1; local 554 desired = SDL_atoi(variable); 567 if ( xinerama[i].screen_number == desired ) {
|