/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
JavaArcRasterizer.java | 30 static void addX0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { 32 for(int i = 0; i < line.length; i++) { 33 int x2 = line[i]; 42 static void addX1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { 44 for(int i = 0; i < line.length; i++) { 45 int x2 = line[i]; 54 static void addX2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { 56 for(int i = 0; i < line.length; i++) { 57 int x2 = line[i]; 66 static void addX3LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 21 /** Create a shader that draws a linear gradient along a line. 22 @param x0 The x-coordinate for the start of the gradient line 23 @param y0 The y-coordinate for the start of the gradient line 24 @param x1 The x-coordinate for the end of the gradient line 25 @param y1 The y-coordinate for the end of the gradient line 26 @param colors The colors to be distributed along the gradient line 29 the the colors are distributed evenly along the gradient line. 43 /** Create a shader that draws a linear gradient along a line. 44 @param x0 The x-coordinate for the start of the gradient line 45 @param y0 The y-coordinate for the start of the gradient line [all...] |
/build/tools/droiddoc/src/ |
SampleTagInfo.java | 34 * level of the first non-whitespace line. 100 static String getTrimString(String line) 103 int len = line.length(); 105 char c = line.charAt(i); 113 return line.substring(0, i); 137 String line = lines.readLine(); local 138 if (line == null) { 143 if (line.indexOf(begin) >= 0) { 148 if (line.indexOf(end) >= 0) { 151 boolean empty = "".equals(line.trim()) 226 String line = lines.readLine(); local [all...] |
/external/proguard/src/proguard/classfile/editor/ |
LineNumberTableAttributeEditor.java | 26 * This class can add line numbers to a given line number table attribute. 27 * Line numbers to be added must have been filled out beforehand. 37 * Creates a new LineNumberTableAttributeEditor that will edit line numbers 38 * in the given line number table attribute. 47 * Adds a given line number to the line number table attribute.
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
string-fasta.js | 61 var line = new Array(60); 64 if (n<line.length) line = new Array(n); 65 for (var i=0; i<line.length; i++) { 69 line[i] = c; 74 ret = line.join(''); 75 n -= line.length;
|
3d-cube.js | 193 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 194 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 195 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 196 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
string-fasta.js | 61 var line = new Array(60); 64 if (n<line.length) line = new Array(n); 65 for (var i=0; i<line.length; i++) { 69 line[i] = c; 74 ret = line.join(''); 75 n -= line.length;
|
3d-cube.js | 193 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 194 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 195 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 196 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
GetPropReceiver.java | 45 // to have the build info in the first line, and the build 46 // date in the 2nd line. There seems to be an empty line 49 for (String line : lines) { 50 if (line.length() == 0 || line.startsWith("#")) { 54 Matcher m = GETPROP_PATTERN.matcher(line);
|
/frameworks/base/core/jni/ |
android_database_SQLiteDebug.cpp | 97 char line[1024]; local 112 if(fgets(line, 1024, fp) == 0) return 0; 114 len = strlen(line); 116 line[--len] = 0; 119 if (line[18] == '-') skip = 1; 121 start = strtoul(line, 0, 16); 123 if (len > 50 && !strncmp(line + 49, "/tmp/sqlite-heap", strlen("/tmp/sqlite-heap"))) { 127 if (fgets(line, 1024, fp) == 0) return 0; 128 if (sscanf(line, "Size: %d kB", &size) != 1) return 0; 129 if (fgets(line, 1024, fp) == 0) return 0 [all...] |
/frameworks/base/tools/localize/ |
SourcePos.cpp | 17 int line; member in struct:ErrorPos 22 ErrorPos(const string& file, int line, const string& error); 39 line(that.line), 46 line(l), 60 if (this->line < rhs.line) return true; 61 if (this->line == rhs.line) { 72 && this->line == rhs.lin [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
config_file.c | 31 * wpa_config_get_line - Read the next configuration file line 32 * @s: Buffer for the line 35 * @line: Pointer to a variable storing the file line number 36 * @_pos: Buffer for the pointer to the beginning of data on the text line or 38 * Returns: Pointer to the beginning of data on the text line or %NULL if no 41 * This function reads the next non-empty line from the configuration file and 44 static char * wpa_config_get_line(char *s, int size, FILE *stream, int *line, 50 (*line)++; 54 /* Skip white space from the beginning of line. * 510 int errors = 0, line = 0; local [all...] |
/external/v8/tools/ |
utils.py | 36 for line in open(name): 37 if '#' in line: 38 line = line[:line.find('#')] 39 line = line.strip() 40 if len(line) == 0: 42 list.append(line)
|
/external/webkit/WebCore/inspector/front-end/ |
DOMSyntaxHighlighter.js | 52 var line = lines[i]; 54 this._tokenizer.line = line; 61 var plainText = line.substring(plainTextStart, column); 64 var token = line.substring(column, newColumn); 69 } while (column < line.length) 71 if (plainTextStart < line.length) { 72 var plainText = line.substring(plainTextStart, line.length);
|
/dalvik/dx/src/com/android/dx/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/external/guava/src/com/google/common/io/ |
LineProcessor.java | 24 * <p>{@link #processLine} will be called for each line that is read, and 33 * This method will be called once for each line. 35 * @param line the line read from the input, without delimiter 38 boolean processLine(String line) throws IOException;
|
/external/qemu/android/ |
charmap.c | 21 * 1. An empty line (containing no characters, or only space or tab 23 * 2. A comment line (begins with '#') 24 * 3. A type section line (begins with '[') 25 * 4. Character map line, formatted as such: 45 /* Maximum length of a line expected in .kcm file. */ 48 /* Maximum length of a token in a key map line. */ 60 /* Result of parsing a line in a .kcm file. */ 62 /* Line format was bad. */ 65 /* Line had been skipped (an empty line, or a comment, etc.). * 615 char line[KCM_MAX_LINE_LEN]; local [all...] |
/external/skia/include/core/ |
SkLineClipper.h | 13 /* Clip the line pts[0]...pts[1] against clip, ignoring segments that 15 right, turn those into vertical line segments that are aligned to the 18 Return the number of line segments that result, and store the end-points 27 /* Intersect the line segment against the rect. If there is a non-empty 32 segments on the sides to show where the line extended beyond the
|
/frameworks/base/opengl/libs/tools/ |
glentrygen | 26 while (my $line = <>) { 27 next if $line =~ /^\//; 28 next if $line =~ /^#/; 29 next if $line =~ /^\s*$/; 30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/util/ |
ASN1Dump.java | 49 buf.append(System.getProperty("line.separator")); 60 buf.append(System.getProperty("line.separator")); 99 buf.append(System.getProperty("line.separator")); 105 buf.append(System.getProperty("line.separator")); 122 buf.append(System.getProperty("line.separator")); 132 buf.append(System.getProperty("line.separator")); 153 buf.append(System.getProperty("line.separator")); 163 buf.append(System.getProperty("line.separator")); 184 buf.append(System.getProperty("line.separator")); 194 buf.append(System.getProperty("line.separator")) [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/ |
cpp.py | 159 s: a string which is a substring of line after '(' 181 """Tracks line numbers for includes, and the order in which includes appear. 184 filename and line number on which that file was included. 299 """Count line in current function body.""" 308 line_number: The number of the line to check. 440 # Matches multi-line C++ comments. 445 # end of the line. Otherwise, we try to remove spaces from the right side, 455 def is_cpp_string(line): 456 """Does line terminate so, that the next symbol is in string constant. 458 This function does not consider single-line nor multi-line comments [all...] |
/system/extras/showmap/ |
showmap.c | 34 char line[1024]; local 42 if(fgets(line, 1024, fp) == 0) return 0; 44 len = strlen(line); 46 line[--len] = 0; 51 mi->start = strtoul(line, 0, 16); 52 mi->end = strtoul(line + 9, 0, 16); 63 strcpy(mi->name, line + 49); 66 if(fgets(line, 1024, fp) == 0) goto oops; 67 if(sscanf(line, "Size: %d kB", &mi->size) != 1) goto oops; 68 if(fgets(line, 1024, fp) == 0) goto oops [all...] |
/external/icu4c/samples/layout/ |
paragraph.cpp | 94 fLines = LE_NEW_ARRAY(const ParagraphLayout::Line *, fLinesMax); 162 for (le_int32 line = 0; line < fLineCount; line += 1) { 163 delete /*(LineInfo *)*/ fLines[line]; 171 void Paragraph::addLine(const ParagraphLayout::Line *line) 174 fLines = (const ParagraphLayout::Line **) LE_GROW_ARRAY(fLines, fLinesMax + fLinesGrow); 178 fLines[fLineCount++] = line; 193 const ParagraphLayout::Line *line local 224 const ParagraphLayout::Line *line = fLines[li]; local [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/ |
changelogs.py | 58 # The first line should be a date line. 64 for line in changelog_file: 66 if ChangeLog.date_line_regexp.match(line): 69 entry_lines.append(line) 70 return None # We never found a date line! 82 def _wrap_line(self, line): 83 return textwrap.fill(line, 94 lines = [self._wrap_line(line) for line in message.splitlines() [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient.java | 24 * Create a shader that draws a linear gradient along a line. 26 * @param x0 The x-coordinate for the start of the gradient line 27 * @param y0 The y-coordinate for the start of the gradient line 28 * @param x1 The x-coordinate for the end of the gradient line 29 * @param y1 The y-coordinate for the end of the gradient line 30 * @param colors The colors to be distributed along the gradient line 33 * the colors are distributed evenly along the gradient line. 43 * Create a shader that draws a linear gradient along a line. 45 * @param x0 The x-coordinate for the start of the gradient line 46 * @param y0 The y-coordinate for the start of the gradient line 131 int[] line = new int[w]; local [all...] |