/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V30.java | 74 * vCard 3.0 requires that the line with space at the beginning of the line 75 * must be combined with previous line. 79 String line; local 82 line = mReader.readLine(); 83 if (line == null) { 92 } else if (line.length() == 0) { 100 } else if (line.charAt(0) == ' ' || line.charAt(0) == '\t') { 105 // DESCRIPTION:This is a long description that exists on a long line 326 final String line = getLine(); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 14 buf = f.readline() # read until end of line ('\n') or EOF 18 f.writelines(list) # for line in list: f.write(line) 71 in a for loop (for example, for line in f: print line), the next() 72 method is called repeatedly. This method returns the next input line, 140 r"""Read one entire line from the file. 143 when a file ends with an incomplete line). If the size argument is 145 trailing newline) and an incomplete line may be returned. 174 to accommodate a final whole line) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
FormatParagraph.py | 9 # * If there is a selection marked, and the first line of the 83 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 84 while text.compare("%d.0" % lineno, "<", "end") and is_all_white(line): 86 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 88 comment_header = get_comment_header(line) 90 while get_comment_header(line)==comment_header and \ 91 not is_all_white(line[comment_header_len:]): 93 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 97 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 99 get_comment_header(line)==comment_header and [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 14 buf = f.readline() # read until end of line ('\n') or EOF 18 f.writelines(list) # for line in list: f.write(line) 71 in a for loop (for example, for line in f: print line), the next() 72 method is called repeatedly. This method returns the next input line, 140 r"""Read one entire line from the file. 143 when a file ends with an incomplete line). If the size argument is 145 trailing newline) and an incomplete line may be returned. 174 to accommodate a final whole line) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FormatParagraph.py | 9 # * If there is a selection marked, and the first line of the 83 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 84 while text.compare("%d.0" % lineno, "<", "end") and is_all_white(line): 86 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 88 comment_header = get_comment_header(line) 90 while get_comment_header(line)==comment_header and \ 91 not is_all_white(line[comment_header_len:]): 93 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 97 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 99 get_comment_header(line)==comment_header and [all...] |
/external/libnfc-nci/src/adaptation/ |
libmain.c | 347 char *line; local 354 line = line_buff; 355 *line++ = ' '; 356 *line++ = ' '; 357 *line++ = ' '; 358 *line++ = ' '; 359 *line++ = ' '; 360 *line++ = ' '; 363 byte2hex((const char*)&j, &line); 364 *line++ = ' ' [all...] |
/bionic/libc/kernel/tools/ |
kernel.py | 77 def checkInclude(self, line, from_file, kernel_root=None): 79 m = HeaderScanner.re_combined.match(line) 81 m = HeaderScanner.re_rel_dir.match(line) 121 for line in f: 122 if (HeaderScanner.re_combined.match(line) or 123 (kernel_root and HeaderScanner.re_rel_dir.match(line))): 304 def parseLine(self,line): 305 line = string.strip(line) 308 if len(line) == 0 or line[0] == "#" [all...] |
/external/chromium_org/tools/find_runtime_symbols/ |
static_symbols.py | 167 for line in f: 168 if line.rstrip() == 'Section Headers:': 174 for line in f: 175 line = line.rstrip() 176 matched = _READELF_SECTION_HEADER_PATTER.match(line) 192 if line in ('Key to Flags:', 'Program Headers:'): 196 for line in input_file: 197 splitted = line.rstrip().split(None, 2) 201 def _parse_nm_bsd_line(line) [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/ |
win_tool.py | 115 for line in out.splitlines(): 116 if not line.startswith(' Creating library '): 117 print line 204 for line in out.splitlines(): 205 if line and 'manifest authoring warning 81010002' not in line: 206 print line 222 quietable via command line flags. 243 for line in lines: 244 if not line.startswith(prefix) and line not in processing [all...] |
/external/chromium_org/tools/valgrind/ |
suppressions.py | 12 # optional one-line comments anywhere in the suppressions file. 24 If ran from the command line, suppressions.py does a self-test 95 """Generator of (line_no, line) pairs that strips comments and whitespace.""" 96 for (line_no, line) in enumerate(lines): 97 line = line.strip() # Drop \n 98 if line.startswith('#'): 101 # suppression. Add one to the line number as well, since most editors use 103 yield (line_no + 1, line) 120 defined_at: file:line identifying where the suppression was define [all...] |
/external/chromium_org/third_party/icu/source/test/perf/collationperf/ |
collperf.cpp | 20 // A file of names is required as input, one per line. It must be in utf-8 or utf-16 format, 102 // Command line option variables 104 // on the command line by the user. 138 // Definitions for the command line options 187 // struct Line 189 // Each line from the source file (containing a name, presumably) gets 192 struct Line { 203 Line *gFileLines; // Ptr to array of Line structs, one per line in the file 370 int line; local 467 int line; local 1160 int line; local 1605 int line; local [all...] |
/external/icu4c/test/perf/collationperf/ |
collperf.cpp | 20 // A file of names is required as input, one per line. It must be in utf-8 or utf-16 format, 102 // Command line option variables 104 // on the command line by the user. 138 // Definitions for the command line options 187 // struct Line 189 // Each line from the source file (containing a name, presumably) gets 192 struct Line { 203 Line *gFileLines; // Ptr to array of Line structs, one per line in the file 370 int line; local 467 int line; local 1160 int line; local 1611 int line; local [all...] |
/external/chromium-trace/trace-viewer/third_party/python_gflags/ |
gflags2man.py | 132 flag_desc The command line forms this could take. (string) 135 self.desc = flag_desc # the command line forms 235 start_line Line to start parsing flags on (int) 244 line = self.output[start_line].rstrip() 246 if ('flags:' == line 250 logging.debug('Flags start (python): %s' % line) 253 if exec_mod_start == line: 254 logging.debug('Flags start (swig): %s' % line) 256 # C++ flags begin after a blank line and with a constant string 257 if after_blank and line.startswith(' Flags from ') [all...] |
/external/chromium_org/third_party/python_gflags/ |
gflags2man.py | 132 flag_desc The command line forms this could take. (string) 135 self.desc = flag_desc # the command line forms 235 start_line Line to start parsing flags on (int) 244 line = self.output[start_line].rstrip() 246 if ('flags:' == line 250 logging.debug('Flags start (python): %s' % line) 253 if exec_mod_start == line: 254 logging.debug('Flags start (swig): %s' % line) 256 # C++ flags begin after a blank line and with a constant string 257 if after_blank and line.startswith(' Flags from ') [all...] |
/frameworks/base/tools/orientationplot/ |
orientationplot.py | 228 # Add a line to the axes for a time series. 267 line = self.adbout.readline() 271 if line is None: 273 print line 276 timestamp = self._parse_timestamp(line) 284 if line.find('Raw acceleration vector:') != -1: 285 self.parse_raw_acceleration_x = self._get_following_number(line, 'x=') 286 self.parse_raw_acceleration_y = self._get_following_number(line, 'y=') 287 self.parse_raw_acceleration_z = self._get_following_number(line, 'z=') 288 self.parse_raw_acceleration_magnitude = self._get_following_number(line, 'magnitude=' [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SimpleSessionDescription.java | 86 for (String line : lines) { 88 if (line.charAt(1) != '=') { 91 if (line.charAt(0) == 'm') { 92 String[] parts = line.substring(2).split(" ", 4); 102 fields.parse(line); 105 throw new IllegalArgumentException("Invalid SDP: " + line); 516 for (String line : mLines) { 517 if (line.charAt(0) == type) { 518 buffer.append(line).append("\r\n"); 525 * Invokes {@link #set} after splitting the line into three parts 571 String line = mLines.get(i); local 608 String line = mLines.get(index); local [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
mksqlite3c.tcl | 38 set line [gets $in] 39 if {$line=="" && [eof $in]} break 41 regexp {#define\s+SQLITE_VERSION\s+"(.*)"} $line all VERSION 67 ** language. The code for the "sqlite3" command-line shell is also in a 84 # text of the file in-line. The file only needs to be included once. 148 set line [gets $in] 149 if {[regexp {^\s*#\s*include\s+["<]([^">]+)[">]} $line all hdr]} { 161 puts $out $line 163 } elseif {[regexp {^#ifdef __cplusplus} $line]} { 165 } elseif {[regexp {^#line} $line]} [all...] |
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 154 # Add a line to the axes for a time series. 181 line = self.adbout.readline() 185 if line is None: 187 print line 190 timestamp = self._parse_timestamp(line) 198 if line.find(': position') != -1: 199 self.parse_velocity_x = self._get_following_number(line, 'vx=') 200 self.parse_velocity_y = self._get_following_number(line, 'vy=') 201 self.parse_velocity_magnitude = self._get_following_number(line, 'speed=') 206 if line.find(': OLD') != -1 [all...] |
/hardware/ril/reference-ril/ |
atchannel.c | 128 static void addIntermediate(const char *line) 134 p_new->line = strdup(line); 145 * returns 1 if line is a final response indicating error 157 static int isFinalResponseError(const char *line) 162 if (strStartsWith(line, s_finalResponsesError[i])) { 171 * returns 1 if line is a final response indicating success 179 static int isFinalResponseSuccess(const char *line) 184 if (strStartsWith(line, s_finalResponsesSuccess[i])) { 193 * returns 1 if line is a final response, either error or succes 441 const char * line; local [all...] |
/bionic/libc/tools/ |
check-symbols.py | 21 for line in open(path, 'r'): 22 symbols.add(line.rstrip()) 41 for line in subprocess.check_output(['readelf', '--dyn-syms', so_file]).split('\n'): 42 m = r.match(line) 49 #print 'ignoring: ' % line
|
/development/scripts/ |
compare-installed-size.py | 45 for line in input_stream: 46 # line = "25027208 /system/lib/libchromeview.so" 47 line = line.strip() 50 size, name = line.split()
|
/external/blktrace/ |
verify_blkparse.c | 12 char line[256], last_line[256], *p; local 35 while ((p = fgets(line, sizeof(line), f)) != NULL) { 59 strcpy(last_line, line);
|
/external/checkpolicy/ |
checkpolicy.h | 12 unsigned long line; member in struct:te_assert
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
requireprovidesorter_test.py | 64 line = '' 66 line += token.string 68 lines.append(line) 69 line = ''
|
/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...] |