Searched defs:desired (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dratelimiter.cc32 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 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_);
/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_unittest.cc114 VideoFormat desired = VideoFormat(kTestFormat); local
115 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, NULL));
120 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best_format));
H A Dvideosource_unittest.cc97 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 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/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/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.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/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/third_party/libjingle/source/talk/media/base/
H A Dmutedvideocapturer.cc101 bool MutedVideoCapturer::GetBestCaptureFormat(const VideoFormat& desired, argument
103 *best_format = desired;
H A Dvideocapturer.cc572 // 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 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/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideocapturer.cc154 // 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 DSkMatrixClipStateMgr.cpp42 const SkMatrix& desired = this->lookupMat(desiredMatID); local
47 delta.preConcat(desired);
/external/chromium_org/ui/base/x/
H A Dselection_utils.cc59 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 Dbig-atomic-ops.c103 int desired = 1; local
104 return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire);
H A Datomic-ops.c111 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 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/skia/src/core/
H A DSkMatrixClipStateMgr.cpp42 const SkMatrix& desired = this->lookupMat(desiredMatID); local
47 delta.preConcat(desired);
/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...]
/external/bison/src/
H A Dtables.c141 | 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 Ddtlscon.c1109 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 Dpseudotcp_unittest.cc158 // 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 DSDL_x11modes.c543 /* 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 ) {

Completed in 669 milliseconds

12