/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
gprof2html.py | 23 for line in input:
24 yield cgi.escape(line)
34 for line in input:
35 output.write(line)
36 if line.startswith(" time"):
39 for line in input:
40 m = re.match(r"(.* )(\w+)\n", line)
42 output.write(line)
48 for line in input:
49 output.write(line)
[all...] |
/external/toybox/toys/other/ |
pmap.c | 32 char *line, *oldline = 0, *name = 0, local 40 line = readfile(toybuf, 0, 0); 41 if (!line) error_msg("No %lu", (long)pid); 42 xprintf("%u: %s\n", (int)pid, line); 43 free(line); 62 line = 0; 63 if (0 >= getline(&line, &len, fp)) break; 64 count = sscanf(line, "%llx-%llx %s %*s %*s %*s %n", 68 name = line[off] ? line+off : " [anon]\n" [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
LineImplTest.java | 26 private LineImpl line; field in class:LineImplTest 30 line = LineImpl.EMPTY; 35 assertEquals(CounterImpl.COUNTER_0_0, line.getInstructionCounter()); 36 assertEquals(CounterImpl.COUNTER_0_0, line.getBranchCounter()); 37 assertEquals(ICounter.EMPTY, line.getStatus()); 42 line = line.increment(CounterImpl.getInstance(1, 2), 45 line.getInstructionCounter()); 46 assertEquals(CounterImpl.getInstance(3, 4), line.getBranchCounter()); 51 line = line.increment(CounterImpl.getInstance(1, 2) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mimify.py | 59 line = self.file.readline()
60 if not line:
61 return line
63 if line == self.boundary + '\n':
64 self.peek = line
66 if line == self.boundary + '--\n':
67 self.peek = line
69 return line
78 line = self.peek
81 line = self.file.readline() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 59 line = self.file.readline() 60 if not line: 61 return line 63 if line == self.boundary + '\n': 64 self.peek = line 66 if line == self.boundary + '--\n': 67 self.peek = line 69 return line 78 line = self.peek 81 line = self.file.readline( [all...] |
/external/boringssl/src/crypto/ |
thread.c | 63 const char *file, int line)) {} 66 const char *file, int line) { 71 const char *file, int line)) {} 88 *dyn_create_function)(const char *file, int line)) {} 91 int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)) {} 94 struct CRYPTO_dynlock_value *l, const char *file, int line)) {} 97 const char *file, int line) { 103 const char *file, int line) { 108 struct CRYPTO_dynlock_value *l, const char *file, int line) {
|
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 59 String line = reader.readLine(); local 61 if (line == null) 66 line = line.trim(); 70 if (line.endsWith(":")) 74 className = processClassMapping(line, mappingProcessor); 80 processClassMemberMapping(className, line, mappingProcessor); 103 * Parses the given line with a class mapping and processes the 107 private String processClassMapping(String line, 113 int arrowIndex = line.indexOf("->") [all...] |
/external/toybox/scripts/ |
mktags.c | 14 char *line = 0, *s; local 17 len = getline(&line, &len, stdin); 19 while (len && isspace(line[len-1])) line[--len]=0; 21 // Very simple parser: If we haven't got a TAG then first line is TAG. 22 // Then look for { followed by "str" (must be on same line, may have 23 // more than one per line), for each one emit #define. Current TAG ended 24 // by ) at start of line. 27 if (!isalpha(*line)) { 28 fprintf(stderr, "bad tag %s\n", line); [all...] |
/external/valgrind/memcheck/tests/ |
client-msg-as-xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 42 <line>...</line> [all...] |
long_namespace_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 43 <line>...</line> [all...] |
/external/libcups/cups/ |
md5passwd.c | 36 char line[256]; /* Line to sum */ local 43 snprintf(line, sizeof(line), "%s:%s:%s", username, realm, passwd); 45 _cupsMD5Append(&state, (unsigned char *)line, (int)strlen(line)); 70 char line[1024]; /* Line of data */ local 78 snprintf(line, sizeof(line), "%s:%s", method, resource) [all...] |
/system/extras/memory_replay/tests/ |
LineBufferTest.cpp | 41 line_data += "Single line with newline.\n"; 49 char* line; local 51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); 52 ASSERT_STREQ("Single line with newline.", line); 53 ASSERT_EQ(sizeof("Single line with newline.") - 1, line_len); 55 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); 60 line_data += "Single line with no newline."; 68 char* line; local 70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)) 89 char* line; local 118 char* line; local 148 char* line; local 183 char* line; local 218 char* line; local [all...] |
/bionic/libc/tools/ |
genserv.py | 43 for line in f.xreadlines(): 44 if len(line) > 0 and line[-1] == "\n": 45 line = line[:-1] 46 if len(line) > 0 and line[-1] == "\r": 47 line = line[:-1] 49 line = string.strip(line [all...] |
/external/autotest/tko/parsers/ |
version_0_unittest.py | 140 line = version_0.status_line(0, "START", "----", "test", 142 self.assertEquals(line.type, "START") 143 self.assertEquals(line.status, None) 154 line = version_0.status_line(0, stat, "----", "test", 156 self.assertEquals(line.type, "STATUS") 157 self.assertEquals(line.status, stat) 162 line = version_0.status_line(0, "END " + stat, "----", 164 self.assertEquals(line.type, "END") 165 self.assertEquals(line.status, stat) 177 line = version_0.status_line(5, "GOOD", "subdir_name" [all...] |
/external/libpng/scripts/ |
dfn.awk | 13 # the variable 'out', which should be set on the command line. 27 print "out=output.file must be given on the command line" 64 # A definition line, apparently correctly formatted; extract the 70 # if the quotes aren't closed and must read another line. In this 72 # are introduced #line directives. 74 line=$0 78 if (sub(/^[^"]*PNG_DFN *"/,"",line) != 1) { 79 print "line", lineno ": processing failed:" 110 if (line ~ /@"/) { 111 if (line ~ /@".*"@/) [all...] |
/external/tpm2/ |
parsep4 | 20 # get rid of heading line numbers and spaces. 24 for line in big_line.splitlines(): 25 m = sec_num_in_comments.match(line) 27 line = line.replace(m.groups()[0], '') 28 postproc_buffer.append(line) 33 for line in source_lines: 34 text.append(line) 35 if line == '' and text[-2].startswith('') and text[-5] == '': 44 for line in text 73 line = '\/\/' + line variable [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CharStream.as | 45 /** ANTLR tracks the line information automatically */ 46 function get line():int; 48 /** Because this stream can rewind, we need to be able to reset the line */ 49 function set line(line:int):void; 53 /** The index of the character relative to the beginning of the line 0..n-1 */
|
/external/autotest/client/site_tests/security_Minijail0/src/ |
test-caps | 19 while read line; do 20 if echo "$line" | grep -q '^CapEff:'; then 21 caps=$(echo "$line" | awk '{print $NF}')
|
/external/clang/ |
clang-version-inc.py | 23 for line in f: 24 line = line.strip() variable 26 line = line.replace(replace, to) variable 27 print line
|
/external/clang/test/ |
make_test_dirs.pl | 9 while ($line = <STDIN>) { 10 $line =~ /^\s*/; 12 if ($line =~ /\[([^\]]*)\]/) {
|
/external/compiler-rt/lib/builtins/ |
int_util.c | 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { 31 panic("%s:%d: abort in %s", file, line, function); 37 NORETURN extern void __assert_rtn(const char *func, const char *file, int line, 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
/external/compiler-rt/test/msan/ |
getline.cc | 26 char *line = 0; local 28 int n = getline(&line, &len, fp); 30 assert(strcmp(line, "abcde\n") == 0); 32 n = getline(&line, &len, fp); 34 assert(strcmp(line, "12345\n") == 0); 36 free(line);
|