/external/markdown/markdown/extensions/ |
meta.py | 66 line = lines.pop(0) 67 if line.strip() == '': 68 break # blank line - done 69 m1 = META_RE.match(line) 74 m2 = META_MORE_RE.match(line) 76 # Add another line to existing key 79 lines.insert(0, line)
|
/external/oprofile/daemon/ |
opd_pipe.c | 64 char line[256]; local 78 /* just break if no new line is found */ 79 if (fgets(line, 256, fifo_fd) == NULL) 81 line[strlen(line) - 1] = '\0'; 83 if (strstr(line, "do_jitconv") != NULL) {
|
/frameworks/base/tools/preload/ |
Compile.java | 46 String line; local 48 while ((line = in.readLine()) != null) { 50 if (line.startsWith("I/PRELOAD")) { 52 String clipped = line.substring(19); 56 "Exception while recording line " + lineNumber + ": " + line, e);
|
/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/email/ |
quoprimime.py | 23 This module does not do the line wrapping or end-of-line character 25 does dumb encoding and decoding. To deal with the various line 118 """Encode a single header line with quoted-printable (like) encoding. 133 with each line wrapped safely at, at most, maxlinelen characters (defaults 137 End-of-line characters (\\r, \\n, \\r\\n) will be automatically converted 138 to the canonical email line separator \\r\\n unless the keep_eols 141 Each line of the header will be terminated in the value of eol, which 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 23 This module does not do the line wrapping or end-of-line character 25 does dumb encoding and decoding. To deal with the various line 118 """Encode a single header line with quoted-printable (like) encoding. 133 with each line wrapped safely at, at most, maxlinelen characters (defaults 137 End-of-line characters (\\r, \\n, \\r\\n) will be automatically converted 138 to the canonical email line separator \\r\\n unless the keep_eols 141 Each line of the header will be terminated in the value of eol, which 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted] [all...] |
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 116 int line = 0; local 119 if (line == 0) { 120 line++; 162 char line[256], ln[256], *s, *e; local 170 if ((llen = readlink(ln, line, sizeof(line)-1)) < 0) 172 line[llen] = 0; 175 if (memcmp(line, "socket:", 7) == 0) { 177 s = strchr(line+7, '['); 185 } else if (memcmp(line, "[0000]:", 7) == 0) 250 int line = 0; local 284 int line = 0; local 318 int line = 0; local 353 unsigned int line = 0; local 388 int line = 0; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
traceback.py | 21 for filename, lineno, name, line in extracted_list: 23 ' File "%s", line %d, in %s' % (filename,lineno,name)) 24 if line: 25 _print(file, ' %s' % line.strip()) 35 whose source text line is not None. 38 for filename, lineno, name, line in extracted_list: 39 item = ' File "%s", line %d, in %s\n' % (filename,lineno,name) 40 if line: 41 item = item + ' %s\n' % line.strip() 67 ' File "%s", line %d, in %s' % (filename, lineno, name) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
traceback.py | 21 for filename, lineno, name, line in extracted_list: 23 ' File "%s", line %d, in %s' % (filename,lineno,name)) 24 if line: 25 _print(file, ' %s' % line.strip()) 35 whose source text line is not None. 38 for filename, lineno, name, line in extracted_list: 39 item = ' File "%s", line %d, in %s\n' % (filename,lineno,name) 40 if line: 41 item = item + ' %s\n' % line.strip() 67 ' File "%s", line %d, in %s' % (filename, lineno, name) [all...] |
/external/chromium/base/third_party/dynamic_annotations/ |
dynamic_annotations.h | 434 const char *file, int line, 437 const char *file, int line, 440 const char *file, int line, 443 const char *file, int line, 446 const char *file, int line, const volatile void *barrier, long count, 449 const char *file, int line, 452 const char *file, int line, 455 const char *file, int line, 458 const char *file, int line, const volatile void *cv, 461 const char *file, int line, [all...] |
/external/icu4c/stubdata/ |
icu_dat_generator.py | 238 for line in open(input_file, "r"): 239 new_add_list.append(line) 240 if "root." in line or "res_index" in line or "_.res" in line: 242 if "brkitr/" in line: 243 AddResFile(brkitrs, line) 244 elif "coll/" in line: 245 AddResFile(colls, line) 246 elif "curr/" in line [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 114 for (int line = 0; line < breaks.length; line++) { 115 breaks[line] = staticLayout.getLineEnd(line); 125 for (int line = 0; line < count; line++) { 126 int lineStart = staticLayout.getLineStart(line); 127 int lineEnd = staticLayout.getLineEnd(line); [all...] |
/external/aac/libAACenc/src/ |
quantize.cpp | 109 int line; local 115 for (line = 0; line < noOfLines; line++) 117 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); 131 quaSpectrum[line] = (SHORT)(-((LONG)(k + accu) >> (DFRACT_BITS-1-16))); 144 quaSpectrum[line] = (SHORT)((LONG)(k + accu) >> (DFRACT_BITS-1-16)); 147 quaSpectrum[line]=0; 169 INT line; local 174 for (line = 0; line < noOfLines; line++) [all...] |
/external/chromium/testing/gtest/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/chromium_org/chrome/test/functional/rlz/ |
rlztest.py | 134 for line in log_file[::readFile]: 135 if(re.search('events=', line)): 136 event_start = line.find('events=') 137 event_end = line.find('&rep', event_start) 138 events = line[event_start + 7 : event_end] 146 self.assertTrue(re.search('CHMZ', line)) 148 start = line.find('http://clients1.google.com/tools/'+ 150 end = line.find('http://www', start) 151 print '\nChrome Launch ping sent :\n', line[start:end] 174 for line in log_file[::readFile] [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/ |
nasm-preproc.c | 40 char *line; member in struct:yasm_preproc_nasm 156 preproc_nasm->line = NULL; 172 if (preproc_nasm->line) 173 yasm_xfree(preproc_nasm->line); 187 char *line; local 189 if (preproc_nasm->line) { 190 char *retval = preproc_nasm->line; 191 preproc_nasm->line = NULL; 195 line = nasmpp.getline(); 196 if (!line) 242 char *line; local [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
pageframe.py | 136 for line in pfnset_f: 137 line = line.strip() 138 if line.startswith('GLOBAL_STATS:') or line.startswith('STACKTRACES:'): 140 elif line.startswith('PF: '): 141 for encoded_pfn in line[3:].split(): 152 elif line.startswith('PageSize: '): 153 self._pagesize = int(line[10:]) 154 elif line.startswith('PFN: ') [all...] |
/external/chromium_org/webkit/browser/appcache/ |
manifest_parser.cc | 48 // Note: trailing whitespace has already been trimmed from the line. 137 // Skip to the end of the line. 151 // Find the end of the line 164 std::wstring line(line_start, tmp - line_start + 1); 166 if (line == L"CACHE:") { 168 } else if (line == L"FALLBACK:") { 170 } else if (line == L"NETWORK:") { 172 } else if (line == L"CHROMIUM-INTERCEPT:") { 174 } else if (*(line.end() - 1) == ':') { 178 } else if (line == L"*" && mode == ONLINE_WHITELIST) [all...] |
/external/dropbear/ |
svr-authpubkey.c | 40 #define MAX_AUTHKEYS_LINE 4200 /* max length of a line in authkeys */ 160 buffer * line = NULL; local 195 line = buf_new(MAX_AUTHKEYS_LINE); 200 if (buf_getline(line, authfile) == DROPBEAR_FAILURE) { 206 if (line->len < MIN_AUTHKEYS_LINE) { 207 TRACE(("checkpubkey: line too short")) 208 continue; /* line is too short for it to be a valid key */ 213 if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { 216 buf_incrpos(line, algolen); 219 if (buf_getbyte(line) != ' ') [all...] |
/external/gtest/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/v8/src/ |
checks.h | 34 extern "C" void V8_Fatal(const char* file, int line, const char* format, ...); 65 inline void CheckEqualsHelper(const char* file, int line, 69 V8_Fatal(file, line, 78 inline void CheckEqualsHelper(const char* file, int line, 86 V8_Fatal(file, line, 101 int line, 107 V8_Fatal(file, line, "CHECK_NE(%s, %s) failed\n# Value: %i", 116 int line, 124 V8_Fatal(file, line, 132 int line, [all...] |
/cts/suite/audio_quality/test_description/conf/ |
detect_usb_audio.py | 42 line = f.readline().strip() 43 if line in product_list: 44 print "___CTS_AUDIO_PASS___ " + line + " " + m.group(1)
|
/cts/tests/tests/security/src/android/security/cts/ |
Proc.java | 37 String line = in.readLine(); local 38 if ((line != null) && line.startsWith(executable)) {
|
/external/bison/build-aux/ |
update-b4-copyright | 100 my $line = "\n" . (' 'x$indent) . $1; 102 $year_lines_new .= $line; 129 my $line = (substr ($_, 0, $start) =~ s/\n/\n/g) + 1; 131 "$ARGV:$line: warning: failed to update a b4_copyright\n"; 146 my $line = (substr ($_, 0, $start) =~ s/\n/\n/g) + 1; 148 "$ARGV:$line: warning: failed to update a"
|
/external/chromium/third_party/libjingle/source/talk/examples/login/ |
login_main.cc | 57 std::string line; local 58 while (std::getline(std::cin, line)) { 59 if (line == "quit")
|