Searched defs:Position (Results 1 - 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
H A DPositionIterator.cpp37 PositionIterator::operator Position() const
48 return Position(m_anchorNode, m_offsetInAnchor);
64 m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor);
96 m_offsetInAnchor = Position::uncheckedPreviousOffset(m_anchorNode, m_offsetInAnchor);
160 return !m_offsetInAnchor && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode());
163 return !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).inRenderedText();
166 return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode());
170 if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(renderer))
171 return atStartOfNode() && !Position
[all...]
H A DPosition.h52 class Position { class in namespace:WebCore
60 Position() function in class:WebCore::Position
68 Position(PassRefPtr<Node> anchorNode, int offset);
71 Position(PassRefPtr<Node> anchorNode, AnchorType);
73 Position(PassRefPtr<Node> anchorNode, int offset, AnchorType);
83 Position parentAnchoredEquivalent() const; // Convenience method for DOM positions that also fixes up some positions for editing
128 Position previous(PositionMoveType = CodePoint) const;
129 Position next(PositionMoveType = CodePoint) const;
149 Position leadingWhitespacePosition(EAffinity, bool considerNonCollapsibleWhitespace = false) const;
150 Position trailingWhitespacePositio
[all...]
H A DPosition.cpp27 #include "Position.h"
74 Position::Position(PassRefPtr<Node> anchorNode, int offset) function in class:WebCore::Position
82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) function in class:WebCore::Position
91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) function in class:WebCore::Position
101 void Position::moveToPosition(PassRefPtr<Node> node, int offset)
110 void Position::moveToOffset(int offset)
118 Node* Position
[all...]
/external/llvm/include/llvm/Support/
H A DPathV2.h52 size_t Position; //< The iterators current position within Path. member in class:llvm::sys::path::const_iterator
54 // An end iterator has Position = Path.size() + 1.
H A DCommandLine.h172 unsigned Position; // Position of last occurrence of the option member in class:llvm::cl::Option
197 inline unsigned getPosition() const { return Position; }
222 void setPosition(unsigned pos) { Position = pos; }
225 : NumOccurrences(0), Flags(DefaultFlags | NormalFormatting), Position(0),
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
H A Dprototype-1.6.0.3.js2038 // Position.prepare(); // To be done manually by Scripty when it needs it.
2062 // Position.prepare(); // To be done manually by Scripty when it needs it.
4163 var Position = {
4227 Position.prepare();
4232 Position.prepare();
/external/llvm/lib/Support/
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
/external/v8/src/
H A Dmksnapshot.cc151 int length = partial_sink_.Position();
178 virtual int Position() { function in class:CppByteSink
193 virtual int Position() { return data_.length(); } function in class:CppByteSink::PartialSnapshotSink
/external/webkit/Source/WebCore/editing/
H A DIndentOutdentCommand.cpp59 bool IndentOutdentCommand::tryIndentingAsListItem(const Position& start, const Position& end)
91 void IndentOutdentCommand::indentIntoBlockquote(const Position& start, const Position& end, RefPtr<Element>& targetBlockquote)
192 Position originalSelectionEnd = endingSelection().end();
227 void IndentOutdentCommand::formatRange(const Position& start, const Position& end, const Position&, RefPtr<Element>& blockquoteForNextIndent) argument
/external/zlib/contrib/dotzlib/DotZLib/
H A DGZipStream.cs237 #region Position & length stuff
275 public override long Position property in class:DotZLib.GZipStream
/external/clang/include/clang/AST/
H A DExternalASTSource.h307 /// \brief Position within the vector..
309 /// In a complete iteration, the Position field walks the range [-M, N),
319 int Position; member in class:clang::LazyVector::iterator
330 iterator() : Self(0), Position(0) { }
332 iterator(LazyVector *Self, int Position) argument
333 : Self(Self), Position(Position) { }
336 if (Position < 0)
337 return Self->Loaded.end()[Position];
338 return Self->Local[Position];
[all...]
H A DDeclTemplate.h902 /// given a Depth - the nesting of template parameter scopes - and a Position -
910 : Depth(0), Position(0)
914 : Depth(D), Position(P)
920 unsigned Position; member in class:clang::TemplateParameterList::TemplateParmPosition
928 unsigned getPosition() const { return Position; }
929 void setPosition(unsigned P) { Position = P; }
932 unsigned getIndex() const { return Position; }
/external/clang/lib/Lex/
H A DPreprocessor.cpp289 const char *Position = Buffer->getBufferStart(); local
291 for (; *Position; ++Position) {
292 if (*Position != '\r' && *Position != '\n')
296 if ((Position[1] == '\r' || Position[1] == '\n') &&
297 Position[0] != Position[1])
298 ++Position;
[all...]
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h366 /// \brief Position within the preprocessed entity sequence.
368 /// In a complete iteration, the Position field walks the range [-M, N),
378 PPEntityID Position; member in class:clang::PreprocessingRecord::iterator
387 iterator() : Self(0), Position(0) { }
389 iterator(PreprocessingRecord *Self, int Position) argument
390 : Self(Self), Position(Position) { }
393 return Self->getPreprocessedEntity(Position);
401 ++Position;
407 ++Position;
[all...]
/external/clang/lib/Parse/
H A DParseTemplate.cpp441 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { argument
443 return ParseTypeParameter(Depth, Position);
446 return ParseTemplateTemplateParameter(Depth, Position);
451 return ParseNonTypeTemplateParameter(Depth, Position);
463 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { argument
511 Depth, Position, EqualLoc, DefaultArg);
523 Parser::ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) { argument
600 Position, EqualLoc, DefaultArg);
610 Parser::ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) { argument
652 Depth, Position, EqualLo
[all...]
/external/llvm/lib/Target/PTX/
H A DPTXMCAsmStreamer.cpp217 size_t Position = Comments.find('\n'); local
218 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
220 Comments = Comments.substr(Position+1);
/external/v8/test/cctest/
H A Dtest-serialize.cc195 virtual int Position() { function in class:FileByteSink
/external/harfbuzz/src/
H A Dharfbuzz-indic.cpp478 enum Position { enum
914 static inline Position indic_position(unsigned short uc) {
917 return (Position) indicPosition[uc-0x900];
951 Position position;
1307 Position pos = Post;
1317 Position charPosition = indic_position(uc[i]);
1367 Position matra_position = None;
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h881 /// before the given iterator Position. This may be used to update the
883 void RepositionNode(allnodes_iterator Position, SDNode *N) { argument
884 AllNodes.insert(Position, AllNodes.remove(N));
/external/webkit/Tools/Scripts/webkitpy/style/checkers/
H A Dcpp.py213 return Position(current_row, found_match.end(1))
367 class Position(object): class in inherits:object
482 start_position = Position(row=start_position.row, column=start_position.column + 1)
483 end_position = Position(row=end_position.row, column=end_position.column - 1)
523 self.body_start_position = Position(-1000, 0)
524 self.end_position = Position(-1000, 0)
532 function_name_start_position: Position in elided where the function name starts.
533 body_start_position: Position in elided of the { or the ; for a prototype.
534 end_position: Position in elided just after the final } (or ; is.
535 parameter_start_position: Position i
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h78 : Position(0), kind(None) {}
80 : Position(pos), kind(k) {}
83 return Position;
104 const char *Position; member in class:clang::analyze_format_string::LengthModifier
158 : IsPrintf(isPrintf), Position(0), EndScanList(0), kind(InvalidSpecifier) {}
161 : IsPrintf(isPrintf), Position(pos), EndScanList(0), kind(k) {}
164 return Position;
185 return EndScanList ? EndScanList - Position : 1;
194 const char *Position; member in class:clang::analyze_format_string::ConversionSpecifier
/external/libvpx/vp8/encoder/
H A Dfirstpass.c116 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) argument
118 cpi->stats_in = Position;
/external/llvm/lib/MC/
H A DMCAsmStreamer.cpp296 size_t Position = Comments.find('\n'); local
297 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
299 Comments = Comments.substr(Position+1);
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp80 unsigned Position; member in struct:__anon6804::ARMLoadStoreOpt::MemOpQueueEntry
85 : Offset(o), Reg(r), isKill(k), Position(p), MBBI(i), Merged(false) {}
379 const unsigned insertPos = memOps[insertAfter].Position;
388 if (memOps[i].Position < insertPos && memOps[i].isKill) {
431 memOps[i].Position = insertPos;
499 if (MemOps[i].Position > MemOps[insertAfter].Position)
1008 unsigned Position = MemOps[0].Position; local
1010 if (MemOps[i].Position < Positio
1187 unsigned Position = 0; local
[all...]
/external/clang/lib/Sema/
H A DSemaTemplate.cpp520 unsigned Depth, unsigned Position,
542 KeyLoc, Loc, Depth, Position, ParamName,
640 unsigned Position,
671 Depth, Position, ParamName, T,
722 unsigned Position,
733 Depth, Position, IsParameterPack,
515 ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis, SourceLocation EllipsisLoc, SourceLocation KeyLoc, IdentifierInfo *ParamName, SourceLocation ParamNameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedType DefaultArg) argument
638 ActOnNonTypeTemplateParameter(Scope *S, Declarator &D, unsigned Depth, unsigned Position, SourceLocation EqualLoc, Expr *Default) argument
715 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument

Completed in 1004 milliseconds

12