Home
last modified time | relevance | path

Searched refs:isUTF16 (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dusettest.h174 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
178 … void testSpan(const UnicodeSetWithStrings *sets[4], const void *s, int32_t length, UBool isUTF16,
Dusettest.cpp2897 static inline int32_t slen(const void *s, UBool isUTF16) { in slen() argument
2898 return isUTF16 ? u_strlen((const UChar *)s) : strlen((const char *)s); in slen()
2910 const void *s, int32_t length, UBool isUTF16, in getSpans() argument
2939 typeName= isUTF16 ? typeNames16[type] : typeNames8[type]; in getSpans()
2995 length=slen(s, isUTF16); in getSpans()
2998 … start+= isUTF16 ? containsSpanUTF16(set, (const UChar *)s+start, length-start, spanCondition) : in getSpans()
3014 …start+= isUTF16 ? realSet.span((const UChar *)s+start, length>=0 ? length-start : length, spanCond… in getSpans()
3021 isUTF16 ? ((const UChar *)s)[start]==0 : in getSpans()
3032 length=slen(s, isUTF16); in getSpans()
3039 length= isUTF16 ? containsSpanBackUTF16(set, (const UChar *)s, length, spanCondition) : in getSpans()
[all …]
/external/clang/include/clang/Lex/
DLiteralSupport.h180 bool isUTF16() const { return Kind == tok::utf16_char_constant; } in isUTF16() function
245 bool isUTF16() const { return Kind == tok::utf16_string_literal; } in isUTF16() function
/external/clang/lib/Lex/
DPPExpressions.cpp349 else if (Literal.isUTF16()) in EvaluateValue()
363 else if (!Literal.isUTF16() && !Literal.isUTF32()) in EvaluateValue()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3100 bool isUTF16 = false; in GetAddrOfConstantCFString() local
3103 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString()
3158 Fields[1] = isUTF16 ? llvm::ConstantInt::get(Ty, 0x07d0) in GetAddrOfConstantCFString()
3163 if (isUTF16) { in GetAddrOfConstantCFString()
3180 CharUnits Align = isUTF16 in GetAddrOfConstantCFString()
3189 GV->setSection(isUTF16 ? "__TEXT,__ustring" in GetAddrOfConstantCFString()
3196 if (isUTF16) in GetAddrOfConstantCFString()
/external/clang/include/clang/AST/
DExpr.h1560 bool isUTF16() const { return Kind == UTF16; } in isUTF16() function
/external/clang/lib/Sema/
DSemaExpr.cpp1622 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
3137 else if (Literal.isUTF16()) in ActOnCharacterConstant()
3149 else if (Literal.isUTF16()) in ActOnCharacterConstant()