/external/webrtc/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_);
|
/system/media/audio_utils/include/audio_utils/ |
sndfile.h | 70 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desired); 71 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired); 72 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desired); 78 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desired); 79 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired); 80 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desired);
|
/external/libcxx/test/support/ |
cmpxchg_loop.h | 4 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { 6 if (atomic.compare_exchange_weak(expected, desired) == true) { 15 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, 19 if (atomic.compare_exchange_weak(expected, desired, success, 29 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { 31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { 40 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, 44 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
|
/external/webrtc/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;
|
/prebuilts/misc/windows/sdl2/test/ |
testtimer.c | 43 int i, desired; local 57 desired = 0; 59 desired = atoi(argv[1]); 61 if (desired == 0) { 62 desired = DEFAULT_RESOLUTION; 64 t1 = SDL_AddTimer(desired, ticktock, NULL); 75 SDL_Log("Timer resolution: desired = %d ms, actual = %f ms\n", 76 desired, (double) (10 * 1000) / ticks);
|
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/ |
network_WiFi_UpdateRouter.py | 82 desired = self.STABLE_VERSIONS.get(board, None) 83 if desired is None: 88 'stable version: %s', desired.release_version) 90 if desired.release_version == current_release_version: 92 (router_hostname, desired.release_version)) 95 router_hostname, desired.release_version, 99 ds = dev_server.ImageServer.resolve(desired.builder_version) 100 ds.stage_artifacts(desired.builder_version, 106 url = self.get_update_url(ds.url(), desired.builder_version)
|
/bionic/libc/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/development/ndk/platforms/android-21/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...] |
/prebuilts/clang/darwin-x86/host/3.6/lib/clang/3.6/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/darwin-x86/3.8/lib/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/darwin-x86/clang-2629532/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/darwin-x86/clang-2658975/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/darwin-x86/clang-2690385/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/linux-x86/3.8/lib/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/linux-x86/clang-2629532/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/linux-x86/clang-2658975/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/host/linux-x86/clang-2690385/lib64/clang/3.8/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/clang/linux-x86/host/3.6/lib/clang/3.6/include/ |
stdatomic.h | 404 desired, success, failure) \ 405 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 408 desired, success, failure) \ 409 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 411 #define atomic_exchange_explicit(object, desired, order) \ 412 __c11_atomic_exchange(object, desired, order) 425 #define atomic_store_explicit(object, desired, order) \ 426 __c11_atomic_store(object, desired, order) 429 desired, success, failure) \ 431 desired, 0, success, failure [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/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...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/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...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/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...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/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...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/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...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/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...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/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...] |