/external/skia/src/pathops/ |
SkPathOpsCurve.h | 15 SkDLine line; local 16 line.set(a); 17 return line.ptAtT(t); 59 SkDLine line; local 60 line.set(a); 61 return line[1] - line[0]; 124 SkDLine line; local 125 line.set(a); 126 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) } [all...] |
/system/core/include/utils/ |
Tokenizer.h | 28 * A simple tokenizer for loading and parsing ASCII text files line by line. 60 * Returns true if at the end of the line or end of the file. 70 * Gets a 1-based line number index for the current position. 75 * Formats a location string consisting of the filename and current line number. 87 * Gets the remainder of the current line as a string, excluding the newline character. 98 * Gets the next token on this line stopping at the specified delimiters 99 * or the end of the line whichever comes first and advances past it. 102 * or is at the end of the line. 107 * Advances to the next line [all...] |
/system/extras/tests/mmc_tracepoints/ |
mmc_trace_reduce | 20 while read LINE 23 if [ -z "${LINE###*}" ] 29 LINE=${LINE/AsyncTask /AsyncTask-} 31 set $LINE 37 echo "Ignoring consecutive start line" >&2 40 SAVED_START_LINE="$LINE" 42 # Found a start line. Extract the interesting bits 58 # Found an end line. Extract the interesting bits, 59 # then make sure it matches with the saved start line, [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
SearchUtil.java | 29 public String line; field in class:SearchUtil.MatchedLine 34 "line='" + line + '\'' + 41 * Given a string with lines delimited with '\n', finds the matching line to the given 46 * @return A MatchedLine object containing the matching line and the startIndex of the substring 47 * match within that line. 56 // Match found. Find the corresponding line. 71 matched.line = contents.substring(start + 1, end); 130 * @param line The string to search for the next token. 132 * @return The index for the start of the next token. line.length() if next token not found [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
LineIterator.java | 39 * String line = it.nextLine();
40 * /// do something with line
57 /** The current line. */
96 String line = bufferedReader.readLine();
local 97 if (line == null) {
100 } else if (isValidLine(line)) {
101 cachedLine = line;
113 * Overridable method to validate each line that is returned.
115 * @param line the line that is to be validated [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 8 repeatedly to get the next line of input (or "" for EOF). It generates 15 the original line (string) 78 # Single-line ' or " string. 97 # First (or only) line of ' or " string. 154 def printtoken(type, token, start, end, line): # for testing 167 Each call to the function should return one line of input as a string. 202 tok_type, token, start, end, line = t 279 def find_cookie(line): 281 line_string = line.decode('ascii') 350 should return one line of input as a string. Alternately, readlin [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 8 repeatedly to get the next line of input (or "" for EOF). It generates 15 the original line (string) 78 # Single-line ' or " string. 97 # First (or only) line of ' or " string. 154 def printtoken(type, token, start, end, line): # for testing 167 Each call to the function should return one line of input as a string. 202 tok_type, token, start, end, line = t 279 def find_cookie(line): 281 line_string = line.decode('ascii') 350 should return one line of input as a string. Alternately, readlin [all...] |
/external/libvpx/libvpx/examples/includes/geshi/docs/api/__filesource/ |
fsource_geshi_core_geshi.php.html | 14 <div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> 15 <li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> 16 <li><div class="src-line"><a name="a3"></a><span class="src-doc"> * GeSHi - Generic Syntax Highlighter</span></div></li> 17 <li><div class="src-line"><a name="a4"></a><span class="src-doc"> *</span></div></li> 18 <li><div class="src-line"><a name="a5"></a><span class="src-doc"> * The GeSHi class for Generic Syntax Highlighting. Please refer to the</span></div></li> 19 <li><div class="src-line"><a name="a6"></a><span class="src-doc"> * documentation at http://qbnz.com/highlighter/documentation.php for more</span></div></li> 20 <li><div class="src-line"><a name="a7"></a><span class="src-doc"> * information about how to use this class.</span></div></li> 21 <li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> 22 <li><div class="src-line"><a name="a9"></a><span class="src-doc"> * For changes, release notes, TODOs etc, see the relevant files in the docs/</span></div></li> 23 <li><div class="src-line"><a name="a10"></a><span class="src-doc"> * directory.</span></div></li [all...] |
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/program/ |
program_parse.tab.c | 76 /* Line 268 of yacc.c */ 77 #line 1 "src/src/mesa/program/program_parse.y" 197 /* Line 268 of yacc.c */ 198 #line 199 "src/chromium_gensrc/mesa/program/program_parse.tab.c" 446 /* Line 293 of yacc.c */ 447 #line 126 "src/src/mesa/program/program_parse.y" 475 /* Line 293 of yacc.c */ 476 #line 477 "src/chromium_gensrc/mesa/program/program_parse.tab.c" 499 /* Line 343 of yacc.c */ 500 #line 271 "src/src/mesa/program/program_parse.y [all...] |
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
js_checker.py | 16 def RegexCheck(self, line_number, line, regex, message): 17 """Searches for |regex| in |line| to check for a particular style 20 part of |line| can be highlighted. If more groups are needed, use 23 line 6: Use var instead of const. 27 match = self.input_api.re.search(regex, line) 32 return ' line %d: %s\n%s\n%s' % ( 35 line, 39 def ChromeSendCheck(self, i, line): 41 return self.RegexCheck(i, line, r"chrome\.send\('[^']+'\s*(, \[\])\)", 44 def ConstCheck(self, i, line) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
ucaconf.cpp | 158 int32_t line = 0; local 181 line++; 187 errln("Error parsing line %ld (%s): %s\n", 188 (long)line, u_errorName(status), lineB); 204 errln("Compare result not symmetrical on line %i", line); 208 errln("Difference between ucol_strcoll and sortkey compare on line %i", line); 209 errln(" Previous data line %s", oldLineB); 210 errln(" Current data line %s", lineB) [all...] |
/external/chromium_org/tools/valgrind/ |
test_suppressions.py | 27 for line in input_file: 28 line = line.strip() 29 line = line.replace("</span><span class=\"stdout\">", "") 30 line = line.replace("</span><span class=\"stderr\">", "") 31 line = line.replace("<", "<") 32 line = line.replace(">", ">" [all...] |
/external/bison/src/ |
parse-gram.c | 75 /* Line 360 of yacc.c */ 76 #line 1 "parse-gram.y" 171 /* Line 360 of yacc.c */ 172 #line 173 "parse-gram.c" 337 /* Line 376 of yacc.c */ 338 #line 115 "parse-gram.y" 351 /* Line 376 of yacc.c */ 352 #line 353 "parse-gram.c" 391 /* Line 379 of yacc.c */ 392 #line 393 "parse-gram.c [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessage.java | 182 * Parse a vCard from a BMgsReader, where a line containing "BEGIN:VCARD" have just been read. 193 String line = reader.getLineEnforce(); local 195 while(!line.contains("END:VCARD")) { 196 line = line.trim(); 197 if(line.startsWith("N:")){ 198 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' 204 else if(line.startsWith("FN:")){ 205 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' 211 else if(line.startsWith("TEL:")) 306 String line = getLine(); local 324 String line = getLine(); local 339 String line = getLine(); local 376 String line = ""; local 534 String line; local 556 String line; local [all...] |
/external/chromium_org/tools/memory_watcher/ |
call_stack.cc | 296 PrivateAllocatorString line; local 303 line = it->second; 320 IMAGEHLP_LINE64 Line; 321 memset(&Line, 0, sizeof(Line)); 322 Line.SizeOfStruct = sizeof(Line); 327 &Line); 339 line += " "; 340 line += static_cast<char*>(Line.FileName) [all...] |
/external/iptables/iptables/ |
ip6tables-restore.c | 129 line = 0; 189 line++; 212 DEBUGP("line %u, table '%s'\n", line, table); 215 "%s: line %u table name invalid\n", 217 line); 247 DEBUGP("line %u, chain '%s'\n", line, chain); 250 "%s: line %u chain name invalid\n", 252 line); [all...] |
iptables-restore.c | 132 line = 0; 195 line++; 218 DEBUGP("line %u, table '%s'\n", line, table); 221 "%s: line %u table name invalid\n", 222 prog_name, line); 254 DEBUGP("line %u, chain '%s'\n", line, chain); 257 "%s: line %u chain name invalid\n", 258 prog_name, line); [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognitionException.as | 56 * knows its state (such as current input symbol and line info) that 59 * perhaps print an entire line of input not just a single token, for example. 84 /** Track the line at which the error occurred in case this is 86 * unexpected char doesn't carry the line info. 88 public var line:int; variable 93 * imaginary nodes w/o line/col info. We now search backwards looking 94 * for most recent token with line/col info, but notify getErrorHeader() 107 this.line = token.line; 115 this.line = CharStream(input).line [all...] |
/external/chromium/base/ |
command_line.h | 11 // There is a singleton read-only CommandLine that represents the command line 31 // The native command line string type. 45 // Construct a new command line with |program| as argv[0]. 57 // don't trust the CRT's parsing of the command line, but it still must be 58 // called to set up the command line. 68 // command line. Note: returned value is mutable, but not thread safe; 82 // Returns the represented command line string. 87 // Returns the original command line string as a vector of strings. 91 // Returns the program part of the command line string (the first item). 94 // Returns true if this command line contains the given switch [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_memory.c | 58 unsigned line; member in struct:debug_memory_header 110 debug_malloc(const char *file, unsigned line, const char *function, 119 file, line, function, 126 hdr->line = line; 146 debug_free(const char *file, unsigned line, const char *function, 158 file, line, function, 167 hdr->file, hdr->line, hdr->function, 182 debug_calloc(const char *file, unsigned line, const char *function, 185 void *ptr = debug_malloc( file, line, function, count * size ) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_lines.c | 38 * Init the mask[] array to implement a line stipple. 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; 48 if ((1 << bit) & ctx->Line.StipplePattern) { 60 * To draw a wide line we can simply redraw the span N times, side by side. 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, 117 /* Simple RGBA index line (no stipple, width=1, no Z, no fog, no tex)*/ 124 /* Z, fog, wide, stipple RGBA line */ 129 if (ctx->Line.StippleFlag) { \ 133 if (ctx->Line.Width > 1.0) { \ 142 /* General-purpose line (any/all features). * [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
MarketIO.h | 21 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, Scalar& value) 23 line >> i >> j >> value; 34 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, std::complex<Scalar>& value) 37 line >> i >> j >> valR >> valI; 50 inline void GetVectorElt (const std::string& line, RealScalar& val) 52 std::istringstream newline(line); 57 inline void GetVectorElt (const std::string& line, std::complex<RealScalar>& val) 60 std::istringstream newline(line); 117 std::string line; 118 // The matrix header is always the first line in the file [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_memory.c | 58 unsigned line; member in struct:debug_memory_header 110 debug_malloc(const char *file, unsigned line, const char *function, 119 file, line, function, 126 hdr->line = line; 146 debug_free(const char *file, unsigned line, const char *function, 158 file, line, function, 167 hdr->file, hdr->line, hdr->function, 182 debug_calloc(const char *file, unsigned line, const char *function, 185 void *ptr = debug_malloc( file, line, function, count * size ) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_lines.c | 38 * Init the mask[] array to implement a line stipple. 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; 48 if ((1 << bit) & ctx->Line.StipplePattern) { 60 * To draw a wide line we can simply redraw the span N times, side by side. 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, 117 /* Simple RGBA index line (no stipple, width=1, no Z, no fog, no tex)*/ 124 /* Z, fog, wide, stipple RGBA line */ 129 if (ctx->Line.StippleFlag) { \ 133 if (ctx->Line.Width > 1.0) { \ 142 /* General-purpose line (any/all features). * [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V21.java | 52 * Needed since "next line" may be null due to end of line. 71 final String line = super.readLine(); local 74 return line; 78 * Read one line, but make this object store it in its queue. 83 final String line = super.readLine(); local 87 mNextLine = line; 127 * Developers should not directly read a line from this object. Use 192 * @throws VCardException when the stream reached end of line 195 String line; local 240 String line; local 306 final String line = getNonEmptyLine(); local [all...] |