/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
combinerefs.py | 18 a line of output for each object still alive at the end:
43 it's common for the line showing the dict of interned strings to display
45 (albeit painfully) because such containees don't have a line of their own.
76 # while the regexp object pat matches line. If whilematch is false, lines
77 # are read so long as pat doesn't match them. In any case, the first line
79 # (when whilematch is false), is lost, and fileiter will resume at the line
82 for line in fileiter:
83 if bool(pat.match(line)) == whilematch:
84 yield line
92 for line in read(fi, re.compile(r'^Remaining objects:$'), False): [all...] |
/external/python/cpython2/Tools/scripts/ |
combinerefs.py | 18 a line of output for each object still alive at the end: 43 it's common for the line showing the dict of interned strings to display 45 (albeit painfully) because such containees don't have a line of their own. 76 # while the regexp object pat matches line. If whilematch is false, lines 77 # are read so long as pat doesn't match them. In any case, the first line 79 # (when whilematch is false), is lost, and fileiter will resume at the line 82 for line in fileiter: 83 if bool(pat.match(line)) == whilematch: 84 yield line 92 for line in read(fi, re.compile(r'^Remaining objects:$'), False) [all...] |
/external/python/cpython3/Modules/_blake2/ |
blake2b2s.py | 23 for line in f: 25 mo = PUBLIC_SEARCH.search(line) 38 for line in f: 39 line = line.replace('blake2b', 'blake2s') 40 line = line.replace('BLAKE2b', 'BLAKE2s') 41 line = line.replace('BLAKE2B', 'BLAKE2S') 42 lines.append(line) [all...] |
/external/python/cpython3/Modules/_sha3/ |
cleanup.py | 27 for line in f: 29 #if line.startswith(STATICS): 30 # buf.append("static " + line) 33 if line.startswith("typedef unsigned long long int"): 34 buf.append("/* %s */\n" % line.strip()) 37 if "brg_endian.h" in line: 38 buf.append("/* %s */\n" % line.strip()) 41 line = CPP1.sub(r"/*\1 */\n", line) 42 line = CPP2.sub(r" /*\1 */\n", line [all...] |
/external/python/cpython3/Tools/scripts/ |
combinerefs.py | 18 a line of output for each object still alive at the end: 43 it's common for the line showing the dict of interned strings to display 45 (albeit painfully) because such containees don't have a line of their own. 76 # while the regexp object pat matches line. If whilematch is false, lines 77 # are read so long as pat doesn't match them. In any case, the first line 79 # (when whilematch is false), is lost, and fileiter will resume at the line 82 for line in fileiter: 83 if bool(pat.match(line)) == whilematch: 84 yield line 93 for line in read(fi, re.compile(r'^Remaining objects:$'), False) [all...] |
/external/v8/tools/ |
draw_instruction_graph.sh | 99 set style line 2 lc rgb '#800000' 100 set style line 3 lc rgb '#d00000' 101 set style line 4 lc rgb '#ff6000' 102 set style line 5 lc rgb '#ffc000' 103 set style line 6 lc rgb '#ffff00' 105 set style line 7 lc rgb '#ff00ff' 106 set style line 8 lc rgb '#ffc0ff' 108 set style line 9 lc rgb '#004040' 109 set style line 10 lc rgb '#008080' 110 set style line 11 lc rgb '#40c0c0 [all...] |
/external/valgrind/exp-sgcheck/tests/ |
hsg.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 13 <line>...</line> [all...] |
/frameworks/native/cmds/bugreportz/ |
bugreportz.cpp | 33 static void write_line(const std::string& line, bool show_progress) { 34 if (line.empty()) return; 38 if (!show_progress && (android::base::StartsWith(line, PROGRESS_PREFIX) || 39 android::base::StartsWith(line, BEGIN_PREFIX))) 42 android::base::WriteStringToFd(line, STDOUT_FILENO); 46 std::string line; local 61 // Writes line by line. 64 line.append(1, c); 66 write_line(line, show_progress) [all...] |
/frameworks/rs/tests/java_api/Refocus/dataExtraction/ |
extract_data.sh | 24 while read line;do 25 if [[ $line =~ $regexN ]]; 51 echo $line >> $cleanFilename 53 elif [[ $line =~ $regexData ]]; 56 newLine=`echo $line|grep -oE '[0-9]+ ns'|awk '{print $1}'` 58 if [[ $line =~ 'Initialize' ]]; 61 elif [[ $line =~ 'UnpackInputImage' ]]; 64 elif [[ $line =~ 'MarkLayerMask' ]]; 67 elif [[ $line =~ 'ComputeLayerMatteBehindFocalDepth' ]]; 70 elif [[ $line =~ 'ComputeIntegralImageForLayerBehindFocalDepth' ]] [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug305.go | 7 // Use //line to set the line number of the next line to 20. 8 //line fixedbugs/bug305.go:20 12 // Introduce an error which should be reported on line 24. 15 // Line 15 of file.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug305.go | 7 // Use //line to set the line number of the next line to 20. 8 //line fixedbugs/bug305.go:20 12 // Introduce an error which should be reported on line 24. 15 // Line 15 of file.
|
/test/framework/harnesses/host_controller/acloud/ |
acloud_config.py | 74 for line in f: 75 line = line.strip() 76 # Skip empty line and comments 77 if not line or line.startswith('#'): 80 idx = line.find(separator) 82 if idx < 1 or not line.endswith('"'): 83 logging.error('Error parsing line %s from ' 84 'acloud config file %s' % (line, file_path) [all...] |
/external/tpm2/ |
parsep3 | 18 def strip_line_num(line): 19 line = head_spaces.sub('', line) 20 return line 23 # get rid of heading line numbers and spaces. 38 for line in source_lines: 39 text.append(line) 40 if line == '' and text[-2].startswith('') and text[-5] == '': 49 for line in text: 50 f = re.match('^\s*[0-9]+\.[0-9]+\s+(\S+)$', line) [all...] |
/external/perf_data_converter/src/quipper/ |
perf_recorder_test.cc | 112 EXPECT_TRUE(stat.line(0).has_time_ms()); 113 EXPECT_TRUE(stat.line(0).has_count()); 114 EXPECT_TRUE(stat.line(0).has_event_name()); 116 EXPECT_GE(stat.line(0).time_ms(), 200); 117 EXPECT_EQ("cycles", stat.line(0).event_name()); 150 EXPECT_TRUE(stat.line(0).has_time_ms()); 151 EXPECT_TRUE(stat.line(0).has_count()); 152 EXPECT_TRUE(stat.line(0).has_event_name()); 153 EXPECT_GE(stat.line(0).time_ms(), 200); 154 EXPECT_EQ("cycles", stat.line(0).event_name()) [all...] |
/external/skia/tests/ |
PathOpsQuadLineIntersectionTest.cpp | 17 SkDLine line; member in struct:lineQuad 21 // quad line results 31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, 35 if (line[0].fX == line[1].fX) { 36 double top = line[0].fY; 37 double bottom = line[1].fY; 42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 43 } else if (line[0].fY == line[1].fY) 60 SkDLine line; member in struct:oneLineQuad 86 const SkDLine& line = oneOffs[index].line; local 115 const SkDLine& line = lineQuadTests[index].line; local [all...] |
/external/skqp/tests/ |
PathOpsQuadLineIntersectionTest.cpp | 17 SkDLine line; member in struct:lineQuad 21 // quad line results 31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, 35 if (line[0].fX == line[1].fX) { 36 double top = line[0].fY; 37 double bottom = line[1].fY; 42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 43 } else if (line[0].fY == line[1].fY) 60 SkDLine line; member in struct:oneLineQuad 86 const SkDLine& line = oneOffs[index].line; local 115 const SkDLine& line = lineQuadTests[index].line; local [all...] |
/external/strace/xlat/ |
gen.sh | 43 local line 44 line="$1"; shift 47 val="$(printf %s "$line" | 51 def="$(printf %s "${line}" | 90 local line val m def xlat 91 line="$1"; shift 93 val="$(printf %s "${line}" | sed -r -n 's/^([^[:space:]]+).*$/\1/p')" 95 def="$(printf %s "${line}" | 134 local unconditional= unterminated= line 136 while read line; d [all...] |
/frameworks/ml/nn/tools/ |
sync_enums_to_hal.py | 48 line = self.sections[self.current - 1].pop() 49 self.sections[self.current].insert(0, line) 61 def handle_line(self, line): 69 for line in lines: 70 self.sections[self.current].append(line) 73 self.handle_line(line) 106 def handle_line(self, line): 107 if "enum OperandType" in line: 110 elif "enum OperationType" in line: 113 elif "OEM" in line and self.current == self.OPERAND [all...] |
/external/jemalloc/test/unit/ |
prof_active.c | 9 mallctl_bool_get(const char *name, bool expected, const char *func, int line) 16 "%s():%d: Unexpected mallctl failure reading %s", func, line, name); 17 assert_b_eq(old, expected, "%s():%d: Unexpected %s value", func, line, 23 const char *func, int line) 32 line, name); 34 line, name); 39 int line) 42 mallctl_bool_get("prof.active", prof_active_old_expected, func, line); 49 bool prof_active_new, const char *func, int line) 53 prof_active_new, func, line); 87 line); local 91 "%s():%d: Unexpected backtrace count", func, line); local [all...] |
/external/tensorflow/tensorflow/contrib/cmake/ |
python_sanity_test.py | 43 lines = [line.strip() for line in lines] 44 lines = [line for line in lines if line] 49 for line in lines: 50 # line is comment 51 if line.startswith("#"): 52 line = line[1:].strip( [all...] |
/external/v8/tools/ignition/ |
linux_perf_bytecode_annotate.py | 40 for line in perf_stream: 42 if line[0] == "#": 44 line = line.strip() 46 # Empty line signals the end of the callchain. 47 if not line: 54 symbol_and_offset = line.split(" ", 1)[1] 72 for line in ignition_codegen: 73 if line.startswith(name_string): 77 for line in ignition_codegen [all...] |
/external/doclava/src/com/google/doclava/ |
SampleTagInfo.java | 34 * and reducing the indent level of the text to the indent level of the first non-whitespace line. 99 static String getTrimString(String line) { 101 int len = line.length(); 103 char c = line.charAt(i); 111 return line.substring(0, i); 115 static String addLineNumber(String line, String num) { 118 numberedLine.append("<span class=\"code-line\" id=\"l" + num + "\">" + line + "</span>"); 140 String line = lines.readLine(); local 141 if (line == null) 224 String line = lines.readLine(); local [all...] |
/art/tools/checker/file_format/ |
common.py | 20 - fnProcessLine: Called on each line with the text and line number. Must 21 return a triplet, composed of the name of the chunk started on this line, 31 for line in stream: 33 line = line.strip() 34 if not line: 37 # Let the child class process the line and return information about it. 38 # The _processLine method can modify the content of the line (or delete it 40 processedLine, newChunkName, testArch = fnProcessLine(line, lineNo [all...] |
/build/kati/ |
log.cc | 27 void ColorErrorLog(const char* file, int line, const char* msg) { 36 ERROR(BOLD "%s:%d: " RED "error: " RESET BOLD "%s" RESET, file, line, 39 ERROR("%s:%d: %s", file, line, msg); 43 void ColorWarnLog(const char* file, int line, const char* msg) { 55 line, filtered.as_string().c_str()); 57 fprintf(stderr, "%s:%d: %s\n", file, line, msg);
|
/development/scripts/ |
disassemble_tombstone.py | 38 for line in line_generator: 39 yield line 40 abi_header = abi_line.search(line) 48 # o Blocks of register values, which follow a 'pid: ...' line and end with 49 # 'backtrace:' line 51 # and end with a line that doesn't look like a list of words. 60 for line in line_generator: 61 yield line 62 if register_list_re.search(line): 66 code_match = codeblock_re.search(line) [all...] |