Home
last modified time | relevance | path

Searched full:toupper (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/third_party/musl/libc-test/src/functionalext/supplement/ctype/
Dtoupper.c22 * @tc.desc : Convert lowercase to uppercase via toupper
28 char result = toupper(ch); in toupper_0100()
30 t_error("%s toupper get result is %c but want get value A ", __func__, result); in toupper_0100()
36 * @tc.desc : Test the result of passing numbers into toupper
42 char result = toupper(ch); in toupper_0200()
44 t_error("%s toupper get result is %c but want get value %c ", __func__, result, ch); in toupper_0200()
50 * @tc.desc : Test the result of passing capital letters into toupper
56 char result = toupper(ch); in toupper_0300()
58 t_error("%s toupper get result is %c but want get value %c ", __func__, result, ch); in toupper_0300()
64 * @tc.desc : Test the result of passing special characters into toupper
[all …]
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeStringUtil.cpp54 struct ToUpper struct
57 ToUpper (void) : loc(locale::classic()) {} in ToUpper() argument
58 char operator() (char c) { return std::toupper(c, loc); } in operator ()()
72 string toUpper (const string& str) in toUpper() function
75 std::transform(str.begin(), str.end(), std::inserter(ret, ret.begin()), ToUpper()); in toUpper()
84 return ToUpper()(str[0]) + str.substr(1); in capitalize()
133 char toUpper (char c) in toUpper() function
135 return std::toupper(c, std::locale::classic()); in toUpper()
164 DE_TEST_ASSERT(toUpper("FooBar") == "FOOBAR"); in StringUtil_selfTest()
195 DE_TEST_ASSERT(toUpper('a') == 'A'); in StringUtil_selfTest()
[all …]
DdeStringUtil.hpp46 std::string toUpper (const std::string& s);
52 char toUpper (char c);
/third_party/icu/icu4c/source/test/intltest/
Dstrcase.cpp167 test4.toUpper(Locale("")); in TestCaseConversion()
170 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion()
173 test4.toUpper(Locale("tr", "TR")); in TestCaseConversion()
176 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion()
180 test3.toUpper(Locale("de", "DE")); in TestCaseConversion()
183 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test3 + "\"."); in TestCaseConversion()
194 test4.toUpper(); in TestCaseConversion()
197 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion()
236 s.setCharAt(0, beforeUpper[0]).toUpper(Locale("")); in TestCaseConversion()
240 …errln("error in toUpper(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, upperRoot, … in TestCaseConversion()
[all …]
/third_party/benchmark/cmake/
DAddCXXCompilerFlag.cmake23 string(TOUPPER "HAVE_CXX_FLAG_${FLAG}" SANITIZED_FLAG)
39 string(TOUPPER "_${VARIANT}" VARIANT)
56 string(TOUPPER "_${VARIANT}" VARIANT)
DCXXFeatureCheck.cmake22 string(TOUPPER ${FILE} VAR)
23 string(TOUPPER "HAVE_${VAR}" FEATURE)
/third_party/musl/porting/uniproton/kernel/src/ctype/
Dtoupper.c3 int toupper(int c) in toupper() function
11 return toupper(c); in __toupper_l()
/third_party/musl/porting/liteos_m/kernel/src/ctype/
Dtoupper.c3 int toupper(int c) in toupper() function
11 return toupper(c); in __toupper_l()
/third_party/musl/src/ctype/
Dtoupper.c3 int toupper(int c) in toupper() function
11 return toupper(c); in __toupper_l()
/third_party/musl/porting/liteos_a/kernel/src/ctype/
Dtoupper.c3 int toupper(int c) in toupper() function
11 return toupper(c); in __toupper_l()
/third_party/python/Tools/scripts/
Dmake_ctype.py88 #define TOUPPER(c) (ctype_toupper[Py_CHARMASK(c)])
92 #undef toupper
93 #define toupper(c) undefined_toupper(c)
/third_party/ffmpeg/ffbuild/
Dlibversion.sh1 toupper(){ function
6 ucname=$(toupper ${name})
/third_party/skia/third_party/externals/icu/source/samples/case/
Dcase.cpp62 string.toUpper(); /* string = "THIS IS A TEST" */ in main()
79 string.toUpper(Locale("tr", "TR")); /* Turkish upper case map string = in main()
81 u_fprintf(out, "\nlower.toUpper: "); in main()
/third_party/flutter/skia/third_party/externals/icu/source/samples/case/
Dcase.cpp62 string.toUpper(); /* string = "THIS IS A TEST" */ in main()
79 string.toUpper(Locale("tr", "TR")); /* Turkish upper case map string = in main()
81 u_fprintf(out, "\nlower.toUpper: "); in main()
/third_party/icu/icu4c/source/samples/case/
Dcase.cpp62 string.toUpper(); /* string = "THIS IS A TEST" */ in main()
79 string.toUpper(Locale("tr", "TR")); /* Turkish upper case map string = in main()
81 u_fprintf(out, "\nlower.toUpper: "); in main()
/third_party/node/deps/icu-small/source/common/
Dunistr_case_locale.cpp45 UnicodeString::toUpper() { in toUpper() function in UnicodeString
51 UnicodeString::toUpper(const Locale &locale) { in toUpper() function in UnicodeString
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunistr_case_locale.cpp45 UnicodeString::toUpper() { in toUpper() function in UnicodeString
51 UnicodeString::toUpper(const Locale &locale) { in toUpper() function in UnicodeString
/third_party/skia/third_party/externals/icu/source/common/
Dunistr_case_locale.cpp45 UnicodeString::toUpper() { in toUpper() function in UnicodeString
51 UnicodeString::toUpper(const Locale &locale) { in toUpper() function in UnicodeString
/third_party/icu/icu4c/source/common/
Dunistr_case_locale.cpp45 UnicodeString::toUpper() { in toUpper() function in UnicodeString
51 UnicodeString::toUpper(const Locale &locale) { in toUpper() function in UnicodeString
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DAsciiUtil.java46 public static char toUpper(char c) { in toUpper() method in AsciiUtil
91 buf.append(toUpper(s.charAt(idx))); in toUpperString()
114 buf.append(toUpper(s.charAt(idx))); in toTitleString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DAsciiUtil.java42 public static char toUpper(char c) { in toUpper() method in AsciiUtil
87 buf.append(toUpper(s.charAt(idx))); in toUpperString()
110 buf.append(toUpper(s.charAt(idx))); in toTitleString()
/third_party/rust/crates/rustix/.github/workflows/
Dtest-users.yml117 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
133 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
277 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
292 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
424 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
439 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
600 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
615 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
742 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
757 upcase=$(echo ${{ matrix.target }} | awk '{ print toupper($0) }' | sed 's/-/_/g')
[all …]
/third_party/nghttp2/cmake/
DFindLibevent.cmake65 string(TOUPPER "${COMPONENT}" COMPONENT_UPPER)
90 string(TOUPPER "${COMPONENT}" COMPONENT_UPPER)
/third_party/toybox/toys/posix/
Dlogger.c46 if (toupper(str[i]) != toupper(names[try][i])) break; in arrayfind()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java241 errln("error in toUpper(root locale)=\"" + UPPER_MINI_ + in TestUpper()
247 errln("toUpper failed: expected \"" + in TestUpper()
255 errln("toUpper failed: expected \"" + in TestUpper()
264 errln("toUpper failed: expected \"" + SHARED_UPPERCASE_GERMAN_ in TestUpper()
532 errln("error in dots.toUpper(lt)=\"" + SPECIAL_DOT_ABOVE_ + in TestSpecial()
539 errln("error in dots.toUpper(de)=\"" + SPECIAL_DOT_ABOVE_ + in TestSpecial()
774 … assertEquals("toUpper/Greek(" + s + ')', expected, UCharacter.toUpperCase(GREEK_LOCALE_, s)); in assertGreekUpper()
818 assertEquals("upper root", "ԵՒ ԵՐԵՒԱՆԻ", CaseMap.toUpper().apply(root, s)); in TestArmenian()
819 assertEquals("upper hy", "ԵՎ ԵՐԵՎԱՆԻ", CaseMap.toUpper().apply(hy, s)); in TestArmenian()
820 assertEquals("upper hyw", "ԵՒ ԵՐԵՒԱՆԻ", CaseMap.toUpper().apply(hyw, s)); in TestArmenian()
[all …]

12345678910>>...13