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

123

/freebsd-10-stable/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...]
/freebsd-10-stable/sys/contrib/dev/acpica/components/utilities/
H A Duthex.c64 * Position - bit position of the digit within the
76 UINT32 Position)
79 return (AcpiGbl_HexToAscii[(Integer >> Position) & 0xF]);
74 AcpiUtHexToAsciiChar( UINT64 Integer, UINT32 Position) argument
H A Dutascii.c88 * Position - Byte position (0-3)
104 UINT32 Position)
113 if (Character == '!' && Position == 3)
102 AcpiUtValidNameChar( char Character, UINT32 Position) argument
/freebsd-10-stable/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-10-stable/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-10-stable/sys/contrib/dev/acpica/common/
H A Dadfile.c200 char *Position; local
221 Position = strrchr (NewFilename, '.');
223 if (Position && (Position > DirectoryPosition))
227 Position++;
228 *Position = 0;
229 strcat (Position, Suffix);
/freebsd-10-stable/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; }
/freebsd-10-stable/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-10-stable/contrib/llvm/tools/lldb/include/lldb/DataFormatters/
H A DTypeCategoryMap.h38 typedef uint32_t Position; typedef in class:lldb_private::TypeCategoryMap
40 static const Position First = 0;
41 static const Position Default = 1;
42 static const Position Last = UINT32_MAX;
55 Position pos = Default);
62 Position pos = Default);
H A DDataVisualization.h127 TypeCategoryMap::Position = TypeCategoryMap::Default);
134 TypeCategoryMap::Position = TypeCategoryMap::Default);
H A DFormatManager.h54 TypeCategoryMap::Position pos = TypeCategoryMap::Default)
68 TypeCategoryMap::Position pos = TypeCategoryMap::Default)
/freebsd-10-stable/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-10-stable/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::__anon3662::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-10-stable/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-10-stable/sys/contrib/dev/acpica/include/
H A Dacmacros.h289 #define ACPI_GET_BITS(SourcePtr, Position, Mask) \
290 ((*(SourcePtr) >> (Position)) & (Mask))
292 #define ACPI_SET_BITS(TargetPtr, Position, Mask, Value) \
293 (*(TargetPtr) |= (((Value) & (Mask)) << (Position)))
315 #define ACPI_EXTRACT_1BIT_FLAG(Field, Position) (ACPI_GET_1BIT_FLAG ((Field) >> Position))
316 #define ACPI_EXTRACT_2BIT_FLAG(Field, Position) (ACPI_GET_2BIT_FLAG ((Field) >> Position))
317 #define ACPI_EXTRACT_3BIT_FLAG(Field, Position) (ACPI_GET_3BIT_FLAG ((Field) >> Position))
[all...]
/freebsd-10-stable/sys/contrib/dev/acpica/compiler/
H A Daslresource.c481 * Position - Bit position within the flag byte
497 UINT8 Position,
505 *Flags |= (DefaultBit << Position);
511 *Flags |= (((UINT8) Op->Asl.Value.Integer) << Position);
520 UINT8 Position,
528 *Flags |= (DefaultBit << Position);
534 *Flags |= (((UINT16) Op->Asl.Value.Integer) << Position);
494 RsSetFlagBits( UINT8 *Flags, ACPI_PARSE_OBJECT *Op, UINT8 Position, UINT8 DefaultBit) argument
517 RsSetFlagBits16( UINT16 *Flags, ACPI_PARSE_OBJECT *Op, UINT8 Position, UINT8 DefaultBit) argument
/freebsd-10-stable/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsfield.c319 UINT64 Position; local
345 Position = (UINT64) Info->FieldBitPosition +
348 if (Position > ACPI_UINT32_MAX)
355 Info->FieldBitPosition = (UINT32) Position;
459 Position = (UINT64) Info->FieldBitPosition +
462 if (Position > ACPI_UINT32_MAX)
/freebsd-10-stable/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-10-stable/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-10-stable/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::__anon3278::IndexedTokenSource
294 unsigned Position = StoredPosition; local
[all...]
/freebsd-10-stable/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...]

Completed in 152 milliseconds

123