Home
last modified time | relevance | path

Searched refs:desired (Results 1 - 25 of 101) sorted by relevance

12345

/third_party/glfw/src/
H A Dcontext.c41 // Checks whether the desired context attributes are valid
181 // Chooses the framebuffer config that best matches the desired one
183 const _GLFWfbconfig* _glfwChooseFBConfig(const _GLFWfbconfig* desired, in _glfwChooseFBConfig() argument
198 if (desired->stereo > 0 && current->stereo == 0) in _glfwChooseFBConfig()
208 if (desired->alphaBits > 0 && current->alphaBits == 0) in _glfwChooseFBConfig()
211 if (desired->depthBits > 0 && current->depthBits == 0) in _glfwChooseFBConfig()
214 if (desired->stencilBits > 0 && current->stencilBits == 0) in _glfwChooseFBConfig()
217 if (desired->auxBuffers > 0 && in _glfwChooseFBConfig()
218 current->auxBuffers < desired->auxBuffers) in _glfwChooseFBConfig()
220 missing += desired in _glfwChooseFBConfig()
[all...]
H A Dmonitor.c219 // Chooses the video mode most closely matching the desired one
222 const GLFWvidmode* desired) in _glfwChooseVideoMode()
240 if (desired->redBits != GLFW_DONT_CARE) in _glfwChooseVideoMode()
241 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()
242 if (desired->greenBits != GLFW_DONT_CARE) in _glfwChooseVideoMode()
243 colorDiff += abs(current->greenBits - desired->greenBits); in _glfwChooseVideoMode()
244 if (desired->blueBits != GLFW_DONT_CARE) in _glfwChooseVideoMode()
245 colorDiff += abs(current->blueBits - desired->blueBits); in _glfwChooseVideoMode()
247 sizeDiff = abs((current->width - desired->width) * in _glfwChooseVideoMode()
248 (current->width - desired in _glfwChooseVideoMode()
221 _glfwChooseVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired) _glfwChooseVideoMode() argument
[all...]
/third_party/elfutils/lib/
H A Dstdatomic-fbsd.h266 desired, success, failure) \
267 __c11_atomic_compare_exchange_strong(object, expected, desired, \
270 desired, success, failure) \
271 __c11_atomic_compare_exchange_weak(object, expected, desired, \
273 #define atomic_exchange_explicit(object, desired, order) \
274 __c11_atomic_exchange(object, desired, order)
287 #define atomic_store_explicit(object, desired, order) \
288 __c11_atomic_store(object, desired, order)
291 desired, success, failure) \
293 desired,
[all...]
/third_party/ffmpeg/compat/atomics/gcc/
H A Dstdatomic.h86 #define atomic_store(object, desired) \
88 *(object) = (desired); \
92 #define atomic_store_explicit(object, desired, order) \
93 atomic_store(object, desired)
101 #define atomic_exchange(object, desired) \
107 while (!__sync_bool_compare_and_swap(_obj, _old, (desired))); \
111 #define atomic_exchange_explicit(object, desired, order) \
112 atomic_exchange(object, desired)
114 #define atomic_compare_exchange_strong(object, expected, desired) \
118 *_exp = __sync_val_compare_and_swap((object), _old, (desired)); \
[all...]
/third_party/ffmpeg/compat/atomics/win32/
H A Dstdatomic.h83 #define atomic_store(object, desired) \
85 *(object) = (desired); \
89 #define atomic_store_explicit(object, desired, order) \
90 atomic_store(object, desired)
98 #define atomic_exchange(object, desired) \
99 InterlockedExchangePointer((PVOID volatile *)object, (PVOID)desired)
101 #define atomic_exchange_explicit(object, desired, order) \
102 atomic_exchange(object, desired)
105 intptr_t desired) in atomic_compare_exchange_strong()
109 (PVOID *)object, (PVOID)desired, (PVOI in atomic_compare_exchange_strong()
104 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument
[all...]
/third_party/ffmpeg/compat/atomics/suncc/
H A Dstdatomic.h83 static inline void atomic_store(intptr_t *object, intptr_t desired) in atomic_store() argument
85 *object = desired; in atomic_store()
89 #define atomic_store_explicit(object, desired, order) \
90 atomic_store(object, desired)
101 #define atomic_exchange(object, desired) \
102 atomic_swap_ptr(object, desired)
104 #define atomic_exchange_explicit(object, desired, order) \
105 atomic_exchange(object, desired)
108 intptr_t desired) in atomic_compare_exchange_strong()
111 *expected = (intptr_t)atomic_cas_ptr(object, (void *)old, (void *)desired); in atomic_compare_exchange_strong()
107 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument
[all...]
/third_party/ffmpeg/compat/atomics/pthread/
H A Dstdatomic.h91 static inline void atomic_store(intptr_t *object, intptr_t desired) in atomic_store() argument
94 *object = desired; in atomic_store()
98 #define atomic_store_explicit(object, desired, order) \
99 atomic_store(object, desired)
113 static inline intptr_t atomic_exchange(intptr_t *object, intptr_t desired) in atomic_exchange() argument
118 *object = desired; in atomic_exchange()
123 #define atomic_exchange_explicit(object, desired, order) \
124 atomic_exchange(object, desired)
127 intptr_t desired) in atomic_compare_exchange_strong()
133 *object = desired; in atomic_compare_exchange_strong()
126 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument
[all...]
/third_party/ffmpeg/compat/atomics/dummy/
H A Dstdatomic.h85 #define atomic_store(object, desired) \
87 *(object) = (desired); \
90 #define atomic_store_explicit(object, desired, order) \
91 atomic_store(object, desired)
99 static inline intptr_t atomic_exchange(intptr_t *object, intptr_t desired) in atomic_exchange() argument
102 *object = desired; in atomic_exchange()
106 #define atomic_exchange_explicit(object, desired, order) \
107 atomic_exchange(object, desired)
110 intptr_t desired) in atomic_compare_exchange_strong()
114 *object = desired; in atomic_compare_exchange_strong()
109 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument
[all...]
/third_party/icu/icu4c/source/common/
H A Dlocdistance.cpp98 // a mere region difference for one desired locale in LocaleDistance()
99 // is as good as a perfect match for the next following desired locale. in LocaleDistance()
100 // As of CLDR 36, we have <languageMatch desired="en_*_*" supported="en_*_*" distance="5"/>. in LocaleDistance()
110 const LSR &desired, in getBestIndexAndDistance()
115 // Look up the desired language only once for all supported LSRs. in getBestIndexAndDistance()
117 // Note: The data builder verifies that there are no <*, supported> or <desired, *> rules. in getBestIndexAndDistance()
118 int32_t desLangDistance = trieNext(iter, desired.language, false); in getBestIndexAndDistance()
144 if (uprv_strcmp(desired.language, supported.language) == 0) { in getBestIndexAndDistance()
174 if (uprv_strcmp(desired.script, supported.script) == 0) { in getBestIndexAndDistance()
181 desired in getBestIndexAndDistance()
109 getBestIndexAndDistance( const LSR &desired, const LSR **supportedLSRs, int32_t supportedLSRsLength, int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const getBestIndexAndDistance() argument
258 getDesSuppScriptDistance( BytesTrie &iter, uint64_t startState, const char *desired, const char *supported) getDesSuppScriptDistance() argument
284 char desired = *desiredPartitions++; getRegionPartitionsDistance() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dlocdistance.cpp98 // a mere region difference for one desired locale in LocaleDistance()
99 // is as good as a perfect match for the next following desired locale. in LocaleDistance()
100 // As of CLDR 36, we have <languageMatch desired="en_*_*" supported="en_*_*" distance="5"/>. in LocaleDistance()
110 const LSR &desired, in getBestIndexAndDistance()
115 // Look up the desired language only once for all supported LSRs. in getBestIndexAndDistance()
117 // Note: The data builder verifies that there are no <*, supported> or <desired, *> rules. in getBestIndexAndDistance()
118 int32_t desLangDistance = trieNext(iter, desired.language, false); in getBestIndexAndDistance()
144 if (uprv_strcmp(desired.language, supported.language) == 0) { in getBestIndexAndDistance()
174 if (uprv_strcmp(desired.script, supported.script) == 0) { in getBestIndexAndDistance()
181 desired in getBestIndexAndDistance()
109 getBestIndexAndDistance( const LSR &desired, const LSR **supportedLSRs, int32_t supportedLSRsLength, int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const getBestIndexAndDistance() argument
258 getDesSuppScriptDistance( BytesTrie &iter, uint64_t startState, const char *desired, const char *supported) getDesSuppScriptDistance() argument
284 char desired = *desiredPartitions++; getRegionPartitionsDistance() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocdistance.cpp98 // a mere region difference for one desired locale in LocaleDistance()
99 // is as good as a perfect match for the next following desired locale. in LocaleDistance()
100 // As of CLDR 36, we have <languageMatch desired="en_*_*" supported="en_*_*" distance="5"/>. in LocaleDistance()
110 const LSR &desired, in getBestIndexAndDistance()
115 // Look up the desired language only once for all supported LSRs. in getBestIndexAndDistance()
117 // Note: The data builder verifies that there are no <*, supported> or <desired, *> rules. in getBestIndexAndDistance()
118 int32_t desLangDistance = trieNext(iter, desired.language, false); in getBestIndexAndDistance()
144 if (uprv_strcmp(desired.language, supported.language) == 0) { in getBestIndexAndDistance()
174 if (uprv_strcmp(desired.script, supported.script) == 0) { in getBestIndexAndDistance()
181 desired in getBestIndexAndDistance()
109 getBestIndexAndDistance( const LSR &desired, const LSR **supportedLSRs, int32_t supportedLSRsLength, int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const getBestIndexAndDistance() argument
258 getDesSuppScriptDistance( BytesTrie &iter, uint64_t startState, const char *desired, const char *supported) getDesSuppScriptDistance() argument
284 char desired = *desiredPartitions++; getRegionPartitionsDistance() local
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DLocaleDistanceMapper.java72 // <languageMatch desired="ja_Latn" supported="ja_Jpan" distance="5" oneway="true"/>
73 // <languageMatch desired="ar_*_$maghreb" supported="ar_*_$maghreb" distance="4"/>
74 // <languageMatch desired="en_*_$!enUS" supported="en_*_GB" distance="3"/>
76 WRITTEN_LANGUAGE_PREFIX.withSuffix("languageMatch[@desired=*][@supported=*]");
78 AttributeKey.keyOf("languageMatch", "desired");
219 * <languageMatch desired="zh_Hans" supported="zh_Hant" distance="15" oneway="true"/>
223 * <languageMatch desired="ar_*_$maghreb" supported="ar_*_$maghreb" distance="4"/>
231 private final LsrSpec desired; field in LocaleDistanceMapper.LanguageMatchRule
236 public LanguageMatchRule(LsrSpec desired, LsrSpec supported, int distance, boolean oneway) { in LanguageMatchRule() argument
237 this.desired in LanguageMatchRule()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleMatcherTest.java145 assertTrue("exactly desired en-GB object", udesired == result.getDesiredULocale()); in testBasics()
157 Locale desired = new Locale("en", "US"); // distinct object from Locale.US in testBasics()
158 result = matcher.getBestLocaleResult(desired); in testBasics()
160 assertTrue("exactly desired en-US object", desired == result.getDesiredLocale()); in testBasics()
337 ULocale desired = new ULocale("ar-SA-u-nu-latn"); in testResolvedLocale()
338 LocaleMatcher.Result result = matcher.getBestMatchResult(desired); in testResolvedLocale()
491 private void showDistance(LocaleMatcher matcher, String desired, String supported) { in showDistance() argument
492 ULocale desired2 = new ULocale(desired); in showDistance()
495 logln(desired in showDistance()
668 ULocale desired; global() field in LocaleMatcherTest.PerfCase
796 timeLocaleMatcher(ULocale desired, LocaleMatcher matcher, int iterations) timeLocaleMatcher() argument
859 String desired = ""; global() field in LocaleMatcherTest.TestCase
[all...]
H A DLocaleDistanceTest.java41 final ULocale desired; field in LocaleDistanceTest.Arguments
47 this.desired = new ULocale.Builder().setLanguageTag(args.get(0)).build(); // use more complicated expression to check syntax in Arguments()
85 final ULocale desired = test.desired; in testTiming()
91 final ULocale desiredMax = ULocale.addLikelySubtags(desired); in testTiming()
96 //double distOld1 = oldLocaleMatcher.match(desired, desiredMax, supported, supportedMax); in testTiming()
97 //double distOld2 = oldLocaleMatcher.match(supported, supportedMax, desired, desiredMax); in testTiming()
101 // final LSR desiredLSR = LSR.maximizedFrom(desired); in testTiming()
106 int dist1 = localeDistance.testOnlyDistance(desired, supported, 1000, FavorSubtag.LANGUAGE); in testTiming()
107 int dist2 = localeDistance.testOnlyDistance(supported, desired, 100 in testTiming()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleMatcherTest.java142 assertTrue("exactly desired en-GB object", udesired == result.getDesiredULocale()); in testBasics()
154 Locale desired = new Locale("en", "US"); // distinct object from Locale.US in testBasics()
155 result = matcher.getBestLocaleResult(desired); in testBasics()
157 assertTrue("exactly desired en-US object", desired == result.getDesiredLocale()); in testBasics()
358 ULocale desired = new ULocale("ar-SA-u-nu-latn"); in testResolvedLocale()
359 LocaleMatcher.Result result = matcher.getBestMatchResult(desired); in testResolvedLocale()
510 private void showDistance(LocaleMatcher matcher, String desired, String supported) { in showDistance() argument
511 ULocale desired2 = new ULocale(desired); in showDistance()
514 logln(desired in showDistance()
710 ULocale desired; global() field in LocaleMatcherTest.PerfCase
838 timeLocaleMatcher(ULocale desired, LocaleMatcher matcher, int iterations) timeLocaleMatcher() argument
901 String desired = ""; global() field in LocaleMatcherTest.TestCase
[all...]
H A DLocaleDistanceTest.java38 final ULocale desired; field in LocaleDistanceTest.Arguments
44 this.desired = new ULocale.Builder().setLanguageTag(args.get(0)).build(); // use more complicated expression to check syntax in Arguments()
82 final ULocale desired = test.desired; in testTiming()
88 final ULocale desiredMax = ULocale.addLikelySubtags(desired); in testTiming()
93 //double distOld1 = oldLocaleMatcher.match(desired, desiredMax, supported, supportedMax); in testTiming()
94 //double distOld2 = oldLocaleMatcher.match(supported, supportedMax, desired, desiredMax); in testTiming()
98 // final LSR desiredLSR = LSR.maximizedFrom(desired); in testTiming()
103 int dist1 = localeDistance.testOnlyDistance(desired, supported, 1000, FavorSubtag.LANGUAGE); in testTiming()
104 int dist2 = localeDistance.testOnlyDistance(supported, desired, 100 in testTiming()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
H A DLocaleDistanceBuilder.java111 final List<String> desired; field in LocaleDistanceBuilder.Rule
116 Rule(List<String> desired, List<String> supported, int distance, boolean oneway) { in Rule() argument
117 this.desired = desired; in Rule()
202 private int getDistance(String desired, String supported, in getDistance() argument
205 Map<String, DistanceTable> sub2 = subtables.get(desired); in getDistance()
210 DistanceTable value = sub2.get(supported); // <*/desired, supported> in getDistance()
212 value = sub2.get(ANY); // <*/desired, *> in getDistance()
225 int result = starEquals && star && desired.equals(supported) ? 0 : value.nodeDistance; in getDistance()
242 DistanceTable addSubtable(String desired, Strin argument
260 getNode(String desired, String supported) getNode() argument
271 addSubtables( String desired, String supported, Predicate<DistanceTable> action) addSubtables() argument
615 checkStars(String desired, String supported, boolean allStars) checkStars() argument
629 add(DistanceTable languageDesired2Supported, List<String> desired, List<String> supported, int percentage) add() argument
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
H A DLocaleDistanceBuilder.java111 final List<String> desired; field in LocaleDistanceBuilder.Rule
116 Rule(List<String> desired, List<String> supported, int distance, boolean oneway) { in Rule() argument
117 this.desired = desired; in Rule()
202 private int getDistance(String desired, String supported, in getDistance() argument
205 Map<String, DistanceTable> sub2 = subtables.get(desired); in getDistance()
210 DistanceTable value = sub2.get(supported); // <*/desired, supported> in getDistance()
212 value = sub2.get(ANY); // <*/desired, *> in getDistance()
225 int result = starEquals && star && desired.equals(supported) ? 0 : value.nodeDistance; in getDistance()
242 DistanceTable addSubtable(String desired, Strin argument
260 getNode(String desired, String supported) getNode() argument
271 addSubtables( String desired, String supported, Predicate<DistanceTable> action) addSubtables() argument
615 checkStars(String desired, String supported, boolean allStars) checkStars() argument
629 add(DistanceTable languageDesired2Supported, List<String> desired, List<String> supported, int percentage) add() argument
[all...]
/third_party/musl/src/internal/
H A Dstdatomic_impl.h73 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST)
79 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST)
82 #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
85 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
/third_party/musl/porting/linux/user/src/internal/
H A Dstdatomic_impl.h73 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST)
79 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST)
82 #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
85 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleDistance.java62 // One '*' is used for a (desired, supported) pair of "und", "Zzzz"/"", or "ZZ"/"".
209 // a mere region difference for one desired locale in LocaleDistance()
210 // is as good as a perfect match for the next following desired locale. in LocaleDistance()
211 // As of CLDR 36, we have <languageMatch desired="en_*_*" supported="en_*_*" distance="5"/>. in LocaleDistance()
228 public int testOnlyDistance(ULocale desired, ULocale supported, in testOnlyDistance() argument
231 LSR desiredLSR = XLikelySubtags.INSTANCE.makeMaximizedLsrFrom(desired); in testOnlyDistance()
238 * Finds the supported LSR with the smallest distance from the desired one.
245 public int getBestIndexAndDistance(LSR desired, LSR[] supportedLSRs, int supportedLSRsLength, in getBestIndexAndDistance() argument
248 // Look up the desired language only once for all supported LSRs. in getBestIndexAndDistance()
250 // Note: The data builder verifies that there are no <*, supported> or <desired, *> rule in getBestIndexAndDistance()
391 isMatch(LSR desired, LSR supported, int shiftedThreshold, FavorSubtag favorSubtag) isMatch() argument
398 getDesSuppScriptDistance(BytesTrie iter, long startState, String desired, String supported) getDesSuppScriptDistance() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleDistance.java64 // One '*' is used for a (desired, supported) pair of "und", "Zzzz"/"", or "ZZ"/"".
214 // a mere region difference for one desired locale in LocaleDistance()
215 // is as good as a perfect match for the next following desired locale. in LocaleDistance()
216 // As of CLDR 36, we have <languageMatch desired="en_*_*" supported="en_*_*" distance="5"/>. in LocaleDistance()
233 public int testOnlyDistance(ULocale desired, ULocale supported, in testOnlyDistance() argument
236 LSR desiredLSR = XLikelySubtags.INSTANCE.makeMaximizedLsrFrom(desired); in testOnlyDistance()
243 * Finds the supported LSR with the smallest distance from the desired one.
250 public int getBestIndexAndDistance(LSR desired, LSR[] supportedLSRs, int supportedLSRsLength, in getBestIndexAndDistance() argument
253 // Look up the desired language only once for all supported LSRs. in getBestIndexAndDistance()
255 // Note: The data builder verifies that there are no <*, supported> or <desired, *> rule in getBestIndexAndDistance()
396 isMatch(LSR desired, LSR supported, int shiftedThreshold, FavorSubtag favorSubtag) isMatch() argument
403 getDesSuppScriptDistance(BytesTrie iter, long startState, String desired, String supported) getDesSuppScriptDistance() argument
[all...]
/third_party/mbedtls/library/
H A Dmps_reader.c230 mbedtls_mps_size_t desired, in mbedtls_mps_reader_get()
238 "* Bytes requested: %u", (unsigned) desired); in mbedtls_mps_reader_get()
257 * end end+desired in mbedtls_mps_reader_get()
271 * end end+desired in mbedtls_mps_reader_get()
285 * end end+desired in mbedtls_mps_reader_get()
300 * end end + desired in mbedtls_mps_reader_get()
316 if (frag_offset - end < desired) { in mbedtls_mps_reader_get()
319 if (acc_available - end != desired) { in mbedtls_mps_reader_get()
340 *buflen = desired; in mbedtls_mps_reader_get()
343 end += desired; in mbedtls_mps_reader_get()
229 mbedtls_mps_reader_get(mbedtls_mps_reader *rd, mbedtls_mps_size_t desired, unsigned char **buffer, mbedtls_mps_size_t *buflen) mbedtls_mps_reader_get() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dlocalematchertest.cpp35 CharString desired; member
230 Locale desired("en_GB"); // distinct object from Locale.UK in testBasics()
231 LocaleMatcher::Result result = matcher.getBestMatchResult(desired, errorCode); in testBasics()
232 assertTrue("withDefault: exactly desired en-GB object", in testBasics()
233 &desired == result.getDesiredLocale()); in testBasics()
234 assertEquals("withDefault: en-GB desired index", 0, result.getDesiredIndex()); in testBasics()
242 assertEquals("withDefault: ja-JP, en-US desired index", 1, result.getDesiredIndex()); in testBasics()
243 assertEquals("withDefault: ja-JP, en-US desired", in testBasics()
246 desired = Locale("en", "US"); // distinct object from Locale.US in testBasics()
247 result = matcher.getBestMatchResult(desired, errorCod in testBasics()
335 Locale desired[] = { "fr-CH", "de-CH", "it" }; testDemotion() local
358 Locale desired[] = { "arz-EG", "nb-DK" }; testDirection() local
[all...]
/third_party/node/deps/histogram/src/
H A Dhdr_atomic.h77 static bool __inline hdr_atomic_compare_exchange_64(volatile int64_t* field, int64_t* expected, int64_t desired) in hdr_atomic_compare_exchange_64() argument
79 return *expected == _InterlockedCompareExchange64(field, desired, *expected); in hdr_atomic_compare_exchange_64()
90 #define hdr_atomic_compare_exchange_64(field, expected, desired) __atomic_compare_exchange_n(field, expected, desired, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
133 static inline bool hdr_atomic_compare_exchange_64(volatile int64_t* field, int64_t* expected, int64_t desired) in hdr_atomic_compare_exchange_64() argument
136 asm volatile( "lock; cmpxchgq %2, %1" : "=a"(original), "+m"(*field) : "q"(desired), "0"(*expected)); in hdr_atomic_compare_exchange_64()

Completed in 16 milliseconds

12345