Searched refs:isUTF16 (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | usettest.h | 172 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16, 176 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
|
D | usettest.cpp | 2894 static inline int32_t slen(const void *s, UBool isUTF16) { in slen() argument 2895 return isUTF16 ? u_strlen((const UChar *)s) : strlen((const char *)s); in slen() 2907 const void *s, int32_t length, UBool isUTF16, in getSpans() argument 2936 typeName= isUTF16 ? typeNames16[type] : typeNames8[type]; in getSpans() 2992 length=slen(s, isUTF16); in getSpans() 2995 … start+= isUTF16 ? containsSpanUTF16(set, (const UChar *)s+start, length-start, spanCondition) : in getSpans() 3011 …start+= isUTF16 ? realSet.span((const UChar *)s+start, length>=0 ? length-start : length, spanCond… in getSpans() 3018 isUTF16 ? ((const UChar *)s)[start]==0 : in getSpans() 3029 length=slen(s, isUTF16); in getSpans() 3036 length= isUTF16 ? containsSpanBackUTF16(set, (const UChar *)s, length, spanCondition) : in getSpans() [all …]
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 169 bool isUTF16() const { return Kind == tok::utf16_char_constant; } in isUTF16() function 234 bool isUTF16() const { return Kind == tok::utf16_string_literal; } in isUTF16() function
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 295 else if (Literal.isUTF16()) in EvaluateValue() 309 else if (!Literal.isUTF16() && !Literal.isUTF32()) in EvaluateValue()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2857 bool isUTF16 = false; in GetAddrOfConstantCFString() local 2860 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString() 2894 Fields[1] = isUTF16 ? llvm::ConstantInt::get(Ty, 0x07d0) : in GetAddrOfConstantCFString() 2899 if (isUTF16) { in GetAddrOfConstantCFString() 2919 if (isUTF16) { in GetAddrOfConstantCFString() 2933 if (isUTF16) in GetAddrOfConstantCFString()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1602 bool isUTF16() const { return Kind == UTF16; } in isUTF16() function
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1560 } else if (Literal.isUTF16()) { in ActOnStringLiteral() 3072 else if (Literal.isUTF16()) in ActOnCharacterConstant() 3084 else if (Literal.isUTF16()) in ActOnCharacterConstant()
|