/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
handshake.py | 198 lines = self._request.connection.get_memorized_lines() 204 self._check_first_lines(lines) 206 def _check_first_lines(self, lines): 207 if len(lines) < len(_FIRST_FIVE_LINES): 208 raise HandshakeError('Too few header lines: %d' % len(lines)) 209 for line, regexp in zip(lines, _FIRST_FIVE_LINES): 213 sixth_and_later = ''.join(lines[5:])
|
/build/tools/ |
adbs | 37 lines = stream.readlines() 38 list = map(string.strip, lines) 80 lines = stream.readlines() 81 map(string.strip, lines) 96 num_lines = len(lines) 99 func_name = lines[num_lines-2]
|
/packages/apps/Email/src/org/apache/commons/io/ |
LineIterator.java | 26 * An Iterator over the lines in a <code>Reader</code>.
63 * Constructs an iterator of the lines for a <code>Reader</code>.
81 * Indicates whether the <code>Reader</code> has more lines.
85 * @return <code>true</code> if the Reader has more lines
140 throw new NoSuchElementException("No more lines");
150 * lines of a larger file. If you do not close the iterator
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/ |
IGraphics.java | 73 /** Style for solid lines. */ 75 /** Style for dashed lines. */ 77 /** Style for dotted lines. */ 79 /** Style for alternating dash-dot lines. */ 81 /** Style for dash-dot-dot lines. */ 91 * Sets the width that will be used when drawing lines.
|
/external/webkit/WebKitTools/Scripts/ |
VCSUtils.pm | 409 # Unrecognized lines are discarded. 443 # Fix paths on ""---" and "+++" lines to match the leading 462 # Skip unrecognized lines. 578 # file -- i.e. no leading context and all lines starting with "+". 593 # lines. A new ChangeLog entry with the same date and author as the 594 # previous will match and cause the diff to have lines of starting 604 my @lines = split(/$lineEnding/, $patch); 609 for (; $i < @lines; ++$i) { 610 if (substr($lines[$i], 0, 1) eq "@") { 616 # Optimization: do not process if new lines already begin the chunk [all...] |
/external/bluetooth/glib/gio/tests/ |
data-input-stream.c | 48 const char* lines[MAX_LINES]; local 54 lines[i] = "some_text"; 75 g_strconcat (lines[i], endl[newline_type], NULL), -1, NULL); 90 g_assert_cmpstr (data, ==, lines[line]); 323 g_test_add_func ("/data-input-stream/read-lines-LF", test_read_lines_LF); 324 g_test_add_func ("/data-input-stream/read-lines-CR", test_read_lines_CR); 325 g_test_add_func ("/data-input-stream/read-lines-CR-LF", test_read_lines_CR_LF);
|
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/ |
cpp.py | 272 """Tracks current function name and the number of lines in its body. 304 """Report if too many lines in function body. 323 ' %s has %d non-comment lines' 324 ' (error triggered by exceeding %d lines).' % ( 472 def find_next_multi_line_comment_start(lines, line_index): 474 while line_index < len(lines): 475 if lines[line_index].strip().startswith('/*'): 477 if lines[line_index].strip().find('*/', 2) < 0: 480 return len(lines) 483 def find_next_multi_line_comment_end(lines, line_index) [all...] |
/external/icu4c/tools/ctestfw/ |
uperf.cpp | 82 lines(NULL), numLines(0), line_mode(TRUE), 98 lines(NULL), numLines(0), line_mode(TRUE), 206 lines = new ULine[MAXLINES]; 216 lines[numLines].name = new UChar[len]; 217 lines[numLines].len = len; 218 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 228 delete []lines; 232 memcpy(newLines, lines, numLines*sizeof(ULine)); 233 delete []lines; 234 lines = newLines [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 79 * Basic test showing effect of includePad = true wrapping to 2 lines. 96 * Basic test showing effect of includePad = true wrapping to 3 lines. 115 * Basic test showing effect of includePad = true wrapping to 3 lines and 144 * to 3 lines. 165 * spacingMult = 1.5, wrapping to 3 lines. 187 * spacingMult = 0.8 when wrapping to 3 lines. 296 int lines = values.length >> 1; local 297 assertEquals(lines, l.getLineCount()); 300 for (int i = 0, n = 0; i < lines; ++i, n += 2) {
|
/build/tools/droiddoc/src/ |
DocFile.java | 71 // Any blank lines are ignored. 74 Matcher lines = LINE.matcher(filedata); local 76 while (lines.find()) { 77 line = lines.group(1); 80 start = lines.end();
|
/development/pdk/docs/source/ |
code-lines.jd | 1 page.title=Android Code-Lines 6 Accordingly, we maintain a number of "code lines" to clearly separate the 9 releases. We're referring to these as "code lines" instead of "branches" 14 <img src="{@docRoot}images/code-lines.png"/> 55 <h3>About Private Code-Lines</h3>
|
/external/bison/data/ |
location.cc | 65 /// (line related) Advance to the COUNT next lines. 66 inline void lines (int count = 1) 190 /// Extend the current location to the COUNT next lines. 191 inline void lines (unsigned int count = 1) 193 end.lines (count);
|
/external/quake/quake/src/WinQuake/data/ |
HELP.TXT | 8 lines dictate costs, we periodically adjust our rates for Voice Tech
33 Lines Open from 12 noon to 10pm Central Time, 7 Days a
48 Lines Open 24 hours a day, 365 days a year, or 366 days
101 Lines Open 24 hours a day, 365 days a year, or 366 days
107 The help lines in Europe are open 7:30am - 5:00pm GMT,
|
/external/apache-http/src/org/apache/http/conn/params/ |
ConnConnectionPNames.java | 45 * Defines the maximum number of ignorable lines before we expect 53 * So HttpClient must be able to skip those surplus lines this way. 57 * 0 disallows all garbage/empty lines before the status line.
|
/external/elfutils/libdw/ |
dwarf_getsrclines.c | 64 dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines) 73 if (cu->lines == NULL) 76 cu->lines = (void *) -1l; 455 /* XXX Whether the following two lines are necessary is 584 cu->lines = libdw_alloc (dbg, Dwarf_Lines, (sizeof (Dwarf_Lines) 587 cu->lines->nlines = nlinelist; 590 cu->lines->info[nlinelist] = linelist->line; 591 cu->lines->info[nlinelist].files = files; 599 else if (cu->lines != (void *) -1l) 605 *lines = cu->lines [all...] |
/external/icu4c/test/perf/collationperf/ |
readme.html | 15 and Unix/POSIX collation. It operates on a file of lines (names, for example), and performs one of three tests:</P> 19 <LI>Binary search. Report the average time required to look up each of the names (file lines) from the file in 71 file "latin.txt", 7604 lines.<BR>
|
/external/icu4c/test/perf/normperf/ |
normperf.cpp | 143 fprintf(stderr, "FAILED to read lines from file and create UPerfTest object. Error: %s\n", u_errorName(status)); 199 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); 228 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); 258 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); 287 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); 316 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); 345 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); 373 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); 401 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); 430 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFC, options,uselen) [all...] |
/external/icu4c/tools/genprops/misc/ |
ucdmerge.c | 17 * Merges adjacent, identical per-code point data lines into one line with range syntax. 102 /* there was a real range, merge their lines */ 116 /* merge comments from both lines */
|
/external/icu4c/tools/toolutil/ |
uparse.h | 46 * This function opens the file and reads it line by line. It skips empty lines 47 * and comment lines that start with a '#'. 48 * All other lines are separated into fields with one delimiter character
|
/external/quake/quake/src/WinQuake/ |
console.cpp | 39 int con_totallines; // total lines in console scrollback 40 int con_backscroll; // lines up from bottom to display 49 // for transparent notify lines 63 int con_notifylines; // scan lines to clear for notify lines 517 Draws the last few lines of output transparently over the game top 580 void Con_DrawConsole (int lines, qboolean drawinput) 587 if (lines <= 0) 598 Draw_ConsoleBackground (lines); 601 con_vislines = lines; [all...] |
/external/skia/src/core/ |
SkEdgeBuilder.cpp | 96 SkPoint lines[SkLineClipper::kMaxPoints]; local 97 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 99 this->addLine(&lines[i]);
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/Borland/ |
NOTES | 38 by typical, I mean that there were relatively few spaces, lots of lines 41 lines words characters 55 lines words characters
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/MVS/ |
MVS.mail | 16 I've built a context diff file which is ~850 lines. 28 o Some lines had to be shortened to 80 bytes. This mostly impacted 29 your RCSID lines, which with the full path name were too long.
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/ |
debflex.awk | 35 # Count the lines. 49 # Only the lines in section 2 which do not begin in a 51 # trace. Save only those lines.
|
/frameworks/base/docs/html/guide/developing/tools/ |
draw9patch.jd | 23 <p>The left pane is your drawing area, in which you can edit the lines for the 27 <li>Click within the 1-pixel perimeter to draw the lines that define the stretchable 29 previously drawn lines.
|