Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/external/elfutils/tests/
Drun-show-die-info.sh36 Offset : 11
46 Offset : 104
53 Offset : 127
60 Offset : 146
70 Offset : 239
77 Offset : 262
84 Offset : 281
94 Offset : 374
101 Offset : 402
106 Offset : 419
[all …]
/external/clang/lib/Rewrite/Core/
DRewriteRope.cpp106 RopePieceBTreeNode *split(unsigned Offset);
114 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R);
118 void erase(unsigned Offset, unsigned NumBytes);
209 RopePieceBTreeNode *split(unsigned Offset);
217 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R);
222 void erase(unsigned Offset, unsigned NumBytes);
237 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() argument
240 if (Offset == 0 || Offset == size()) { in split()
248 while (Offset >= PieceOffs+Pieces[i].size()) { in split()
255 if (PieceOffs == Offset) in split()
[all …]
/external/icu4c/layout/
DGlyphDefinitionTables.h34 Offset coverageTableOffset;
36 Offset attachPointTableOffsetArray[ANY_NUMBER];
47 Offset coverageTableOffset;
49 Offset ligGlyphTableOffsetArray[ANY_NUMBER];
55 Offset caretValueTableOffsetArray[ANY_NUMBER];
76 Offset deviceTableOffset;
84 Offset glyphClassDefOffset;
85 Offset attachListOffset;
86 Offset ligCaretListOffset;
87 Offset MarkAttachClassDefOffset;
DContextualSubstSubtables.h41 const Offset *coverageTableOffsetArray, le_uint16 glyphCount,
62 Offset subRuleSetTableOffsetArray[ANY_NUMBER];
70 Offset subRuleTableOffsetArray[ANY_NUMBER];
85 Offset classDefTableOffset;
87 Offset subClassSetTableOffsetArray[ANY_NUMBER];
95 Offset subClassRuleTableOffsetArray[ANY_NUMBER];
116 Offset coverageTableOffsetArray[ANY_NUMBER];
130 Offset chainSubRuleSetTableOffsetArray[ANY_NUMBER];
138 Offset chainSubRuleTableOffsetArray[ANY_NUMBER];
157 Offset backtrackClassDefTableOffset;
[all …]
/external/llvm/lib/Object/
DMachOObject.cpp132 StringRef MachOObject::getData(size_t Offset, size_t Size) const { in getData() argument
133 return Buffer->getBuffer().substr(Offset,Size); in getData()
148 uint64_t Offset; in getLoadCommandInfo() local
150 Offset = getHeaderSize(); in getLoadCommandInfo()
153 Offset = Prev.Offset + Prev.Command.Size; in getLoadCommandInfo()
157 memcpy(&Info.Command, Buffer->getBuffer().data() + Offset, in getLoadCommandInfo()
163 Info.Offset = Offset; in getLoadCommandInfo()
185 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
203 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
217 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSymtabLoadCommand()
[all …]
/external/llvm/include/llvm/MC/
DMachineLocation.h31 int Offset; // Displacement if not register. variable
39 : IsRegister(false), Register(0), Offset(0) {} in MachineLocation()
41 : IsRegister(true), Register(R), Offset(0) {} in MachineLocation()
43 : IsRegister(false), Register(R), Offset(O) {} in MachineLocation()
47 Offset == Other.Offset;
53 int getOffset() const { return Offset; } in getOffset()
56 void setOffset(int O) { Offset = O; } in setOffset()
60 Offset = 0; in set()
65 Offset = O; in set()
DMCWin64EH.h33 unsigned Offset; variable
37 : Operation(Op), Label(L), Offset(0), Register(Reg) { in MCWin64EHInstruction()
42 Label(L), Offset(Size) { } in MCWin64EHInstruction()
44 : Operation(Op), Label(L), Offset(Off), Register(Reg) { in MCWin64EHInstruction()
52 : Operation(Op), Label(L), Offset(Code ? 1 : 0) { in MCWin64EHInstruction()
57 unsigned getOffset() const { return Offset; } in getOffset()
58 unsigned getSize() const { return Offset; } in getSize()
60 bool isPushCodeFrame() const { return Offset == 1; } in isPushCodeFrame()
DMCFixup.h68 uint32_t Offset; variable
77 static MCFixup Create(uint32_t Offset, const MCExpr *Value,
82 FI.Offset = Offset;
90 uint32_t getOffset() const { return Offset; } in getOffset()
91 void setOffset(uint32_t Value) { Offset = Value; } in setOffset()
/external/llvm/lib/CodeGen/
DLocalStackSlotAllocation.cpp50 FrameRef(MachineBasicBlock::iterator I, int64_t Offset) : in FrameRef() argument
51 MI(I), LocalOffset(Offset) {} in FrameRef()
61 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset,
115 int FrameIdx, int64_t &Offset, in AdjustStackOffset() argument
120 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
129 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset()
131 int64_t LocalOffset = StackGrowsDown ? -Offset : Offset; in AdjustStackOffset()
140 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
154 int64_t Offset = 0; in calculateFrameObjectOffsets() local
161 AdjustStackOffset(MFI, MFI->getStackProtectorIndex(), Offset, in calculateFrameObjectOffsets()
[all …]
DPrologEpilogInserter.cpp277 FrameIdx = MFI->CreateFixedObject(RC->getSize(), FixedSlot->Offset, true); in calculateCalleeSavedRegisters()
463 bool StackGrowsDown, int64_t &Offset, in AdjustStackOffset() argument
467 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
476 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset()
479 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); in AdjustStackOffset()
480 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
482 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n"); in AdjustStackOffset()
483 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
484 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
508 int64_t Offset = LocalAreaOffset; in calculateFrameObjectOffsets() local
[all …]
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp174 int Offset = MF.getFrameInfo()->getObjectOffset(FrameIndex); in eliminateFrameIndex() local
183 DEBUG(errs() << "FrameOffset : " << Offset << "\n"); in eliminateFrameIndex()
187 Offset += StackSize; in eliminateFrameIndex()
194 MI.getOperand(i+1).ChangeToImmediate(Offset); in eliminateFrameIndex()
199 Offset += MI.getOperand(i + 1).getImm(); in eliminateFrameIndex()
202 assert(Offset%4 == 0 && "Misaligned stack offset"); in eliminateFrameIndex()
204 DEBUG(errs() << "Offset : " << Offset << "\n" << "<--------->\n"); in eliminateFrameIndex()
206 Offset/=4; in eliminateFrameIndex()
218 bool isUs = isImmUs(Offset); in eliminateFrameIndex()
223 Twine(Offset)); in eliminateFrameIndex()
[all …]
/external/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp389 unsigned FrameReg, int &Offset, in rewriteT2FrameIndex() argument
401 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteT2FrameIndex()
404 if (Offset == 0 && getInstrPredicate(&MI, PredReg) == ARMCC::AL) { in rewriteT2FrameIndex()
418 if (Offset < 0) { in rewriteT2FrameIndex()
419 Offset = -Offset; in rewriteT2FrameIndex()
427 if (ARM_AM::getT2SOImmVal(Offset) != -1) { in rewriteT2FrameIndex()
429 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
433 Offset = 0; in rewriteT2FrameIndex()
437 if (Offset < 4096 && in rewriteT2FrameIndex()
442 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
[all …]
DThumb1RegisterInfo.cpp388 unsigned FrameReg, int &Offset, in rewriteFrameIndex() argument
398 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteFrameIndex()
409 assert((Offset & 3) == 0 && in rewriteFrameIndex()
414 if (Offset == 0 && getInstrPredicate(&MI, PredReg) == ARMCC::AL) { in rewriteFrameIndex()
426 if (((Offset / Scale) & ~Mask) == 0) { in rewriteFrameIndex()
433 .addImm(Offset / Scale)); in rewriteFrameIndex()
436 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset / Scale); in rewriteFrameIndex()
442 unsigned Bytes = (Offset > 0) ? Offset : -Offset; in rewriteFrameIndex()
447 emitThumbRegPlusImmediate(MBB, II, dl, DestReg, FrameReg, Offset, TII, in rewriteFrameIndex()
453 if (Offset > 0) { in rewriteFrameIndex()
[all …]
/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h92 const char &operator[](unsigned Offset) const {
93 return StrData->Data[Offset+StartOffs];
95 char &operator[](unsigned Offset) {
96 return StrData->Data[Offset+StartOffs];
170 void insert(unsigned Offset, const RopePiece &R);
172 void erase(unsigned Offset, unsigned NumBytes);
219 void insert(unsigned Offset, const char *Start, const char *End) { in insert() argument
220 assert(Offset <= size() && "Invalid position to insert!"); in insert()
222 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert()
225 void erase(unsigned Offset, unsigned NumBytes) { in erase() argument
[all …]
/external/clang/lib/Frontend/
DCacheTokens.cpp45 Offset TokenData, PPCondData;
50 PTHEntry(Offset td, Offset ppcd) in PTHEntry()
53 Offset getTokenOffset() const { return TokenData; } in getTokenOffset()
54 Offset getPPCondTableOffset() const { return PPCondData; } in getPPCondTableOffset()
159 Offset off;
163 Offset getOffset() const { assert(valid); return off; } in getOffset()
164 void setOffset(Offset o) { off = o; valid = true; } in setOffset()
181 Offset CurStrOffset;
209 std::pair<Offset, Offset> EmitIdentifierTable();
213 Offset EmitFileTable() { return PM.Emit(Out); } in EmitFileTable()
[all …]
DLayoutOverrideSource.cpp20 unsigned Offset = 0; in parseName() local
21 while (Offset < S.size() && in parseName()
22 (isalpha(S[Offset]) || S[Offset] == '_' || in parseName()
23 (Offset > 0 && isdigit(S[Offset])))) in parseName()
24 ++Offset; in parseName()
26 return S.substr(0, Offset).str(); in parseName()
137 unsigned long long Offset = 0; in LayoutOverrideSource() local
138 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset); in LayoutOverrideSource()
140 CurrentLayout.FieldOffsets.push_back(Offset); in LayoutOverrideSource()
/external/llvm/lib/Target/Mips/
DMipsSERegisterInfo.cpp107 int64_t Offset; in eliminateFI() local
110 Offset = SPOffset; in eliminateFI()
112 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
114 Offset += MI.getOperand(OpNo + 1).getImm(); in eliminateFI()
116 DEBUG(errs() << "Offset : " << Offset << "\n" << "<--------->\n"); in eliminateFI()
120 if (!MI.isDebugValue() && !isInt<16>(Offset)) { in eliminateFI()
128 unsigned Reg = TII.loadImmediate(Offset, MBB, II, DL, &NewImm); in eliminateFI()
132 Offset = SignExtend64<16>(NewImm); in eliminateFI()
136 MI.getOperand(OpNo + 1).ChangeToImmediate(Offset); in eliminateFI()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp80 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset);
83 CharUnits Offset, bool PlacingEmptyBase);
87 CharUnits Offset);
88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset);
92 bool AnyEmptySubobjectsBeyondOffset(CharUnits Offset) const { in AnyEmptySubobjectsBeyondOffset()
93 return Offset <= MaxEmptyClassOffset; in AnyEmptySubobjectsBeyondOffset()
107 CharUnits Offset) const;
110 CharUnits Offset);
114 CharUnits Offset) const;
116 CharUnits Offset) const;
[all …]
/external/libnfc-nxp/src/
DphFriNfc_NdefMap.c159 NdefMap->Offset = 0; in phFriNfc_NdefMap_Reset()
283 uint8_t Offset) in phFriNfc_NdefMap_RdNdef() argument
293 || ( ( Offset != PH_FRINFC_NDEFMAP_SEEK_CUR) && (Offset != PH_FRINFC_NDEFMAP_SEEK_BEGIN )) in phFriNfc_NdefMap_RdNdef()
317 …else if ( (NdefMap->PrevOperation == PH_FRINFC_NDEFMAP_WRITE_OPE) && (Offset != PH_FRINFC_NDEFMAP_… in phFriNfc_NdefMap_RdNdef()
329 if ( Offset == PH_FRINFC_NDEFMAP_SEEK_BEGIN ) in phFriNfc_NdefMap_RdNdef()
336 (Offset == PH_FRINFC_NDEFMAP_SEEK_CUR) && (*NdefMap->DataCount == 0 )) in phFriNfc_NdefMap_RdNdef()
354 Offset); in phFriNfc_NdefMap_RdNdef()
367 Offset); in phFriNfc_NdefMap_RdNdef()
378 Offset); in phFriNfc_NdefMap_RdNdef()
388 Offset); in phFriNfc_NdefMap_RdNdef()
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp153 void isSafeForScalarRepl(Instruction *I, uint64_t Offset, AllocaInfo &Info);
154 void isSafePHISelectUseForScalarRepl(Instruction *User, uint64_t Offset,
156 void isSafeGEP(GetElementPtrInst *GEPI, uint64_t &Offset, AllocaInfo &Info);
157 void isSafeMemAccess(uint64_t Offset, uint64_t MemSize,
160 bool TypeHasComponent(Type *T, uint64_t Offset, uint64_t Size);
161 uint64_t FindElementAndOffset(Type *&T, uint64_t &Offset,
168 void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset,
170 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset,
172 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset,
175 uint64_t Offset,
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp154 int Offset = MF.getFrameInfo()->getObjectOffset(FrameIndex); in eliminateFrameIndex() local
161 Offset -= 2 * Hexagon_WordSize; in eliminateFrameIndex()
167 TII.isValidOffset(MI.getOpcode(), (FrameSize+Offset)) && in eliminateFrameIndex()
171 MI.getOperand(i+1).ChangeToImmediate(FrameSize+Offset); in eliminateFrameIndex()
174 if (!TII.isValidOffset(MI.getOpcode(), Offset)) { in eliminateFrameIndex()
196 if (!TII.isValidOffset(Hexagon::ADD_ri, Offset)) { in eliminateFrameIndex()
198 TII.get(Hexagon::CONST32_Int_Real), dstReg).addImm(Offset); in eliminateFrameIndex()
205 dstReg).addReg(FrameReg).addImm(Offset); in eliminateFrameIndex()
225 if (!TII.isValidOffset(Hexagon::ADD_ri, Offset)) { in eliminateFrameIndex()
227 TII.get(Hexagon::CONST32_Int_Real), resReg).addImm(Offset); in eliminateFrameIndex()
[all …]
DHexagonExpandPredSpillCode.cpp83 int Offset = MI->getOperand(1).getImm(); in runOnMachineFunction() local
87 if (!TII->isValidOffset(Hexagon::STriw_indexed, Offset)) { in runOnMachineFunction()
88 if (!TII->isValidOffset(Hexagon::ADD_ri, Offset)) { in runOnMachineFunction()
91 HEXAGON_RESERVED_REG_1).addImm(Offset); in runOnMachineFunction()
103 HEXAGON_RESERVED_REG_1).addReg(FP).addImm(Offset); in runOnMachineFunction()
117 addReg(FP).addImm(Offset).addReg(HEXAGON_RESERVED_REG_2); in runOnMachineFunction()
130 int Offset = MI->getOperand(2).getImm(); in runOnMachineFunction() local
131 if (!TII->isValidOffset(Hexagon::LDriw, Offset)) { in runOnMachineFunction()
132 if (!TII->isValidOffset(Hexagon::ADD_ri, Offset)) { in runOnMachineFunction()
135 HEXAGON_RESERVED_REG_1).addImm(Offset); in runOnMachineFunction()
[all …]
DHexagonISelDAGToDAG.cpp59 bool SelectMEMriS11_2(SDValue& Addr, SDValue &Base, SDValue &Offset);
61 bool SelectADDRrr(SDValue &Addr, SDValue &Base, SDValue &Offset);
75 bool SelectAddr(SDNode *Op, SDValue Addr, SDValue &Base, SDValue &Offset);
277 static bool OffsetFitsS11(EVT MemType, int64_t Offset) { in OffsetFitsS11() argument
278 if (MemType == MVT::i64 && isShiftedInt<11,3>(Offset)) { in OffsetFitsS11()
281 if (MemType == MVT::i32 && isShiftedInt<11,2>(Offset)) { in OffsetFitsS11()
284 if (MemType == MVT::i16 && isShiftedInt<11,1>(Offset)) { in OffsetFitsS11()
287 if (MemType == MVT::i8 && isInt<11>(Offset)) { in OffsetFitsS11()
308 int64_t Offset = cast<GlobalAddressSDNode>(Base)->getOffset(); in SelectBaseOffsetLoad() local
309 if (Offset != 0 && OffsetFitsS11(LoadedVT, Offset)) { in SelectBaseOffsetLoad()
[all …]
/external/clang/include/clang/Basic/
DSourceManagerInternals.h68 inline bool operator<(const LineEntry &E, unsigned Offset) {
69 return E.FileOffset < Offset;
72 inline bool operator<(unsigned Offset, const LineEntry &E) {
73 return Offset < E.FileOffset;
109 void AddLineNote(FileID FID, unsigned Offset,
111 void AddLineNote(FileID FID, unsigned Offset,
119 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
/external/llvm/include/llvm/Support/
DOutputBuffer.h126 void fixhalf(unsigned short X, unsigned Offset) { in fixhalf() argument
127 unsigned char *P = &Output[Offset]; in fixhalf()
131 void fixword(unsigned X, unsigned Offset) { in fixword() argument
132 unsigned char *P = &Output[Offset]; in fixword()
138 void fixxword(uint64_t X, unsigned Offset) { in fixxword() argument
139 unsigned char *P = &Output[Offset]; in fixxword()
149 void fixaddr(uint64_t X, unsigned Offset) { in fixaddr() argument
151 fixword((unsigned)X, Offset); in fixaddr()
153 fixxword(X, Offset); in fixaddr()

12345678910>>...20