/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
AllocationOrder.h | 28 const unsigned *Pos; 50 if (!Pos) { 51 Pos = Begin; 56 while (Pos != End) { 57 unsigned Reg = *Pos++; 65 void rewind() { Pos = 0; }
|
/external/llvm/lib/CodeGen/ |
AllocationOrder.h | 32 int Pos; 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 = -int(Hints.size()); [all...] |
/external/llvm/lib/Support/ |
LineIterator.cpp | 54 const char *Pos = CurrentLine.end(); 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...] |
/build/soong/androidmk/parser/ |
ast.go | 3 type Pos int 5 const NoPos Pos = 0 9 Pos() Pos 10 End() Pos 28 func (x *Assignment) Pos() Pos { 30 return x.Target.Pos() 32 return x.Name.Pos() 35 func (x *Assignment) End() Pos { return x.Value.End() [all...] |
/external/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
WholeProgramDevirt.h | 42 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { 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) { 53 assert(Pos % 8 == 0); 54 auto DataUsed = getPtrToData(Pos / 8, Size) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
StringFuncs.c | 74 CHAR8 *Pos;
83 for (Pos = String; isspace ((int)*Pos); Pos++) {
85 if (Pos != String) {
86 memmove (String, Pos, strlen (Pos) + 1);
96 Pos = (CHAR8 *) strstr (String, "//");
97 if (Pos != NULL) {
98 *Pos = '\0'; [all...] |
/prebuilts/go/darwin-x86/src/go/ast/ |
ast.go | 28 // Pos accessor method. Nodes may contain additional position info 36 Pos() token.Pos // position of first character belonging to the node 37 End() token.Pos // position of first character immediately after the node 63 Slash token.Pos // position of "/" starting the comment 67 func (c *Comment) Pos() token.Pos { return c.Slash } 68 func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) } 77 func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() [all...] |
/prebuilts/go/linux-x86/src/go/ast/ |
ast.go | 28 // Pos accessor method. Nodes may contain additional position info 36 Pos() token.Pos // position of first character belonging to the node 37 End() token.Pos // position of first character immediately after the node 63 Slash token.Pos // position of "/" starting the comment 67 func (c *Comment) Pos() token.Pos { return c.Slash } 68 func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) } 77 func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() [all...] |
/external/llvm/lib/Target/WebAssembly/Disassembler/ |
WebAssemblyDisassembler.cpp | 67 uint64_t Pos = 0; 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 += sizeof(uint64_t) [all...] |
/external/llvm/lib/TableGen/ |
TableGenBackend.cpp | 24 size_t Pos = (size_t)OS.tell(); 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/ |
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...] |
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 61 StringRef::size_type Pos; 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:"); 79 if (Pos != StringRef::npos) { 81 LineStr = LineStr.substr(Pos + strlen(" Size:")) [all...] |
/external/clang/lib/Tooling/ |
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);
|
/external/clang/unittests/Rewrite/ |
RewriteBufferTest.cpp | 36 size_t Pos = Input.find(RemoveStr); 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/icu/icu4c/source/common/ |
ruleiter.h | 48 ParsePosition& pos; member in class:RuleCharacterIterator 99 * @param pos upon input, the index of the next character to return. If a 100 * variable has been dereferenced, then pos will <em>not</em> increment as 104 ParsePosition& pos); 135 struct Pos : public UMemory { 138 int32_t pos; member in struct:RuleCharacterIterator::Pos 148 * RuleCharacterIterator::Pos pos; 149 * iterator.getPos(pos); 151 * iterator.getPos(pos); [all...] |
/external/llvm/lib/MC/ |
StringTableBuilder.cpp | 39 // Returns the character at Pos from end of a string. 40 static int charTailAt(StringPair *P, size_t Pos) { 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) { 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 + 1), but with tail call optimization [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceTypeConverter.h | 52 auto Pos = LLVM2IceMap.find(LLVMTy); 53 if (Pos == LLVM2IceMap.end()) 55 return Pos->second;
|