/external/proguard/src/proguard/ |
H A D | GPL.java | 70 String line = reader.readLine(); 71 if (line == null) 76 line = line.trim(); 77 if (line.startsWith("at ")) 79 line = line.substring(2).trim(); 80 line = trimSuffix(line, '('); 81 line [all...] |
/external/selinux/mcstrans/share/util/ |
H A D | mlstrans-test | 35 for line in f: 36 if line.startswith('#'): 38 if not line.strip(): 40 line = line.rstrip('\n') 41 # print line 42 if (line.find("==") != -1): 43 t, r = line.split("==") 47 t, r = line.split("=")
|
/external/skia/infra/bots/recipe_modules/core/resources/ |
H A D | symbolize_stack_trace.py | 5 # pylint: disable=line-too-long 36 for line in iter(proc.stdout.readline, ''): 37 sys.stdout.write(line) 38 logs.append(line) 57 for line in logs: 58 line = line.strip() 60 m = re.search(stack_line, line) 82 line = path + ' ' + sym 83 print line [all...] |
/external/skia/third_party/harfbuzz/ |
H A D | hb-buffer-deserialize-text.hh | 2 #line 1 "hb-buffer-deserialize-text.rl" 35 #line 36 "hb-buffer-deserialize-text.hh" 315 #line 91 "hb-buffer-deserialize-text.rl" 342 #line 343 "hb-buffer-deserialize-text.hh" 347 #line 348 "hb-buffer-deserialize-text.hh" 373 #line 51 "hb-buffer-deserialize-text.rl" 379 #line 55 "hb-buffer-deserialize-text.rl" 388 #line 62 "hb-buffer-deserialize-text.rl" 392 #line 63 "hb-buffer-deserialize-text.rl" 396 #line 6 [all...] |
H A D | hb-ot-shape-complex-myanmar-machine.hh | 2 #line 1 "hb-ot-shape-complex-myanmar-machine.rl" 35 #line 36 "hb-ot-shape-complex-myanmar-machine.hh" 264 #line 36 "hb-ot-shape-complex-myanmar-machine.rl" 268 #line 93 "hb-ot-shape-complex-myanmar-machine.rl" 288 #line 289 "hb-ot-shape-complex-myanmar-machine.hh" 296 #line 114 "hb-ot-shape-complex-myanmar-machine.rl" 305 #line 306 "hb-ot-shape-complex-myanmar-machine.hh" 316 #line 1 "NONE" 319 #line 320 "hb-ot-shape-complex-myanmar-machine.hh" 338 #line 8 [all...] |
/external/skia/tools/lua/ |
H A D | gradients.py | 30 for line in [line.strip() for line in results]: 31 gradients.append(line.split());
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/ |
H A D | RuleSet.java | 25 package org.slf4j.migrator.line;
|
/external/toolchain-utils/mem_tests/ |
H A D | total_mem_sampled.py | 26 for line in my_file: 27 if 'heap profile: ' not in line: 29 memory_used = line.strip().split(':')[-1].strip().split(']')[0].strip() 30 total_diff = compute_total_diff(line, base_time)
|
/external/v8/tools/ |
H A D | objdump-v8 | 47 def format_line(line): 48 pieces = line.split(None, 3) 52 def is_comment(line): 53 stripped = line.strip() 68 for line in codefile: 69 if line.startswith("0x"): 70 addr = int(line.split()[0], 0) 73 sys.stdout.write(format_line(line)) 76 elif printing and not is_comment(line):
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
H A D | Trans.java | 22 * A command-line interface to the ICU4J transliterators. 80 String line = null; 82 line = inText; 85 line = in.readLine(); 87 if (line == null) { 95 right = line.indexOf('>'); 97 right = line.length()-1; 99 buf.append(line.substring(0, right+1)); 100 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 104 int left = line [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 40 * Info about the AA line we're rendering 48 GLfloat halfWidth; /* half of line width */ 49 GLfloat xAdj, yAdj; /* X and Y adjustment for quad corners around line */ 77 * Compute the equation of a plane used to interpolate line fragment data 79 * Input: (x0, y0) and (x1,y1) are the endpoints of the line. 84 * We take the endpoints of the line and compute a plane such that 85 * the cross product of the line vector and the plane normal is 326 typedef void (*plot_func)(struct gl_context *ctx, struct LineInfo *line, 332 * Draw an AA line segment (called many times per line whe 335 segment(struct gl_context *ctx, struct LineInfo *line, plot_func plot, GLfloat t0, GLfloat t1) argument [all...] |
/external/lz4/contrib/gen_manual/ |
H A D | gen_manual.cpp | 69 string line; local 73 line = input[linenum]; 75 if (terminator.empty() && line.empty()) { linenum--; break; } 77 epos = line.find(terminator); 79 out.push_back(line); 82 out.push_back(line); 89 /* print line with LZ4LIB_API removed and C++ comments not bold */ 90 void print_line(stringstream &sout, string line) argument 94 if (line.substr(0,11) == "LZ4LIB_API ") line 110 string line, version; local 165 sout << "<h3>" << line << "</h3><pre><b>"; local [all...] |
/external/eigen/scripts/ |
H A D | eigen_gen_credits.cpp | 11 // this function takes a line that may contain a name and/or email address, 13 std::string contributor_name(const std::string& line) argument 19 if(line.find("markb@localhost.localdomain") != string::npos) 24 if(line.find("kayhman@contact.intra.cea.fr") != string::npos) 35 size_t position_of_email_address = line.find_first_of('<'); 41 if(line.find("hauke.heibel") != string::npos) 46 result = line.substr(0, position_of_email_address); 53 if(line.find("convert-repo") != string::npos) 56 result = line; 71 string line; local 135 string line; local [all...] |
/external/toybox/toys/posix/ |
H A D | sed.c | 21 Stream editor. Apply one or more editing SCRIPTs to each line of input 38 apply only to the specified line(s). Commands without an address apply to 39 every line. Addresses are of the form: 43 The ADDRESS may be a decimal line number (starting at 1), a /regular 45 matches the last line of input. (In -s or -i mode this matches the last 46 line of each file, otherwise just the last line of the last file.) A single 47 address matches one line, a pair of comma separated addresses match 60 Sed mostly operates on individual lines one at a time. It reads each line, 62 reading the next line 203 emit(char *line, long len, int eol) argument 257 char *line = TT.nextline; local 722 char *line, *reg, c, *errstart; local [all...] |
/external/valgrind/drd/tests/ |
H A D | thread_name_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 46 <line>...</line> [all...] |
/external/clang/tools/scan-build-py/libscanbuild/ |
H A D | clang.py | 8 Since Clang command line interface is so rich, but this project is using only 34 for line in stream: 35 last = line 48 line = lastline(child.stdout) 52 if re.search(r'clang(.*): error:', line): 53 raise Exception(line) 54 return decode(line) 56 raise Exception(line) 97 Below the line 'CHECKERS:' are there the name description pairs. 98 Many of them are in one line, bu [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
H A D | ANTLRStringStream.js | 18 * The current line in the input. 23 this.line = 1; 26 * The index of the character relative to the beginning of the line. 27 * Ranges from 0 to (length of line - 1). 42 * values line, charPositionInLine, and p that can change as you 83 this.line = 1; 95 this.line++; 147 * tracks line/col info as well as input index so its markers are 170 state.line = this.line; [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
H A D | android_forwarder.py | 30 for line in self._device.adb.ForwardList().splitlines(): 31 logging.warning(' %s', line) 38 for line in self._device.ReadFile('/proc/net/tcp', as_root=True, 40 if proc_net_tcp_target in line: 41 logging.warning(' %s', line) 50 for line in lsof_output: 51 if lsof_target in line: 52 logging.warning(' %s', line) 58 for line in subprocess.check_output(['ps', '-ef']).splitlines(): 59 if 'webpagereplay' in line [all...] |
/external/markdown/markdown/extensions/ |
H A D | imagelinks.py | 51 for line in lines: 53 if line.startswith("<~~~~~~~"): 60 new_lines.append(line) 64 line = line.strip() 66 if line.endswith("~~~~~~>") or not line: 98 elif line[1:6] == "~~~~~" : 101 parts = line.split() 102 line [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-myanmar-machine.hh | 2 #line 1 "../../src/hb-ot-shape-complex-myanmar-machine.rl" 35 #line 36 "../../src/hb-ot-shape-complex-myanmar-machine.hh.tmp" 264 #line 36 "../../src/hb-ot-shape-complex-myanmar-machine.rl" 268 #line 93 "../../src/hb-ot-shape-complex-myanmar-machine.rl" 288 #line 289 "../../src/hb-ot-shape-complex-myanmar-machine.hh.tmp" 296 #line 114 "../../src/hb-ot-shape-complex-myanmar-machine.rl" 305 #line 306 "../../src/hb-ot-shape-complex-myanmar-machine.hh.tmp" 316 #line 1 "NONE" 319 #line 320 "../../src/hb-ot-shape-complex-myanmar-machine.hh.tmp" 338 #line 8 [all...] |
/external/skia/tests/ |
H A D | PathOpsQuadLineIntersectionThreadedTest.cpp | 16 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, argument 20 if (line[0].fX == line[1].fX) { 21 double top = line[0].fY; 22 double bottom = line[1].fY; 27 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 28 } else if (line[0].fY == line[1].fY) { 29 double left = line[0].fX; 30 double right = line[ 43 testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, const SkDLine& line, const double x, const double y) argument 101 SkDLine line = {{{x - h, y - v}, {x, y}}}; local [all...] |
/external/strace/xlat/ |
H A D | gen.sh | 42 local line 43 line="$1"; shift 46 val="$(printf %s "$line" | 50 def="$(printf %s "${line}" | 89 local line val m def xlat 90 line="$1"; shift 92 val="$(printf %s "${line}" | sed -r -n 's/^([^[:space:]]+).*$/\1/p')" 94 def="$(printf %s "${line}" | 133 local unconditional= unterminated= line 135 while read line; d [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
H A D | BiDiConformanceTest.java | 42 while (errorCount < 10 && (line = bidiTestFile.readLine()) != null) { 46 int commentStart = line.indexOf('#'); 48 line = line.substring(0, commentStart); 53 if (line.charAt(lineIndex) == '@') { 55 if (line.startsWith("Levels:", lineIndex)) { 57 if (!parseLevels(line.substring(lineIndex))) { 60 } else if (line.startsWith("Reorder:", lineIndex)) { 62 if (!parseOrdering(line.substring(lineIndex))) { 69 if (!skipWhitespace() || line 603 private String line; field in class:BiDiConformanceTest [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | BiDiConformanceTest.java | 41 while (errorCount < 10 && (line = bidiTestFile.readLine()) != null) { 45 int commentStart = line.indexOf('#'); 47 line = line.substring(0, commentStart); 52 if (line.charAt(lineIndex) == '@') { 54 if (line.startsWith("Levels:", lineIndex)) { 56 if (!parseLevels(line.substring(lineIndex))) { 59 } else if (line.startsWith("Reorder:", lineIndex)) { 61 if (!parseOrdering(line.substring(lineIndex))) { 68 if (!skipWhitespace() || line 602 private String line; field in class:BiDiConformanceTest [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
H A D | ANTLRCharStreamState.h | 37 NSUInteger line; variable 42 @property (assign) NSUInteger line; variable
|