Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 40) sorted by relevance

12

/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc203 bool IsInSet(char ch, const char* str) { in IsInSet() argument
204 return ch != '\0' && strchr(str, ch) != NULL; in IsInSet()
210 bool IsAsciiDigit(char ch) { return '0' <= ch && ch <= '9'; } in IsAsciiDigit() argument
211 bool IsAsciiPunct(char ch) { in IsAsciiPunct() argument
212 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~"); in IsAsciiPunct()
214 bool IsRepeat(char ch) { return IsInSet(ch, "?*+"); } in IsRepeat() argument
215 bool IsAsciiWhiteSpace(char ch) { return IsInSet(ch, " \f\n\r\t\v"); } in IsAsciiWhiteSpace() argument
216 bool IsAsciiWordChar(char ch) { in IsAsciiWordChar() argument
217 return ('a' <= ch && ch <= 'z') || ('A' <= ch && ch <= 'Z') || in IsAsciiWordChar()
218 ('0' <= ch && ch <= '9') || ch == '_'; in IsAsciiWordChar()
[all …]
Dgtest-internal-inl.h938 GTEST_API_ bool IsInSet(char ch, const char* str);
939 GTEST_API_ bool IsAsciiDigit(char ch);
940 GTEST_API_ bool IsAsciiPunct(char ch);
941 GTEST_API_ bool IsRepeat(char ch);
942 GTEST_API_ bool IsAsciiWhiteSpace(char ch);
943 GTEST_API_ bool IsAsciiWordChar(char ch);
944 GTEST_API_ bool IsValidEscape(char ch);
945 GTEST_API_ bool AtomMatchesChar(bool escaped, char pattern, char ch);
949 bool escaped, char ch, char repeat, const char* regex, const char* str);
Dgtest.cc1651 for (const char* ch = start; ch != end; ++ch) { in StringStreamToString() local
1652 if (*ch == '\0') { in StringStreamToString()
1655 result += *ch; in StringStreamToString()
3118 const char ch = str[i]; in EscapeXml() local
3119 switch (ch) { in EscapeXml()
3142 if (IsValidXmlCharacter(ch)) { in EscapeXml()
3143 if (is_attribute && IsNormalizableWhitespace(ch)) in EscapeXml()
3144 m << "&#x" << String::FormatByte(static_cast<unsigned char>(ch)) in EscapeXml()
3147 m << ch; in EscapeXml()
3392 for (char ch = *str; ch != '\0'; ch = *++str) { in UrlEncode() local
[all …]
/ndk/tests/device/clone/jni/
Dclone.c21 char ch; in main() local
25 if (read(fd, &ch, 1) < 1) { in main()
36 if (read(fd, &ch, 1) < 1) { in main()
/ndk/sources/android/support/src/msun/
Ds_nan.c38 static int digittoint(char ch) { in digittoint() argument
39 int d = ch - '0'; in digittoint()
43 d = ch - 'a'; in digittoint()
47 d = ch - 'A'; in digittoint()
/ndk/sources/host-tools/make-3.81/po/
Dvi.po26 msgstr "bộ phạn kho touch chưa sẵn sàng trên VMS"
80 msgstr " uid = %d, gid = %d, chế độ = 0%o.\n"
89 msgstr "*** [%s] Có lẽ bộ phạn « %s » là giả; chưa bị xóa bỏ"
94 msgstr "*** Có lẽ bộ phạn « %s » là giả; chưa bị xóa bỏ"
190 msgstr "Biến đệ qui « %s » tham chiếu chính nó (cuối cùng)"
194 msgstr "tham chiếu biến chưa có kết thúc"
221 "không thể thay đổi tên dấu hai chấm đơn « %s » thành dấu hai chấm đôi « %s »"
227 "không thể thay đổi tên dấu hai chấm đôi « %s » thành dấu hai chấm đơn « %s »"
249 msgstr "# Không phải là đĩch:"
257 msgstr "# Đích giả (điều kiện tiên quyết của .PHONY)."
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-port.h1659 inline bool IsAlpha(char ch) {
1660 return isalpha(static_cast<unsigned char>(ch)) != 0;
1662 inline bool IsAlNum(char ch) {
1663 return isalnum(static_cast<unsigned char>(ch)) != 0;
1665 inline bool IsDigit(char ch) {
1666 return isdigit(static_cast<unsigned char>(ch)) != 0;
1668 inline bool IsLower(char ch) {
1669 return islower(static_cast<unsigned char>(ch)) != 0;
1671 inline bool IsSpace(char ch) {
1672 return isspace(static_cast<unsigned char>(ch)) != 0;
[all …]
/ndk/sources/android/support/src/wcstox/
Dshgetc.c18 int ch = (wc < 128) ? (int)wc : '@'; in shgetc() local
19 return ch; in shgetc()
/ndk/sources/android/support/tests/minitest/
Dminitest.cc47 String& String::operator+=(char ch) { in operator +=() argument
49 str_[size_ - 1] = ch; in operator +=()
63 String& String::operator<<(char ch) { in operator <<() argument
64 (*this) += ch; in operator <<()
/ndk/sources/host-tools/ndk-stack/regex/
Dengine.c842 int ch, /* character or NONCHAR code */ in step() argument
860 assert(!NONCHAR(ch) || ch != (char)OPND(s)); in step()
861 if (ch == (char)OPND(s)) in step()
865 if (ch == BOL || ch == BOLEOL) in step()
869 if (ch == EOL || ch == BOLEOL) in step()
873 if (ch == BOW) in step()
877 if (ch == EOW) in step()
881 if (!NONCHAR(ch)) in step()
886 if (!NONCHAR(ch) && CHIN(cs, ch)) in step()
955 print(struct match *m, char *caption, states st, int ch, FILE *d) in print() argument
[all …]
Dregcomp.c857 othercase(int ch) in othercase() argument
859 ch = (uch)ch; in othercase()
860 assert(isalpha(ch)); in othercase()
861 if (isupper(ch)) in othercase()
862 return ((uch)tolower(ch)); in othercase()
863 else if (islower(ch)) in othercase()
864 return ((uch)toupper(ch)); in othercase()
866 return(ch); in othercase()
875 bothcases(struct parse *p, int ch) in bothcases() argument
881 ch = (uch)ch; in bothcases()
[all …]
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_util.h67 explicit String(char ch);
90 String& operator=(char ch) {
91 Assign(&ch, 1);
105 String& operator+=(char ch) {
106 Append(&ch, 1);
Dcrazy_linker_util.cpp37 String::String(char ch) { in String() argument
39 Assign(&ch, 1); in String()
Dcrazy_linker_system_mock.cpp178 char ch = data[offset_++]; in GetString() local
179 *buffer++ = ch; in GetString()
181 if (ch == '\n') in GetString()
/ndk/sources/android/support/src/stdio/
Dstdio_impl.c112 void fake_fputc(char ch, FakeFILE* file) { in fake_fputc() argument
114 fputc(ch, file->file); in fake_fputc()
117 file->buffer[file->buffer_pos++] = ch; in fake_fputc()
Dstdio_impl.h44 void fake_fputc(char ch, FakeFILE* file) __HIDDEN__;
/ndk/sources/host-tools/make-3.81/
Dansi2knr.c216 #define isidchar(ch) (is_alnum(ch) || (ch) == '_') argument
217 #define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_') argument
/ndk/sources/android/support/tests/
Dwchar_unittest.cc13 wchar_t ch = wcs[n]; in to_cstr() local
14 if (!ch) in to_cstr()
16 buffer[n] = (ch < 128) ? ch : '@'; in to_cstr()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlexical_cast.hpp1273 bool shl_char(CharT ch) BOOST_NOEXCEPT in shl_char() argument
1275 Traits::assign(*start, ch); in shl_char()
1282 bool shl_char(T ch) in shl_char() argument
1289 CharT const w = BOOST_USE_FACET(std::ctype<CharT>, loc).widen(ch); in shl_char()
1291 CharT const w = ch; in shl_char()
1503 bool operator<<(char ch) { return shl_char(ch); } in operator <<() argument
1504 … bool operator<<(unsigned char ch) { return ((*this) << static_cast<char>(ch)); } in operator <<() argument
1505 … bool operator<<(signed char ch) { return ((*this) << static_cast<char>(ch)); } in operator <<() argument
1510 bool operator<<(wchar_t ch) { return shl_char(ch); } in operator <<() argument
1514 bool operator<<(char16_t ch) { return shl_char(ch); } in operator <<() argument
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-tuple_test.cc100 const char ch = 'a'; in TEST() local
101 const FooTuple a(i, ch); in TEST()
104 const FooTuple b(j, ch); in TEST()
Dgtest-printers_test.cc1186 int (Foo::*p)(char ch) = &Foo::MyMethod; in TEST()
1251 char ch = 'a'; in TEST() local
1252 EXPECT_EQ(PrintPointer(&ch), in TEST()
1253 FormatForComparisonFailureMessage(&ch, &ch).c_str()); in TEST()
1269 wchar_t ch = L'a'; in TEST() local
1270 EXPECT_EQ(PrintPointer(&ch), in TEST()
1271 FormatForComparisonFailureMessage(&ch, &ch).c_str()); in TEST()
/ndk/sources/host-tools/make-3.81/tests/
Dtest_driver.pl817 local ($ch);
819 $ch = substr ($targetdir, length ($targetdir) - 1);
820 if ($ch eq "/" || $ch eq $pathsep)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dlocale.cpp1257 wint_t ch = static_cast<wint_t>(c); in do_is()
1258 if (m & space) result |= (iswspace_l(ch, __l) != 0); in do_is()
1259 if (m & print) result |= (iswprint_l(ch, __l) != 0); in do_is()
1260 if (m & cntrl) result |= (iswcntrl_l(ch, __l) != 0); in do_is()
1261 if (m & upper) result |= (iswupper_l(ch, __l) != 0); in do_is()
1262 if (m & lower) result |= (iswlower_l(ch, __l) != 0); in do_is()
1263 if (m & alpha) result |= (iswalpha_l(ch, __l) != 0); in do_is()
1264 if (m & digit) result |= (iswdigit_l(ch, __l) != 0); in do_is()
1265 if (m & punct) result |= (iswpunct_l(ch, __l) != 0); in do_is()
1266 if (m & xdigit) result |= (iswxdigit_l(ch, __l) != 0); in do_is()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dresults_collector.ipp207 results_collect_helper ch( s_rc_impl().m_results_store[tu.p_id], tu );
209 traverse_test_tree( tu, ch );
/ndk/sources/host-tools/ndk-depends/
Dndk-depends.cc783 static bool IsLdSoConfSeparator(char ch) { in IsLdSoConfSeparator() argument
786 return (ch == ' ' || ch == '\t' || ch == '\r' || in IsLdSoConfSeparator()
787 ch == '\n' || ch == ',' || ch == ':'); in IsLdSoConfSeparator()

12