/scripts/dtc/ |
D | srcpos.c | 232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument 236 pos->file = current_srcfile; in srcpos_update() 238 pos->first_line = current_srcfile->lineno; in srcpos_update() 239 pos->first_column = current_srcfile->colno; in srcpos_update() 249 pos->last_line = current_srcfile->lineno; in srcpos_update() 250 pos->last_column = current_srcfile->colno; in srcpos_update() 254 srcpos_copy(struct srcpos *pos) in srcpos_copy() argument 259 if (!pos) in srcpos_copy() 263 assert(pos->next == NULL); in srcpos_copy() 264 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy() [all …]
|
D | srcpos.h | 87 extern void srcpos_update(struct srcpos *pos, const char *text, int len); 88 extern struct srcpos *srcpos_copy(struct srcpos *pos); 91 extern char *srcpos_string(struct srcpos *pos); 92 extern char *srcpos_string_first(struct srcpos *pos, int level); 93 extern char *srcpos_string_last(struct srcpos *pos, int level); 96 extern void PRINTF(3, 0) srcpos_verror(struct srcpos *pos, const char *prefix, 98 extern void PRINTF(3, 4) srcpos_error(struct srcpos *pos, const char *prefix,
|
D | checks.c | 68 struct srcpos *pos = NULL; in check_msg() local 75 pos = prop->srcpos; in check_msg() 77 pos = node->srcpos; in check_msg() 79 if (pos) { in check_msg() 80 file_str = srcpos_string(pos); in check_msg() 105 if (!prop && pos) { in check_msg() 106 pos = node->srcpos; in check_msg() 107 while (pos->next) { in check_msg() 108 pos = pos->next; in check_msg() 110 file_str = srcpos_string(pos); in check_msg()
|
D | dt_to_config | 309 my $pos = shift; 311 substr $$pr_flags_ref, $pos, 1, $pr_flag_value[$pos];
|
D | treesource.c | 264 size_t pos = m->offset + chunk_len; in write_propval() local 265 fprintf(f, pos == len ? "%s" : "%s,", in write_propval()
|
/scripts/ |
D | cleanfile | 23 my $pos = 0; 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos; 37 $pos += $nsp; 40 $pos = 0; 45 $pos += $nsp; 48 $pos++; 61 my $pos = 0; 67 $pos = ($pos+8) & ~7; [all …]
|
D | cleanpatch | 23 my $pos = 0; 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos; 37 $pos += $nsp; 40 $pos = 0; 45 $pos += $nsp; 48 $pos++; 61 my $pos = 0; 67 $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 | 483 unsigned int i, pos; in build_initial_tok_table() local 485 pos = 0; in build_initial_tok_table() 488 if (pos != i) in build_initial_tok_table() 489 table[pos] = table[i]; in build_initial_tok_table() 490 learn_symbol(table[pos].sym, table[pos].len); in build_initial_tok_table() 491 pos++; in build_initial_tok_table() 496 table_cnt = pos; in build_initial_tok_table()
|
D | checkpatch.pl | 2244 my $pos = 0; 2257 for ($pos = 0; $pos < $len; $pos++) { 2258 my $string = substr($line, $pos); 2260 $pos += length($1) - 1; 2261 } elsif (substr($line, $pos, 1) eq '(') { 2262 $last_openparen = $pos; 3246 my $pos = pos_last_openparen($rest); 3247 if ($pos >= 0) { 3252 "\t" x ($pos / 8) . 3253 " " x ($pos % 8); [all …]
|
/scripts/kconfig/ |
D | list.h | 49 #define list_for_each_entry(pos, head, member) \ argument 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 51 &pos->member != (head); \ 52 pos = list_entry(pos->member.next, typeof(*pos), member)) 61 #define list_for_each_entry_safe(pos, n, head, member) \ argument 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 64 &pos->member != (head); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
|
D | mconf.c | 322 struct subtitle_list *pos, *tmp; in set_subtitle() local 324 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle() 325 tmp = pos->next; in set_subtitle() 326 free(pos); in set_subtitle() 332 if (pos) { in set_subtitle() 333 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle() 334 pos = pos->next; in set_subtitle() 336 subtitles = pos = xcalloc(1, sizeof(*pos)); in set_subtitle() 338 pos->text = sp->text; in set_subtitle() 347 struct subtitle_list *pos, *tmp; in reset_subtitle() local [all …]
|
D | qconf.cc | 770 QPoint p = e->pos(); in mouseReleaseEvent() 831 QPoint p = e->pos(); // TODO: Check if this works(was contentsToViewport). in mouseDoubleClickEvent() 1224 QMenu* ConfigInfoView::createStandardContextMenu(const QPoint & pos) in createStandardContextMenu() argument 1226 QMenu* popup = Parent::createStandardContextMenu(pos); in createStandardContextMenu() 1301 configSettings->setValue("/window x", pos().x()); in saveSettings() 1302 configSettings->setValue("/window y", pos().y()); in saveSettings() 1795 configSettings->setValue("/window x", pos().x()); in saveSettings() 1796 configSettings->setValue("/window y", pos().y()); in saveSettings()
|
D | qconf.h | 263 QMenu *createStandardContextMenu(const QPoint & pos);
|
/scripts/gdb/linux/ |
D | dmesg.py | 52 pos = 0 53 while pos < log_buf.__len__(): 54 length = utils.read_u16(log_buf, pos + length_offset) 59 pos = log_buf_2nd_half 62 text_len = utils.read_u16(log_buf, pos + text_len_offset) 63 text_start = pos + text_offset 66 time_stamp = utils.read_u64(log_buf, pos + time_stamp_offset) 78 pos += length
|
/scripts/kconfig/lxdialog/ |
D | inputbox.c | 36 int show_x, len, pos; in dialog_inputbox() local 89 pos = len; in dialog_inputbox() 118 if (pos) { in dialog_inputbox() 125 if (pos < len) { in dialog_inputbox() 126 for (i = pos - 1; i < len; i++) { in dialog_inputbox() 131 pos--; in dialog_inputbox() 147 if (pos > 0) { in dialog_inputbox() 162 pos--; in dialog_inputbox() 166 if (pos < len) { in dialog_inputbox() 181 pos++; in dialog_inputbox() [all …]
|
D | util.c | 253 struct subtitle_list *pos; in dialog_clear() local 258 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 260 len += strlen(pos->text) + 3; in dialog_clear() 270 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() 281 if (skip < strlen(pos->text)) { in dialog_clear() 282 waddstr(stdscr, pos->text + skip); in dialog_clear() 285 skip -= strlen(pos->text); in dialog_clear()
|
/scripts/mod/ |
D | modpost.h | 102 int pos; member 199 char* get_next_line(unsigned long *pos, void *file, unsigned long size);
|
D | modpost.c | 449 char *get_next_line(unsigned long *pos, void *file, unsigned long size) in get_next_line() argument 454 signed char *p = (signed char *)file + *pos; in get_next_line() 457 for (; *pos < size ; (*pos)++) { in get_next_line() 463 if (*p != '\n' && (*pos < size)) { in get_next_line() 2151 if (buf->size - buf->pos < len) { in buf_write() 2155 strncpy(buf->p + buf->pos, s, len); in buf_write() 2156 buf->pos += len; in buf_write() 2412 if (st.st_size != b->pos) in write_if_changed() 2415 tmp = NOFAIL(malloc(b->pos)); in write_if_changed() 2416 if (fread(tmp, 1, b->pos, file) != b->pos) in write_if_changed() [all …]
|
D | sumversion.c | 309 unsigned long flen, pos = 0; in parse_source_files() local 334 while ((line = get_next_line(&pos, file, flen)) != NULL) { in parse_source_files()
|
D | file2alias.c | 1484 buf_write(buf, mod->dev_table_buf.p, mod->dev_table_buf.pos); in add_moddevtable()
|