/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/ |
matcher.py | 22 from closure_linter.common import position namespace 27 Position = position.Position
|
position.py | 23 class Position(object): 32 """Initialize the position object. 65 """Create a Position representing the end of the given string. 71 The created Position object. 73 return Position(len(string), 0) 77 """Returns whether this position is at the end of the given string. 83 Whether this position is at the end of the given string. 88 """Create a Position representing the beginning of any string. 91 The created Position object. 93 return Position(0, 0 [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvwriter.cpp | 64 int64 MkvWriter::Position() const { 75 int32 MkvWriter::Position(int64 position) { 80 return _fseeki64(file_, position, SEEK_SET); 82 return fseek(file_, position, SEEK_SET);
|
/external/llvm/include/llvm/Support/ |
FormattedStream.h | 24 /// of line and column position, allowing padding out to specific column 33 /// Position - The current output column and line of the data that's 37 std::pair<unsigned, unsigned> Position; 46 /// current_pos - Return the current position within the stream, 49 // Our current position in the stream is all the contents which have been 50 // written to the underlying stream (*not* the current position of the 56 /// position after output. 90 : TheStream(nullptr), Position(0, 0) { 93 explicit formatted_raw_ostream() : TheStream(nullptr), Position(0, 0) { 110 unsigned getColumn() { return Position.first; [all...] |
Path.h | 54 size_t Position; ///< The iterators current position within Path. 56 // An end iterator has Position = Path.size() + 1. 80 size_t Position; ///< The iterators current position within Path.
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvwriter.cpp | 68 int64 MkvWriter::Position() const { 79 int32 MkvWriter::Position(int64 position) { 84 return _fseeki64(file_, position, SEEK_SET); 86 return fseek(file_, position, SEEK_SET);
|
/cts/libs/view/src/com/android/view/ |
Position.java | 22 public class Position { 26 public Position(float x, float y) { 40 * @return The vector dot product between {@code this} and another {@link Position}. 42 public double dotProduct(Position other) { 47 * @return The euclidean distance between {@code this} and the other {@link Position}. 49 public double distanceTo(Position other) { 55 * {@code this} to the other {@link Position}, given the origin of the arc. 57 * @param origin The {@link Position} to use as the origin of the arc. 62 public double arcAngleTo(Position other, Position origin) [all...] |
/art/compiler/utils/ |
label.h | 85 // Returns the position for bound and linked labels. Cannot be used 87 int Position() const { 108 void BindTo(int position) { 110 position_ = -position - sizeof(void*); 114 void LinkTo(int position) { 116 position_ = position + sizeof(void*);
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
javascriptlintrules.py | 36 from closure_linter.common import position namespace 40 Position = position.Position 183 position=Position.All(token.string)) 267 block_start, position=Position.AtBeginning(), 286 function.doc.end_token, position=Position.AtBeginning() [all...] |
indentation.py | 27 from closure_linter.common import position namespace 37 Position = position.Position 170 Position(token.start_index, token.length)]) 179 Position(token.start_index, token.length)]) 217 Position(actual, expected[0])]) 325 Hard stops are indentations defined by the position of another token as in
|
ecmalintrules.py | 39 from closure_linter.common import position namespace 58 Position = position.Position 221 position=Position.AtBeginning()) 237 token.previous, position=Position.All(token.previous.string)) 245 position=Position.AtBeginning() [all...] |
/external/icu/icu4c/source/i18n/ |
collationruleparser.h | 38 enum Position { 59 * The second contraction character is POS_BASE + Position. 156 * Sets str to a contraction of U+FFFE and (U+2800 + Position). 157 * @return rule index after the special reset position
|
/external/llvm/lib/MC/MCDisassembler/ |
Disassembler.cpp | 139 size_t Position = Comments.find('\n'); 140 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position); 142 Comments = Comments.substr(Position+1);
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaAlone.cs | 18 public override long Position
341 long compressedSize = inStream.Length - inStream.Position;
|
LzmaBench.cs | 130 public override Int64 Position { get { return 0; } set { } }
301 long compressedSize = compressedStream.Position;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandle.java | 42 /** The position of the handle in the selection rectangle */ 43 enum Position { 56 private Position(int swtCursor) { 89 /** The position of the handle in the selection rectangle */ 90 private final Position mPosition; 94 * corresponding to a handle at the given {@link Position}. 98 * @param position the position of the handle in the selection rectangle 100 public SelectionHandle(int centerX, int centerY, Position position) { [all...] |
ResizeGesture.java | 23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.Position; 136 * For the new mouse position, compute the resized bounds (the bounding rectangle that 138 * cases resizing will change the x/y position of the view as well (for example, in 145 Position direction = mHandle.getPosition(); 171 // The user is dragging the left edge, so the position is anchored on the 183 // The user is dragging the right edge, so the position is anchored on the 192 assert direction == Position.BOTTOM_MIDDLE || direction == Position.TOP_MIDDLE; 196 // The user is dragging the top edge, so the position is anchored on the 208 // The user is dragging the bottom edge, so the position is anchored on th [all...] |
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 34 : 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 != ' ' && *Position != '"' && *Position != '\'') [all...] |
/external/dng_sdk/source/ |
dng_stream.h | 187 uint64 Position () const 192 /// Getter for current position in original file, taking into account 195 /// of offset in original file and current position otherwise. 216 /// Seek to a new position in stream for reading. 225 SetReadPosition (Position () + delta); 237 /// Seek to a new position in stream for writing. 256 /// Get an unsigned 8-bit integer from stream and advance read position. 283 /// Put an unsigned 8-bit integer to stream and advance write position. 315 /// Get an unsigned 16-bit integer from stream and advance read position. 323 /// Put an unsigned 16-bit integer to stream and advance write position [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_parse.h | 116 unsigned Position;
|
/frameworks/native/include/input/ |
VelocityTracker.h | 33 struct Position { 81 // The positions array contains position information for each pointer in order by 83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions); 88 // Gets the velocity of the specified pointer id in position units per second. 131 const VelocityTracker::Position* positions) = 0; 163 const VelocityTracker::Position* positions); 178 VelocityTracker::Position positions[MAX_POINTERS]; 180 inline const VelocityTracker::Position& getPosition(uint32_t id) const { 206 const VelocityTracker::Position* positions); 240 const VelocityTracker::Position* positions) [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ManifestDigester.java | 46 static class Position { 65 private boolean findSection(int offset, Position pos) 115 Position pos = new Position();
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOUtils.java | 59 private static final class Position { 67 public Position(int address, int length) { 83 Stack<Position> stack = new Stack<>(); 86 Position initPos = new Position(bodyOffset, 0); 90 Position p = stack.peek(); 94 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength); 100 if (p.mNumOfPtNode == Position.NOT_READ_PTNODE_COUNT) { 131 final Position childrenPos = new Position(ptNodeInfo.mChildrenAddress, index) [all...] |
/external/clang/lib/Lex/ |
Preprocessor.cpp | 384 // Find the byte position of the truncation point. 385 const char *Position = Buffer->getBufferStart(); 387 for (; *Position; ++Position) { 388 if (*Position != '\r' && *Position != '\n') 392 if ((Position[1] == '\r' || Position[1] == '\n') && 393 Position[0] != Position[1] [all...] |
/external/llvm/lib/MC/ |
MCAsmStreamer.cpp | 281 size_t Position = Comments.find('\n'); 282 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; 284 Comments = Comments.substr(Position+1); [all...] |