Searched refs:Position (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExternalASTSource.h375 /// \brief Position within the vector..
377 /// In a complete iteration, the Position field walks the range [-M, N),
387 int Position; member in class:clang::LazyVector::iterator
398 iterator() : Self(0), Position(0) { }
400 iterator(LazyVector *Self, int Position) argument
401 : Self(Self), Position(Position) { }
404 if (Position < 0)
405 return Self->Loaded.end()[Position];
406 return Self->Local[Position];
[all...]
H A DComment.h795 /// For C: Position = { 0 }
796 /// For TT: Position = { 1 }
797 /// For T: Position = { 1, 0 }
798 ArrayRef<unsigned> Position; member in class:clang::comments::ParamCommandComment::TParamCommandComment
828 return !Position.empty();
833 return Position.size();
838 return Position[Depth];
842 Position = NewPosition;
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DFormattedStream.cpp23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { argument
24 unsigned &Column = Position.first;
25 unsigned &Line = Position.second;
54 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
56 UpdatePosition(Position, Ptr, Size);
H A DYAMLParser.cpp208 StringRef::iterator Position= Range.begin(); local
212 if ((*Position & 0x80) == 0) {
213 return std::make_pair(*Position, 1);
217 if (Position + 1 != End &&
218 ((*Position & 0xE0) == 0xC0) &&
219 ((*(Position + 1) & 0xC0) == 0x80)) {
220 uint32_t codepoint = ((*Position & 0x1F) << 6) |
221 (*(Position + 1) & 0x3F);
227 if (Position + 2 != End &&
228 ((*Position
276 setError(const Twine &Message, StringRef::iterator Position) argument
307 decodeUTF8(StringRef::iterator Position) argument
777 skip_nb_char(StringRef::iterator Position) argument
802 skip_b_break(StringRef::iterator Position) argument
817 skip_s_white(StringRef::iterator Position) argument
825 skip_ns_char(StringRef::iterator Position) argument
833 skip_while( SkipWhileFunc Func , StringRef::iterator Position) argument
933 isBlankOrBreak(StringRef::iterator Position) argument
1225 wasEscaped(StringRef::iterator First, StringRef::iterator Position) argument
[all...]
H A DIntervalMap.cpp122 unsigned Position, bool Grow) {
124 assert(Position <= Elements && "Invalid position");
135 if (PosPair.first == Nodes && Sum > Position)
136 PosPair = IdxPair(n, Position - (Sum - NewSize[n]));
120 distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, const unsigned *CurSize, unsigned NewSize[], unsigned Position, bool Grow) argument
H A DPath.cpp177 i.Position = 0;
184 i.Position = path.size();
189 assert(Position < Path.size() && "Tried to increment past end!");
191 // Increment Position to past the current component
192 Position += Component.size();
195 if (Position == Path.size()) {
208 if (is_separator(Path[Position])) {
216 Component = Path.substr(Position, 1);
221 while (Position != Path.size() &&
222 is_separator(Path[Position])) {
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h382 /// \brief Position within the preprocessed entity sequence.
384 /// In a complete iteration, the Position field walks the range [-M, N),
394 int Position; member in class:clang::PreprocessingRecord::iterator
403 iterator() : Self(0), Position(0) { }
405 iterator(PreprocessingRecord *Self, int Position) argument
406 : Self(Self), Position(Position) { }
409 bool isLoaded = Position < 0;
411 Self->LoadedPreprocessedEntities.size() + Position : Position;
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DFormattedStream.h49 /// Position - The current output column and line of the data that's
53 std::pair<unsigned, unsigned> Position; member in class:llvm::formatted_raw_ostream
88 : raw_ostream(), TheStream(0), DeleteStream(false), Position(0, 0) {
92 : raw_ostream(), TheStream(0), DeleteStream(false), Position(0, 0) {
128 unsigned getColumn() { return Position.first; }
131 unsigned getLine() { return Position.second; }
H A DPath.h53 size_t Position; ///< The iterators current position within Path. member in class:llvm::sys::path::const_iterator
55 // An end iterator has Position = Path.size() + 1.
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp143 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
144 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
172 // Position describes the state immediately before Block. Update Block
173 // accordingly and move Position to the end of the block's non-terminator
175 void SystemZLongBranch::skipNonTerminators(BlockPosition &Position, argument
177 if (Block.Alignment > Position.KnownBits) {
180 Position.Address += ((uint64_t(1) << Block.Alignment) -
181 (uint64_t(1) << Position.KnownBits));
182 Position.KnownBits = Block.Alignment;
187 Position
199 skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator, bool AssumeRelaxed) argument
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/common/
H A Dadfile.c195 char *Position; local
209 Position = strrchr (NewFilename, '.');
210 if (Position)
214 Position++;
215 *Position = 0;
216 strcat (Position, Suffix);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessor.cpp359 const char *Position = Buffer->getBufferStart(); local
361 for (; *Position; ++Position) {
362 if (*Position != '\r' && *Position != '\n')
366 if ((Position[1] == '\r' || Position[1] == '\n') &&
367 Position[0] != Position[1])
368 ++Position;
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp34 : Input(CommandLine), Position(Input.begin()-1) {}
51 if (*Position == '"') {
53 } else if (*Position == '\'') {
58 } while (*Position != ' ');
64 while (*Position != '"') {
66 String.push_back(*Position);
74 while (*Position != '\'') {
75 String.push_back(*Position);
84 String.push_back(*Position);
86 } while (*Position !
110 StringRef::iterator Position; member in class:clang::tooling::__anon3523::CommandLineArgumentParser
[all...]
H A DRefactoring.cpp203 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { argument
204 unsigned NewPosition = Position;
207 if (I->getOffset() >= Position)
209 if (I->getOffset() + I->getLength() > Position)
210 NewPosition += I->getOffset() + I->getLength() - Position;
219 unsigned Position) {
220 unsigned NewPosition = Position;
224 if (I->getOffset() >= Position)
226 if (I->getOffset() + I->getLength() > Position)
227 NewPosition += I->getOffset() + I->getLength() - Position;
218 shiftedCodePosition(const std::vector<Replacement> &Replaces, unsigned Position) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DFormatString.h86 : Position(0), kind(None) {}
88 : Position(pos), kind(k) {}
91 return Position;
115 const char *Position; member in class:clang::analyze_format_string::LengthModifier
177 : IsPrintf(isPrintf), Position(0), EndScanList(0), kind(InvalidSpecifier) {}
180 : IsPrintf(isPrintf), Position(pos), EndScanList(0), kind(k) {}
183 return Position;
205 return EndScanList ? EndScanList - Position : 1;
219 const char *Position; member in class:clang::analyze_format_string::ConversionSpecifier
/freebsd-9.3-release/sys/contrib/dev/acpica/utilities/
H A Dutdecode.c140 * Position - bit position of the digit within the
160 UINT32 Position)
163 return (AcpiGbl_HexToAscii[(Integer >> Position) & 0xF]);
158 AcpiUtHexToAsciiChar( UINT64 Integer, UINT32 Position) argument
/freebsd-9.3-release/sys/contrib/dev/acpica/dispatcher/
H A Ddsfield.c245 UINT64 Position; local
269 Position = (UINT64) Info->FieldBitPosition
272 if (Position > ACPI_UINT32_MAX)
279 Info->FieldBitPosition = (UINT32) Position;
337 Position = (UINT64) Info->FieldBitPosition
340 if (Position > ACPI_UINT32_MAX)
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DRefactoring.h161 /// \brief Calculates how a code \p Position is shifted when \p Replaces are
163 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position);
165 /// \brief Calculates how a code \p Position is shifted when \p Replaces are
170 unsigned Position);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DCommentSema.cpp314 SmallVector<unsigned, 2> Position; local
315 if (resolveTParamReference(Arg, TemplateParameters, &Position)) {
316 Command->setPosition(copyArray(llvm::makeArrayRef(Position)));
990 SmallVectorImpl<unsigned> *Position) {
995 Position->push_back(i);
1001 Position->push_back(i);
1003 Position))
1005 Position->pop_back();
1015 SmallVectorImpl<unsigned> *Position) {
1016 Position
987 ResolveTParamReferenceHelper( StringRef Name, const TemplateParameterList *TemplateParameters, SmallVectorImpl<unsigned> *Position) argument
1012 resolveTParamReference( StringRef Name, const TemplateParameterList *TemplateParameters, SmallVectorImpl<unsigned> *Position) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineParser.cpp30 virtual FormatToken *setPosition(unsigned Position) = 0;
89 virtual FormatToken *setPosition(unsigned Position) { argument
90 Token = PreviousTokenSource->setPosition(Position);
160 : Tokens(Tokens), Position(-1) {}
163 ++Position;
164 return Tokens[Position];
168 assert(Position >= 0);
169 return Position;
173 Position = P;
174 return Tokens[Position];
181 int Position; member in class:clang::format::__anon3139::IndexedTokenSource
294 unsigned Position = StoredPosition; local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseTemplate.cpp453 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { argument
455 return ParseTypeParameter(Depth, Position);
458 return ParseTemplateTemplateParameter(Depth, Position);
463 return ParseNonTypeTemplateParameter(Depth, Position);
475 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { argument
524 Depth, Position, EqualLoc, DefaultArg);
536 Parser::ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) { argument
624 Position, EqualLoc, DefaultArg);
634 Parser::ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) { argument
672 Depth, Position, EqualLo
[all...]
/freebsd-9.3-release/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp165 size_t Position = Comments.find('\n'); local
166 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position);
168 Comments = Comments.substr(Position+1);
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp83 unsigned Position; member in struct:__anon2332::ARMLoadStoreOpt::MemOpQueueEntry
88 : Offset(o), Reg(r), isKill(k), Position(p), MBBI(i), Merged(false) {}
375 /// uses we find is a kill. Unfortunately MemOps is not sorted by Position, so
383 // First we find all uses of this register with Position between RangeBegin
389 unsigned MIPosition = MemOps[i].Position;
437 const unsigned insertPos = memOps[insertAfter].Position;
446 if (memOps[i].Position < insertPos && memOps[i].isKill) {
474 findUsesOfImpDef(UsesOfImpDefs, memOps, DefReg, memOps[i].Position,
516 memOps[i].Position = insertPos;
585 if (MemOps[i].Position > MemOp
1116 unsigned Position = MemOps[0].Position; local
1307 unsigned Position = 0; local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/compiler/
H A Daslresource.c506 * Position - Bit position within the flag byte
522 UINT8 Position,
530 *Flags |= (DefaultBit << Position);
536 *Flags |= (((UINT8) Op->Asl.Value.Integer) << Position);
519 RsSetFlagBits( UINT8 *Flags, ACPI_PARSE_OBJECT *Op, UINT8 Position, UINT8 DefaultBit) argument
/freebsd-9.3-release/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1953 uint32_t &Position) {
1954 Buffer[Position + 0] = (unsigned char) (Value >> 0);
1955 Buffer[Position + 1] = (unsigned char) (Value >> 8);
1956 Buffer[Position + 2] = (unsigned char) (Value >> 16);
1957 Buffer[Position + 3] = (unsigned char) (Value >> 24);
1958 Position += 4;
1995 unsigned Position = 0; local
1996 WriteInt32ToBuffer(0x0B17C0DE , Buffer, Position);
1997 WriteInt32ToBuffer(0 , Buffer, Position); // Version.
1998 WriteInt32ToBuffer(BCOffset , Buffer, Position);
1952 WriteInt32ToBuffer(uint32_t Value, SmallVectorImpl<char> &Buffer, uint32_t &Position) argument
[all...]

Completed in 375 milliseconds

12