/prebuilts/clang/host/linux-x86/clang-4579689/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerUtil.h | 70 auto Pos = S.find(X); 71 if (Pos == std::string::npos) 73 return std::make_pair(S.substr(0, Pos), S.substr(Pos));
|
/prebuilts/clang/host/linux-x86/clang-4630689/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerUtil.h | 70 auto Pos = S.find(X); 71 if (Pos == std::string::npos) 73 return std::make_pair(S.substr(0, Pos), S.substr(Pos));
|
/prebuilts/clang/host/linux-x86/clang-4639204/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerUtil.h | 70 auto Pos = S.find(X); 71 if (Pos == std::string::npos) 73 return std::make_pair(S.substr(0, Pos), S.substr(Pos));
|
/prebuilts/clang/host/linux-x86/clang-4691093/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerUtil.h | 70 auto Pos = S.find(X); 71 if (Pos == std::string::npos) 73 return std::make_pair(S.substr(0, Pos), S.substr(Pos));
|
/external/clang/lib/Tooling/Core/ |
Lookup.cpp | 103 auto Pos = ReplacementString.rfind("::"); 104 return Pos != StringRef::npos ? ReplacementString.substr(Pos + 2)
|
/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...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMUnwindOpAsm.cpp | 30 size_t Pos; 33 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) { 38 Vec[Pos] = elem; 39 Pos = (((Pos ^ 0x3u) + 1) ^ 0x3u); 59 while (Pos < Vec.size())
|
/external/swiftshader/third_party/subzero/src/ |
IceTypeConverter.h | 52 auto Pos = LLVM2IceMap.find(LLVMTy); 53 if (Pos == LLVM2IceMap.end()) 55 return Pos->second;
|
/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());
|
/prebuilts/go/darwin-x86/src/cmd/internal/src/ |
xpos.go | 10 // XPos is a more compact representation of Pos. 20 // XPos.IsKnown() matches Pos.IsKnown() for corresponding 40 // A PosTable tracks Pos -> XPos conversions and vice versa. 47 // XPos returns the corresponding XPos for the given pos, 48 // adding pos to t if necessary. 49 func (t *PosTable) XPos(pos Pos) XPos { 58 i, ok := m[pos.base] 61 t.baseList = append(t.baseList, pos.base) 62 t.indexMap[pos.base] = [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/src/ |
xpos.go | 10 // XPos is a more compact representation of Pos. 20 // XPos.IsKnown() matches Pos.IsKnown() for corresponding 40 // A PosTable tracks Pos -> XPos conversions and vice versa. 47 // XPos returns the corresponding XPos for the given pos, 48 // adding pos to t if necessary. 49 func (t *PosTable) XPos(pos Pos) XPos { 58 i, ok := m[pos.base] 61 t.baseList = append(t.baseList, pos.base) 62 t.indexMap[pos.base] = [all...] |
/build/soong/androidmk/parser/ |
ast.go | 17 type Pos int 19 const NoPos Pos = 0 23 Pos() Pos 24 End() Pos 42 func (x *Assignment) Pos() Pos { 44 return x.Target.Pos() 46 return x.Name.Pos() 49 func (x *Assignment) End() Pos { return x.Value.End() [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...] |
TextDiagnostic.cpp | 49 size_t Pos = Str.find(ToggleHighlight); 50 OS << Str.slice(0, Pos); 51 if (Pos == StringRef::npos) 54 Str = Str.substr(Pos + 1); [all...] |
/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/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/DebugInfo/DWARF/ |
DWARFDebugAbbrev.cpp | 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset); 109 if (Pos != End) { 110 PrevAbbrOffsetPos = Pos; 111 return &(Pos->second);
|
/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/tools/sanstats/ |
sanstats.cpp | 40 char Pos = 0; 41 while (Begin < End && Pos != Size) { 42 Result |= uint64_t(uint8_t(*Begin)) << (Pos * 8); 44 ++Pos;
|
/external/pdfium/xfa/fwl/ |
cfwl_eventscroll.h | 22 Pos,
|
/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; }
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
MeasureBootPeCoff.c | 118 UINTN Pos;
343 Pos = Index;
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
346 Pos--;
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
MeasureBootPeCoff.c | 118 UINTN Pos;
343 Pos = Index;
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
346 Pos--;
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
SetVar.c | 43 CONST CHAR16 *Pos;
45 for (Pos = String; *Pos != L'\0'; ++Pos) {
46 if (!ShellIsHexaDecimalDigitCharacter (*Pos)) {
|