HomeSort by relevance Sort by last modified time
    Searched refs:Position (Results 1 - 25 of 1188) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
Position.java 26 public class Position {
30 public static final Position ABSOLUTE_START = new Position(Node.ABSOLUTE_BEGIN_LINE,-1);
31 public static final Position ABSOLUTE_END = new Position(Node.ABSOLUTE_END_LINE,-1);
33 public static Position beginOf(Node node){
34 return new Position(node.getBeginLine(),node.getBeginColumn());
37 public static Position endOf(Node node){
38 return new Position(node.getEndLine(),node.getEndColumn());
41 public Position(int line, int column)
    [all...]
  /external/skia/src/sksl/
SkSLPosition.h 16 * Represents a position in the source code. Both line and column are one-based. Column is currently
19 struct Position {
20 Position()
24 Position(int line, int column)
  /external/skqp/src/sksl/
SkSLPosition.h 16 * Represents a position in the source code. Both line and column are one-based. Column is currently
19 struct Position {
20 Position()
24 Position(int line, int column)
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
Position.java 29 * A position in a source file. Lines and columns start counting at 1.
31 public class Position implements Comparable<Position> {
35 public static final Position ABSOLUTE_START = new Position(Node.ABSOLUTE_BEGIN_LINE, -1);
36 public static final Position ABSOLUTE_END = new Position(Node.ABSOLUTE_END_LINE, -1);
39 * The first position in the file
41 public static final Position HOME = new Position(1, 1)
    [all...]
Range.java 3 import static com.github.javaparser.Position.pos;
9 public static final Range UNKNOWN = range(Position.UNKNOWN, Position.UNKNOWN);
11 public final Position begin;
12 public final Position end;
14 public Range(Position begin, Position end) {
25 public static Range range(Position begin, Position end) {
49 public Range withBegin(Position begin)
    [all...]
  /system/tools/hidl/
Location.h 24 // Mimics for yy::location and yy::position
27 struct Position {
28 Position() = default;
29 Position(std::string filename, size_t line, size_t column);
36 static bool inSameFile(const Position& lhs, const Position& rhs);
39 bool operator<(const Position& pos) const;
42 // File name to which this position refers.
50 std::ostream& operator<<(std::ostream& ostr, const Position& pos);
54 Location(const Position& begin, const Position& end)
    [all...]
Location.cpp 23 Position::Position(std::string filename, size_t line, size_t column)
26 const std::string& Position::filename() const {
30 size_t Position::line() const {
34 size_t Position::column() const {
38 bool Position::inSameFile(const Position& lhs, const Position& rhs) {
42 bool Position::operator<(const Position& pos) const
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
Position.java 29 * A position in a source file. Lines and columns start counting at 1.
31 public class Position implements Comparable<Position> {
36 * The first position in the file
38 public static final Position HOME = new Position(1, 1);
40 public Position(int line, int column) {
42 throw new IllegalArgumentException("Can't position at line " + line);
45 throw new IllegalArgumentException("Can't position at column " + column);
54 public static Position pos(int line, int column)
    [all...]
Range.java 24 import static com.github.javaparser.Position.pos;
30 public final Position begin;
31 public final Position end;
33 public Range(Position begin, Position end) {
44 public static Range range(Position begin, Position end) {
68 public Range withBegin(Position begin) {
72 public Range withEnd(Position end) {
92 public boolean isBefore(Position position)
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
Locate.c 29 LIST_ENTRY *Position;
36 IN OUT LOCATE_POSITION *Position,
43 @param Position Information about which Handle to seach for.
47 @return An pointer to IHANDLE if the next Position is not the end of the list.
53 IN OUT LOCATE_POSITION *Position,
62 Position->Position = Position->Position->ForwardLink;
69 if (Position->Position != &gHandleList) {
    [all...]
  /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...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
Locate.c 30 LIST_ENTRY *Position;
37 IN OUT LOCATE_POSITION *Position,
44 @param Position Information about which Handle to seach for.
48 @return An pointer to IHANDLE if the next Position is not the end of the list.
54 IN OUT LOCATE_POSITION *Position,
62 @param Position Information about which Handle to seach for.
66 @return An pointer to IHANDLE if the next Position is not the end of the list.
72 IN OUT LOCATE_POSITION *Position,
79 @param Position Information about which Handle to seach for.
83 @return An pointer to IHANDLE if the next Position is not the end of the list.
    [all...]
  /frameworks/native/libs/input/tests/
VelocityTracker_test.cpp 64 struct Position {
71 MotionEvent* createSimpleMotionEvent(const Position* positions, size_t numSamples) {
103 static void computeAndCheckVelocity(const Position* positions, size_t numSamples,
134 Position values[] = {
139 size_t count = sizeof(values) / sizeof(Position);
145 Position values[] = {
150 size_t count = sizeof(values) / sizeof(Position);
156 Position values[] = {
161 size_t count = sizeof(values) / sizeof(Position);
180 Position values[] =
    [all...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
BootMonFsUnsupported.c 21 IN UINT64 Position
32 OUT UINT64 *Position
BootMonFsReadWrite.c 34 @retval EFI_DEVICE_ERROR On entry, the current file position is
76 if (File->Position >= File->Info->FileSize) {
77 // The entire file has been read or the position has been
80 if (File->Position > File->Info->FileSize) {
88 RemainingFileSize = File->Info->FileSize - File->Position;
98 FileStart + File->Position,
106 File->Position += *BufferSize;
169 Region->Offset = File->Position;
173 File->Position += *BufferSize;
175 if (File->Position > File->Info->FileSize) {
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
SourcePrinter.java 24 import com.github.javaparser.Position;
35 private Position cursor = new Position(1, 0);
56 cursor = Position.pos(cursor.line, cursor.column + indentationLength);
67 * impredictably affect a correct computation of the current {@link #getCursor()} position.
79 cursor = Position.pos(cursor.line, cursor.column + arg.length());
89 * impredictably affect a correct computation of the current {@link #getCursor()} position.
107 cursor = Position.pos(cursor.line + 1, 0);
113 * Return the current cursor position (line, column) in the source printer buffer.
115 * Please notice in order to guarantee a correct computation of the cursor position,
    [all...]
  /external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
mkvwriter.h 27 virtual int64 Position() const;
28 virtual int32 Position(int64 position);
31 virtual void ElementStartNotify(uint64 element_id, int64 position);
  /external/swiftshader/third_party/subzero/src/
IceAssembler.h 42 /// - Linked, unplaced and tracking the position of branches to the label.
43 /// - Bound, placed and tracking its position.
57 /// Returns the encoded position stored in the label.
58 intptr_t getEncodedPosition() const { return Position; }
60 /// Returns the position for bound labels (branches that come after this are
64 return -Position - kWordSize;
67 /// Returns the position of an earlier branch instruction that was linked to
74 return Position - kWordSize;
77 void setPosition(intptr_t NewValue) { Position = NewValue; }
79 bool isBound() const { return Position < 0;
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZLongBranch.cpp 117 // Used to keep track of the current position while iterating over the blocks.
119 // The address that we assume this position has.
147 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
148 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
176 // Position describes the state immediately before Block. Update Block
177 // accordingly and move Position to the end of the block's non-terminator
179 void SystemZLongBranch::skipNonTerminators(BlockPosition &Position,
181 if (Block.Alignment > Position.KnownBits) {
184 Position.Address += ((uint64_t(1) << Block.Alignment) -
185 (uint64_t(1) << Position.KnownBits))
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
NodeWithRange.java 3 import com.github.javaparser.Position;
19 * The begin position of this node in the source file.
21 default Optional<Position> getBegin() {
26 * The end position of this node in the source file.
28 default Optional<Position> getEnd() {
43 default boolean isPositionedAfter(Position position) {
44 return getRange().map(r -> r.isAfter(position)).orElse(false);
51 default boolean isPositionedBefore(Position position) {
    [all...]
  /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...]
  /external/llvm/lib/Support/
FormattedStream.cpp 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) {
25 unsigned &Column = Position.first;
26 unsigned &Line = Position.second;
55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
57 UpdatePosition(Position, Ptr, Size);
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/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...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/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...]

Completed in 577 milliseconds

1 2 3 4 5 6 7 8 91011>>