Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 1188) sorted by relevance

12345678910>>...48

/OK3568_Linux_fs/kernel/Documentation/fb/
H A Dviafb.modes16 # 12 chars 2 lines
18 # 2 chars 10 lines
20 # 6 chars 33 lines
22 # 80 chars 480 lines
24 # 20 chars 45 lines
41 # 8 chars 3 lines
43 # 2 chars 1 lines
45 # 15 chars 16 lines
47 # 80 chars 480 lines
49 # 25 chars 20 lines
[all …]
/OK3568_Linux_fs/kernel/tools/testing/kunit/
H A Dkunit_parser.py100 def consume_non_diagnositic(lines: List[str]) -> None:
101 while lines and not TAP_ENTRIES.match(lines[0]):
102 lines.pop(0)
104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None:
105 while lines and not TAP_ENTRIES.match(lines[0]):
106 test_case.log.append(lines[0])
107 lines.pop(0)
115 def parse_ok_not_ok_test_case(lines: List[str], test_case: TestCase) -> bool:
116 save_non_diagnositic(lines, test_case)
117 if not lines:
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Ddeploy.py33 lines = []
34 lines.append('#!/bin/sh')
35 lines.append('set -e')
38 lines.append('for entry in %s/*.list; do' % deploylist_path)
39 lines.append('[ ! -f $entry ] && exit')
40 lines.append('set `basename $entry | sed "s/.list//"`')
43 lines.append('echo "Previously deployed files for $1:"')
44 lines.append('manifest="%s/$1.list"' % deploylist_path)
45 lines.append('preservedir="%s/$1.preserve"' % deploylist_path)
46 lines.append('if [ -f $manifest ] ; then')
[all …]
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_log.py19 def check_log_entries(lines, mask, max_level=LOGL_INFO): argument
31 assert 'log %d' % i == lines.next()
33 assert '_log %d' % i == lines.next()
47 lines = iter(split)
48 assert 'test %d' % testnum == lines.next()
49 return lines
52 lines = run_test(0)
53 check_log_entries(lines, 3)
56 lines = run_test(1)
57 check_log_entries(lines, 3)
[all …]
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dfunc_test.py161 lines = out[0].splitlines()
163 self.assertEqual('Cleaned %s patches' % len(series.commits), lines[0])
164 self.assertEqual('Change log missing for v2', lines[1])
165 self.assertEqual('Change log missing for v3', lines[2])
166 self.assertEqual('Change log for unknown version v4', lines[3])
167 self.assertEqual("Alias 'pci' not found", lines[4])
168 self.assertIn('Dry run', lines[5])
169 self.assertIn('Send a total of %d patches' % count, lines[7])
172 self.assertEqual(' %s' % args[i], lines[line + 0])
174 while 'Cc:' in lines[line]:
[all …]
/OK3568_Linux_fs/u-boot/scripts/
H A Dunpack_bootimg81 lines = []
82 lines.append(f'boot magic: {self.boot_magic}')
85 lines.append(f'kernel_size: {self.kernel_size}')
86 lines.append(
88 lines.append(f'ramdisk size: {self.ramdisk_size}')
89 lines.append(
91 lines.append(f'second bootloader size: {self.second_size}')
92 lines.append(
95 lines.append(
97 lines.append(f'page size: {self.page_size}')
[all …]
H A Dget_maintainer.pl1349 my @lines = ();
1353 @lines = split("\n", $output);
1355 return @lines;
1360 my @lines = ();
1363 @lines = split("\n", $output);
1365 return @lines;
1390 my @lines = ();
1395 @lines = &{$VCS_cmds{"execute_cmd"}}($cmd);
1403 $commits = grep(/$pattern/, @lines); # of commits
1405 @authors = grep(/$author_pattern/, @lines);
[all …]
/OK3568_Linux_fs/kernel/scripts/
H A Dunpack_bootimg85 lines = []
86 lines.append(f'boot magic: {self.boot_magic}')
89 lines.append(f'kernel_size: {self.kernel_size}')
90 lines.append(
92 lines.append(f'ramdisk size: {self.ramdisk_size}')
93 lines.append(
95 lines.append(f'second bootloader size: {self.second_size}')
96 lines.append(
99 lines.append(
101 lines.append(f'page size: {self.page_size}')
[all …]
H A Dget_maintainer.pl1545 my @lines = ();
1549 @lines = split("\n", $output);
1551 return @lines;
1556 my @lines = ();
1559 @lines = split("\n", $output);
1561 return @lines;
1586 my @lines = ();
1591 @lines = &{$VCS_cmds{"execute_cmd"}}($cmd);
1599 $commits = grep(/$pattern/, @lines); # of commits
1601 @authors = grep(/$author_pattern/, @lines);
[all …]
/OK3568_Linux_fs/u-boot/tools/buildman/
H A Dtest.py194 lines = terminal.GetPrintTestLines()
196 for line in lines:
206 lines = terminal.GetPrintTestLines()
207 self.assertEqual(lines[0].text, '01: %s' % commits[0][1])
208 self.assertEqual(lines[1].text, '02: %s' % commits[1][1])
212 self.assertSummary(lines[2].text, 'sandbox', '+', ['board4'])
213 self.assertSummary(lines[3].text, 'arm', '+', ['board1'])
214 self.assertSummary(lines[4].text, 'powerpc', '+', ['board2', 'board3'])
217 self.assertEqual(lines[5].text, 'w+%s' %
219 self.assertEqual(lines[5].colour, col.MAGENTA)
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dxor.h13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local
26 } while (--lines > 0); in xor_8regs_2()
33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local
47 } while (--lines > 0); in xor_8regs_3()
54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local
69 } while (--lines > 0); in xor_8regs_4()
76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local
92 } while (--lines > 0); in xor_8regs_5()
98 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local
128 } while (--lines > 0); in xor_32regs_2()
[all …]
/OK3568_Linux_fs/buildroot/support/testing/tests/core/
H A Dtest_post_scripts.py22 lines = {}
26 lines[row[0]] = row[1]
28 self.assertEqual(lines["arg1"], what)
29 self.assertEqual(lines["arg2"], "foobar")
30 self.assertEqual(lines["arg3"], "baz")
31 self.assertEqual(lines["TARGET_DIR"], target_dir)
32 self.assertEqual(lines["BUILD_DIR"], os.path.join(self.builddir, "build"))
33 self.assertEqual(lines["HOST_DIR"], os.path.join(self.builddir, "host"))
35 self.assertEqual(lines["STAGING_DIR"], staging)
36 self.assertEqual(lines["BINARIES_DIR"], os.path.join(self.builddir, "images"))
[all …]
/OK3568_Linux_fs/buildroot/utils/
H A Dscanpypi365 lines = []
369 lines.append(version_line)
378 lines.append(targz_line)
388 lines.append(site_line)
389 return lines
403 lines = []
407 lines.append(setup_type_line)
408 return lines
485 lines = []
491 lines.append(self.__get_license_names(self.license_files))
[all …]
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dxor_32.h26 unsigned long lines = bytes >> 7; in xor_pII_mmx_2() local
58 : "+r" (lines), in xor_pII_mmx_2()
70 unsigned long lines = bytes >> 7; in xor_pII_mmx_3() local
107 : "+r" (lines), in xor_pII_mmx_3()
119 unsigned long lines = bytes >> 7; in xor_pII_mmx_4() local
161 : "+r" (lines), in xor_pII_mmx_4()
174 unsigned long lines = bytes >> 7; in xor_pII_mmx_5() local
229 : "+r" (lines), in xor_pII_mmx_5()
253 unsigned long lines = bytes >> 6; in xor_p5_mmx_2() local
289 : "+r" (lines), in xor_p5_mmx_2()
[all …]
H A Dxor.h62 unsigned long lines = bytes >> 8; in xor_sse_2() local
102 : [cnt] "+r" (lines), in xor_sse_2()
113 unsigned long lines = bytes >> 8; in xor_sse_2_pf64() local
136 : [cnt] "+r" (lines), in xor_sse_2_pf64()
148 unsigned long lines = bytes >> 8; in xor_sse_3() local
195 : [cnt] "+r" (lines), in xor_sse_3()
207 unsigned long lines = bytes >> 8; in xor_sse_3_pf64() local
232 : [cnt] "+r" (lines), in xor_sse_3_pf64()
244 unsigned long lines = bytes >> 8; in xor_sse_4() local
298 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dxor_32.h18 int lines = bytes / (sizeof (long)) / 8; in sparc_2() local
49 } while (--lines > 0); in sparc_2()
56 int lines = bytes / (sizeof (long)) / 8; in sparc_3() local
100 } while (--lines > 0); in sparc_3()
107 int lines = bytes / (sizeof (long)) / 8; in sparc_4() local
164 } while (--lines > 0); in sparc_4()
171 int lines = bytes / (sizeof (long)) / 8; in sparc_5() local
241 } while (--lines > 0); in sparc_5()
/OK3568_Linux_fs/kernel/tools/gpio/
H A Dgpio-utils.c58 int gpiotools_request_linehandle(const char *device_name, unsigned int *lines, in gpiotools_request_linehandle() argument
82 req.lineoffsets[i] = lines[i]; in gpiotools_request_linehandle()
86 req.lines = num_lines; in gpiotools_request_linehandle()
125 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument
150 req.offsets[i] = lines[i]; in gpiotools_request_line()
273 unsigned int lines[] = {line}; in gpiotools_get() local
275 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get()
294 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument
305 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets()
334 unsigned int lines[] = {line}; in gpiotools_set() local
[all …]
H A Dgpio-event-mon.c29 unsigned int *lines, in monitor_device() argument
51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device()
72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device()
76 fprintf(stdout, "Monitoring lines %d", lines[0]); in monitor_device()
78 fprintf(stdout, ", %d", lines[i]); in monitor_device()
79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device()
167 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local
189 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
231 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
/OK3568_Linux_fs/kernel/tools/vm/
H A Dslabinfo-gnuplot.sh56 local lines=2000000
64 lines=$((xmax-xmin))
69 wc_lines=$lines
72 if [ "$wc_lines" -lt "$lines" ]; then
73 lines=$wc_lines
76 if [ $((width / lines)) -gt $min_slab_name_size ]; then
144 local lines
150 let lines=3
152 `cat "$in" | grep -A "$lines" 'Slabs sorted by loss' |\
159 let lines=3
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py20 lines = [
46 lines.append('\t\t[B({})] = {{'.format(D0_sig))
53 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value))
54 lines.append('\t\t},')
55 lines.append('\t},')
57 lines = '\n'.join(lines)
59 return N, lines
61 return lines
92 lines = [ '{I0}.device = "{name}",\n'
99 lines.append('{I1}{{\n{I2}.{keyname} = {D0_sig},\n'
[all …]
/OK3568_Linux_fs/yocto/poky/meta-poky/classes/
H A Dpoky-sanity.bbclass13 lines = []
16 lines = sanity_conf_read(fn)
17 index, meta_yocto_line = sanity_conf_find_line(r'^meta-yocto/', lines)
19 lines[index] = meta_yocto_line.replace('meta-yocto', 'meta-poky')
21 f.write(''.join(lines))
29 lines = sanity_conf_read(bblayers_fn)
33 #sanity_conf_update(bblayers_fn, lines, 'POKY_BBLAYERS_CONF_VERSION', current_version)
34 index, line = sanity_conf_find_line(r'^POKY_BBLAYERS_CONF_VERSION', lines)
35 lines[index] = 'POKY_BBLAYERS_CONF_VERSION = "%d"\n' % current_version
37 f.write(''.join(lines))
/OK3568_Linux_fs/kernel/arch/hexagon/mm/
H A Dcache.c17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() local
24 for (i = 0; i < lines; i++) { in flush_dcache_range()
37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() local
44 for (i = 0; i < lines; i++) { in flush_icache_range()
62 unsigned long lines = spanlines(start, end-1); in hexagon_clean_dcache_range() local
69 for (i = 0; i < lines; i++) { in hexagon_clean_dcache_range()
82 unsigned long lines = spanlines(start, end-1); in hexagon_inv_dcache_range() local
89 for (i = 0; i < lines; i++) { in hexagon_inv_dcache_range()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsrccode.c29 char **lines; member
58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() argument
67 lines[l++] = map; in fill_lines()
71 lines[l++] = ++p; in fill_lines()
74 lines[l] = p; in fill_lines()
83 zfree(&sf->lines); in free_srcfile()
137 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile()
138 if (!h->lines) in find_srcfile()
140 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile()
166 l = sf->lines[line]; in find_sourceline()
/OK3568_Linux_fs/kernel/drivers/media/pci/cx18/
H A Dcx18-vbi.c25 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) in copy_vbi_data() argument
48 for (i = 0; i < lines; i++) { in copy_vbi_data()
98 u32 lines = cx->vbi.count * 2; in compress_raw_buf() local
106 for (i = 0; i < lines; i++) { in compress_raw_buf()
114 if (i == lines - 1) { in compress_raw_buf()
125 return lines * (line_size - 4); in compress_raw_buf()
190 int lines; in _cx18_process_vbi_data() local
220 lines = compress_sliced_buf(cx, p, size, sizeof(struct vbi_data_hdr)); in _cx18_process_vbi_data()
223 if (lines == 0) { in _cx18_process_vbi_data()
227 lines = 1; in _cx18_process_vbi_data()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Dgpio.c38 struct gb_gpio_line *lines; member
78 ggc->lines[which].active = true; in gb_gpio_activate_operation()
99 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
126 ggc->lines[which].direction = direction ? 1 : 0; in gb_gpio_get_direction_operation()
140 ggc->lines[which].direction = 1; in gb_gpio_direction_in_operation()
155 ggc->lines[which].direction = 0; in gb_gpio_direction_out_operation()
182 ggc->lines[which].value = value ? 1 : 0; in gb_gpio_get_value_operation()
193 if (ggc->lines[which].direction == 1) { in gb_gpio_set_value_operation()
208 ggc->lines[which].value = request.value; in gb_gpio_set_value_operation()
222 ggc->lines[which].debounce_usec = debounce_usec; in gb_gpio_set_debounce_operation()
[all …]

12345678910>>...48