Home
last modified time | relevance | path

Searched refs:getCodeUnit (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DStringLiteralWithEmbeddedNulCheck.cpp22 if (Node.getCodeUnit(i) == '\0') in AST_MATCHER()
66 if (Offset + 3 < Length && SL->getCodeUnit(Offset) == '\0' && in check()
67 SL->getCodeUnit(Offset + 1) == 'x' && in check()
68 isDigit(SL->getCodeUnit(Offset + 2)) && in check()
69 isDigit(SL->getCodeUnit(Offset + 3))) { in check()
/external/llvm-project/clang/lib/AST/Interp/
DProgram.cpp58 const uint32_t CodePoint = I == N ? 0 : S->getCodeUnit(I); in createGlobalString()
/external/clang/lib/AST/
DMicrosoftMangle.cpp2948 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
2955 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
DExpr.cpp876 switch (uint32_t Char = getCodeUnit(I)) { in outputString()
884 uint32_t Trail = getCodeUnit(I + 1); in outputString()
DExprConstant.cpp2228 Value = S->getCodeUnit(Index); in extractStringLiteralCharacter()
2250 Value = S->getCodeUnit(I); in expandStringLiteral()
/external/llvm-project/clang/lib/AST/
DMicrosoftMangle.cpp3737 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
3746 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth); in mangleStringLiteral()
DExpr.cpp1019 switch (uint32_t Char = getCodeUnit(I)) { in outputString()
1027 uint32_t Trail = getCodeUnit(I + 1); in outputString()
DExprConstant.cpp3381 Value = S->getCodeUnit(Index); in extractStringLiteralCharacter()
3406 Value = S->getCodeUnit(I); in expandStringLiteral()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3404 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
3414 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1603 char c = (i >= length) ? '\0' : Str->getCodeUnit(i); in getBindingForElement()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1658 char c = (i >= length) ? '\0' : Str->getCodeUnit(i); in getBindingForElement()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp5168 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
5178 Elements.push_back(E->getCodeUnit(i)); in GetConstantArrayFromStringLiteral()
DCGObjCGNU.cpp991 str |= ((uint64_t)SL->getCodeUnit(i)) << ((64 - 4 - 3) - (i*7)); in GenerateConstantString()
/external/clang/include/clang/AST/
DExpr.h1536 uint32_t getCodeUnit(size_t i) const { in getCodeUnit() function
/external/llvm-project/clang/include/clang/AST/
DExpr.h1853 uint32_t getCodeUnit(size_t i) const { in getCodeUnit() function
/external/clang/lib/Sema/
DSemaInit.cpp2500 llvm::APInt CodeUnit(PromotedCharTyWidth, SL->getCodeUnit(i)); in CheckDesignatedInitializer()
DSemaExpr.cpp1706 Value = Lit->getCodeUnit(I); in ActOnStringLiteral()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp2894 llvm::APInt CodeUnit(PromotedCharTyWidth, SL->getCodeUnit(i)); in CheckDesignatedInitializer()
DSemaExpr.cpp1918 Value = Lit->getCodeUnit(I); in ActOnStringLiteral()