/scripts/dtc/ |
D | srcpos.c | 214 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument 218 pos->file = current_srcfile; in srcpos_update() 220 pos->first_line = current_srcfile->lineno; in srcpos_update() 221 pos->first_column = current_srcfile->colno; in srcpos_update() 234 pos->last_line = current_srcfile->lineno; in srcpos_update() 235 pos->last_column = current_srcfile->colno; in srcpos_update() 239 srcpos_copy(struct srcpos *pos) in srcpos_copy() argument 244 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy() 252 srcpos_dump(struct srcpos *pos) in srcpos_dump() argument 255 pos->file ? (char *) pos->file : "<no file>"); in srcpos_dump() [all …]
|
D | srcpos.h | 105 extern void srcpos_update(struct srcpos *pos, const char *text, int len); 106 extern struct srcpos *srcpos_copy(struct srcpos *pos); 107 extern char *srcpos_string(struct srcpos *pos); 108 extern void srcpos_dump(struct srcpos *pos); 110 extern void srcpos_verror(struct srcpos *pos, const char *prefix, 113 extern void srcpos_error(struct srcpos *pos, const char *prefix,
|
D | dt_to_config | 310 my $pos = shift; 312 substr $$pr_flags_ref, $pos, 1, $pr_flag_value[$pos];
|
/scripts/ |
D | cleanfile | 21 my $pos = 0; 28 my $npos = ($pos+$nsp+8) & ~7; 29 my $ntab = ($npos >> 3) - ($pos >> 3); 31 $pos = $npos; 35 $pos += $nsp; 38 $pos = 0; 43 $pos += $nsp; 46 $pos++; 59 my $pos = 0; 65 $pos = ($pos+8) & ~7; [all …]
|
D | cleanpatch | 21 my $pos = 0; 28 my $npos = ($pos+$nsp+8) & ~7; 29 my $ntab = ($npos >> 3) - ($pos >> 3); 31 $pos = $npos; 35 $pos += $nsp; 38 $pos = 0; 43 $pos += $nsp; 46 $pos++; 59 my $pos = 0; 65 $pos = ($pos+8) & ~7; [all …]
|
D | extract-ikconfig | 19 if pos=`tr "$cf1\n$cf2" "\n$cf2=" < "$1" | grep -abo "^$cf2"` 21 pos=${pos%%:*} 22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null 33 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"` 35 pos=${pos%%:*} 36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
|
D | extract-vmlinux | 30 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"` 32 pos=${pos%%:*} 33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
|
D | kallsyms.c | 489 unsigned int i, pos; in build_initial_tok_table() local 491 pos = 0; in build_initial_tok_table() 494 if (pos != i) in build_initial_tok_table() 495 table[pos] = table[i]; in build_initial_tok_table() 496 learn_symbol(table[pos].sym, table[pos].len); in build_initial_tok_table() 497 pos++; in build_initial_tok_table() 500 table_cnt = pos; in build_initial_tok_table()
|
D | checkpatch.pl | 2090 my $pos = 0; 2103 for ($pos = 0; $pos < $len; $pos++) { 2104 my $string = substr($line, $pos); 2106 $pos += length($1) - 1; 2107 } elsif (substr($line, $pos, 1) eq '(') { 2108 $last_openparen = $pos; 2942 my $pos = pos_last_openparen($rest); 2943 if ($pos >= 0) { 2948 "\t" x ($pos / 8) . 2949 " " x ($pos % 8); [all …]
|
D | analyze_suspend.py | 1699 pos = '%0.3f' % (100 - ((float(i)*tS*100)/mTotal)) 1701 htmlline = timescale.format(pos, val) 1705 pos = '%0.3f' % (100 - ((float(i)*tS*100)/mTotal) - divEdge) 1709 htmlline = timescale.format(pos, val)
|
/scripts/kconfig/ |
D | list.h | 48 #define list_for_each_entry(pos, head, member) \ argument 49 for (pos = list_entry((head)->next, typeof(*pos), member); \ 50 &pos->member != (head); \ 51 pos = list_entry(pos->member.next, typeof(*pos), member)) 60 #define list_for_each_entry_safe(pos, n, head, member) \ argument 61 for (pos = list_entry((head)->next, typeof(*pos), member), \ 62 n = list_entry(pos->member.next, typeof(*pos), member); \ 63 &pos->member != (head); \ 64 pos = n, n = list_entry(n->member.next, typeof(*n), member))
|
D | mconf.c | 323 struct subtitle_list *pos, *tmp; in set_subtitle() local 325 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle() 326 tmp = pos->next; in set_subtitle() 327 free(pos); in set_subtitle() 333 if (pos) { in set_subtitle() 334 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle() 335 pos = pos->next; in set_subtitle() 337 subtitles = pos = xcalloc(1, sizeof(*pos)); in set_subtitle() 339 pos->text = sp->text; in set_subtitle() 348 struct subtitle_list *pos, *tmp; in reset_subtitle() local [all …]
|
D | qconf.cc | 771 QPoint p = e->pos(); in mouseReleaseEvent() 832 QPoint p = e->pos(); // TODO: Check if this works(was contentsToViewport). in mouseDoubleClickEvent() 1226 QMenu* ConfigInfoView::createStandardContextMenu(const QPoint & pos) in createStandardContextMenu() argument 1228 QMenu* popup = Parent::createStandardContextMenu(pos); in createStandardContextMenu() 1303 configSettings->setValue("/window x", pos().x()); in saveSettings() 1304 configSettings->setValue("/window y", pos().y()); in saveSettings() 1766 configSettings->setValue("/window x", pos().x()); in saveSettings() 1767 configSettings->setValue("/window y", pos().y()); in saveSettings()
|
D | qconf.h | 263 QMenu *createStandardContextMenu(const QPoint & pos);
|
/scripts/gdb/linux/ |
D | dmesg.py | 43 pos = 0 44 while pos < log_buf.__len__(): 45 length = utils.read_u16(log_buf[pos + 8:pos + 10]) 50 pos = log_buf_2nd_half 53 text_len = utils.read_u16(log_buf[pos + 10:pos + 12]) 54 text = log_buf[pos + 16:pos + 16 + text_len].decode() 55 time_stamp = utils.read_u64(log_buf[pos:pos + 8]) 62 pos += length
|
/scripts/kconfig/lxdialog/ |
D | inputbox.c | 49 int show_x, len, pos; in dialog_inputbox() local 102 pos = len; in dialog_inputbox() 130 if (pos) { in dialog_inputbox() 137 if (pos < len) { in dialog_inputbox() 138 for (i = pos - 1; i < len; i++) { in dialog_inputbox() 143 pos--; in dialog_inputbox() 159 if (pos > 0) { in dialog_inputbox() 174 pos--; in dialog_inputbox() 178 if (pos < len) { in dialog_inputbox() 193 pos++; in dialog_inputbox() [all …]
|
D | util.c | 266 struct subtitle_list *pos; in dialog_clear() local 271 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 273 len += strlen(pos->text) + 3; in dialog_clear() 283 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 294 if (skip < strlen(pos->text)) { in dialog_clear() 295 waddstr(stdscr, pos->text + skip); in dialog_clear() 298 skip -= strlen(pos->text); in dialog_clear()
|
/scripts/mod/ |
D | modpost.c | 372 char *get_next_line(unsigned long *pos, void *file, unsigned long size) in get_next_line() argument 377 signed char *p = (signed char *)file + *pos; in get_next_line() 380 for (; *pos < size ; (*pos)++) { in get_next_line() 386 if (*p != '\n' && (*pos < size)) { in get_next_line() 2034 if (buf->size - buf->pos < len) { in buf_write() 2038 strncpy(buf->p + buf->pos, s, len); in buf_write() 2039 buf->pos += len; in buf_write() 2270 if (st.st_size != b->pos) in write_if_changed() 2273 tmp = NOFAIL(malloc(b->pos)); in write_if_changed() 2274 if (fread(tmp, 1, b->pos, file) != b->pos) in write_if_changed() [all …]
|
D | modpost.h | 101 int pos; member 188 char* get_next_line(unsigned long *pos, void *file, unsigned long size);
|
D | sumversion.c | 309 unsigned long flen, pos = 0; in parse_source_files() local 341 while ((line = get_next_line(&pos, file, flen)) != NULL) { in parse_source_files()
|
D | file2alias.c | 1407 buf_write(buf, mod->dev_table_buf.p, mod->dev_table_buf.pos); in add_moddevtable()
|