Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 25 of 105) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenSource.h60 virtual FormatToken *setPosition(unsigned Position) = 0;
89 : Tokens(Tokens), Position(-1) {} in IndexedTokenSource()
92 if (Position >= 0 && isEOF()) { in getNextToken()
95 dbgToken(Position); in getNextToken()
97 return Tokens[Position]; in getNextToken()
99 Position = successor(Position); in getNextToken()
102 dbgToken(Position); in getNextToken()
104 return Tokens[Position]; in getNextToken()
108 assert(Position <= 0 || Tokens[Position - 1]->isNot(tok::eof)); in getPreviousToken()
109 return Position > 0 ? Tokens[Position - 1] : nullptr; in getPreviousToken()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp150 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
151 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
182 void SystemZLongBranch::skipNonTerminators(BlockPosition &Position, in skipNonTerminators() argument
184 if (Log2(Block.Alignment) > Position.KnownBits) { in skipNonTerminators()
187 Position.Address += in skipNonTerminators()
188 (Block.Alignment.value() - (uint64_t(1) << Position.KnownBits)); in skipNonTerminators()
189 Position.KnownBits = Log2(Block.Alignment); in skipNonTerminators()
193 Position.Address = alignTo(Position.Address, Block.Alignment); in skipNonTerminators()
196 Block.Address = Position.Address; in skipNonTerminators()
199 Position.Address += Block.Size; in skipNonTerminators()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp197 StringRef::iterator Position= Range.begin(); in decodeUTF8() local
201 if (Position < End && (*Position & 0x80) == 0) { in decodeUTF8()
202 return std::make_pair(*Position, 1); in decodeUTF8()
206 if (Position + 1 < End && ((*Position & 0xE0) == 0xC0) && in decodeUTF8()
207 ((*(Position + 1) & 0xC0) == 0x80)) { in decodeUTF8()
208 uint32_t codepoint = ((*Position & 0x1F) << 6) | in decodeUTF8()
209 (*(Position + 1) & 0x3F); in decodeUTF8()
215 if (Position in decodeUTF8()
266 setError(const Twine & Message,StringRef::iterator Position) setError() argument
299 decodeUTF8(StringRef::iterator Position) decodeUTF8() argument
918 skip_nb_char(StringRef::iterator Position) skip_nb_char() argument
943 skip_b_break(StringRef::iterator Position) skip_b_break() argument
957 skip_s_space(StringRef::iterator Position) skip_s_space() argument
965 skip_s_white(StringRef::iterator Position) skip_s_white() argument
973 skip_ns_char(StringRef::iterator Position) skip_ns_char() argument
982 skip_while(SkipWhileFunc Func,StringRef::iterator Position) skip_while() argument
1045 isBlankOrBreak(StringRef::iterator Position) isBlankOrBreak() argument
1053 for (const auto *Position = Line.begin(); Position != Line.end(); ++Position) isLineEmpty() local
1359 wasEscaped(StringRef::iterator First,StringRef::iterator Position) wasEscaped() argument
[all...]
H A DPath.cpp231 i.Position = 0; in begin()
239 i.Position = path.size(); in end()
244 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++()
247 Position += Component.size(); in operator ++()
250 if (Position == Path.size()) { in operator ++()
261 if (is_separator(Path[Position], S)) { in operator ++()
266 Component = Path.substr(Position, 1); in operator ++()
271 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
272 ++Position; in operator ++()
276 if (Position == Path.size() && Component != "/") { in operator ++()
[all …]
H A DIntervalMap.cpp122 unsigned Position, bool Grow) { in distribute() argument
124 assert(Position <= Elements && "Invalid position"); in distribute()
135 if (PosPair.first == Nodes && Sum > Position) in distribute()
136 PosPair = IdxPair(n, Position - (Sum - NewSize[n])); in distribute()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp92 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment() local
93 if (Position >= Comment.size()) in HandleComment()
97 Comment = Comment.drop_front(Position); in HandleComment()
100 Position = Comment.find_first_not_of(" \t"); in HandleComment()
101 if (Position < Comment.size()) in HandleComment()
102 Comment = Comment.drop_front(Position); in HandleComment()
112 Position = Comment.find_first_not_of(" \t"); in HandleComment()
113 if (Position < Comment.size()) in HandleComment()
114 Comment = Comment.drop_front(Position); in HandleComment()
127 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp55 : Input(CommandLine), Position(Input.begin()-1) {} in CommandLineArgumentParser()
72 if (*Position == '"') { in parseStringInto()
74 } else if (*Position == '\'') { in parseStringInto()
79 } while (*Position != ' '); in parseStringInto()
85 while (*Position != '"') { in parseDoubleQuotedStringInto()
87 String.push_back(*Position); in parseDoubleQuotedStringInto()
95 while (*Position != '\'') { in parseSingleQuotedStringInto()
96 String.push_back(*Position); in parseSingleQuotedStringInto()
105 String.push_back(*Position); in parseFreeStringInto()
107 } while (*Position != ' ' && *Position != '"' && *Position != '\''); in parseFreeStringInto()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp53 enum class Position { enum
338 Position Pos) const = 0;
348 Position Pos) const = 0;
360 Position Pos) const = 0;
412 Position Pos) const override;
417 Position Pos) const override;
423 Position Pos) const override;
434 Position Pos) const override;
465 Position Pos) const override;
470 Position Pos) const override;
[all …]
H A DAMDGPUInsertSingleUseVDST.cpp140 for (auto &[Position, MI] : SingleUseProducers) { in insertSingleUseInstructions()
143 !Instructions.back().tryAddProducer(Position, MI)) { in insertSingleUseInstructions()
145 Instructions.push_back(SingleUseInstruction(Position, MI)); in insertSingleUseInstructions()
/freebsd/sys/contrib/dev/acpica/common/
H A Dadfile.c308 char *Position; in FlGenerateFilename() local
324 Position = strrchr (NewFilename, '.'); in FlGenerateFilename()
326 if (Position && (Position > DirectoryPosition)) in FlGenerateFilename()
330 Position++; in FlGenerateFilename()
331 *Position = 0; in FlGenerateFilename()
332 strcat (Position, Suffix); in FlGenerateFilename()
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeCategoryMap.h36 typedef uint32_t Position; typedef
38 static const Position First = 0;
39 static const Position Default = 1;
40 static const Position Last = UINT32_MAX;
48 bool Enable(KeyType category_name, Position pos = Default);
52 bool Enable(lldb::TypeCategoryImplSP category, Position pos = Default);
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp83 size_t Position; member in __anon406d1ba70111::Demangler
115 if (Error || Backref >= Position) { in demangleBackref()
123 ScopedOverride<size_t> SavePosition(Position, Position); in demangleBackref()
124 Position = Backref; in demangleBackref()
191 Position = 0; in demangle()
207 if (Position != Input.size()) { in demangle()
212 if (Position != Input.size()) in demangle()
543 size_t Start = Position; in demangleType()
614 Position = Start; in demangleType()
855 if (Error || Bytes > Input.size() - Position) { in parseIdentifier()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormattedStream.h36 /// Position - The current output column and line of the data that's
40 std::pair<unsigned, unsigned> Position; variable
135 : TheStream(nullptr), Position(0, 0), DisableScan(false) { in getLine()
139 : TheStream(nullptr), Position(0, 0), Scanned(nullptr), in resetColor()
157 return Position.first;
163 return Position.second; in releaseStream()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DCombinationGenerator.h45 typename decltype(Range)::const_iterator Position;
48 void rewind() { Position = Range.begin(); } in rewind()
53 ++Position; in advance()
54 bool Wrapped = Position == Range.end(); in advance()
61 const value_type &operator*() const { return *Position; }
/freebsd/sys/contrib/dev/acpica/include/
H A Dacmacros.h476 #define ACPI_GET_BITS(SourcePtr, Position, Mask) \ argument
477 ((*(SourcePtr) >> (Position)) & (Mask))
479 #define ACPI_SET_BITS(TargetPtr, Position, Mask, Value) \ argument
480 (*(TargetPtr) |= (((Value) & (Mask)) << (Position)))
502 #define ACPI_EXTRACT_1BIT_FLAG(Field, Position) (ACPI_GET_1BIT_FLAG ((Field) >> Position)) argument
503 #define ACPI_EXTRACT_2BIT_FLAG(Field, Position) (ACPI_GET_2BIT_FLAG ((Field) >> Position)) argument
504 #define ACPI_EXTRACT_3BIT_FLAG(Field, Position) (ACPI_GET_3BIT_FLAG ((Field) >> Position)) argument
505 #define ACPI_EXTRACT_4BIT_FLAG(Field, Position) (ACPI_GET_4BIT_FLAG ((Field) >> Position)) argument
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp411 const char *Position = Buffer->getBufferStart(); in SetCodeCompletionPoint() local
413 for (; *Position; ++Position) { in SetCodeCompletionPoint()
414 if (*Position != '\r' && *Position != '\n') in SetCodeCompletionPoint()
418 if ((Position[1] == '\r' || Position[1] == '\n') && in SetCodeCompletionPoint()
419 Position[0] != Position[1]) in SetCodeCompletionPoint()
420 ++Position; in SetCodeCompletionPoint()
421 ++Position; in SetCodeCompletionPoint()
426 Position += CompleteColumn - 1; in SetCodeCompletionPoint()
432 if (Position - Buffer->getBufferStart() < SkipMainFilePreamble.first) in SetCodeCompletionPoint()
433 Position = Buffer->getBufferStart() + SkipMainFilePreamble.first; in SetCodeCompletionPoint()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h89 : Position(nullptr), kind(None) {} in LengthModifier()
91 : Position(pos), kind(k) {} in LengthModifier()
94 return Position; in getStart()
118 const char *Position;
206 : IsPrintf(isPrintf), Position(nullptr), EndScanList(nullptr), in IsPrintf()
210 : IsPrintf(isPrintf), Position(pos), EndScanList(nullptr), kind(k) {} in ConversionSpecifier()
213 return Position; in getStart()
237 return EndScanList ? EndScanList - Position : 1; in getLength()
260 const char *Position; variable
/freebsd/sys/contrib/dev/acpica/compiler/
H A Dcvcompiler.c496 char *Position; in CgWriteAmlDefBlockComment() local
513 Position = strrchr (NewFilename, '.'); in CgWriteAmlDefBlockComment()
515 if (Position && (Position > DirectoryPosition)) in CgWriteAmlDefBlockComment()
519 Position++; in CgWriteAmlDefBlockComment()
520 *Position = 0; in CgWriteAmlDefBlockComment()
521 strcat (Position, FILE_SUFFIX_DISASSEMBLY); in CgWriteAmlDefBlockComment()
H A Daslresource.c605 UINT8 Position, in RsSetFlagBits() argument
613 *Flags |= (DefaultBit << Position); in RsSetFlagBits()
619 *Flags |= (((UINT8) Op->Asl.Value.Integer) << Position); in RsSetFlagBits()
628 UINT8 Position, in RsSetFlagBits16() argument
636 *Flags |= (DefaultBit << Position); in RsSetFlagBits16()
642 *Flags |= (((UINT16) Op->Asl.Value.Integer) << Position); in RsSetFlagBits16()
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duthex.c184 UINT32 Position) in AcpiUtHexToAsciiChar() argument
188 AcpiUtShortShiftRight (Integer, Position, &Index); in AcpiUtHexToAsciiChar()
H A Dutascii.c212 UINT32 Position) in AcpiUtValidNameChar() argument
221 if (Character == '!' && Position == 3) in AcpiUtValidNameChar()
/freebsd/sys/teken/
H A Dsequences41 CPR Cursor Position Report ^[ [ n r
47 CUP Cursor Position ^[ [ H n n
48 CUP Cursor Position ^[ [ f n n
84 HPA Horizontal Position Absolute ^[ [ G n
85 HPA Horizontal Position Absolute ^[ [ ` n
101 VPA Vertical Position Absolute ^[ [ d n
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp35 MachineBasicBlock::iterator Position, in copyPhysReg() argument
44 BuildMI(MBB, Position, DL, get(Lanai::OR_I_LO), DestinationRegister) in copyPhysReg()
50 MachineBasicBlock &MBB, MachineBasicBlock::iterator Position, in storeRegToStackSlot() argument
55 if (Position != MBB.end()) { in storeRegToStackSlot()
56 DL = Position->getDebugLoc(); in storeRegToStackSlot()
62 BuildMI(MBB, Position, DL, get(Lanai::SW_RI)) in storeRegToStackSlot()
70 MachineBasicBlock &MBB, MachineBasicBlock::iterator Position, in loadRegFromStackSlot() argument
75 if (Position != MBB.end()) { in loadRegFromStackSlot()
76 DL = Position->getDebugLoc(); in loadRegFromStackSlot()
82 BuildMI(MBB, Position, DL, get(Lanai::LDW_RI), DestinationRegister) in loadRegFromStackSlot()
H A DLanaiInstrInfo.h50 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator Position,
55 MachineBasicBlock::iterator Position,
62 MachineBasicBlock::iterator Position,
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringLexer.h20 typedef std::string::size_type Position; typedef
49 Position m_position;

12345