/third_party/protobuf/objectivec/DevTools/ |
H A D | pddm.py | 41 Processed lines start with "//%". There are three types of sections you can 47 Macro Definitions are started with "//%PDDM-DEFINE Name(args)" and all lines 52 trailing blank lines are included in the macro. You can also end a definition 55 Macro Expansions are started by single lines containing 57 expansions. All lines in-between are replaced by the result of the expansion. 92 can be used to avoid adding extra blank lines/returns (or make it clear when 196 """Parses list of lines. 228 # Allow blank lines between macro definitions. 396 indicate if more lines can be added after this one. 417 def lines(sel member in SourceFile.SectionBase 476 def lines(self): global() member in SourceFile.ExpansionSection [all...] |
/build/ohos/images/ |
H A D | get_module_install_dest.py | 80 lines = f.readlines() 81 lines = [line.strip()[1:] for line in lines] 82 if install_dest in lines:
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/ |
H A D | event_tree.py | 51 def parse_tree_index(self, lines): 52 if lines is None or len(lines) == 0: 54 tree_index_str = lines[0]
|
/kernel/linux/linux-5.10/scripts/ |
H A D | cleanfile | 136 @lines = (); 149 push(@lines, @blanks); 151 push(@lines, $line); 169 print FILE @lines;
|
/kernel/linux/linux-6.6/scripts/ |
H A D | cleanfile | 136 @lines = (); 149 push(@lines, @blanks); 151 push(@lines, $line); 169 print FILE @lines;
|
/third_party/elfutils/tests/ |
H A D | line2addr.c | 76 Dwfl_Line **lines = NULL; in handle_module() local 79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) in handle_module() 85 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, in handle_module() 105 free (lines); in handle_module()
|
/third_party/astc-encoder/Test/ |
H A D | astc_size_binary.py | 66 lines = result.stdout.splitlines() 67 for line in lines: 100 lines = result.stdout.splitlines() 101 for line in lines:
|
/third_party/node/test/parallel/ |
H A D | test-repl-underscore.js | 171 const lines = r.output.accum.trim().split('\n'); 197 for (const line of lines) { 245 const lines = output.accum.trim().split('\n'); 246 assert.deepStrictEqual(lines, expected);
|
/third_party/node/test/abort/ |
H A D | test-addon-uv-handle-leak.js | 44 const lines = stderr.split('\n'); 89 while (lines.length > 0) { 90 const line = lines.shift().trim(); 115 lines.unshift(line);
|
/third_party/node/tools/gyp/tools/ |
H A D | pretty_gyp.py | 67 lines (lines that matche the double_*_brace re's above) before 70 These are used to split lines which have multiple braces on them, so 118 def prettyprint_input(lines): 122 for line in lines: 148 lines = split_double_braces(data) 151 prettyprint_input(lines)
|
/third_party/libevdev/libevdev/ |
H A D | make-event-names.py | 209 def parse(lines): 211 for line in lines: 229 lines = chain(*[open(f).readlines() for f in sys.argv[1:]]) 230 bits = parse(lines)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/ |
H A D | generate-core-block.rb | 35 core_block = "\t"*2 + require.to_s.lines[0].strip + "\n" 36 alias_block = "\t"*3 + require.to_s.lines[0].strip + "\n" 79 alias_block << "\t"*3 + require.to_s.lines[-1].strip 80 core_block << "\t"*2 + require.to_s.lines[-1].strip
|
/third_party/skia/src/gpu/ |
H A D | GrShaderUtils.cpp | 47 * on their own lines indented properly. The one funkiness here is structs print in prettify() 57 * at the beginning of fresh lines. in prettify() 194 SkTArray<SkString> lines; in VisitLineByLine() local 195 SkStrSplit(text.c_str(), "\n", kStrict_SkStrSplitMode, &lines); in VisitLineByLine() 196 for (int i = 0; i < lines.count(); ++i) { in VisitLineByLine() 197 visitFn(i + 1, lines[i].c_str()); in VisitLineByLine()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
H A D | SFFontView.java | 73 int lines = visibleRect.height / viewer.lineHeight() - 2; in getScrollableBlockIncrement() 74 if (lines < 1) { in getScrollableBlockIncrement() 75 lines = 1; in getScrollableBlockIncrement() 77 return lines * viewer.lineHeight(); in getScrollableBlockIncrement()
|
/third_party/vixl/tools/ |
H A D | test_runner.py | 59 lines = p_out.split('\n') 61 for i in range(len(lines)): 62 if lines[i].startswith(skipped_id): 64 reason = lines[i][len(skipped_id):]
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_plugin_unittest.cc | 141 // Loop over the lines of the generated code and verify that we find an in TEST() 146 std::vector<std::string> lines = Split(output, "\n"); in TEST() local 149 for (int i = 0; i < lines.size(); ++i) { in TEST() 150 if (lines[i].find(expected_import) != std::string::npos) { in TEST() 153 EXPECT_EQ(std::string::npos, lines[i].find("importlib")); in TEST()
|
/third_party/vk-gl-cts/scripts/egl/ |
H A D | common.py | 107 lines = map(renderCommand, iface.commands) 109 lines = khr_util.format.indentLines(lines) 110 writeInlFile(os.path.join(directory, filename), lines)
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | format.py | 49 def indentLines (lines): 53 lineColumns = [line.split("\t") for line in lines if line is not None] 90 def writeLines (filename, lines): 92 for line in lines:
|
/kernel/linux/linux-5.10/kernel/kcsan/ |
H A D | kcsan-test.c | 46 char lines[3][512]; member 84 * lines of interest. 108 strscpy(observed.lines[0], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 111 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 118 strcpy(observed.lines[nlines++], "<none>"); in probe_console() 131 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available() 152 typeof(*observed.lines) *expect; in report_matches() 161 expect = kmalloc(sizeof(observed.lines), GFP_KERNE in report_matches() [all...] |
/third_party/googletest/googletest/scripts/ |
H A D | upload.py | 528 lines = [] 530 lines.append('--' + BOUNDARY) 531 lines.append('Content-Disposition: form-data; name="%s"' % key) 532 lines.append('') 533 lines.append(value) 535 lines.append('--' + BOUNDARY) 536 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 538 lines.append('Content-Type: %s' % GetContentType(filename)) 539 lines.append('') 540 lines [all...] |
/third_party/littlefs/scripts/ |
H A D | perf.py | 309 lines = [] 353 lines.append((file, op_line, op_addr)) 369 lines.sort() 371 for file, line, addr in lines: 372 if len(lines_) == 0 or lines_[-1][0] != file or lines[-1][1] != line: 374 lines = lines_ 384 return syms, sym_at, lines, line_at 483 # get the syms/lines for the dso, this is cached 484 syms, sym_at, lines, line_at = collect_syms_and_lines( 725 # build up our lines [all...] |
/third_party/backends/backend/ |
H A D | mustek.c | 631 dev_block_read_start (Mustek_Scanner * s, SANE_Int lines) in dev_block_read_start() argument 633 DBG (4, "dev_block_read_start: entering block for %d lines\n", lines); in dev_block_read_start() 640 readlines[2] = (lines >> 16) & 0xff; in dev_block_read_start() 641 readlines[3] = (lines >> 8) & 0xff; in dev_block_read_start() 642 readlines[4] = (lines >> 0) & 0xff; in dev_block_read_start() 651 readlines[2] = (lines >> 16) & 0xff; in dev_block_read_start() 652 readlines[3] = (lines >> 8) & 0xff; in dev_block_read_start() 653 readlines[4] = (lines >> 0) & 0xff; in dev_block_read_start() 681 /* tell scanner how many lines t in dev_block_read_start() 695 dev_read_req_enter(Mustek_Scanner * s, SANE_Byte * buf, SANE_Int lines, SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, SANE_Byte * command) dev_read_req_enter() argument 2289 SANE_Word lines, bytes_per_color; get_calibration_lines_se() local 3218 get_image_status(Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines) get_image_status() argument 3282 get_window(Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines, SANE_Int * pixels) get_window() argument 3573 SANE_Int index[3], lines[3], quant[3], dist[3]; fix_line_distance_se() local 4849 SANE_Int lines; /* # lines in buffer */ reader_process() member [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 761 # takes a list of strings that can each contain one or several lines of code 813 # We use $_ shamelessly when looking through @lines. 814 # In case we find a \ at the end, we keep filling it up with more lines. 823 # Since we convert one line to several and unshift that into @lines, 824 # that's the only safe way we have to track the original lines 825 my @lines = map { ( undef, $_ ) } split m|\R|, $line; 828 pop @lines; 829 pop @lines; # Don't forget the undef 831 while (@lines) { 832 if (!defined($lines[ [all...] |
/third_party/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 761 # takes a list of strings that can each contain one or several lines of code 813 # We use $_ shamelessly when looking through @lines. 814 # In case we find a \ at the end, we keep filling it up with more lines. 823 # Since we convert one line to several and unshift that into @lines, 824 # that's the only safe way we have to track the original lines 825 my @lines = map { ( undef, $_ ) } split m|\R|, $line; 828 pop @lines; 829 pop @lines; # Don't forget the undef 831 while (@lines) { 832 if (!defined($lines[ [all...] |
/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 82 lines = [] 84 lines = version_file.readlines() 85 for line in lines:
|