Searched refs:SL (Results 1 - 25 of 39) sorted by relevance

12

/external/clang/tools/libclang/
H A DCIndexInclusionStack.cpp47 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); local
49 if (!SL.isFile() || Invalid)
52 const SrcMgr::FileInfo &FI = SL.getFile();
/external/icu4c/test/intltest/
H A Ditspoof.cpp146 const uint32_t SL = USPOOF_SINGLE_SCRIPT_CONFUSABLE; local
152 CHECK_SKELETON(SL, " A 1ong \\u02b9identifier' that will overflow implementation stack buffers, forcing heap allocations."
162 CHECK_SKELETON(SL, "nochange", "nochange");
169 CHECK_SKELETON(SL, "\\u059c", "\\u0301");
170 CHECK_SKELETON(SL, "\\u2A74", "\\u003A\\u003A\\u003D");
171 CHECK_SKELETON(SL, "\\u247E", "\\u0028\\u006C\\u006C\\u0029"); // "(ll)"
172 CHECK_SKELETON(SL, "\\uFDFB", "\\u062C\\u0644\\u0020\\u062C\\u0644\\u0627\\u0644\\u0647");
174 // This mapping exists in the ML and MA tables, does not exist in SL, SA
176 CHECK_SKELETON(SL, "\\u0C83", "\\u0C83");
186 CHECK_SKELETON(SL, "\\u039
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp149 SourceLocation SL; local
153 SL = DL.asLocation();
154 if (SR.isInvalid() || !SL.isValid())
162 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL))
/external/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp107 const ObjCStringLiteral *SL = cast<ObjCStringLiteral>(E); local
108 return svalBuilder.makeLoc(MRMgr.getObjCStringRegion(SL));
112 const StringLiteral *SL = cast<StringLiteral>(E); local
113 return svalBuilder.makeLoc(MRMgr.getStringRegion(SL));
/external/clang/include/clang/AST/
H A DCommentLexer.h81 void setLocation(SourceLocation SL) { Loc = SL; } argument
H A DExprObjC.h33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) argument
36 String(SL), AtLoc(L) {}
H A DStmt.h969 void setBody(Stmt *S, SourceLocation SL) { argument
971 SwitchLoc = SL;
/external/clang/lib/Lex/
H A DPTHLexer.cpp517 OwningPtr<PTHStringIdLookup> SL(PTHStringIdLookup::Create(StringIdTable,
551 SL.take(), NumIds, spellingBase,
577 PTHStringIdLookup& SL = *((PTHStringIdLookup*)StringIdLookup); local
580 PTHStringIdLookup::iterator I = SL.find(std::make_pair(Name.data(),
582 if (I == SL.end()) // No identifier found?
/external/grub/stage2/
H A Diso9660.h168 struct SL { struct in union:rock_ridge::__anon5573
/external/llvm/lib/Target/
H A DTargetData.cpp422 StructLayout *&SL = (*STM)[Ty]; local
423 if (SL) return SL;
431 // Set SL before calling StructLayout's ctor. The ctor could cause other
433 SL = L;
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITEmitter.cpp548 TargetJITInfo::StubLayout SL = TheJIT->getJITInfo().getStubLayout(); local
549 JE.startGVStub(F, SL.Size, SL.Alignment);
611 TargetJITInfo::StubLayout SL = TheJIT->getJITInfo().getStubLayout();
612 JE.startGVStub(0, SL.Size, SL.Alignment);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp314 const StructLayout *SL = TD.getStructLayout(CS->getType()); local
315 unsigned Index = SL->getElementContainingOffset(ByteOffset);
316 uint64_t CurEltOffset = SL->getElementOffset(Index);
336 uint64_t NextEltOffset = SL->getElementOffset(Index);
739 const StructLayout &SL = *TD->getStructLayout(STy); local
740 if (Offset.uge(SL.getSizeInBytes()))
746 unsigned ElIdx = SL.getElementContainingOffset(Offset.getZExtValue());
749 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx));
H A DScalarEvolutionExpander.cpp466 const StructLayout &SL = *SE.TD->getStructLayout(STy); local
468 if (FullOffset < SL.getSizeInBytes()) {
469 unsigned ElIdx = SL.getElementContainingOffset(FullOffset);
474 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx));
H A DInlineCost.cpp257 const StructLayout *SL = TD->getStructLayout(STy); local
258 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx));
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp82 const StructLayout *SL = TLI.getTargetData()->getStructLayout(STy); local
88 StartingOffset + SL->getElementOffset(EI - EB));
/external/llvm/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp228 const StructLayout *SL = TD->getStructLayout(STy); local
231 ConstantOffset += SL->getElementOffset(Idx);
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp529 SourceLocation SL = SM.getExpansionLoc(D->getLocation()); local
530 if (!Opts->AnalyzeAll && !SM.isFromMainFile(SL))
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp1059 const llvm::StructLayout *SL = getTargetData().getStructLayout(ST); local
1072 assert(AST_RL.getFieldOffset(i) == SL->getElementOffsetInBits(FieldNo) &&
1099 uint64_t FieldOffset = SL->getElementOffsetInBits(AI.FieldIndex);
H A DTargetInfo.cpp1802 const llvm::StructLayout *SL = TD.getStructLayout(STy);
1803 unsigned Elt = SL->getElementContainingOffset(IROffset);
1804 IROffset -= SL->getElementOffset(Elt);
1885 const llvm::StructLayout *SL = getTargetData().getStructLayout(STy);
1886 if (IROffset < SL->getSizeInBytes()) {
1887 unsigned FieldIdx = SL->getElementContainingOffset(IROffset);
1888 IROffset -= SL->getElementOffset(FieldIdx);
/external/clang/lib/AST/
H A DExpr.cpp655 StringLiteral *SL = new (Mem) StringLiteral(Ty); local
658 SL->setString(C,Str,Kind,Pascal);
660 SL->TokLocs[0] = Loc[0];
661 SL->NumConcatenated = NumStrs;
664 memcpy(&SL->TokLocs[1], Loc+1, sizeof(SourceLocation)*(NumStrs-1));
665 return SL;
672 StringLiteral *SL = new (Mem) StringLiteral(QualType()); local
673 SL->CharByteWidth = 0;
674 SL->Length = 0;
675 SL
[all...]
H A DRecordLayoutBuilder.cpp1699 const ASTRecordLayout &SL = Context.getASTObjCInterfaceLayout(SD); local
1701 UpdateAlignment(SL.getAlignment());
1705 setSize(SL.getDataSize());
/external/clang/lib/Sema/
H A DSemaChecking.cpp45 SourceLocation Sema::getLocationOfStringLiteralByte(const StringLiteral *SL, argument
47 return SL->getLocationOfByte(ByteNo, PP.getSourceManager(),
3139 SourceLocation SL = SizeOfArg->getExprLoc(); local
3144 if (SM.isMacroArgExpansion(SL)) {
3145 ReadableName = Lexer::getImmediateMacroName(SL, SM, LangOpts);
3146 SL = SM.getSpellingLoc(SL);
3153 DiagRuntimeBehavior(SL, SizeOfArg,
3160 DiagRuntimeBehavior(SL, SizeOfArg,
3385 SourceLocation SL
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp773 const StructLayout *SL = TD->getStructLayout(STy); local
774 assert(Offset < (int64_t)SL->getSizeInBytes() &&
777 unsigned Elt = SL->getElementContainingOffset(Offset);
781 Offset -= SL->getElementOffset(Elt);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp982 const StructLayout *SL = local
985 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i));
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp2548 const StructLayout *SL = TD.getStructLayout(STy); local
2551 unsigned FieldBitOffset = SL->getElementOffsetInBits(i);
2567 if (PrevFieldEnd < SL->getSizeInBits())

Completed in 1474 milliseconds

12