Home
last modified time | relevance | path

Searched refs:desired (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/external/llvm/test/Bitcode/
Datomic.ll4 define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) {
5 cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
6 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
8 cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic
9 ; CHECK: cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic
11 cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire
12 ; CHECK: cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire
14 cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic
15 ; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic
/external/libcxx/test/support/
Dcmpxchg_loop.h4 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { in cmpxchg_weak_loop() argument
6 if (atomic.compare_exchange_weak(expected, desired) == true) { in cmpxchg_weak_loop()
15 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, in cmpxchg_weak_loop() argument
19 if (atomic.compare_exchange_weak(expected, desired, success, in cmpxchg_weak_loop()
29 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { in c_cmpxchg_weak_loop() argument
31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
40 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, in c_cmpxchg_weak_loop() argument
44 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired, in c_cmpxchg_weak_loop()
/external/llvm/test/CodeGen/X86/
Dcas.ll4 ;bool cas(float volatile *p, float *expected, float desired) {
6 ; __asm__ __volatile__("lock; cmpxchg %[desired], %[mem]; "
12 ; [desired] "q" (desired),
18 define zeroext i1 @cas(float* %p, float* %expected, float %desired) nounwind {
22 %desired.addr = alloca float, align 4
26 store float %desired, float* %desired.addr, align 4
30 %3 = load float, float* %desired.addr, align 4
45 define zeroext i1 @cas2(i8* %p, i8* %expected, i1 zeroext %desired) nounwind {
49 %desired.addr = alloca i8, align 1
53 %frombool = zext i1 %desired to i8
[all …]
Dcmpxchg-i128-i1.ll3 define i1 @try_cmpxchg(i128* %addr, i128 %desired, i128 %new) {
9 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst
14 define void @cmpxchg_flow(i128* %addr, i128 %desired, i128 %new) {
20 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst
34 define i1 @cmpxchg_arithcmp(i128* %addr, i128 %desired, i128 %new) {
39 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst
41 %success = icmp sge i128 %oldval, %desired
45 define i128 @cmpxchg_zext(i128* %addr, i128 %desired, i128 %new) {
51 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst
Dcmpxchg-i1.ll3 define i1 @try_cmpxchg(i32* %addr, i32 %desired, i32 %new) {
9 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
14 define void @cmpxchg_flow(i64* %addr, i64 %desired, i64 %new) {
20 %pair = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst seq_cst
33 define i64 @cmpxchg_sext(i32* %addr, i32 %desired, i32 %new) {
39 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
45 define i32 @cmpxchg_zext(i32* %addr, i32 %desired, i32 %new) {
51 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
/external/webrtc/talk/media/base/
Dvideocapturer_unittest.cc340 cricket::VideoFormat desired(640, 480, in TEST_F() local
344 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
349 desired.fourcc = cricket::FOURCC_MJPG; in TEST_F()
350 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
352 desired.fourcc = cricket::FOURCC_I420; in TEST_F()
353 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
357 cricket::VideoFormat desired(1920, 1080, in TEST_F() local
362 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
367 desired.width = 360; in TEST_F()
368 desired.height = 250; in TEST_F()
[all …]
/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc112 cricket::VideoFormat desired( in TEST_F() local
114 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
119 desired.width = 0; in TEST_F()
120 desired.height = 0; in TEST_F()
121 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
129 cricket::VideoFormat desired = capturer_->GetSupportedFormats()->at(0); in TEST_F() local
130 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
131 EXPECT_TRUE(desired == capture_format_); in TEST_F()
134 desired.fourcc = cricket::FOURCC_ANY; in TEST_F()
135 EXPECT_TRUE(capturer_->GetBestCaptureFormat(desired, &capture_format_)); in TEST_F()
[all …]
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/
Dnetwork_WiFi_UpdateRouter.py82 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)
/external/clang/lib/Headers/
Dstdatomic.h131 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) argument
137 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) argument
140 …ompare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, exp… argument
143 …c_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expe… argument
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
Dstdatomic.h131 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) argument
137 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) argument
140 …ompare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, exp… argument
143 …c_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expe… argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java146 …public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) { in match() argument
147 return matcherData.match(desired, desiredMax, supported, supportedMax); in match()
313 String desired = desiredToMatchingLanguages.getKey(); in processMapping() local
319 addFiltered(desired, localeToMaxAndWeight); in processMapping()
331 private void addFiltered(String desired, R3<ULocale, ULocale, Double> localeToMaxAndWeight) { in addFiltered() argument
332 …R3<ULocale, ULocale, Double>> map = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(desired); in addFiltered()
334 …desiredLanguageToPossibleLocalesToMaxLocaleToData.put(desired, map = new LinkedHashSet<R3<ULocale,… in addFiltered()
338 System.out.println(desired + ", " + localeToMaxAndWeight); in addFiltered()
505 …void addDataToScores(String desired, String supported, R3<LocalePatternMatcher,LocalePatternMatche… in addDataToScores() argument
586 LocalePatternMatcher desired = item.get0(); in getMatchingLanguages() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java144 …public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) { in match() argument
145 return matcherData.match(desired, desiredMax, supported, supportedMax); in match()
306 String desired = desiredToMatchingLanguages.getKey(); in processMapping() local
312 addFiltered(desired, localeToMaxAndWeight); in processMapping()
324 private void addFiltered(String desired, R3<ULocale, ULocale, Double> localeToMaxAndWeight) { in addFiltered() argument
325 …R3<ULocale, ULocale, Double>> map = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(desired); in addFiltered()
327 …desiredLanguageToPossibleLocalesToMaxLocaleToData.put(desired, map = new LinkedHashSet<R3<ULocale,… in addFiltered()
331 System.out.println(desired + ", " + localeToMaxAndWeight); in addFiltered()
498 …void addDataToScores(String desired, String supported, R3<LocalePatternMatcher,LocalePatternMatche… in addDataToScores() argument
579 LocalePatternMatcher desired = item.get0(); in getMatchingLanguages() local
[all …]
/external/skia/include/private/
DSkAtomics.h39 bool sk_atomic_compare_exchange(T*, T* expected, T desired,
83 bool compare_exchange(T* expected, const T& desired,
86 return sk_atomic_compare_exchange(&fVal, expected, desired, success, failure);
128 bool sk_atomic_compare_exchange(T* ptr, T* expected, T desired, in sk_atomic_compare_exchange() argument
138 return std::atomic_compare_exchange_strong_explicit(ap, expected, desired, in sk_atomic_compare_exchange()
162 inline bool sk_atomic_cas(int32_t* ptr, int32_t expected, int32_t desired) { in sk_atomic_cas() argument
163 return sk_atomic_compare_exchange(ptr, &expected, desired); in sk_atomic_cas()
166 inline void* sk_atomic_cas(void** ptr, void* expected, void* desired) { in sk_atomic_cas() argument
167 (void)sk_atomic_compare_exchange(ptr, &expected, desired); in sk_atomic_cas()
/external/llvm/test/Transforms/AtomicExpand/ARM/
Dcmpxchg-weak.ll3 define i32 @test_cmpxchg_seq_cst(i32* %addr, i32 %desired, i32 %new) {
11 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired
35 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
40 define i1 @test_cmpxchg_weak_fail(i32* %addr, i32 %desired, i32 %new) {
47 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired
71 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic
76 define i32 @test_cmpxchg_monotonic(i32* %addr, i32 %desired, i32 %new) {
83 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[LOADED]], %desired
107 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new monotonic monotonic
Datomic-expansion-v8.ll85 define i8 @test_cmpxchg_i8_seqcst_seqcst(i8* %ptr, i8 %desired, i8 %newval) {
93 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i8 [[OLDVAL]], %desired
118 %pairold = cmpxchg i8* %ptr, i8 %desired, i8 %newval seq_cst seq_cst
123 define i16 @test_cmpxchg_i16_seqcst_monotonic(i16* %ptr, i16 %desired, i16 %newval) {
131 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i16 [[OLDVAL]], %desired
156 %pairold = cmpxchg i16* %ptr, i16 %desired, i16 %newval seq_cst monotonic
161 define i32 @test_cmpxchg_i32_acquire_acquire(i32* %ptr, i32 %desired, i32 %newval) {
168 ; CHECK: [[SHOULD_STORE:%.*]] = icmp eq i32 [[OLDVAL]], %desired
192 %pairold = cmpxchg i32* %ptr, i32 %desired, i32 %newval acquire acquire
197 define i64 @test_cmpxchg_i64_monotonic_monotonic(i64* %ptr, i64 %desired, i64 %newval) {
[all …]
/external/webrtc/talk/app/webrtc/
Dremotevideocapturer.cc76 const cricket::VideoFormat& desired, cricket::VideoFormat* best_format) { in GetBestCaptureFormat() argument
83 best_format->width = desired.width; in GetBestCaptureFormat()
84 best_format->height = desired.height; in GetBestCaptureFormat()
86 best_format->interval = desired.interval; in GetBestCaptureFormat()
/external/webrtc/webrtc/base/
Dratelimiter.cc15 bool RateLimiter::CanUse(size_t desired, double time) { in CanUse() argument
16 return ((time > period_end_ && desired <= max_per_period_) || in CanUse()
17 (used_in_period_ + desired) <= max_per_period_); in CanUse()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleMatcherTest.java410 private void showDistance(LocaleMatcher matcher, String desired, String supported) { in showDistance() argument
411 ULocale desired2 = new ULocale(desired); in showDistance()
414 logln(desired + " to " + supported + " :\t" + distance); in showDistance()
565 final String desired = "sv, en"; in testPerf() local
567 final LocaleMatcher matcherShort = newLocaleMatcher(desired); in testPerf()
573 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf()
574 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf()
575 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf()
581 …long timeShort = timeLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMess… in testPerf()
583 …long timeMedium = timeLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMess… in testPerf()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleMatcherTest.java414 private void showDistance(LocaleMatcher matcher, String desired, String supported) { in showDistance() argument
415 ULocale desired2 = new ULocale(desired); in showDistance()
418 logln(desired + " to " + supported + " :\t" + distance); in showDistance()
569 final String desired = "sv, en"; in testPerf() local
571 final LocaleMatcher matcherShort = newLocaleMatcher(desired); in testPerf()
577 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf()
578 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf()
579 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf()
585 …long timeShort = timeLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMess… in testPerf()
587 …long timeMedium = timeLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMess… in testPerf()
[all …]
/external/llvm/test/Transforms/SCCP/
Datomic.ll3 define i1 @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) {
5 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
6 %val = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java660 public long getSunTime(double desired, boolean next) in getSunTime() argument
663 desired, in getSunTime()
674 public long getSunTime(SolarLongitude desired, boolean next) {
675 return getSunTime(desired.value, next);
1166 public long getMoonTime(double desired, boolean next)
1170 desired,
1185 public long getMoonTime(MoonAge desired, boolean next) {
1186 return getMoonTime(desired.value, next);
1213 private long timeOfAngle(AngleFunc func, double desired,
1220 double deltaAngle = norm2PI(desired - lastAngle) ;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java658 public long getSunTime(double desired, boolean next) in getSunTime() argument
661 desired, in getSunTime()
672 public long getSunTime(SolarLongitude desired, boolean next) {
673 return getSunTime(desired.value, next);
1164 public long getMoonTime(double desired, boolean next)
1168 desired,
1183 public long getMoonTime(MoonAge desired, boolean next) {
1184 return getMoonTime(desired.value, next);
1211 private long timeOfAngle(AngleFunc func, double desired,
1218 double deltaAngle = norm2PI(desired - lastAngle) ;
[all …]
/external/llvm/test/CodeGen/ARM/
Dcmpxchg-weak.ll3 define void @test_cmpxchg_weak(i32 *%addr, i32 %desired, i32 %new) {
6 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic
32 define i1 @test_cmpxchg_weak_to_bool(i32, i32 *%addr, i32 %desired, i32 %new) {
35 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic
/external/compiler-rt/test/BlocksRuntime/
Dfail.c82 char desired[512]; in main() local
84 bool gotErrorFile = readfile(desired, errorfile); in main()
92 char *where = strstr(got, desired); in main()
/external/icu/icu4c/source/i18n/
Dastro.h531 UDate getSunTime(double desired, UBool next);
631 UDate getMoonTime(double desired, UBool next);
632 UDate getMoonTime(const MoonAge& desired, UBool next);
653 UDate timeOfAngle(AngleFunc& func, double desired,

12345678910>>...14