/prebuilts/go/linux-x86/src/cmd/asm/internal/lex/ |
lex.go | 66 // HistLine reports the cumulative source line number of the token, 68 // instruction from the current lex line.) 86 // InitHist sets the line count to 1, for reproducible testing. 105 // Line reports the source line number of the token. 106 Line() int 109 // SetPos sets the file and line number. 110 SetPos(line int, file string) 147 t := NewTokenizer("command line", strings.NewReader(str), nil)
|
/prebuilts/go/linux-x86/src/cmd/cover/ |
func.go | 5 // This file implements the visitor that computes the (line, column)-(line-column) range for each function. 120 startLine: start.Line, 122 endLine: end.Line,
|
/prebuilts/go/linux-x86/src/go/scanner/ |
scanner_test.go | 212 if pos.Line != expected.Line { 213 t.Errorf("bad line for %q: got %d, expected %d", lit, pos.Line, expected.Line) 237 Line: 1, 248 epos.Line = newlineCount(string(source)) 303 epos.Line += newlineCount(e.lit) + whitespace_linecount 312 func checkSemi(t *testing.T, line string, mode Mode) { 314 file := fset.AddFile("TestSemis", fset.Base(), len(line)) [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
issues_test.go | 192 fact := fmt.Sprintf("L%d defs %s", fset.Position(id.Pos()).Line, obj) 197 fact := fmt.Sprintf("L%d uses %s", fset.Position(id.Pos()).Line, obj)
|
/build/soong/androidmk/cmd/androidmk/ |
androidmk.go | 27 prevLine, line int 52 f.line++ 53 if f.pos.Line > f.prevLine+1 { 54 f.line++ 57 f.pos.Line = f.line 58 f.prevLine = endPos.Line 62 f.pos.Line++ 63 f.line++ 167 file.errorf(t, "unsupported line") [all...] |
/external/google-breakpad/src/common/ |
module.cc | 194 // Next, mark all files actually cited by our functions' line number 199 for (vector<Line>::iterator line_it = func->lines.begin(); 206 // the line numbers, but doing it this way numbers the files in 264 for (vector<Line>::iterator line_it = func->lines.begin();
|
dwarf_cu_to_module_unittest.cc | 69 Module *module, vector<Module::Line> *lines)); 82 MOCK_METHOD1(UncoveredLine, void(const Module::Line &line)); 95 // vector<Module::Line> lines; 109 // in which case calling l2m with some line vector will append lines. 113 const vector<Module::Line> *lines) : lines_(lines) { } 115 Module *module, vector<Module::Line> *lines) { 119 const vector<Module::Line> *lines_; 144 // By default, expect the line program reader not to be invoked. We 150 // pass to our line reader 616 Module::Line *line = &functions_[i]->lines[j]; local 1733 Module::Line line; member in struct:Reporter [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PolygonRegionTest.java | 130 renderer.begin(ShapeType.Line);
173 renderer.line(px1, py1, px2, py2);
174 renderer.line(px2, py2, px3, py3);
175 renderer.line(px3, py3, px1, py1);
259 renderer.begin(ShapeType.Line);
261 renderer.line(x1, y1, x2, y2);
262 renderer.line(x2, y2, x3, y3);
263 renderer.line(x3, y3, x4, y4);
264 renderer.line(x4, y4, x1, y1);
|
/external/llvm/include/llvm/ProfileData/ |
InstrProfReader.h | 120 line_iterator Line; 128 : DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {}
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GradControl.java | 128 public void actionDown(float x, float y, Line line) { 134 mDownPoint1X = line.getPoint1X(); 135 mDownPoint1Y = line.getPoint1Y(); 136 mDownPoint2X = line.getPoint2X(); 137 mDownPoint2Y = line.getPoint2Y(); 140 public void actionMove(int handle, float x, float y, Line line) { 163 line.setPoint1(mDownPoint1X + dx, mDownPoint1Y + dy); 164 line.setPoint2(mDownPoint2X + dx, mDownPoint2Y + dy) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
SpacingAndPunctuationsTests.java | 138 assertTrue("V Line", sp.isWordSeparator('|')); 189 assertFalse("V Line", sp.isWordConnector('|')); 235 assertFalse("V Line", sp.isUsuallyPrecededBySpace('|')); 296 assertFalse("V Line", sp.isUsuallyFollowedBySpace('|')); 343 assertFalse("V Line", sp.isUsuallyFollowedBySpace('|'));
|
/prebuilts/go/darwin-x86/src/encoding/csv/ |
reader.go | 17 // Blank lines are ignored. A line with only whitespace characters (excluding 18 // the ending newline character) is not considered a blank line. 43 // "Multi-line 48 // {`Multi-line 62 // The first line is 1. The first column is 0. 64 Line int // Line where the error occurred 70 return fmt.Sprintf("line %d, column %d: %s", e.Line, e.Column, e.Err) 75 ErrTrailingComma = errors.New("extra delimiter at end of line") // no longer use [all...] |
/prebuilts/go/linux-x86/src/encoding/csv/ |
reader.go | 17 // Blank lines are ignored. A line with only whitespace characters (excluding 18 // the ending newline character) is not considered a blank line. 43 // "Multi-line 48 // {`Multi-line 62 // The first line is 1. The first column is 0. 64 Line int // Line where the error occurred 70 return fmt.Sprintf("line %d, column %d: %s", e.Line, e.Column, e.Err) 75 ErrTrailingComma = errors.New("extra delimiter at end of line") // no longer use [all...] |
/external/mesa3d/src/mesa/drivers/osmesa/ |
osmesa.c | 128 * Macros for optimized line/triangle rendering. 144 * Draw a flat-shaded, RGB line into an osmesa buffer. 163 * Draw a flat-shaded, Z-less, RGB line into an osmesa buffer. 188 * Analyze context state to see if we can provide a fast line drawing 198 if (ctx->Line.SmoothFlag) return NULL; 201 if (ctx->Line.Width != 1.0F) return NULL; 202 if (ctx->Line.StippleFlag) return NULL; 203 if (ctx->Line.SmoothFlag) return NULL; 344 swrast->Line = osmesa_choose_line_function( ctx ); 345 if (!swrast->Line) [all...] |
/external/deqp/framework/referencerenderer/ |
rrRenderer.cpp | 117 void convertPrimitiveToBaseType(std::vector<pa::Line>& output, std::vector<pa::Line>& input) 127 void convertPrimitiveToBaseType(std::vector<pa::Line>& output, std::vector<pa::LineAdjacency>& input) 134 output[i] = pa::Line(input[i].v1, input[i].v2, baseProvokingVertexIndex); 155 * Calculate the intersection of line segment v0-v1 and a given plane. Line 171 * How much (in [0-1] range) of a line segment v0-v1 would be clipped 172 * of the v0 end of the line segment by clipping. 245 // A point on line might be far away, causing clipping ratio (clipLineSegmentEnd) to become extremely close to 1.0 246 // even if the another point is not on the plane. Prevent clipping ratio from saturating by using points on line [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 92 // Construct a location that has a valid scope, but no line info. 616 // No need to fill in the Name, Line, Size, Alignment, Offset in case of 697 unsigned Line = getLineNumber(RD->getLocation()); 712 getTagForRecord(RD), RDName, Ctx, DefUnit, Line, 0, Size, Align, 901 unsigned line = getLineNumber(loc); local 3160 unsigned line = getLineNumber(loc); local [all...] |
CodeGenAction.cpp | 449 unsigned Line, Column; 453 D.getLocation(&Filename, &Line, &Column); 455 if (FE && Line > 0) { 458 DILoc = SourceMgr.translateFileLineCol(FE, Line, Column ? Column : 1); 475 // If we were not able to translate the file:line:col information 478 // case of #line directives. 480 << Filename << Line << Column; [all...] |
/external/llvm/lib/Support/ |
YAMLParser.cpp | 192 /// a simple key (we moved on to the next line or went further than 1024 chars). 198 unsigned Line; 329 // A production matching a single line break. 337 // A production matching complete line(s). 410 /// Pos is whitespace or a new line 415 /// Return false if the code unit at the current position isn't a line break. 425 /// Invalid simple keys are not on the current line or are further than 1024 442 /// @brief Skip a single-line comment when the comment starts at the current 509 /// Scan the indentation of a text line in a block scalar. 539 /// @brief Current line number [all...] |
/prebuilts/go/darwin-x86/src/debug/gosym/ |
pclntab.go | 6 * Line tables 16 // A LineTable is a data structure mapping program counters to line numbers. 19 // and the line number corresponded to a numbering of all source lines in the 20 // program, across all files. That absolute line number would then have to be 21 // converted separately to a file name and line number within the file. 24 // for the entire program, shared by all Funcs, and there are no absolute line 25 // numbers, just line numbers within specific files. 32 Line int 53 func (t *LineTable) parse(targetPC uint64, targetLine int) (b []byte, pc uint64, line int) { 54 // The PC/line table can be thought of as a sequence o [all...] |
/prebuilts/go/linux-x86/src/debug/gosym/ |
pclntab.go | 6 * Line tables 16 // A LineTable is a data structure mapping program counters to line numbers. 19 // and the line number corresponded to a numbering of all source lines in the 20 // program, across all files. That absolute line number would then have to be 21 // converted separately to a file name and line number within the file. 24 // for the entire program, shared by all Funcs, and there are no absolute line 25 // numbers, just line numbers within specific files. 32 Line int 53 func (t *LineTable) parse(targetPC uint64, targetLine int) (b []byte, pc uint64, line int) { 54 // The PC/line table can be thought of as a sequence o [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 101 int Line; 111 LexLoc.Line++; 171 // Comment until end of line. 207 int getLine() const { return Loc.Line; } 361 int Line; 368 Precedence(Prec), Line(Loc.Line) {} 381 int getLine() const { return Line; } [all...] |
/external/clang/lib/Frontend/ |
SerializedDiagnosticPrinter.cpp | 363 Record.push_back((unsigned)0); // Line. 430 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. 837 RECORD_SOURCE_RANGE, FileLookup[Start.FileID], Start.Line, Start.Col, 838 Start.Offset, FileLookup[End.FileID], End.Line, End.Col, End.Offset}; 848 RECORD_DIAG, Severity, FileLookup[Location.FileID], Location.Line, 862 Start.Line, Start.Col, Start.Offset, 863 FileLookup[End.FileID], End.Line, End.Col, [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_aaline.c | 40 * Info about the AA line we're rendering 48 GLfloat halfWidth; /* half of line width */ 49 GLfloat xAdj, yAdj; /* X and Y adjustment for quad corners around line */ 77 * Compute the equation of a plane used to interpolate line fragment data 79 * Input: (x0, y0) and (x1,y1) are the endpoints of the line. 84 * We take the endpoints of the line and compute a plane such that 85 * the cross product of the line vector and the plane normal is 326 typedef void (*plot_func)(struct gl_context *ctx, struct LineInfo *line, 332 * Draw an AA line segment (called many times per line when stippling [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_dbg_common.h | 783 WINBOOL IMAGEAPI SymGetLineFromAddr(HANDLE hProcess,DWORD dwAddr,PDWORD pdwDisplacement,PIMAGEHLP_LINE Line); 786 WINBOOL IMAGEAPI SymGetLineFromName64(HANDLE hProcess,PCSTR ModuleName,PCSTR FileName,DWORD dwLineNumber,PLONG plDisplacement,PIMAGEHLP_LINE64 Line); 787 WINBOOL IMAGEAPI SymGetLineFromNameW64(HANDLE hProcess,PCWSTR ModuleName,PCWSTR FileName,DWORD dwLineNumber,PLONG plDisplacement,PIMAGEHLP_LINEW64 Line); 792 WINBOOL IMAGEAPI SymGetLineFromName(HANDLE hProcess,PCSTR ModuleName,PCSTR FileName,DWORD dwLineNumber,PLONG plDisplacement,PIMAGEHLP_LINE Line); 795 WINBOOL IMAGEAPI SymGetLineNext64(HANDLE hProcess,PIMAGEHLP_LINE64 Line); 796 WINBOOL IMAGEAPI SymGetLineNextW64(HANDLE hProcess,PIMAGEHLP_LINEW64 Line); 801 WINBOOL IMAGEAPI SymGetLineNext(HANDLE hProcess,PIMAGEHLP_LINE Line); 804 WINBOOL IMAGEAPI SymGetLinePrev64(HANDLE hProcess,PIMAGEHLP_LINE64 Line); 805 WINBOOL IMAGEAPI SymGetLinePrevW64(HANDLE hProcess,PIMAGEHLP_LINEW64 Line); 810 WINBOOL IMAGEAPI SymGetLinePrev(HANDLE hProcess,PIMAGEHLP_LINE Line); [all...] |
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
line.go | 15 // "line" section for a single compilation unit. LineEntries occur in 37 programOffset Offset // section offset of line number program 42 // Current line number program state machine registers 47 // A LineEntry is a row in a DWARF line table. 67 // Line is the source code line number corresponding to these 70 // line. 71 Line int 73 // Column is the column number within the source line of these 75 // be 0 to indicate the "left edge" of the line [all...] |