Home
last modified time | relevance | path

Searched refs:line (Results 126 - 150 of 5307) sorted by relevance

12345678910>>...213

/third_party/ltp/tools/
H A Dgenhtml.pl109 LINE: while ($line = <FILE>) {
110 chomp $line;
112 if ($line =~ /$start_tag/) {
116 if ($line =~ /$end_tag/) {
126 @variable_value_pair = split(/\ /, $line);
137 @variable_value_pair = split(/=/, $line);
141 @variable_value_pair = split(/=/, $line);
145 @variable_value_pair = split(/=/, $line);
150 @variable_value_pair = split(/=/, $line);
154 @variable_value_pair = split(/\ /, $line);
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_test_shaders.cpp3064 string line; in from_string() local
3070 std::getline(is, line); in from_string()
3071 } while (line.empty()); in from_string()
3075 if (line.substr(0,2) == "FS") in from_string()
3077 else if (line.substr(0,2) == "VS") in from_string()
3079 else if (line.substr(0,2) == "GS") in from_string()
3081 else if (line.substr(0,3) == "TCS") in from_string()
3083 else if (line.substr(0,3) == "TES") in from_string()
3088 while (std::getline(is, line)) { in from_string()
3089 if (line in from_string()
3099 std::cerr << "Don't understand '" << line << "\\n"; from_string() local
[all...]
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
H A Dgcc.py63 for line in lines:
64 m = LINE_MARKER_RE.match(line)
69 if (m := PREPROC_DIRECTIVE_RE.match(line)):
72 raise Exception(line)
75 line, partial = _strip_directives(line, partial=partial)
79 line or '',
85 def _strip_directives(line, partial=0):
88 if not (m := re.match(r'[^{}]*([()])', line)):
92 line
[all...]
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl29 # - can't use multiple ops per line;
165 my ($class, $line) = @_;
169 if ($$line =~ /^([a-z][a-z0-9]*)/i) {
173 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//;
185 } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) {
243 my ($class, $line) = @_;
247 if ($$line =~ /^\$([^,]+)/) {
251 $$line
[all...]
/third_party/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl29 # - can't use multiple ops per line;
160 my ($class, $line) = @_;
164 if ($$line =~ /^([a-z][a-z0-9]*)/i) {
168 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//;
180 } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) {
238 my ($class, $line) = @_;
242 if ($$line =~ /^\$([^,]+)/) {
246 $$line
[all...]
/third_party/node/deps/v8/tools/
H A Drun-clang-tidy.py70 line = ninja_ps.stdout.readline()
72 if line == '':
75 line = line.replace('-fcomplete-member-pointers', '')
76 line = line.replace('-Wno-enum-compare-switch', '')
77 line = line.replace('-Wno-ignored-pragma-optimize', '')
78 line = line
[all...]
/third_party/python/Include/
H A Ddynamic_annotations.h375 void AnnotateRWLockCreate(const char *file, int line,
377 void AnnotateRWLockDestroy(const char *file, int line,
379 void AnnotateRWLockAcquired(const char *file, int line,
381 void AnnotateRWLockReleased(const char *file, int line,
383 void AnnotateBarrierInit(const char *file, int line,
386 void AnnotateBarrierWaitBefore(const char *file, int line,
388 void AnnotateBarrierWaitAfter(const char *file, int line,
390 void AnnotateBarrierDestroy(const char *file, int line,
392 void AnnotateCondVarWait(const char *file, int line,
395 void AnnotateCondVarSignal(const char *file, int line,
[all...]
/third_party/python/Lib/
H A Dnntplib.py17 Here 'resp' is the server response line.
91 # maximal line length when calling readline(). This is to prevent
92 # reading arbitrary length lines. RFC 3977 limits NNTP line length to
137 '211', # LISTGROUP (also not multi-line with GROUP)
187 for line in lines:
188 if line[0] == ':':
190 name, _, suffix = line[1:].partition(':')
194 name, _, suffix = line.partition(':')
211 for line in lines:
213 article_number, *tokens = line
[all...]
/kernel/linux/linux-5.10/Documentation/sphinx/
H A Dmaintainers_include.py63 for line in open(path):
65 line = unicode(line, 'utf-8')
67 if descriptions and line.startswith('Maintainers'):
69 # Ensure a blank line following the last "|"-prefixed line.
75 if re.search('^[A-Z0-9]', line):
79 line = line.rstrip()
83 m = re.search(pat, line)
[all...]
/third_party/json/docs/mkdocs/scripts/
H A Dcheck_structure.py54 previous_line = None # the previous read line
61 line = original_line.strip()
63 if line.startswith('# '):
68 report('structure/unexpected_section', f'{file}:{lineno+1}', f'unexpected top-level title "{line}"')
72 if line == '# Overview':
76 if len(line) > 160 and '|' not in line:
77 report('whitespace/line_length', f'{file}:{lineno+1} ({current_section})', f'line is too long ({len(line)} vs. 160 chars)')
80 if line
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DNormalizerBuilder.java92 // read a line, discarding comments and blank lines in readExclusionList()
94 String line = in.readLine(); in readExclusionList()
95 if (line == null) break; in readExclusionList()
96 int comment = line.indexOf('#'); // strip comments in readExclusionList()
97 if (comment != -1) line = line.substring(0,comment); in readExclusionList()
98 if (line.length() == 0) continue; // ignore blanks in readExclusionList()
99 if(line.indexOf(' ') != -1) { in readExclusionList()
100 line = line in readExclusionList()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DNormalizerBuilder.java91 // read a line, discarding comments and blank lines in readExclusionList()
93 String line = in.readLine(); in readExclusionList()
94 if (line == null) break; in readExclusionList()
95 int comment = line.indexOf('#'); // strip comments in readExclusionList()
96 if (comment != -1) line = line.substring(0,comment); in readExclusionList()
97 if (line.length() == 0) continue; // ignore blanks in readExclusionList()
98 if(line.indexOf(' ') != -1) { in readExclusionList()
99 line = line in readExclusionList()
[all...]
/third_party/selinux/libsepol/cil/test/unit/
H A Dtest_cil_list.c49 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; in test_cil_list_append_item() local
52 gen_test_tree(&test_tree, line); in test_cil_list_append_item()
61 test_ast_node->line = 1; in test_cil_list_append_item()
77 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; in test_cil_list_append_item_append() local
80 gen_test_tree(&test_tree, line); in test_cil_list_append_item_append()
89 test_ast_node->line = 1; in test_cil_list_append_item_append()
113 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", "process", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; in test_cil_list_append_item_append_extra() local
116 gen_test_tree(&test_tree, line); in test_cil_list_append_item_append_extra()
125 test_ast_node->line = 1; in test_cil_list_append_item_append_extra()
155 char *line[] in test_cil_list_append_item_listnull_neg() local
182 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_append_item_itemnull_neg() local
206 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_prepend_item() local
234 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_prepend_item_prepend() local
263 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", "process", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_prepend_item_prepend_neg() local
297 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_prepend_item_listnull_neg() local
324 char *line[] = {"(", "mlsconstrain", "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; test_cil_list_prepend_item_itemnull_neg() local
[all...]
/third_party/skia/tests/
H A DPathOpsDLineTest.cpp24 const SkDLine& line = tests[index]; in DEF_TEST() local
25 SkASSERT(ValidLine(line)); in DEF_TEST()
27 SkPoint pts[2] = {line[0].asSkPoint(), line[1].asSkPoint()}; in DEF_TEST()
29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); in DEF_TEST()
30 SkDPoint mid = line.ptAtT(.5); in DEF_TEST()
31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); in DEF_TEST()
32 REPORTER_ASSERT(reporter, approximately_equal((line[ in DEF_TEST()
[all...]
/third_party/skia/docs/examples/
H A DPoint_Normalize.cpp12 for (auto line : lines) { in REG_FIDDLE()
13 canvas->drawLine(line[0], line[1], paint); in REG_FIDDLE()
14 SkVector vector = line[1] - line[0]; in REG_FIDDLE()
18 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint); in REG_FIDDLE()
19 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint); in REG_FIDDLE()
22 canvas->drawString(length, line[ in REG_FIDDLE()
[all...]
/third_party/libdrm/amdgpu/
H A Damdgpu_asic_id.c37 static int parse_one_line(struct amdgpu_device *dev, const char *line) in parse_one_line() argument
48 /* ignore empty line and commented line */ in parse_one_line()
49 if (strlen(line) == 0 || line[0] == '#') in parse_one_line()
52 buf = strdup(line); in parse_one_line()
110 char *line = NULL; in amdgpu_parse_asic_ids() local
123 /* 1st valid line is file version */ in amdgpu_parse_asic_ids()
124 while ((n = getline(&line, &len, fp)) != -1) { in amdgpu_parse_asic_ids()
126 if (line[ in amdgpu_parse_asic_ids()
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_bytecode_annotate.py43 for line in perf_stream:
45 if line[0] == "#":
47 line = line.strip()
49 # Empty line signals the end of the callchain.
50 if not line:
57 symbol_and_offset = line.split(" ", 1)[1]
75 for line in ignition_codegen:
76 if line.startswith(name_string):
80 for line i
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMAsm.cpp63 // comments into a single line for easier parsing below. in fixupAsmFile()
67 std::string line; in fixupAsmFile() local
68 while(std::getline(fin, line)) in fixupAsmFile()
71 auto index = line.find_first_not_of(" \t"); in fixupAsmFile()
74 return line[index]; in fixupAsmFile()
79 lines.back() += line; in fixupAsmFile()
83 lines.push_back(line); in fixupAsmFile()
101 for(auto &line : lines) in fixupAsmFile()
105 if(line.find("# -- Begin function") != std::string::npos) in fixupAsmFile()
123 pos = line in fixupAsmFile()
154 fout << line + "\\n"; fixupAsmFile() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dsubviewer1dec.c57 char line[4096]; in subviewer1_read_header() local
58 int len = ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
64 if (!strncmp(line, "[DELAY]", 7)) { in subviewer1_read_header()
65 ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
66 sscanf(line, "%d", &delay); in subviewer1_read_header()
69 if (sscanf(line, "[%d:%d:%d]", &hh, &mm, &ss) == 3) { in subviewer1_read_header()
73 len = ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DOpenTypeTableWriter.java38 void appendValue(StringBuffer line, int index) in appendValue() argument
42 line.append("0x"); in appendValue()
43 line.append(Utility.hex((value >> 8) & 0xFF, 2)); in appendValue()
44 line.append(", "); in appendValue()
46 line.append("0x"); in appendValue()
47 line.append(Utility.hex(value & 0xFF, 2)); in appendValue()
51 StringBuffer line = new StringBuffer(" "); // four spaces in dumpTable()
57 output.println(line.toString()); in dumpTable()
58 line.setLength(4); in dumpTable()
61 appendValue(line, in dumpTable()
[all...]
/third_party/skia/third_party/externals/freetype/builds/meson/
H A Dprocess_ftoption_h.py12 """Toggle settings in `ftoption.h` file based on command-line arguments.
69 for line in input_file.splitlines():
74 line = line.rstrip()
75 if line.startswith("/* #define ") and line.endswith(" */"):
76 option_name = line[11:-3].strip()
78 elif line.startswith("#define "):
79 option_name = line[8:].strip()
81 elif line
[all...]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dchecks.h35 extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
58 int line, in CheckHelper()
62 V8_Fatal(file, line, "CHECK(%s) failed", source); in CheckHelper()
73 static inline void CheckEqualsHelper(const char* file, int line, in CheckEqualsHelper() argument
77 V8_Fatal(file, line, in CheckEqualsHelper()
86 static inline void CheckEqualsHelper(const char* file, int line, in CheckEqualsHelper() argument
94 V8_Fatal(file, line, in CheckEqualsHelper()
109 int line, in CheckNonEqualsHelper()
115 V8_Fatal(file, line, "CHECK_NE(%s, %s) failed\n# Value: %i", in CheckNonEqualsHelper()
124 int line, in CheckEqualsHelper()
57 CheckHelper(const char* file, int line, const char* source, bool condition) CheckHelper() argument
108 CheckNonEqualsHelper(const char* file, int line, const char* unexpected_source, int unexpected, const char* value_source, int value) CheckNonEqualsHelper() argument
123 CheckEqualsHelper(const char* file, int line, const char* expected_source, const char* expected, const char* value_source, const char* value) CheckEqualsHelper() argument
139 CheckNonEqualsHelper(const char* file, int line, const char* expected_source, const char* expected, const char* value_source, const char* value) CheckNonEqualsHelper() argument
155 CheckEqualsHelper(const char* file, int line, const char* expected_source, const void* expected, const char* value_source, const void* value) CheckEqualsHelper() argument
170 CheckNonEqualsHelper(const char* file, int line, const char* expected_source, const void* expected, const char* value_source, const void* value) CheckNonEqualsHelper() argument
185 CheckEqualsHelper(const char* file, int line, const char* expected_source, double expected, const char* value_source, double value) CheckEqualsHelper() argument
206 CheckNonEqualsHelper(const char* file, int line, const char* expected_source, double expected, const char* value_source, double value) CheckNonEqualsHelper() argument
[all...]
/third_party/mesa3d/src/amd/compiler/tests/
H A Dcheck_output.py97 for line in self.data.split('\n'):
98 if line.strip() == '':
101 if line[:indent_amount] != indent:
105 new_lines.append(line[indent_amount:])
126 self.line = 1
151 self.pos.line += 1
161 line = ''
163 line += self.read(1)
165 return line
188 def format_error_lines(at, line_num, column_num, ctx, line)
[all...]
/third_party/node/deps/v8/src/torque/
H A Dsource-positions.h36 int line; member
40 static LineAndColumn WithUnknownOffset(int line, int column) { in WithUnknownOffset()
41 return {kUnknownOffset, line, column}; in WithUnknownOffset()
46 return line == other.line && column == other.column; in operator ==()
49 line == other.line && column == other.column); in operator ==()
69 return start.line == pos.start.line && source == pos.source; in CompareStartIgnoreColumn()
73 if (pos.line < star in Contains()
[all...]
/third_party/python/Tools/i18n/
H A Dmakelocalealias.py24 lines = [line for line in lines if '\xef\xbf\xbd' not in line]
26 for line in lines:
27 line = line.strip()
28 if not line:
30 if line[:1] == '#':
32 locale, alias = line.split()
61 for line i
[all...]

Completed in 12 milliseconds

12345678910>>...213