Home
last modified time | relevance | path

Searched refs:strcoll (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_locale.py345 self.assertLess(locale.strcoll('a', 'b'), 0)
346 self.assertEqual(locale.strcoll('a', 'a'), 0)
347 self.assertGreater(locale.strcoll('b', 'a'), 0)
349 self.assertRaises(ValueError, locale.strcoll, 'a\0', 'a')
350 self.assertRaises(ValueError, locale.strcoll, 'a', 'a\0')
375 self.assertLess(locale.strcoll('à', 'b'), 0)
540 self.assertRaises(TypeError, locale.strcoll, "a", None)
541 self.assertRaises(TypeError, locale.strcoll, b"a", None)
/external/llvm-project/libcxx/include/
Dcstring36 int strcoll(const char* s1, const char* s2);
78 using ::strcoll;
/external/libcxx/include/
Dcstring37 int strcoll(const char* s1, const char* s2);
79 using ::strcoll;
/external/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp38 ASSERT_SAME_TYPE(int, decltype(std::strcoll(cpc, cpc))); in main()
/external/llvm-project/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp37 ASSERT_SAME_TYPE(int, decltype(std::strcoll(cpc, cpc))); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dstring_h.pass.cpp35 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), ""); in main()
/external/llvm-project/libcxx/include/support/xlocale/
D__posix_l_fallback.h136 return ::strcoll(s1, s2); in strcoll_l()
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dstring_h.pass.cpp36 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), ""); in main()
/external/libcxx/include/support/xlocale/
D__posix_l_fallback.h137 return ::strcoll(s1, s2); in strcoll_l()
/external/python/cpython2/Modules/
D_localemodule.c283 return PyInt_FromLong(strcoll(s1, s2)); in PyLocale_strcoll()
293 return PyInt_FromLong(strcoll(PyString_AS_STRING(os1), in PyLocale_strcoll()
/external/python/cpython3/Doc/library/
Dlocale.rst353 .. function:: strcoll(string1, string2)
365 equivalent to ``strcoll(s1, s2) < 0``. This function can be used
448 Locale category for sorting strings. The functions :func:`strcoll` and
501 >>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut
/external/python/cpython2/Doc/library/
Dlocale.rst348 .. function:: strcoll(string1, string2)
434 Locale category for sorting strings. The functions :func:`strcoll` and
487 >>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut
Dfunctools.rst39 sorted(iterable, key=cmp_to_key(locale.strcoll)) # locale-aware sort order
/external/python/cpython2/Lib/
Dlocale.py93 def strcoll(a,b): function
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp336 QFUNC(posix_strcoll_null, strcoll, posix_data)
485 BFUNC(posix_strcoll_null, strcoll, posix_data)
/external/python/cpython3/Lib/
Dlocale.py99 strcoll = _strcoll variable
/external/llvm/test/Transforms/InferFunctionAttrs/
Dno-proto.ll690 ; CHECK: declare void @strcoll(...)
691 declare void @strcoll(...)
/external/python/cpython2/Lib/test/
Dtest_locale.py457 self.assertRaises(TypeError, locale.strcoll, u"a", None)
/external/llvm-project/llvm/test/Transforms/InferFunctionAttrs/
Dno-proto.ll819 ; CHECK: declare void @strcoll(...)
820 declare void @strcoll(...)
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp318 t = strcoll((*(Line **)a)->unixName, (*(Line **)b)->unixName); in UNIXstrcmp()
657 … r = strcoll((gSortedLines[line])->unixName, (gSortedLines[guess])->unixName); in doBinarySearch()
/external/llvm-project/libc/spec/
Dstdc.td210 "strcoll",
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def956 /// int strcoll(const char *s1, const char *s2);
957 TLI_DEFINE_ENUM_INTERNAL(strcoll)
958 TLI_DEFINE_STRING_INTERNAL("strcoll")
/external/rust/crates/libc/src/windows/
Dmod.rs324 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll() function
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst450 Fix a crash in locale.strcoll() when calling it with invalid arguments.
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def1279 /// int strcoll(const char *s1, const char *s2);
1280 TLI_DEFINE_ENUM_INTERNAL(strcoll)
1281 TLI_DEFINE_STRING_INTERNAL("strcoll")

123