Home
last modified time | relevance | path

Searched refs:lines (Results 326 - 350 of 958) sorted by relevance

1...<<11121314151617181920>>...39

/third_party/node/tools/inspector_protocol/
H A Dpdl.py58 lines = data.split('\n')
59 for i in range(0, len(lines)):
63 line = lines[i]
/third_party/python/Tools/scripts/
H A Dbyext.py68 lines = str(data, "latin-1").splitlines()
69 self.addstats(ext, "lines", len(lines))
70 del lines
/third_party/python/Lib/distutils/
H A Dtext_file.py5 lines, and joining lines with backslashes."""
14 comment character), skip blank lines, join adjacent lines by
21 spans multiple physical lines. Also provides 'unreadline()' for
46 skip lines that are empty *after* stripping comments and
48 then some lines may consist of solely whitespace: these will
53 to it to form one "logical line"; if N consecutive lines end
54 with a backslash, then N+1 physical lines will be joined to
57 strip leading whitespace from lines tha
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dpromote.py74 lines = loadFile(filename)
75 if (lines == None):
95 for line in lines:
128 # Patterns used to recognize interesting lines in an asciidoc source file.
/third_party/skia/third_party/externals/brotli/research/
H A Ddraw_diff.cc30 ScanLine* lines = new ScanLine[*height]; in ReadPGM() local
31 *image = lines; in ReadPGM()
34 lines[i] = line; in ReadPGM()
/third_party/unity/auto/
H A Dstylize_as_junit.py37 lines = list(map(lambda line: line.rstrip(), open(result_file, "r").read().split('\n')))
38 if len(lines) == 0:
72 for l in lines:
/third_party/skia/gm/
H A Dpixelsnap.cpp80 // Draw test case grid lines (Draw them all at pixel centers to hopefully avoid any
98 // +1's account for the grid lines around each test case.
161 // A rectangle that exactly covers a pixel, a point at each corner, 8 horiz/vert lines
163 // order lines (green), points (blue), rect(red).
166 const SkPoint lines[] = {
176 canvas->drawPoints(SkCanvas::kLines_PointMode, SK_ARRAY_COUNT(lines), lines, paint);
/third_party/skia/platform_tools/android/skp_gen/
H A Dandroid_skp_capture.py93 lines = output.splitlines()
94 if lines[-1] != '0':
96 return '\n'.join(lines[:-1])
/third_party/backends/frontend/
H A Dscanimage.c137 #define STRIP_HEIGHT 256 /* # lines we increment image height */
1415 if (parm.lines >= 0) in scan_it()
1418 prog_name, parm.pixels_per_line, parm.lines, in scan_it()
1450 if (parm.lines < 0) in scan_it()
1460 parm.pixels_per_line, parm.lines, in scan_it()
1466 parm.lines, parm.depth, ofp); in scan_it()
1471 parm.lines, parm.depth, resolution_value, in scan_it()
1477 sane_pdf_start_page ( pw, parm.pixels_per_line, parm.lines, in scan_it()
1481 parm.lines, resolution_value, in scan_it()
1486 parm.lines, resolution_valu in scan_it()
[all...]
/third_party/icu/tools/colprobe/
H A Dsortedlines.cpp13 lines(NULL), in SortedLines()
42 delete[] lines; in ~SortedLines()
236 lines = new Line[capacity]; in init()
237 init(repertoire, lines); in init()
333 setSortingArray(toSort, lines, size); in sort()
380 lines[size+i] = toAdd[i]; in addAll()
440 setSortingArray(toSort, lines, size); in addContractionsToRepertoire()
470 setSortingArray(toSort, lines, size); in addContractionsToRepertoire()
1307 lines[size] = *line; in add()
1308 Line *toAdd = &lines[siz in add()
[all...]
/third_party/littlefs/scripts/
H A Dplot.py171 self.lines = co.deque(maxlen=maxlen)
180 lines = s.split('\n')
182 if len(lines) > 1 and self.tail.getvalue():
183 self.tail.write(lines[0])
184 lines[0] = self.tail.getvalue()
187 self.lines.extend(lines[:-1])
189 if lines[-1]:
190 self.tail.write(lines[-1])
196 if maxlen != self.lines
[all...]
H A Dstructs.py346 # build up our lines
347 lines = []
372 lines.append(header)
434 lines.append(table_entry(name, r, diff_r, ratios))
448 lines.append(table_entry('TOTAL', r, diff_r, ratios))
453 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
456 range(len(lines[0])-1))]
459 for line in lines:
/third_party/ffmpeg/libavfilter/
H A Dvf_framepack.c170 int lines = out->height; in horizontal_frame_pack() local
175 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack()
177 for (i = 0; i < lines; i++) { in horizontal_frame_pack()
205 int lines = out->height; in horizontal_frame_pack() local
210 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack()
212 for (i = 0; i < lines; i++) { in horizontal_frame_pack()
433 { "lines", "Views are interleaved by lines", 0, AV_OPT_TYPE_CONST,
/third_party/backends/backend/
H A Dhp-handle.c277 &p->lines,0,0)); in hp_handle_uploadParameters()
445 /* Photosmart: this gives the correct number of lines when doing in sanei_hp_handle_getParameters()
453 &p->lines,0,0)); in sanei_hp_handle_getParameters()
613 * this->scan_params.lines ); in sanei_hp_handle_startScan()
615 DBG(1, "start: %d pixels per line, %d bytes per line, %d lines high\n", in sanei_hp_handle_startScan()
617 this->scan_params.lines); in sanei_hp_handle_startScan()
625 procdata->lines = this->scan_params.lines; in sanei_hp_handle_startScan()
H A Dpieusb_specific.c81 static SANE_Status pieusb_write_pnm_file (char *filename, uint16_t *data, int depth, int channels, int pixels_per_line, int lines);
1269 DBG (DBG_info, "pie_usb_post: %d ppl, %d lines, %d bits, %d planes, %d dpi\n", in sanei_pieusb_post()
1270 parameters.pixels_per_line, parameters.lines, in sanei_pieusb_post()
1312 parameters.pixels_per_line, parameters.lines); in sanei_pieusb_post()
1368 parameters.lines); in sanei_pieusb_post()
1390 scanner->scan_parameters.lines); in sanei_pieusb_post()
1399 int channels, int pixels_per_line, int lines) in pieusb_write_pnm_file()
1407 "pie_usb_write_pnm_file: depth=%d, channels=%d, ppl=%d, lines=%d\n", in pieusb_write_pnm_file()
1408 depth, channels, pixels_per_line, lines); in pieusb_write_pnm_file()
1421 fprintf (out, "P4\n%d\n%d\n", pixels_per_line, lines); in pieusb_write_pnm_file()
1398 pieusb_write_pnm_file(char *filename, SANE_Uint *data, int depth, int channels, int pixels_per_line, int lines) pieusb_write_pnm_file() argument
2048 SANE_Int lines; sanei_pieusb_get_shading_data() local
2217 SANE_Int lines; sanei_pieusb_get_scan_data() local
[all...]
/third_party/python/Lib/unittest/test/testmock/
H A Dtestwith.py201 # Check that readline will return all the lines from the fake file
224 # Check that dunder_iter will return all the lines from the fake file.
228 lines = [l for l in h]
229 self.assertEqual(lines[0], 'foo\n')
230 self.assertEqual(lines[1], 'bar\n')
231 self.assertEqual(lines[2], 'baz\n')
244 lines = [l for l in h]
247 self.assertEqual(lines[0], 'baz\n')
/third_party/skia/tools/viewer/
H A DParticlesSlide.cpp71 int lines = 1; in count_lines() local
74 ++lines; in count_lines()
77 return lines; in count_lines()
98 int lines = count_lines(s); variable
100 if (lines > 1) {
102 ImVec2 boxSize(-1.0f, ImGui::GetTextLineHeight() * (lines + 1));
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_codecontext.py318 # 4 lines of context showing.
326 # More context lines than limit.
438 lines = code_sample.splitlines()
441 eq(gli(lines[0]), (codecontext.INFINITY, '', False))
443 eq(gli(lines[1]), (0, 'class C1:', 'class'))
445 eq(gli(lines[2]), (codecontext.INFINITY, ' # Class comment.', False))
447 eq(gli(lines[3]), (4, ' def __init__(self, a, b):', 'def'))
449 eq(gli(lines[7]), (8, ' if a > b:', 'if'))
/third_party/protobuf/python/google/protobuf/
H A Dtext_format.py737 def ParseLines(lines,
748 lines: An iterable of lines of a message's text representation.
768 return parser.ParseLines(lines, message)
771 def MergeLines(lines,
782 lines: An iterable of lines of a message's text representation.
802 return parser.MergeLines(lines, message)
818 def ParseLines(self, lines, message):
821 self._ParseOrMerge(lines, messag
[all...]
/third_party/python/Lib/test/
H A Dtest_httplib.py367 lines = output.getvalue().splitlines()
368 self.assertEqual(lines[0], "reply: 'HTTP/1.1 200 OK\\r\\n'")
369 self.assertEqual(lines[1], "header: First: val")
370 self.assertEqual(lines[2], "header: Second: val1")
371 self.assertEqual(lines[3], "header: Second: val2")
474 lines = self.expected_body.split(b' ')
475 for idx, line in enumerate(lines):
476 # for testing handling empty lines
479 if idx < len(lines) - 1:
485 lines
1418 lines = ( global() variable in ExtendedReadTest
1543 lines = ( global() variable in ExtendedReadTestChunked
[all...]
H A Dtest_binascii.py64 lines = []
68 lines.append(a)
70 for line in lines:
80 lines = []
84 lines.append(a)
103 for line in map(addnoise, lines):
191 lines = []
195 lines.append(a)
197 for line in lines:
/third_party/python/Lib/test/test_peg_generator/
H A Dtest_pegen.py996 lines: List[str] = []
997 printer.print_grammar_ast(rules, printer=lines.append)
999 output = "\n".join(lines)
1023 lines: List[str] = []
1024 printer.print_grammar_ast(rules, printer=lines.append)
1026 output = "\n".join(lines)
1060 lines: List[str] = []
1061 printer.print_grammar_ast(rules, printer=lines.append)
1063 output = "\n".join(lines)
/third_party/rust/crates/proc-macro2/src/
H A Dfallback.rs331 lines: vec![0],
341 lines: Vec<usize>,
353 match self.lines.binary_search(&offset) { in offset_line_column()
360 column: offset - self.lines[idx - 1], in offset_line_column()
410 let mut lines = vec![0]; in lines_offsets() variables
416 lines.push(total); in lines_offsets()
420 (total, lines) in lines_offsets()
439 let (len, lines) = lines_offsets(src); in add_file()
449 lines, in add_file()
/build/test/example/
H A Dconftest.py44 lines = f.readlines()
45 total_memory_line = [line for line in lines if line.startswith('MemTotal')]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ant/
H A DCleanOutputDirectoryTaskTest.java38 // Extra lines in testWasFileAutoGenerated_lenientMatching()
50 // Reversed lines. in testWasFileAutoGenerated_lenientMatching_fail()
83 private static BufferedReader testFile(String... lines) { in testFile() argument
84 return new BufferedReader(new StringReader(String.join("\n", lines) + "\n")); in testFile()

Completed in 21 milliseconds

1...<<11121314151617181920>>...39