/third_party/python/Lib/ |
H A D | doctest.py | 241 # This regexp matches the start of non-blank lines: 590 # Source consists of a PS1 line followed by zero or more PS2 lines. 593 (?:\n [ ]* \.\.\. .*)*) # PS2 lines 595 # Want consists of any non-blank lines that do not start with PS1. 608 # `msg` may have multiple lines. We assume/require that the 637 # If all lines begin with the same indentation, then strip it. 648 # Update lineno (lines before this example) 659 # Update lineno (lines inside this example) 707 # Divide source into lines; check that they're properly 714 # Divide want into lines; chec [all...] |
/third_party/skia/src/gpu/ |
H A D | GrResourceCache.cpp | 168 SkTArray<SkString> lines; in dumpInfo() local 169 SkStrSplit(info.substr(STEP_INDEX, info.length() - STEP_INDEX).c_str(), ";", &lines); in dumpInfo() 170 for (int i = 0; i < lines.size(); ++i) { in dumpInfo() 171 out->appendf(" %s\n", lines[i].c_str()); in dumpInfo()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/ |
H A D | main.go | 978 lines := strings.Split(f.error, "\n") 979 if len(lines) == 1 { 980 line := lines[0] 988 for _, l := range lines {
|
/third_party/python/Modules/cjkcodecs/ |
H A D | multibytecodec.c | 1759 lines: object 1766 PyObject *lines) in _multibytecodec_MultibyteStreamWriter_writelines_impl() 1772 if (!PySequence_Check(lines)) { in _multibytecodec_MultibyteStreamWriter_writelines_impl() 1780 for (i = 0; i < PySequence_Length(lines); i++) { in _multibytecodec_MultibyteStreamWriter_writelines_impl() 1782 strobj = PySequence_GetItem(lines, i); in _multibytecodec_MultibyteStreamWriter_writelines_impl() 1764 _multibytecodec_MultibyteStreamWriter_writelines_impl(MultibyteStreamWriterObject *self, PyTypeObject *cls, PyObject *lines) _multibytecodec_MultibyteStreamWriter_writelines_impl() argument
|
/third_party/python/Lib/test/ |
H A D | test_embed.py | 214 lines = [f"--- Pass {i} ---" for i in range(1, INIT_LOOPS+1)] 215 lines = "\n".join(lines) + "\n" 216 self.assertEqual(out, lines)
|
H A D | test_inspect.py | 444 lines = self.source.split("\n") 445 return "\n".join(lines[top-1:bottom]) + ("\n" if bottom else "") 712 # where the second and third lines are _not_ indented. 726 # the arguments are on two lines and _not_ indented and 732 # the body is on two lines, following the argument list and 792 lines = ["x=1"] 793 co = compile(lines[0], "_dynamically_created_file", "exec") 796 linecache.cache[co.co_filename] = (1, None, lines, co.co_filename) 798 self.assertEqual(inspect.findsource(co), (lines,0)) 799 self.assertEqual(inspect.getsource(co), lines[ [all...] |
H A D | test_tempfile.py | 982 lines = [b'spam\n', b'eggs\n', b'beans\n'] 985 f.write(b''.join(lines)) 989 self.assertEqual(l, lines[i]) 990 self.assertEqual(i, len(lines) - 1)
|
/third_party/backends/backend/genesys/ |
H A D | gl843.cpp | 197 // EXPDMY[0:7]: Exposure time of dummy lines. in gl843_init_registers() 1018 /* cis color scan is effectively a gray scan with 3 gray lines per color line and a FILTER of 0 */ in init_regs_for_scan_session() 1045 dev->total_bytes_to_read = (size_t)session.output_line_bytes_requested * (size_t)session.params.lines; in init_regs_for_scan_session() 1099 session.params.lines = settings.lines; in calculate_scan_session() 1412 session.params.lines = calib_lines; in init_regs_for_shading() 1517 session.params.lines = 1; in init_regs_for_warmup()
|
/third_party/backends/backend/ |
H A D | gt68xx.c | 385 s->params.lines = scan_params.pixel_ys; in calc_parameters() 643 /* backtrack lines */ in init_options() 644 s->opt[OPT_BACKTRACK_LINES].name = "backtrack-lines"; in init_options() 645 s->opt[OPT_BACKTRACK_LINES].title = SANE_I18N ("Backtrack lines"); in init_options() 647 SANE_I18N ("Number of lines the scan slider moves back when backtracking " in init_options() 650 "but increase the risk of omitting lines."); in init_options() 1907 DBG (4, "sane_get_parameters: format=%d, last_frame=%d, lines=%d\n", in sane_get_parameters() 1908 s->params.format, s->params.last_frame, s->params.lines); in sane_get_parameters() 1912 s->params.pixels_per_line, s->params.lines, 1 << s->params.depth); in sane_get_parameters() 2185 /* mirror lines */ in sane_read() [all...] |
H A D | artec_eplus48u.c | 1911 delay->lines = in artec48u_delay_buffer_init() 1913 if (!delay->lines) in artec48u_delay_buffer_init() 1921 delay->lines[i] = in artec48u_delay_buffer_init() 1930 if (delay->lines) in artec48u_delay_buffer_done() 1932 free (delay->lines); in artec48u_delay_buffer_done() 1933 delay->lines = NULL; in artec48u_delay_buffer_done() 1945 #define DELAY_BUFFER_WRITE_PTR(delay) ( (delay)->lines[(delay)->write_index] ) 1947 #define DELAY_BUFFER_READ_PTR(delay) ( (delay)->lines[(delay)->read_index ] ) 3043 The scanning head is moved some lines over the calibration strip. Some lines [all...] |
H A D | avision.h | 311 OPT_BACKGROUND, /* background raster lines to read out */ 760 uint8_t lines; member
|
H A D | kvs40xx_cmd.c | 486 p->lines = be2cpu32 (data[1]); in kvs40xx_read_picture_element()
|
H A D | epsonds.c | 1370 DBG(6, "params.lines = %d\n", params.lines); in print_params() 2674 s->params.lines = s->height_front; in sane_get_parameters() 2700 s->params.lines = s->height_back; in sane_get_parameters() 2709 DBG(20, "s->params.line = %d s->params.bytes_per_line = %d s->params.pixels_per_line = %d \n", s->params.lines, s->params.bytes_per_line , s->params.pixels_per_line ); in sane_get_parameters() 2989 s->left, s->top, s->params.pixels_per_line, s->params.lines); in sane_start() 3321 SANE_Int jpegBufSize = s->params.bytes_per_line * s->params.lines; in acquire_jpeg_data() 3324 jpegBufSize = s->params.pixels_per_line * s->params.lines; in acquire_jpeg_data() 3340 status = eds_ring_init(&s->front, (s->params.bytes_per_line) * s->params.lines); in acquire_jpeg_data() 3345 status = eds_ring_init(&s->back, (s->params.bytes_per_line) * s->params.lines); in acquire_jpeg_data() [all...] |
H A D | canon_dr.c | 85 - read two extra lines (ignore errors) at end of image 103 - round image height down to even # of lines 104 - always transfer even # of lines per block 105 - scsi and jpeg don't require reading extra lines to reach EOF 591 /* skip empty lines */ in sane_get_devices() 4860 params->lines = s->i.height; in sane_get_parameters() 4875 DBG (15, "sane_get_parameters: params: ppl=%d, Bpl=%d, lines=%d\n", in sane_get_parameters() 4876 params->pixels_per_line, params->bytes_per_line, params->lines); in sane_get_parameters() 5019 /* round lines up to even number */ in update_params() 6155 /* lines i in read_from_scanner() 7018 int lines = 8; calibrate_AFE() local 7496 int lines = 8; calibrate_fine_src_scan() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cGlSpirvTests.cpp | 711 std::vector<std::string> lines = de::splitString(output, '\n'); in iterate() local 713 for (int i = 0; i < (signed)lines.size(); ++i) in iterate() 715 if (lines[i].find("OpName") != std::string::npos) in iterate() 718 if (lines[i].find("OpMemberName") != std::string::npos) in iterate() 721 input.append(lines[i] + "\n"); in iterate()
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmock.py | 1918 lines = [line for line in f1] 1919 self.assertEqual(lines[0], 'Remarkable\n') 1920 self.assertEqual(lines[1], 'Norwegian Blue') 1928 lines = [line for line in f1] 1931 self.assertEqual(lines[0], '3rd line')
|
/third_party/googletest/googletest/src/ |
H A D | gtest.cc | 1461 // lines prefixed with ' ' for no change, '-' for deletion and '+' for 1537 std::vector<std::string> lines; 1548 lines.push_back(str.substr(start, i - start - 1)); 1555 lines.push_back(str.substr(start, end - start)); 1556 return lines; 6609 std::vector<std::string> lines; 6610 SplitString(contents, '\n', &lines); 6611 for (size_t i = 0; i < lines.size(); ++i) { 6612 if (lines[i].empty()) continue; 6613 if (!ParseGoogleTestFlag(lines[ [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest.cc | 1205 // lines prefixed with ' ' for no change, '-' for deletion and '+' for 1281 std::vector<std::string> lines; in SplitEscapedString() local 1292 lines.push_back(str.substr(start, i - start - 1)); in SplitEscapedString() 1299 lines.push_back(str.substr(start, end - start)); in SplitEscapedString() 1300 return lines; in SplitEscapedString() 5981 std::vector<std::string> lines; in LoadFlagsFromFile() local 5982 SplitString(contents, '\n', &lines); in LoadFlagsFromFile() 5983 for (size_t i = 0; i < lines.size(); ++i) { in LoadFlagsFromFile() 5984 if (lines[i].empty()) in LoadFlagsFromFile() 5986 if (!ParseGoogleTestFlag(lines[ in LoadFlagsFromFile() [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest.cc | 1478 // lines prefixed with ' ' for no change, '-' for deletion and '+' for 1554 std::vector<std::string> lines; 1565 lines.push_back(str.substr(start, i - start - 1)); 1572 lines.push_back(str.substr(start, end - start)); 1573 return lines; 6618 std::vector<std::string> lines; 6619 SplitString(contents, '\n', &lines); 6620 for (size_t i = 0; i < lines.size(); ++i) { 6621 if (lines[i].empty()) continue; 6622 if (!ParseGoogleTestFlag(lines[ [all...] |
/third_party/ffmpeg/libavcodec/arm/ |
H A D | vp9itxfm_neon.S | 1017 @ Only load the top 4 lines, and only do it for the later slices.
|
/third_party/backends/japi/ |
H A D | Sane.c | 424 fid = (*env)->GetFieldID(env, paramsClass, "lines", "I"); in Java_Sane_getParameters() 425 (*env)->SetIntField(env, paramsObj, fid, params.lines); in Java_Sane_getParameters()
|
/third_party/rust/crates/clap/clap_bench/benches/ |
H A D | 05_ripgrep.rs | 653 "Invert matching. Show lines that don't match given patterns." 664 doc!(h, "after-context", "Show NUM lines after each match."); 665 doc!(h, "before-context", "Show NUM lines before each match."); 666 doc!(h, "context", "Show NUM lines before and after each match."); 680 "The string used to separate non-contiguous context lines in the \ 697 provided are searched. Empty pattern lines will match all input \ 698 lines, and the newline is not counted as part of the pattern." 763 "Limit the number of matching lines per file searched to NUM."
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pyparse.py | 74 # Split def across lines. 81 pos0, pos = 33, 42 # Start of 'class...', ' def' lines. 248 # Multi-line statement with comment line in between code lines. 283 TestInfo = namedtuple('TestInfo', ['string', 'lines']) 303 eq(getlines(), test.lines)
|
/third_party/backends/backend/escl/ |
H A D | escl.c | 1311 handler->ps.lines = MM_TO_PIXEL(handler->val[OPT_BR_Y].w, 300.0); in sane_open() 1746 handler->ps.lines = he; in sane_start() 1778 p->lines = handler->ps.lines; in sane_get_parameters()
|
/third_party/node/lib/internal/util/ |
H A D | inspect.js | 1262 const msg = ` ... ${skipped} lines matching cause stack trace ...`; 1397 const lines = getStackFrames(ctx, err, stackFramePart); 1402 for (let line of lines) { 1423 newStack += `\n${ArrayPrototypeJoin(lines, '\n')}`; 1515 // The last lines may contain less entries than columns. 1521 // done line by line as some lines might contain more colors than
|