Home
last modified time | relevance | path

Searched refs:TEXT_LINES (Results 1 – 25 of 26) sorted by relevance

12

/dports/editors/helix/helix-0.5.0/cargo-crates/ropey-1.3.1/src/
H A Dstr_utils.rs1078 assert_eq!(100, count_chars(TEXT_LINES)); in count_chars_02()
1410 assert_eq!(0, line_to_byte_idx(TEXT_LINES, 0)); in line_to_byte_idx_03()
1411 assert_eq!(32, line_to_byte_idx(TEXT_LINES, 1)); in line_to_byte_idx_03()
1412 assert_eq!(59, line_to_byte_idx(TEXT_LINES, 2)); in line_to_byte_idx_03()
1413 assert_eq!(88, line_to_byte_idx(TEXT_LINES, 3)); in line_to_byte_idx_03()
1416 assert_eq!(124, line_to_byte_idx(TEXT_LINES, 4)); in line_to_byte_idx_03()
1417 assert_eq!(124, line_to_byte_idx(TEXT_LINES, 5)); in line_to_byte_idx_03()
1431 assert_eq!(0, line_to_char_idx(TEXT_LINES, 0)); in line_to_char_idx_02()
1432 assert_eq!(32, line_to_char_idx(TEXT_LINES, 1)); in line_to_char_idx_02()
1433 assert_eq!(59, line_to_char_idx(TEXT_LINES, 2)); in line_to_char_idx_02()
[all …]
H A Drope.rs2032 let r = Rope::from_str(TEXT_LINES); in len_lines_01()
2563 let r = Rope::from_str(TEXT_LINES); in byte_to_line_01()
2599 let r = Rope::from_str(TEXT_LINES); in byte_to_line_04()
2622 let r = Rope::from_str(TEXT_LINES); in char_to_line_01()
2658 let r = Rope::from_str(TEXT_LINES); in char_to_line_04()
2664 let r = Rope::from_str(TEXT_LINES); in line_to_byte_01()
2683 let r = Rope::from_str(TEXT_LINES); in line_to_byte_03()
2689 let r = Rope::from_str(TEXT_LINES); in line_to_char_01()
2929 let mut t = TEXT_LINES; in chunk_at_byte()
2959 let mut t = TEXT_LINES; in chunk_at_char()
[all …]
H A Dslice.rs1823 let r = Rope::from_str(TEXT_LINES); in len_lines_01()
1830 let r = Rope::from_str(TEXT_LINES); in len_lines_02()
1897 let r = Rope::from_str(TEXT_LINES); in byte_to_line_01()
1919 let r = Rope::from_str(TEXT_LINES); in byte_to_line_02()
1936 let r = Rope::from_str(TEXT_LINES); in byte_to_line_04()
1960 let r = Rope::from_str(TEXT_LINES); in char_to_line_01()
1982 let r = Rope::from_str(TEXT_LINES); in char_to_line_02()
2000 let r = Rope::from_str(TEXT_LINES); in char_to_line_04()
2402 let text = &TEXT_LINES[34..112]; in chunk_at_byte()
2437 let text = &TEXT_LINES[34..112]; in chunk_at_char()
[all …]
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/ropey-1.3.1/src/
H A Dstr_utils.rs1078 assert_eq!(100, count_chars(TEXT_LINES)); in count_chars_02()
1410 assert_eq!(0, line_to_byte_idx(TEXT_LINES, 0)); in line_to_byte_idx_03()
1411 assert_eq!(32, line_to_byte_idx(TEXT_LINES, 1)); in line_to_byte_idx_03()
1412 assert_eq!(59, line_to_byte_idx(TEXT_LINES, 2)); in line_to_byte_idx_03()
1413 assert_eq!(88, line_to_byte_idx(TEXT_LINES, 3)); in line_to_byte_idx_03()
1416 assert_eq!(124, line_to_byte_idx(TEXT_LINES, 4)); in line_to_byte_idx_03()
1417 assert_eq!(124, line_to_byte_idx(TEXT_LINES, 5)); in line_to_byte_idx_03()
1431 assert_eq!(0, line_to_char_idx(TEXT_LINES, 0)); in line_to_char_idx_02()
1432 assert_eq!(32, line_to_char_idx(TEXT_LINES, 1)); in line_to_char_idx_02()
1433 assert_eq!(59, line_to_char_idx(TEXT_LINES, 2)); in line_to_char_idx_02()
[all …]
H A Drope.rs2032 let r = Rope::from_str(TEXT_LINES); in len_lines_01()
2563 let r = Rope::from_str(TEXT_LINES); in byte_to_line_01()
2599 let r = Rope::from_str(TEXT_LINES); in byte_to_line_04()
2622 let r = Rope::from_str(TEXT_LINES); in char_to_line_01()
2658 let r = Rope::from_str(TEXT_LINES); in char_to_line_04()
2664 let r = Rope::from_str(TEXT_LINES); in line_to_byte_01()
2683 let r = Rope::from_str(TEXT_LINES); in line_to_byte_03()
2689 let r = Rope::from_str(TEXT_LINES); in line_to_char_01()
2929 let mut t = TEXT_LINES; in chunk_at_byte()
2959 let mut t = TEXT_LINES; in chunk_at_char()
[all …]
H A Dslice.rs1823 let r = Rope::from_str(TEXT_LINES); in len_lines_01()
1830 let r = Rope::from_str(TEXT_LINES); in len_lines_02()
1897 let r = Rope::from_str(TEXT_LINES); in byte_to_line_01()
1919 let r = Rope::from_str(TEXT_LINES); in byte_to_line_02()
1936 let r = Rope::from_str(TEXT_LINES); in byte_to_line_04()
1960 let r = Rope::from_str(TEXT_LINES); in char_to_line_01()
1982 let r = Rope::from_str(TEXT_LINES); in char_to_line_02()
2000 let r = Rope::from_str(TEXT_LINES); in char_to_line_04()
2402 let text = &TEXT_LINES[34..112]; in chunk_at_byte()
2437 let text = &TEXT_LINES[34..112]; in chunk_at_char()
[all …]
/dports/games/etracer/etr-0.8.1/src/
H A Dhelp.cpp33 #define TEXT_LINES 13 macro
35 TLabel* texts[TEXT_LINES];
65 for (int i = 0; i < TEXT_LINES; i++) in Enter()
/dports/archivers/py-bz2file/bz2file-0.98/
H A Dtest_bz2file.py23 TEXT_LINES = [ variable in BaseTest
46 TEXT = b''.join(TEXT_LINES)
188 for line in self.TEXT_LINES:
195 for line in self.TEXT_LINES * 5:
202 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
208 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
213 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
258 bz2f.writelines(self.TEXT_LINES)
510 linelen = len(self.TEXT_LINES[0])
518 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_bz2.py38 TEXT_LINES = [ variable in BaseTest
61 TEXT = b''.join(TEXT_LINES)
200 for line in self.TEXT_LINES:
207 for line in self.TEXT_LINES * 5:
214 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
225 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
270 bz2f.writelines(self.TEXT_LINES)
507 linelen = len(self.TEXT_LINES[0])
515 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_bz2.py38 TEXT_LINES = [ variable in BaseTest
61 TEXT = b''.join(TEXT_LINES)
200 for line in self.TEXT_LINES:
207 for line in self.TEXT_LINES * 5:
214 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
225 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
270 bz2f.writelines(self.TEXT_LINES)
507 linelen = len(self.TEXT_LINES[0])
515 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_bz2.py37 TEXT_LINES = [ variable in BaseTest
60 TEXT = b''.join(TEXT_LINES)
199 for line in self.TEXT_LINES:
206 for line in self.TEXT_LINES * 5:
213 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
219 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
224 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
269 bz2f.writelines(self.TEXT_LINES)
506 linelen = len(self.TEXT_LINES[0])
514 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_bz2.py38 TEXT_LINES = [ variable in BaseTest
61 TEXT = b''.join(TEXT_LINES)
200 for line in self.TEXT_LINES:
207 for line in self.TEXT_LINES * 5:
214 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
225 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
270 bz2f.writelines(self.TEXT_LINES)
507 linelen = len(self.TEXT_LINES[0])
515 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_bz2.py38 TEXT_LINES = [ variable in BaseTest
61 TEXT = b''.join(TEXT_LINES)
200 for line in self.TEXT_LINES:
207 for line in self.TEXT_LINES * 5:
214 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
225 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
270 bz2f.writelines(self.TEXT_LINES)
507 linelen = len(self.TEXT_LINES[0])
515 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_bz2.py39 TEXT_LINES = [ variable in BaseTest
62 TEXT = b''.join(TEXT_LINES)
204 for line in self.TEXT_LINES:
211 for line in self.TEXT_LINES * 5:
218 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
224 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
229 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
274 bz2f.writelines(self.TEXT_LINES)
511 linelen = len(self.TEXT_LINES[0])
519 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_bz2.py41 TEXT_LINES = [ variable in BaseTest
64 TEXT = b''.join(TEXT_LINES)
206 for line in self.TEXT_LINES:
213 for line in self.TEXT_LINES * 5:
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
226 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
231 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
276 bz2f.writelines(self.TEXT_LINES)
513 linelen = len(self.TEXT_LINES[0])
521 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_bz2.py41 TEXT_LINES = [ variable in BaseTest
64 TEXT = b''.join(TEXT_LINES)
206 for line in self.TEXT_LINES:
213 for line in self.TEXT_LINES * 5:
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
226 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
231 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
276 bz2f.writelines(self.TEXT_LINES)
513 linelen = len(self.TEXT_LINES[0])
521 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_bz2.py38 TEXT_LINES = [ variable in BaseTest
61 TEXT = b''.join(TEXT_LINES)
200 for line in self.TEXT_LINES:
207 for line in self.TEXT_LINES * 5:
214 self.assertEqual(bz2f.readlines(), self.TEXT_LINES)
220 self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)
225 self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)
270 bz2f.writelines(self.TEXT_LINES)
507 linelen = len(self.TEXT_LINES[0])
515 self.assertEqual(next(bz2f), self.TEXT_LINES[1])
[all …]
/dports/converters/pdf2djvu/pdf2djvu-0.9.17.1/
H A Dconfig.hh55 TEXT_LINES enumerator
H A Dconfig.cc408 this->text = this->TEXT_LINES; in read_config()
H A Dpdf2djvu.cc1573 if (config.text == config.TEXT_LINES) in xmain()
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dafni_graph.h451 #define TEXT_LINES(gr) ((gr)->points_index[3] != 1) macro
/dports/emulators/mess/mame-mame0226/src/devices/video/
H A Dpc_vga.cpp79 #define TEXT_LINES (vga.crtc.vert_disp_end+1) macro
459 for (int addr = vga.crtc.start_addr, line = -vga.crtc.preset_row_scan; line < TEXT_LINES; in vga_vh_text()
474 …for (int h = std::max(-line, 0); (h < height) && (line+h < std::min(TEXT_LINES, bitmap.height()));… in vga_vh_text()
510 (h<=vga.crtc.cursor_scan_end)&&(h<height)&&(line+h<TEXT_LINES); in vga_vh_text()
H A Dclgd542x.cpp22 #define TEXT_LINES (vga.crtc.vert_disp_end+1) macro
/dports/emulators/mame/mame-mame0226/src/devices/video/
H A Dpc_vga.cpp79 #define TEXT_LINES (vga.crtc.vert_disp_end+1) macro
459 for (int addr = vga.crtc.start_addr, line = -vga.crtc.preset_row_scan; line < TEXT_LINES; in vga_vh_text()
474 …for (int h = std::max(-line, 0); (h < height) && (line+h < std::min(TEXT_LINES, bitmap.height()));… in vga_vh_text()
510 (h<=vga.crtc.cursor_scan_end)&&(h<height)&&(line+h<TEXT_LINES); in vga_vh_text()
H A Dclgd542x.cpp22 #define TEXT_LINES (vga.crtc.vert_disp_end+1) macro

12