/external/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 32 int Pos; member in class:llvm::AllocationOrder 51 if (Pos < 0) 52 return Hints.end()[Pos++]; 55 while (Pos < int(Limit)) { 56 unsigned Reg = Order[Pos++]; 68 if (Pos < 0) 69 return Hints.end()[Pos++]; 70 if (Pos < int(Limit)) 71 return Order[Pos++]; 76 void rewind() { Pos [all...] |
/external/llvm/lib/Support/ |
H A D | LineIterator.cpp | 54 const char *Pos = CurrentLine.end(); local 55 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0'); 57 if (skipIfAtLineEnd(Pos)) 59 if (!SkipBlanks && isAtLineEnd(Pos)) { 63 while (skipIfAtLineEnd(Pos)) 68 if (isAtLineEnd(Pos) && !SkipBlanks) 70 if (*Pos == CommentMarker) 72 ++Pos; [all...] |
H A D | FileUtilities.cpp | 49 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument 51 if (!isNumberChar(*Pos)) return Pos; 55 while (Pos > FirstChar && isNumberChar(Pos[-1])) { 57 if (Pos[-1] == '.') { 63 --Pos; 64 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[ 73 EndOfNumber(const char *Pos) argument [all...] |
H A D | FoldingSet.cpp | 93 unsigned Pos = 0; local 99 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]; 115 for (Pos [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | AllocationOrder.h | 28 const unsigned *Pos; member in class:llvm::AllocationOrder 50 if (!Pos) { 51 Pos = Begin; 56 while (Pos != End) { 57 unsigned Reg = *Pos++; 65 void rewind() { Pos = 0; }
|
/external/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 67 uint64_t Pos = 0; local 70 if (Pos + sizeof(uint64_t) > Bytes.size()) 72 uint64_t Opcode = support::endian::read64le(Bytes.data() + Pos); 73 Pos += sizeof(uint64_t); 85 if (Pos + sizeof(uint64_t) > Bytes.size()) 87 NumExtraOperands = support::endian::read64le(Bytes.data() + Pos); 88 Pos += sizeof(uint64_t); 98 if (Pos + sizeof(uint64_t) > Bytes.size()) 100 uint64_t Imm = support::endian::read64le(Bytes.data() + Pos); 101 Pos [all...] |
/external/llvm/include/llvm/Transforms/IPO/ |
H A D | WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { argument 43 if (Bytes.size() < Pos + Size) { 44 Bytes.resize(Pos + Size); 45 BytesUsed.resize(Pos + Size); 47 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); 50 // Set little-endian value Val with size Size at bit position Pos, 52 void setLE(uint64_t Pos, uint64_t Val, uint8_t Size) { argument 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 64 setBE(uint64_t Pos, uint64_t Val, uint8_t Size) argument 75 setBit(uint64_t Pos, bool b) argument 163 setBeforeBit(uint64_t Pos) argument 169 setAfterBit(uint64_t Pos) argument 177 setBeforeBytes(uint64_t Pos, uint8_t Size) argument 186 setAfterBytes(uint64_t Pos, uint8_t Size) argument [all...] |
/external/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 24 size_t Pos = (size_t)OS.tell(); local 28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); 41 size_t Pos = 0U; 43 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen); 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); 45 Pos += Length; 46 } while (Pos < Desc.size());
|
/external/abi-compliance-checker/modules/Internals/ |
H A D | CallConv.pm | 178 my $Pos = 0; 183 foreach my $Pos (0 .. $Max) 187 # $Type{"Memb"}{$Pos}{"offset"} = $Type{"Size"}/($Max+1); 189 $Type{"Memb"}{$Pos}{"algn"} = getAlignment_Model($BaseType{"Tid"}, $TInfo, $Arch); 190 $Type{"Memb"}{$Pos}{"type"} = $BaseType{"Tid"}; 191 $Type{"Memb"}{$Pos}{"name"} = "[$Pos]"; 196 foreach my $Pos (keys(%{$Type{"Memb"}})) 198 $Offsets{$Pos} = $Pos; [all...] |
H A D | XmlDump.pm | 100 foreach my $Pos (sort { $a<=>$b } @Positions) 103 $ABI_DUMP .= addTag("name", $TInfo{"Memb"}{$Pos}{"name"}); 104 if(my $MTid = $TInfo{"Memb"}{$Pos}{"type"}) { 107 if(my $Access = $TInfo{"Memb"}{$Pos}{"access"}) { 110 my $Val = $TInfo{"Memb"}{$Pos}{"value"}; 114 if(my $Align = $TInfo{"Memb"}{$Pos}{"algn"}) { 117 if(my $Bitfield = $TInfo{"Memb"}{$Pos}{"bitfield"}) { 120 if($TInfo{"Memb"}{$Pos}{"mutable"}) { 123 $ABI_DUMP .= addTag("pos", $Pos); 131 foreach my $Pos (sor [all...] |
/external/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 61 StringRef::size_type Pos; local 62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 63 LineStr = LineStr.substr(Pos + strlen("struct ")); 64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 65 LineStr = LineStr.substr(Pos + strlen("class ")); 66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 67 LineStr = LineStr.substr(Pos + strlen("union ")); 78 StringRef::size_type Pos = LineStr.find(" Size:"); local 79 if (Pos != StringRef::npos) { 81 LineStr = LineStr.substr(Pos [all...] |
/external/clang/lib/Tooling/ |
H A D | ArgumentsAdjusters.cpp | 55 ArgumentInsertPosition Pos) { 56 return [Extra, Pos](const CommandLineArguments &Args, StringRef /*unused*/) { 60 if (Pos == ArgumentInsertPosition::END) { 73 ArgumentInsertPosition Pos) { 74 return getInsertArgumentAdjuster(CommandLineArguments(1, Extra), Pos); 54 getInsertArgumentAdjuster(const CommandLineArguments &Extra, ArgumentInsertPosition Pos) argument
|
/external/clang/unittests/Rewrite/ |
H A D | RewriteBufferTest.cpp | 36 size_t Pos = Input.find(RemoveStr); local 37 Buf.RemoveText(Pos, RemoveStr.size()); 40 Pos = Input.find(TagStr); 41 tagRange(Pos, TagStr.size(), "outer", Buf); 42 tagRange(Pos, TagStr.size(), "inner", Buf);
|
/external/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 39 // Returns the character at Pos from end of a string. 40 static int charTailAt(StringPair *P, size_t Pos) { argument 42 if (Pos >= S.size()) 44 return (unsigned char)S[S.size() - Pos - 1]; 49 static void multikey_qsort(StringPair **Begin, StringPair **End, int Pos) { argument 56 int Pivot = charTailAt(*Begin, Pos); 60 int C = charTailAt(*R, Pos); 69 multikey_qsort(Begin, P, Pos); 70 multikey_qsort(Q, End, Pos); 72 // qsort(P, Q, Pos 129 size_t Pos = StringTable.size() - S.size() - (K != RAW); local [all...] |
/external/flatbuffers/tests/MyGame/Example/ |
H A D | Vec3.py | 15 def X(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def Y(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4)) 19 def Z(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(8)) 21 def Test1(self): return self._tab.Get(flatbuffers.number_types.Float64Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(16)) 23 def Test2(self): return self._tab.Get(flatbuffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(24)) 26 obj.Init(self._tab.Bytes, self._tab.Pos + 26)
|
H A D | Test.py | 15 def A(self): return self._tab.Get(flatbuffers.number_types.Int16Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def B(self): return self._tab.Get(flatbuffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(2))
|
/external/clang/include/clang/Tooling/ |
H A D | ArgumentsAdjusters.h | 52 ArgumentInsertPosition Pos); 58 ArgumentInsertPosition Pos = ArgumentInsertPosition::END);
|
/external/llvm/include/llvm/LineEditor/ |
H A D | LineEditor.h | 103 /// \param Pos The zero-based cursor position in the StringRef 104 CompletionAction getCompletionAction(StringRef Buffer, size_t Pos) const; 119 virtual CompletionAction complete(StringRef Buffer, size_t Pos) const = 0; 124 CompletionAction complete(StringRef Buffer, size_t Pos) const override; 127 size_t Pos) const = 0; 133 CompletionAction complete(StringRef Buffer, size_t Pos) const override { 134 return Value(Buffer, Pos); 143 size_t Pos) const override { 144 return Value(Buffer, Pos);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | FoldingSet.cpp | 103 unsigned Pos = 0; local 109 Pos = (Units + 1) * 4; 115 for (Pos += 4; Pos <= Size; Pos += 4) { 116 unsigned V = ((unsigned char)String[Pos - 4] << 24) | 117 ((unsigned char)String[Pos - 3] << 16) | 118 ((unsigned char)String[Pos - 2] << 8) | 119 (unsigned char)String[Pos - 1]; 124 for (Pos [all...] |
H A D | FileUtilities.cpp | 50 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...] |
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerUtil.cpp | 192 for (size_t Pos = L; Pos <= R; Pos++) { 193 uint8_t V = (uint8_t)Str[Pos]; 197 if (Pos + 1 <= R && (Str[Pos + 1] == '\\' || Str[Pos + 1] == '"')) { 198 U->push_back(Str[Pos + 1]); 199 Pos++; 203 if (Pos 233 size_t Pos = 0; local [all...] |
/external/pdfium/xfa/fwl/ |
H A D | cfwl_eventscroll.h | 22 Pos, member in class:CFWL_EventScroll::Code
|
/external/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 87 typename MapType::const_iterator Pos = Map.find(Key); local 88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; 104 typename MapType::const_iterator Pos = Map.find(Key); local 105 return Pos == Map.end()? 0 : 1; 109 typename MapType::const_iterator Pos = Map.find(Key); local 110 return Pos == Map.end()? Vector.end() : 111 (Vector.begin() + Pos->second); 115 typename MapType::const_iterator Pos = Map.find(Key); local 116 return Pos 122 typename MapType::iterator Pos = Map.find(Vector.back().first); local [all...] |
/external/flatbuffers/python/flatbuffers/ |
H A D | table.py | 22 The variable `Pos` indicates the root of the FlatBuffers object therein.""" 24 __slots__ = ("Bytes", "Pos") 30 self.Pos = pos 37 vtable = self.Pos - self.Get(N.SOffsetTFlags, self.Pos) 61 off += self.Pos 71 off += self.Pos 83 off += self.Pos 84 t2.Pos = off + self.Get(N.UOffsetTFlags, off) 102 return self.Get(validator_flags, self.Pos [all...] |
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
H A D | StructInNestedNS.py | 15 def A(self): return self._tab.Get(flatbuffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def B(self): return self._tab.Get(flatbuffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4))
|