Searched refs:Pos (Results 1 - 25 of 75) sorted by relevance

123

/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DAllocationOrder.h28 const unsigned *Pos; member in class:llvm::AllocationOrder
49 if (!Pos) {
50 Pos = Begin;
55 while (Pos != End) {
56 unsigned Reg = *Pos++;
64 void rewind() { Pos = 0; }
H A DBranchFolding.h82 void setTailStartPos(MachineBasicBlock::iterator Pos) { argument
83 TailStartPos = Pos;
H A DAllocationOrder.cpp28 : Begin(0), End(0), Pos(0), RCI(RegClassInfo), OwnedBegin(false) {
/macosx-10.9.5/CPANInternal-140/Class-Trigger-0.14/inc/IO/
H A DScalar.pm59 *$self->{Pos} = 0; ### seek position
106 substr(${*$self->{SR}}, *$self->{Pos}++, 1);
121 my $i = *$self->{Pos}; ### Start matching at this point.
129 *$self->{Pos} = length $$sr;
145 $line = substr ($$sr, *$self->{Pos}, $i - *$self->{Pos} + 1);
146 *$self->{Pos} = $i+1; ### Remember where we finished up.
149 $line = substr ($$sr, *$self->{Pos}, $i - *$self->{Pos});
150 *$self->{Pos}
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/TableGen/
H A DTableGenBackend.cpp21 uint64_t Pos = OS.tell(); local
23 for (unsigned i = OS.tell() - Pos, e = 80 - Suffix.size(); i != e; ++i)
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DFileUtilities.cpp50 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument
52 if (!isNumberChar(*Pos)) return Pos;
56 while (Pos > FirstChar && isNumberChar(Pos[-1])) {
58 if (Pos[-1] == '.') {
64 --Pos;
65 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[
74 EndOfNumber(const char *Pos) argument
[all...]
H A DFoldingSet.cpp95 unsigned Pos = 0; local
101 Pos = (Units + 1) * 4;
107 for (Pos += 4; Pos <= Size; Pos += 4) {
108 unsigned V = ((unsigned char)String[Pos - 4] << 24) |
109 ((unsigned char)String[Pos - 3] << 16) |
110 ((unsigned char)String[Pos - 2] << 8) |
111 (unsigned char)String[Pos - 1];
116 for (Pos
[all...]
H A DCommandLine.cpp243 StringRef::size_type Pos = Val.find(','); local
245 while (Pos != StringRef::npos) {
247 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg))
250 Val = Val.substr(Pos+1);
251 Value.substr(Pos+1); // Increment the original value pointer as well.
253 Pos = Val.find(',');
441 size_t Pos = WorkStr.find_first_not_of(Delims); local
442 if (Pos == StringRef::npos) Pos = WorkStr.size();
443 WorkStr = WorkStr.substr(Pos);
448 size_t Pos = WorkStr.find_first_of(Delims); local
[all...]
H A DTriple.cpp408 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
409 if (Found[Pos])
420 switch (Pos) {
446 if (Pos < Idx) {
452 // Insert the component being moved at Pos, displacing any existing
454 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) {
462 } else if (Pos > Idx) {
464 // reaches the target position Pos
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/cm/
H A Dmatchbrackets.js5 var Pos = CodeMirror.Pos; variable
15 var style = cm.getTokenAt(Pos(cur.line, pos + 1)).type;
24 if (re.test(ch) && cm.getTokenAt(Pos(lineNo, pos + 1)).type == style) {
37 return {from: Pos(cur.line, pos), to: found && Pos(i, found.pos), match: found && found.match};
47 var one = cm.markText(found.from, Pos(found.from.line, found.from.ch + 1), {className: style});
48 var two = found.to && cm.markText(found.to, Pos(found.to.line, found.to.ch + 1), {className: style});
H A Dclosebrackets.js21 cm.replaceRange("", CodeMirror.Pos(cur.line, cur.ch - 1), CodeMirror.Pos(cur.line, cur.ch + 1));
34 var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1));
41 var cur = cm.getCursor(), ahead = CodeMirror.Pos(cur.line, cur.ch + 1);
/macosx-10.9.5/CPANInternal-140/Test-Simple/lib/Test/Builder/IO/
H A DScalar.pm97 *$self->{Pos} = 0; ### seek position
171 substr(${*$self->{SR}}, *$self->{Pos}++, 1);
193 my $i = *$self->{Pos}; ### Start matching at this point.
201 *$self->{Pos} = length $$sr;
217 $line = substr ($$sr, *$self->{Pos}, $i - *$self->{Pos} + 1);
218 *$self->{Pos} = $i+1; ### Remember where we finished up.
221 $line = substr ($$sr, *$self->{Pos}, $i - *$self->{Pos});
222 *$self->{Pos}
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Druleiter.h133 struct Pos : public UMemory { struct in class:RuleCharacterIterator
146 * RuleCharacterIterator::Pos pos;
158 void getPos(Pos& p) const;
165 void setPos(const Pos& p);
H A Druleiter.cpp89 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const {
95 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/
H A DMipsLongBranch.cpp243 MachineBasicBlock::iterator Pos; local
280 Pos = LongBrMBB->begin();
282 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP)
284 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA)
286 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::BAL_BR)).addMBB(BalTgtMBB);
287 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LUi), Mips::AT).addImm(Hi)
290 Pos = BalTgtMBB->begin();
292 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::AT)
294 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT)
296 BuildMI(*BalTgtMBB, Pos, D
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DStreamableMemoryObject.h150 // Fetch enough bytes such that Pos can be read or EOF is reached
151 // (i.e. BytesRead > Pos). Return true if Pos can be read.
155 bool fetchToPos(size_t Pos) const {
156 if (EOFReached) return Pos < ObjectSize;
157 while (Pos >= BytesRead) {
163 if (ObjectSize && BytesRead < Pos)
165 if (BytesRead <= Pos) { // reached EOF/ran out of bytes
/macosx-10.9.5/llvmCore-3425.0.33/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c275 char *CEnvBuf, *Pos; local
294 Pos = CEnvBuf;
301 CEnv[I] = Pos;
302 memcpy(Pos, Name, NameLen);
303 Pos += NameLen;
304 *Pos++ = '=';
305 memcpy(Pos, Value, ValueLen);
306 Pos += ValueLen;
307 *Pos++ = '\0';
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/
H A DThumb2ITBlockPass.cpp194 unsigned Mask = 0, Pos = 3; local
197 for (; MBBI != E && Pos &&
208 Mask |= (NCC & 1) << Pos;
225 --Pos;
229 Mask |= (1 << Pos);
/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/
H A DSubtargetFeature.cpp73 size_t Pos = 0;
76 size_t Comma = S.find(',', Pos);
80 V.push_back(S.substr(Pos));
84 V.push_back(S.substr(Pos, Comma - Pos));
86 Pos = Comma + 1;
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dunix++.h168 struct Pos { struct in class:Security::UnixPlusPlus::FileDesc
169 Pos(size_t s = 0, int wh = SEEK_SET, size_t siz = 0) function in struct:Security::UnixPlusPlus::FileDesc::Pos
176 static Pos lockAll() { return Pos(0, SEEK_SET, 0); }
180 void lock(int type = F_WRLCK, const Pos &pos = lockAll());
181 bool tryLock(int type = F_WRLCK, const Pos &pos = lockAll());
182 void unlock(const Pos &pos = lockAll()) { lock(F_UNLCK, pos); }
242 LockArgs(int type, const Pos &pos)
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Dunix++.h168 struct Pos { struct in class:Security::UnixPlusPlus::FileDesc
169 Pos(size_t s = 0, int wh = SEEK_SET, size_t siz = 0) function in struct:Security::UnixPlusPlus::FileDesc::Pos
176 static Pos lockAll() { return Pos(0, SEEK_SET, 0); }
180 void lock(int type = F_WRLCK, const Pos &pos = lockAll());
181 bool tryLock(int type = F_WRLCK, const Pos &pos = lockAll());
182 void unlock(const Pos &pos = lockAll()) { lock(F_UNLCK, pos); }
242 LockArgs(int type, const Pos &pos)
/macosx-10.9.5/CPANInternal-140/DateTime/lib/DateTime/
H A DInfinite.pm46 my $Pos = bless { utc_rd_days => DateTime::INFINITY,
54 $Pos->_calc_utc_rd;
55 $Pos->_calc_local_rd;
57 sub new { $Pos }
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/
H A DLiveInterval.h181 iterator advanceTo(iterator I, SlotIndex Pos) {
183 if (Pos >= endIndex())
185 while (I->end <= Pos) ++I;
190 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster
193 /// If Pos is contained in a LiveRange, that range is returned.
194 /// If Pos is in a hole, the following LiveRange is returned.
195 /// If Pos is beyond endIndex, end() is returned.
196 iterator find(SlotIndex Pos);
198 const_iterator find(SlotIndex Pos) cons
[all...]
H A DRegisterPressure.h185 void setPos(MachineBasicBlock::const_iterator Pos) { CurrPos = Pos; } argument
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/
H A DMCInstrDesc.h153 unsigned Pos = 16 + Constraint * 4; local
154 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;

Completed in 461 milliseconds

123