/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 | 104 extern void srcpos_update(struct srcpos *pos, const char *text, int len); 105 extern struct srcpos *srcpos_copy(struct srcpos *pos); 106 extern char *srcpos_string(struct srcpos *pos); 107 extern void srcpos_dump(struct srcpos *pos); 109 extern void srcpos_verror(struct srcpos *pos, char const *, va_list va) 111 extern void srcpos_error(struct srcpos *pos, char const *, ...) 113 extern void srcpos_warn(struct srcpos *pos, char const *, ...)
|
/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 | 403 unsigned int i, pos; in build_initial_tok_table() local 405 pos = 0; in build_initial_tok_table() 408 if (pos != i) in build_initial_tok_table() 409 table[pos] = table[i]; in build_initial_tok_table() 410 learn_symbol(table[pos].sym, table[pos].len); in build_initial_tok_table() 411 pos++; in build_initial_tok_table() 414 table_cnt = pos; in build_initial_tok_table()
|
D | checkpatch.pl | 1335 my $pos = 0; 1348 for ($pos = 0; $pos < $len; $pos++) { 1349 my $string = substr($line, $pos); 1351 $pos += length($1) - 1; 1352 } elsif (substr($line, $pos, 1) eq '(') { 1353 $last_openparen = $pos; 1866 my $pos = pos_last_openparen($rest); 1867 if ($pos >= 0) { 1872 "\t" x ($pos / 8) . 1873 " " x ($pos % 8); [all …]
|
/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 | 324 struct subtitle_list *pos, *tmp; in set_subtitle() local 326 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle() 327 tmp = pos->next; in set_subtitle() 328 free(pos); in set_subtitle() 334 if (pos) { in set_subtitle() 335 pos->next = xcalloc(sizeof(*pos), 1); in set_subtitle() 336 pos = pos->next; in set_subtitle() 338 subtitles = pos = xcalloc(sizeof(*pos), 1); in set_subtitle() 340 pos->text = sp->text; in set_subtitle() 349 struct subtitle_list *pos, *tmp; in reset_subtitle() local [all …]
|
D | qconf.cc | 721 QPoint p(contentsToViewport(e->pos())); in contentsMouseReleaseEvent() 783 QPoint p(contentsToViewport(e->pos())); in contentsMouseDoubleClickEvent() 1165 Q3PopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos) in createPopupMenu() argument 1167 Q3PopupMenu* popup = Parent::createPopupMenu(pos); in createPopupMenu() 1237 configSettings->writeEntry("/window x", pos().x()); in saveSettings() 1238 configSettings->writeEntry("/window y", pos().y()); in saveSettings() 1690 configSettings->writeEntry("/window x", pos().x()); in saveSettings() 1691 configSettings->writeEntry("/window y", pos().y()); in saveSettings()
|
D | qconf.h | 273 Q3PopupMenu* createPopupMenu(const QPoint& pos);
|
/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 | 261 struct subtitle_list *pos; in dialog_clear() local 266 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 268 len += strlen(pos->text) + 3; in dialog_clear() 278 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 289 if (skip < strlen(pos->text)) { in dialog_clear() 290 waddstr(stdscr, pos->text + skip); in dialog_clear() 293 skip -= strlen(pos->text); in dialog_clear()
|
/scripts/mod/ |
D | modpost.c | 365 char *get_next_line(unsigned long *pos, void *file, unsigned long size) in get_next_line() argument 370 signed char *p = (signed char *)file + *pos; in get_next_line() 373 for (; *pos < size ; (*pos)++) { in get_next_line() 379 if (*p != '\n' && (*pos < size)) { in get_next_line() 1809 if (buf->size - buf->pos < len) { in buf_write() 1813 strncpy(buf->p + buf->pos, s, len); in buf_write() 1814 buf->pos += len; in buf_write() 2026 if (st.st_size != b->pos) in write_if_changed() 2029 tmp = NOFAIL(malloc(b->pos)); in write_if_changed() 2030 if (fread(tmp, 1, b->pos, file) != b->pos) in write_if_changed() [all …]
|
D | modpost.h | 95 int pos; member 182 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 | 1256 buf_write(buf, mod->dev_table_buf.p, mod->dev_table_buf.pos); in add_moddevtable()
|