/openbmc/u-boot/test/py/tests/ |
H A D | test_log.py | 45 lines = iter(split) 47 return lines 50 lines = run_test(0) 54 lines = run_test(1) 58 lines = run_test(2) 61 lines = run_test(3) 65 lines = run_test(4) 69 lines = run_test(5) 73 lines = run_test(6) 77 lines = run_test(7) [all …]
|
/openbmc/linux/Documentation/fb/ |
H A D | viafb.modes | 16 # 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 49 # 25 chars 20 lines 62 # 7 chars 3 lines [all …]
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | deploy.py | 33 lines = [] 34 lines.append('#!/bin/sh') 35 lines.append('set -e') 49 lines.append(' do') 63 lines.append(' done') 69 lines.append('fi') 123 lines.append('fi') 128 lines.append('done') 131 lines.append('rm $0') 132 lines.append('') [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | ipmi_parse.js | 43 function munchByte(lines, i) { argument 44 if (i >= lines.length) { 47 let l = lines[i]; 58 let l = lines[i]; 69 let l = lines[i]; 81 l = lines[j]; 142 x = munchByte(lines, j); 149 x = munchByte(lines, j); 156 x = munchByte(lines, j); 262 x = munchByte(lines, j); [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | func_test.py | 161 lines = out[0].splitlines() 167 self.assertEqual("Alias 'pci' not found", lines[4]) 168 self.assertIn('Dry run', lines[5]) 174 while 'Cc:' in lines[line]: 178 self.assertEqual('Version: 3', lines[line + 2]) 192 self.assertEqual(expected, lines[line]) 225 lines = open(cover_fname).read().splitlines() 229 lines[3]) 230 self.assertEqual(expected.splitlines(), lines[7:]) 233 lines = open(fname).read().splitlines() [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | test.py | 202 lines = terminal.GetPrintTestLines() 204 for line in lines: 214 lines = terminal.GetPrintTestLines() 231 self.assertEqual(lines[5].text, 'w+%s' % 243 self.assertEqual(lines[10].text, '+%s' % 257 self.assertEqual(lines[13].text, expect) 260 self.assertEqual(lines[14].text, '-%s' % 277 self.assertEqual(lines[19].text, '+%s' % 291 self.assertEqual(lines[23].text, '-%s' % 304 self.assertEqual(lines[27].text, '+%s' % [all …]
|
/openbmc/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 159 self._lines = lines 298 lines.pop() 322 lines.pop() 350 lines.pop() 375 line = lines.peek() 405 line = lines.peek() 412 lines.pop() 454 while lines and not any(re.match(lines.peek()) 456 log.append(lines.pop()) 755 if not lines or (peek_test_name_match(lines, test) and [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | FileContent.pm | 62 my @lines; 66 push @lines,$line; 112 my @lines; 186 my @lines; 329 my @lines; 633 my @lines = (); 639 push(@lines, $_); 643 return @lines; 668 my @lines; 858 my @lines; [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | xor.h | 27 } while (--lines > 0); in xor_8regs_2() 49 } while (--lines > 0); in xor_8regs_3() 73 } while (--lines > 0); in xor_8regs_4() 333 if (lines == 0) in xor_8regs_p_2() 364 if (lines == 0) in xor_8regs_p_3() 400 if (lines == 0) in xor_8regs_p_4() 440 if (lines == 0) in xor_8regs_p_5() 486 if (lines == 0) in xor_32regs_p_2() 544 if (lines == 0) in xor_32regs_p_3() 614 if (lines == 0) in xor_32regs_p_4() [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | xor_32.h | 19 int lines = bytes / (sizeof (long)) / 8; in sparc_2() local 50 } while (--lines > 0); in sparc_2() 58 int lines = bytes / (sizeof (long)) / 8; in sparc_3() local 102 } while (--lines > 0); in sparc_3() 111 int lines = bytes / (sizeof (long)) / 8; in sparc_4() local 168 } while (--lines > 0); in sparc_4() 178 int lines = bytes / (sizeof (long)) / 8; in sparc_5() local 248 } while (--lines > 0); in sparc_5()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | xor_32.h | 27 unsigned long lines = bytes >> 7; in xor_pII_mmx_2() local 59 : "+r" (lines), in xor_pII_mmx_2() 72 unsigned long lines = bytes >> 7; in xor_pII_mmx_3() local 109 : "+r" (lines), in xor_pII_mmx_3() 123 unsigned long lines = bytes >> 7; in xor_pII_mmx_4() local 165 : "+r" (lines), in xor_pII_mmx_4() 236 : "+r" (lines), in xor_pII_mmx_5() 297 : "+r" (lines), in xor_p5_mmx_2() 355 : "+r" (lines), in xor_p5_mmx_3() 423 : "+r" (lines), in xor_p5_mmx_4() [all …]
|
H A D | xor.h | 63 unsigned long lines = bytes >> 8; in xor_sse_2() local 103 : [cnt] "+r" (lines), in xor_sse_2() 115 unsigned long lines = bytes >> 8; in xor_sse_2_pf64() local 138 : [cnt] "+r" (lines), in xor_sse_2_pf64() 151 unsigned long lines = bytes >> 8; in xor_sse_3() local 198 : [cnt] "+r" (lines), in xor_sse_3() 211 unsigned long lines = bytes >> 8; in xor_sse_3_pf64() local 236 : [cnt] "+r" (lines), in xor_sse_3_pf64() 250 unsigned long lines = bytes >> 8; in xor_sse_4() local 318 unsigned long lines = bytes >> 8; in xor_sse_4_pf64() local [all …]
|
/openbmc/linux/tools/mm/ |
H A D | slabinfo-gnuplot.sh | 56 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 …]
|
/openbmc/linux/arch/hexagon/mm/ |
H A D | cache.c | 17 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()
|
/openbmc/gpioplus/test/ |
H A D | handle.cpp | 81 std::vector<Handle::Line> lines; in TEST_F() local 84 lines.push_back({i, 1}); in TEST_F() 92 Handle handle(*chip, lines, in TEST_F() 100 EXPECT_EQ(lines.size(), req.lines); in TEST_F() 101 for (uint32_t i = 0; i < lines.size(); ++i) in TEST_F() 128 std::vector<Handle::Line> lines; in TEST_F() local 131 lines.push_back({i, 0}); in TEST_F() 137 EXPECT_THROW(Handle(*chip, lines, in TEST_F() 144 EXPECT_EQ(lines.size(), req.lines); in TEST_F() 145 for (uint32_t i = 0; i < lines.size(); ++i) in TEST_F() [all …]
|
/openbmc/openbmc/poky/meta-poky/classes/ |
H A D | poky-sanity.bbclass | 13 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))
|
/openbmc/gpioplus/src/gpioplus/ |
H A D | handle.cpp | 44 static int build(const Chip& chip, const std::vector<Handle::Line>& lines, in build() argument 47 if (lines.size() > GPIOHANDLES_MAX) in build() 54 for (size_t i = 0; i < lines.size(); ++i) in build() 56 req.lineoffsets[i] = lines[i].offset; in build() 57 req.default_values[i] = lines[i].default_value; in build() 65 req.lines = lines.size(); in build() 77 Handle::Handle(const Chip& chip, const std::vector<Line>& lines, in Handle() argument 79 fd(build(chip, lines, flags, consumer_label), std::false_type(), in Handle() 81 nlines(lines.size()) in Handle()
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | xor_template.c | 20 unsigned long lines = bytes / LINE_WIDTH; variable 32 } while (--lines > 0); 40 unsigned long lines = bytes / LINE_WIDTH; variable 54 } while (--lines > 0); 63 unsigned long lines = bytes / LINE_WIDTH; variable 80 } while (--lines > 0); 90 unsigned long lines = bytes / LINE_WIDTH; variable 109 } while (--lines > 0);
|
/openbmc/linux/tools/gpio/ |
H A D | gpio-utils.c | 57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument 82 req.offsets[i] = lines[i]; in gpiotools_request_line() 184 unsigned int lines[] = {line}; in gpiotools_get() local 186 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get() 205 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument 216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets() 245 unsigned int lines[] = {line}; in gpiotools_set() local 247 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set() 263 int gpiotools_sets(const char *device_name, unsigned int *lines, in gpiotools_sets() argument 278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
|
H A D | gpio-event-mon.c | 29 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() 170 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local 192 lines[num_lines] = strtoul(optarg, NULL, 10); in main() 240 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
|
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 19 lines = [ 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 53 lines.append('\t\t},') 54 lines.append('\t},') 56 lines = '\n'.join(lines) 58 return N, lines 60 return lines 91 lines = [ '{I0}.device = "{name}",\n' 106 lines.append('{I2}}}\n{I1}}},'.format(**indents)) 111 lines.append('{I0}}},'.format(**indents)) [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | srccode.c | 29 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() 136 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile() 137 if (!h->lines) in find_srcfile() 139 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile() 165 l = sf->lines[line]; in find_sourceline()
|
/openbmc/linux/tools/rcu/ |
H A D | extract-stall.sh | 6 echo Filter out clocksource lines. Note that preceding-lines excludes the 7 echo initial line of the stall warning but trailing-lines includes it. 9 echo Usage: $(basename $0) dmesg-file [ preceding-lines [ trailing-lines ] ]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-vbi.c | 25 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 223 if (lines == 0) { in _cx18_process_vbi_data() 227 lines = 1; in _cx18_process_vbi_data() 229 buf->bytesused = size = lines * sizeof(cx->vbi.sliced_data[0]); in _cx18_process_vbi_data() [all …]
|
/openbmc/qemu/scripts/ |
H A D | get_maintainer.pl | 1220 my @lines = (); 1226 return @lines; 1231 my @lines = (); 1236 return @lines; 1288 return @lines if !@lines; 1799 @lines = mailmap(@lines); 1803 @lines = sort(@lines); 1909 my @lines = (); 1913 last if !@lines; 2024 my @lines; [all …]
|