Searched refs:isUTF16 (Results 1 – 7 of 7) sorted by relevance
/external/icu4c/test/intltest/ |
D | usettest.h | 167 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16, 171 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
|
D | usettest.cpp | 2862 static inline int32_t slen(const void *s, UBool isUTF16) { in slen() argument 2863 return isUTF16 ? u_strlen((const UChar *)s) : strlen((const char *)s); in slen() 2875 const void *s, int32_t length, UBool isUTF16, in getSpans() argument 2904 typeName= isUTF16 ? typeNames16[type] : typeNames8[type]; in getSpans() 2960 length=slen(s, isUTF16); in getSpans() 2963 … start+= isUTF16 ? containsSpanUTF16(set, (const UChar *)s+start, length-start, spanCondition) : in getSpans() 2979 …start+= isUTF16 ? realSet.span((const UChar *)s+start, length>=0 ? length-start : length, spanCond… in getSpans() 2986 isUTF16 ? ((const UChar *)s)[start]==0 : in getSpans() 2997 length=slen(s, isUTF16); in getSpans() 3004 length= isUTF16 ? containsSpanBackUTF16(set, (const UChar *)s, length, spanCondition) : in getSpans() [all …]
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 150 bool isUTF16() const { return Kind == tok::utf16_char_constant; } in isUTF16() function 214 bool isUTF16() const { return Kind == tok::utf16_string_literal; } in isUTF16() function
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1939 bool isUTF16 = false; in GetAddrOfConstantCFString() local 1943 isUTF16, StringLength); in GetAddrOfConstantCFString() 1974 Fields[1] = isUTF16 ? llvm::ConstantInt::get(Ty, 0x07d0) : in GetAddrOfConstantCFString() 1979 if (isUTF16) { in GetAddrOfConstantCFString() 1989 if (isUTF16) in GetAddrOfConstantCFString() 2004 if (isUTF16) { in GetAddrOfConstantCFString() 2015 if (isUTF16) in GetAddrOfConstantCFString()
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 280 else if (Literal.isUTF16()) in EvaluateValue() 292 if (!Literal.isUTF16() && !Literal.isUTF32()) in EvaluateValue()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1211 else if (Literal.isUTF16()) in ActOnStringLiteral() 1223 else if (Literal.isUTF16()) in ActOnStringLiteral() 2426 else if (Literal.isUTF16()) in ActOnCharacterConstant() 2438 else if (Literal.isUTF16()) in ActOnCharacterConstant()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1422 bool isUTF16() const { return Kind == UTF16; } in isUTF16() function
|