Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_locale.py346 self.assertLess(locale.strcoll('a', 'b'), 0)
347 self.assertEqual(locale.strcoll('a', 'a'), 0)
348 self.assertGreater(locale.strcoll('b', 'a'), 0)
350 self.assertRaises(ValueError, locale.strcoll, 'a\0', 'a')
351 self.assertRaises(ValueError, locale.strcoll, 'a', 'a\0')
376 self.assertLess(locale.strcoll('à', 'b'), 0)
505 self.assertRaises(TypeError, locale.strcoll, "a", None)
506 self.assertRaises(TypeError, locale.strcoll, b"a", None)
/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/libcxx/include/support/xlocale/
D__posix_l_fallback.h137 return ::strcoll(s1, s2); in strcoll_l()
/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/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(...)
Dannotate.ll706 ; CHECK: declare i32 @strcoll(i8* nocapture, i8* nocapture) [[G1]]
707 declare i32 @strcoll(i8*, i8*)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InferFunctionAttrs/
Dno-proto.ll819 ; CHECK: declare void @strcoll(...)
820 declare void @strcoll(...)
Dannotate.ll841 ; CHECK: declare i32 @strcoll(i8* nocapture, i8* nocapture) [[G1]]
842 declare i32 @strcoll(i8*, i8*)
/external/python/cpython2/Lib/test/
Dtest_locale.py457 self.assertRaises(TypeError, locale.strcoll, u"a", None)
/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/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp318 t = strcoll((*(Line **)a)->unixName, (*(Line **)b)->unixName); in UNIXstrcmp()
658 … r = strcoll((gSortedLines[line])->unixName, (gSortedLines[guess])->unixName); in doBinarySearch()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def1156 /// int strcoll(const char *s1, const char *s2);
1157 TLI_DEFINE_ENUM_INTERNAL(strcoll)
1158 TLI_DEFINE_STRING_INTERNAL("strcoll")
/external/python/cpython2/Misc/NEWS.d/
D2.6b3.rst450 Fix a crash in locale.strcoll() when calling it with invalid arguments.
/external/python/cpython3/Doc/howto/
Dsorting.rst263 :func:`locale.strcoll` for a comparison function.
/external/python/cpython2/Doc/howto/
Dsorting.rst276 :func:`locale.strcoll` for a comparison function.
/external/libxml2/
Dtriostr.c504 return (strcoll(first, second) == 0);
/external/one-true-awk/
DFIXES304 i have rescinded the attempt to use strcoll in expanding shorthands in
311 the issue appears to be that strcoll is meant for sorting, where
358 locales, using strcoll and iswhatever tests for posix character

12