Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_locale.py339 self.assertLess(locale.strcoll('a', 'b'), 0)
340 self.assertEqual(locale.strcoll('a', 'a'), 0)
341 self.assertGreater(locale.strcoll('b', 'a'), 0)
362 self.assertLess(locale.strcoll('à', 'b'), 0)
489 self.assertRaises(TypeError, locale.strcoll, "a", None)
490 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/depr/depr.c.headers/
Dstring_h.pass.cpp35 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/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp35 static_assert((std::is_same<decltype(std::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.rst338 .. function:: strcoll(string1, string2)
350 equivalent to ``strcoll(s1, s2) < 0``. This function can be used
424 Locale category for sorting strings. The functions :func:`strcoll` and
477 >>> 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/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/syslinux/com32/lua/src/
Dlvm.c9 #define strcoll strcmp macro
238 int temp = strcoll(l, r); in l_strcmp()
/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/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/
DFIXES230 i have rescinded the attempt to use strcoll in expanding shorthands in
237 the issue appears to be that strcoll is meant for sorting, where
284 locales, using strcoll and iswhatever tests for posix character
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp157 case LibFunc::strcoll: // 0,1 in inferLibFuncAttributes()
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp579 case LibFunc::strcoll: in isValidProtoForLibFunc()

12