Home
last modified time | relevance | path

Searched refs:literalType (Results 1 – 6 of 6) sorted by relevance

/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliLiteral.java55 IElementType literalType = literalNode.getElementType(); in getIntegralValue() local
57 if (literalType == SmaliTokens.LONG_LITERAL) { in getIntegralValue()
59 } else if (literalType == SmaliTokens.NEGATIVE_INTEGER_LITERAL || in getIntegralValue()
60 literalType == SmaliTokens.POSITIVE_INTEGER_LITERAL) { in getIntegralValue()
62 } else if (literalType == SmaliTokens.SHORT_LITERAL) { in getIntegralValue()
64 } else if (literalType == SmaliTokens.CHAR_LITERAL) { in getIntegralValue()
67 } else if (literalType == SmaliTokens.BYTE_LITERAL) { in getIntegralValue()
69 } else if (literalType == SmaliTokens.BOOL_LITERAL) { in getIntegralValue()
/external/expat/lib/
Dxmltok.h241 #define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr) \ argument
242 (((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))
/external/python/cpython3/Modules/expat/
Dxmltok.h241 #define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr) \ argument
242 (((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))
/external/python/cpython2/Modules/expat/
Dxmltok.h251 #define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr) \ argument
252 (((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp6798 QualType literalType = GetTypeFromParser(Ty, &TInfo); in ActOnCompoundLiteral() local
6800 TInfo = Context.getTrivialTypeSourceInfo(literalType); in ActOnCompoundLiteral()
6808 QualType literalType = TInfo->getType(); in BuildCompoundLiteralExpr() local
6810 if (literalType->isArrayType()) { in BuildCompoundLiteralExpr()
6812 LParenLoc, Context.getBaseElementType(literalType), in BuildCompoundLiteralExpr()
6816 if (literalType->isVariableArrayType()) in BuildCompoundLiteralExpr()
6819 } else if (!literalType->isDependentType() && in BuildCompoundLiteralExpr()
6820 RequireCompleteType(LParenLoc, literalType, in BuildCompoundLiteralExpr()
6833 &literalType); in BuildCompoundLiteralExpr()
6859 (getLangOpts().CPlusPlus && !(isFileScope && literalType->isArrayType())) in BuildCompoundLiteralExpr()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp5507 QualType literalType = GetTypeFromParser(Ty, &TInfo); in ActOnCompoundLiteral() local
5509 TInfo = Context.getTrivialTypeSourceInfo(literalType); in ActOnCompoundLiteral()
5517 QualType literalType = TInfo->getType(); in BuildCompoundLiteralExpr() local
5519 if (literalType->isArrayType()) { in BuildCompoundLiteralExpr()
5520 if (RequireCompleteType(LParenLoc, Context.getBaseElementType(literalType), in BuildCompoundLiteralExpr()
5525 if (literalType->isVariableArrayType()) in BuildCompoundLiteralExpr()
5528 } else if (!literalType->isDependentType() && in BuildCompoundLiteralExpr()
5529 RequireCompleteType(LParenLoc, literalType, in BuildCompoundLiteralExpr()
5542 &literalType); in BuildCompoundLiteralExpr()
5551 !literalType->isDependentType()) { // 6.5.2.5p3 in BuildCompoundLiteralExpr()
[all …]