Home
last modified time | relevance | path

Searched refs:line (Results 51 - 75 of 4118) sorted by relevance

12345678910>>...165

/third_party/python/Tools/scripts/
H A Dgprof2html.py28 for line in fp:
29 yield html.escape(line)
33 for line in input:
34 output.write(line)
35 if line.startswith(" time"):
38 for line in input:
39 m = re.match(r"(.* )(\w+)\n", line)
41 output.write(line)
47 for line in input:
48 output.write(line)
[all...]
H A Dpep384_macrocheck.py40 line = python_h.readline()
41 if not line:
43 found = re.match(r'^\s*#\s*include\s*"(\w+\.h)"', line)
62 line = yield level
63 if re.match(ifdef_pattern, line):
65 elif re.match(endif_pattern, line):
84 line = yield limited[-1]
85 new_status = ifdef_level.send(line)
89 if re.match(unlimited_pattern, line):
92 elif re.match(limited_pattern, line)
[all...]
/third_party/python/Tools/c-analyzer/
H A Dtable-file.py4 for line in lines:
5 line = line.strip()
6 if line.startswith('# XXX'):
8 yield line
14 for line in lines:
15 if line.startswith(('####', '#----')):
16 kind = 0 if line[1] == '#' else 1
18 line = next(lines).strip()
20 line
[all...]
/third_party/python/Lib/lib2to3/pgen2/
H A Dtokenize.py8 repeatedly to get the next line of input (or "" for EOF). It generates
15 the original line (string)
83 # Single-line ' or " string.
102 # First (or only) line of ' or " string.
142 def printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing
155 Each call to the function should return one line of input as a string.
190 tok_type, token, start, end, line = t
268 def find_cookie(line):
270 line_string = line.decode('ascii')
340 should return one line o
[all...]
/third_party/python/Tools/clinic/
H A Dcpp.py14 A simple C preprocessor that scans C source and computes, line by line,
19 string but on another line and with preprocessor macros in between...
39 " line=", str(self.line_number),
57 print("Error at" + filename, "line", self.line_number, ":")
66 for line in s.split("\n"):
67 self.writeline(line)
69 def writeline(self, line):
71 line = line
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-khmer-machine.hh2 #line 1 "hb-ot-shape-complex-khmer-machine.rl"
41 #line 42 "hb-ot-shape-complex-khmer-machine.hh"
59 #line 60 "hb-ot-shape-complex-khmer-machine.hh"
242 #line 43 "hb-ot-shape-complex-khmer-machine.rl"
246 #line 86 "hb-ot-shape-complex-khmer-machine.rl"
265 #line 266 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
273 #line 106 "hb-ot-shape-complex-khmer-machine.rl" in find_syllables_khmer()
281 #line 282 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
292 #line 1 "NONE" in find_syllables_khmer()
295 #line 29 in find_syllables_khmer()
[all...]
/third_party/node/test/parallel/
H A Dtest-readline-promises-interface.js152 rli.on('line', common.mustNotCall());
157 // Sending multiple newlines at once that does not end with a new line and a
158 // `end` event(last line is). \r should behave like \n when alone.
162 rli.on('line', common.mustCall((line) => {
163 assert.strictEqual(line, expectedLines.shift());
169 // \r at start of input should output blank line
173 rli.on('line', common.mustCall((line) => {
174 assert.strictEqual(line, expectedLine
[all...]
/third_party/icu/icu4c/source/tools/gensprep/
H A DfilterRFC3454.pl94 while(defined ($line=<$inFH>)){
95 next unless $line=~ /Start\sTable/;
96 if($line =~ /A.1/){
99 if($line =~ /B.1/ && defined $b1){
102 if($line =~ /B.2/ && defined $b2){
105 if($line =~ /B.3/ && defined $b3){
108 if($line =~ /C.1.1/ && defined $c11 ){
109 createProhibitedTable($inFH,$outfile,$line);
111 if($line =~ /C.1.2/ && defined $c12 ){
112 createProhibitedTable($inFH,$outfile,$line);
[all...]
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
H A DfilterRFC3454.pl94 while(defined ($line=<$inFH>)){
95 next unless $line=~ /Start\sTable/;
96 if($line =~ /A.1/){
99 if($line =~ /B.1/ && defined $b1){
102 if($line =~ /B.2/ && defined $b2){
105 if($line =~ /B.3/ && defined $b3){
108 if($line =~ /C.1.1/ && defined $c11 ){
109 createProhibitedTable($inFH,$outfile,$line);
111 if($line =~ /C.1.2/ && defined $c12 ){
112 createProhibitedTable($inFH,$outfile,$line);
[all...]
/third_party/python/Lib/urllib/
H A Drobotparser.py84 We allow that a user-agent: line is not preceded by
89 # 1: saw user-agent line
90 # 2: saw an allow or disallow line
95 for line in lines:
96 if not line:
104 # remove optional comment and strip line
105 i = line.find('#')
107 line = line[:i]
108 line
[all...]
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A D091-hash-line.c0 #line 0
2 #error line 0 error
3 #line 25
4 #error line 25 error
5 #line 0 1
6 #error source 1, line 0 error
7 #line 30 2
8 #error source 2, line 30 error
9 #line 45 2 /* A line wit
[all...]
/third_party/node/test/fixtures/source-map/
H A Distanbul-throw.js1 var cov_ono70fls3=function(){var path="/Users/bencoe/oss/source-map-testing/istanbul-throw-original.js";var hash="4302fcea4eb0ea4d9af6e63a478f214aa61f9dd8";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/bencoe/oss/source-map-testing/istanbul-throw-original.js",statementMap:{"0":{start:{line:5,column:2},end:{line:5,column:25}},"1":{start:{line:8,column:0},end:{line:10,column:3}},"2":{start:{line:9,column:2},end:{line:9,column:10}}},fnMap:{"0":{name:"Hello",decl:{start:{line:4,column:9},end:{line:4,column:14}},loc:{start:{line:4,column:17},end:{line
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/make_scripts/
H A Dprepare.py50 line = ''
76 line = '%sDEFINES := %s\n'%(line, ' \\\n\t'.join(defines))
78 line = '%sINCLUDE := -I$(MAIN_TOPDIR)/%s\n'%(line, ' \\\n\t-I$(MAIN_TOPDIR)/'.join(flg_cfg))
80 line = '\n'.join([
81 line,
86 line = '%s%s := %s\n'%(line, flg, ' '.join(flg_cfg))
87 return line
[all...]
/third_party/python/Tools/freeze/
H A Dparsesetup.py18 line = fp.readline()
20 line = pendingline + line
22 if not line:
24 if line.endswith('\\\n'):
25 pendingline = line[:-2]
26 matchobj = makevardef.match(line)
55 line = fp.readline()
57 line = pendingline + line
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
H A DinsertTags.py41 line = len(file) - 1
42 while (line >= 0):
43 # If this is a valid begin line without a description, and a
47 if (pi.begin == line):
50 logDiag('Description already exists, but no refDesc found for', name, 'at', specFile + ':' + str(line))
53 logDiag('No refDesc found (this is OK) for embedded', name, 'at', specFile + ':' + str(line))
55 logWarn('No refDesc found for', name, 'at', specFile + ':' + str(line))
58 # New or replacement refBegin line, with short description
62 logDiag('Adding description for', name, 'at', specFile + ':' + str(line))
64 # If there is already a refBegin on this line, replac
[all...]
/third_party/skia/tests/
H A DPathOpsQuadLineIntersectionTest.cpp19 SkDLine line; member
23 // quad line results
33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() argument
37 if (line[0].fX == line[1].fX) { in doIntersect()
38 double top = line[0].fY; in doIntersect()
39 double bottom = line[1].fY; in doIntersect()
45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
46 } else if (line[0].fY == line[ in doIntersect()
64 SkDLine line; global() member
90 const SkDLine& line = oneOffs[index].line; testOneOffs() local
118 const SkDLine& line = lineQuadTests[index].line; DEF_TEST() local
[all...]
H A DPathOpsCubicLineIntersectionTest.cpp18 SkDLine line; member
34 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail() local
35 SkASSERT(ValidLine(line)); in testFail()
39 int order2 = reduce2.reduce(line); in testFail()
45 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
50 int roots = i.intersect(cubic, line); in testFail()
103 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect() argument
106 if (line[0].fX == line[ in doIntersect()
136 const SkDLine& line = lineCubicTests[iIndex].line; testOne() local
202 const SkDLine& line = lineCubicTests[iIndex].line; DEF_TEST() local
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dpostscript.c40 int line_type(const char *line) in line_type() argument
43 if (startswith(line, "%%BeginFeature:")) in line_type()
45 p = line; in line_type()
57 /* Next, examine the PostScript job for traces of command-line and
60 PPD options by the command line. Also stuff in PostScript code
61 to apply option settings given by the command line and to set
71 set for the RIP command line.
81 the command line built from the current modified command set and
88 it with the command line built from the new modified command
97 Non DSC-conforming documents will be read until a certain line
148 stream_next_line(dstr_t *line, stream_t *s) stream_next_line() argument
319 dstr_t *line = create_dstr(); _print_ps() local
[all...]
/third_party/mbedtls/tests/scripts/
H A Dgen_gcm_decrypt.pl32 while(my $line = <TEST_DATA>)
34 next if ($line !~ /^\[/);
35 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/);
46 my $line;
48 while($line = <TEST_DATA>)
50 next if($line !~ /=/);
54 ($val) = ($line =~ /^$name = (\w+)/);
63 my $line;
65 while($line = <TEST_DATA>)
67 next if($line !~ /
[all...]
/third_party/node/tools/gyp/tools/
H A Dpretty_gyp.py19 # NOTE: It does not handle quotes that span more than one line, or
32 return [search_re.sub(comment_replace, line) for line in input]
47 return [search_re.sub(quote_replace, line) for line in input]
53 for (line, masked_line) in zip(input, masked_input):
57 line = line[:split] + r"\n" + line[split:]
60 output.extend(line
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dsource.cc25 std::string line; in split_lines() local
27 while (std::getline(stream, line, '\n')) { in split_lines()
28 lines.emplace_back(std::move(line)); in split_lines()
47 if (rng.begin.line) { in operator <<()
48 out << rng.begin.line << ":"; in operator <<()
62 for (size_t line = rng.begin.line; line <= rng.end.line; line in operator <<()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_readvitc.c57 { "scan_max", "maximum line numbers to scan for VITC data", OFFSET(scan_max), AV_OPT_TYPE_INT, {.i64 = 45 }, -1, INT_MAX, FLAGS },
65 static uint8_t get_vitc_crc( uint8_t *line ) { in get_vitc_crc()
68 crc = 0x01 | (line[0] << 2); in get_vitc_crc()
69 crc ^= (line[0] >> 6) | 0x04 | (line[1] << 4); in get_vitc_crc()
70 crc ^= (line[1] >> 4) | 0x10 | (line[2] << 6); in get_vitc_crc()
71 crc ^= (line[2] >> 2) | 0x40; in get_vitc_crc()
72 crc ^= line[3]; in get_vitc_crc()
73 crc ^= 0x01 | (line[ in get_vitc_crc()
83 get_pit_avg3( uint8_t *line, int i ) get_pit_avg3() argument
146 make_vitc_tc_string(char *buf, uint8_t *line) make_vitc_tc_string() argument
[all...]
/third_party/python/Lib/idlelib/
H A Dsearchengine.py131 line, col = get_line_col(start)
132 res = self.search_backward(text, prog, line, col, wrap, ok)
138 line, col = get_line_col(start)
139 res = self.search_forward(text, prog, line, col, wrap, ok)
142 def search_forward(self, text, prog, line, col, wrap, ok=0):
144 startline = line
145 chars = text.get("%d.0" % line, "%d.0" % (line+1))
150 return line, m
151 line
[all...]
/third_party/node/deps/v8/third_party/test262-harness/src/
H A D_monkeyYaml.py29 line = lines.pop(0)
30 if myIsAllSpaces(line):
33 result = mYamlKV.match(line)
45 dict[key] += c + line.strip()
47 raise Exception("monkeyYaml is confused at " + line)
74 line = lines.pop(0)
75 leading = myLeadingSpaces(line)
76 if myIsAllSpaces(line):
79 lines.insert(0, line)
83 value += [myReadOneLine(myRemoveListHeader(indent, line))]
[all...]
/third_party/openssl/test/testutil/
H A Dtests.c21 * Output a failed test first line.
27 int line, const char *type, in test_fail_message_prefix()
41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix()
58 * int test6(const char *file, int line, int n) {
60 * test_fail_message(1, file, line, "int", "value %d is not %d", n, 6);
69 static void test_fail_message(const char *prefix, const char *file, int line,
76 int line, const char *type, in test_fail_message_va()
80 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_message_va()
89 int line, const char *type, in test_fail_message()
96 test_fail_message_va(prefix, file, line, typ in test_fail_message()
26 test_fail_message_prefix(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op) test_fail_message_prefix() argument
75 test_fail_message_va(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, va_list ap) test_fail_message_va() argument
88 test_fail_message(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, ...) test_fail_message() argument
109 test_info(const char *file, int line, const char *desc, ...) test_info() argument
128 test_error(const char *file, int line, const char *desc, ...) test_error() argument
161 test_skip(const char *file, int line, const char *desc, ...) test_skip() argument
244 test_ptr_null(const char *file, int line, const char *s, const void *p) test_ptr_null() argument
252 test_ptr(const char *file, int line, const char *s, const void *p) test_ptr() argument
260 test_true(const char *file, int line, const char *s, int b) test_true() argument
268 test_false(const char *file, int line, const char *s, int b) test_false() argument
276 test_str_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_eq() argument
290 test_str_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_ne() argument
304 test_strn_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_eq() argument
318 test_strn_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_ne() argument
332 test_mem_eq(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_eq() argument
345 test_mem_ne(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_ne() argument
388 test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a) test_BN_eq_one() argument
396 test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a) test_BN_odd() argument
404 test_BN_even(const char *file, int line, const char *s, const BIGNUM *a) test_BN_even() argument
413 test_BN_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_eq_word() argument
427 test_BN_abs_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_abs_eq_word() argument
[all...]

Completed in 12 milliseconds

12345678910>>...165