Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 36) sorted by relevance

12

/scripts/kconfig/
Dzconf.l26 static char *text; variable
43 text = xmalloc(START_STRSIZE); in new_string()
46 *text = 0; in new_string()
55 text = realloc(text, new_size); in append_string()
58 memcpy(text + text_size, str, size); in append_string()
60 text[text_size] = 0; in append_string()
65 text = xmalloc(size + 1); in alloc_string()
66 memcpy(text, str, size); in alloc_string()
67 text[size] = 0; in alloc_string()
113 zconflval.string = text;
[all …]
Dkxgettext.c12 static char *escape(const char* text, char *bf, int len) in escape() argument
15 int multiline = strchr(text, '\n') != NULL; in escape()
17 int textlen = strlen(text); in escape()
19 if ((textlen > 0) && (text[textlen-1] == '\n')) in escape()
32 while (*text != '\0' && len > 1) { in escape()
33 if (*text == '"') in escape()
35 else if (*text == '\n') { in escape()
42 ++text; in escape()
45 else if (*text == '\\') { in escape()
49 *bfp++ = *text++; in escape()
Dnconf.h86 int get_line_no(const char *text);
87 const char *get_line(const char *text, int line_no);
88 void fill_window(WINDOW *win, const char *text);
96 const char *text);
Dnconf.gui.c175 int get_line_no(const char *text) in get_line_no() argument
180 if (!text) in get_line_no()
183 for (i = 0; text[i] != '\0'; i++) in get_line_no()
184 if (text[i] == '\n') in get_line_no()
189 const char *get_line(const char *text, int line_no) in get_line() argument
194 if (!text) in get_line()
197 for (i = 0; text[i] != '\0' && lines < line_no; i++) in get_line()
198 if (text[i] == '\n') in get_line()
200 return text+i; in get_line()
214 void fill_window(WINDOW *win, const char *text) in fill_window() argument
[all …]
Dmconf.c289 static int show_textbox_ext(const char *title, char *text, int r, int c,
292 static void show_textbox(const char *title, const char *text, int r, int c);
293 static void show_helptext(const char *title, const char *text);
303 "%s - %s", config_filename, rootmenu.prompt->text); in set_config_filename()
315 const char *text; member
332 if (sp->text) { in set_subtitle()
339 pos->text = sp->text; in set_subtitle()
429 stpart.text = str_get(&sttext); in search_conf()
655 stpart.text = menu_get_prompt(menu); in conf()
657 stpart.text = NULL; in conf()
[all …]
Dlkc.h34 #define _(text) gettext(text) argument
35 #define N_(text) (text) argument
Dzconf.y535 tmp = rootmenu.prompt->text;
536 rootmenu.prompt->text = _(rootmenu.prompt->text);
537 rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);
665 print_quoted_string(out, prop->text); in print_symbol()
701 print_quoted_string(out, prop->text); in print_symbol()
731 print_quoted_string(out, prop->text); in zconfdump()
736 print_quoted_string(out, prop->text); in zconfdump()
Dqconf.h168 void setText(colIdx idx, const QString& text) in setText() argument
170 Parent::setText(idx, text); in setText()
172 QString text(colIdx idx) const in text() function
174 return Parent::text(idx); in text()
Dexpr.h150 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */ member
167 if (st->text)
Dzconf.lex.c_shipped264 /* When an EOF's been seen but there's still some text to process
813 static char *text;
830 text = xmalloc(START_STRSIZE);
833 *text = 0;
842 text = realloc(text, new_size);
845 memcpy(text + text_size, str, size);
847 text[text_size] = 0;
852 text = xmalloc(size + 1);
853 memcpy(text, str, size);
854 text[size] = 0;
[all …]
Dqconf.cc300 sym_set_string_value(item->menu->sym, text().toLatin1()); in keyPressEvent()
1089 head += print_filter(_(_menu->prompt->text)); in menuInfo()
1120 head += print_filter(_(_menu->prompt->text)); in menuInfo()
1155 debug += print_filter(_(prop->text)); in debug_info()
1223 QString* text = reinterpret_cast<QString*>(data); in expr_print_help() local
1227 *text += QString().sprintf("<a href=\"s%p\">", sym); in expr_print_help()
1228 *text += str2; in expr_print_help()
1229 *text += "</a>"; in expr_print_help()
1231 *text += str2; in expr_print_help()
1330 result = sym_re_search(editField->text().toLatin1()); in search()
[all …]
Dmenu.c173 prop->text = prompt; in menu_add_prop()
424 if (menu->list && (!menu->prompt || !menu->prompt->text)) { in menu_finalize()
519 return menu->prompt->text; in menu_get_prompt()
562 str_printf(r, _("Prompt: %s\n"), _(prop->text)); in get_prompt_str()
Dconf.c140 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
173 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
/scripts/
Drecordmcount.pl477 my $text;
517 $text = $2;
522 if (!defined($locals{$text}) && !defined($weak{$text})) {
523 $ref_func = $text;
528 if (!defined($ref_func) && !defined($weak{$text}) &&
531 $text !~ /^\.L/) {
532 $ref_func = $text;
Dcleanpatch163 $text = substr($line, 1);
164 $text =~ s/[ \t\r]*$//; # Remove trailing spaces
165 $text = clean_space_tabs($text);
167 $l_width = strwidth($text);
174 push(@hunk_lines, '+'.$text);
Dbootgraph.pl45 my $text = << "EOM";
55 print STDERR $text;
57 print $text;
Dkernel-doc2795 my $text = shift;
2797 return $text;
2799 $text =~ s/\&/\\\\\\amp;/g;
2800 $text =~ s/\</\\\\\\lt;/g;
2801 $text =~ s/\>/\\\\\\gt;/g;
2802 return $text;
2807 my $text = shift;
2809 return $text;
2811 $text =~ s/\\\\\\amp;/\&/g;
2812 $text =~ s/\\\\\\lt;/</g;
[all …]
Dmakelst20 t1=`$3 --syms $1 | grep .text | grep -m1 " F "`
Dcheck_extable.sh13 white_list=.text,.fixup
/scripts/gdb/linux/
Ddmesg.py56 text = log_buf[pos + 16:pos + 16 + text_len].decode(
60 for line in text.splitlines():
/scripts/dtc/
Dsrcpos.c214 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument
224 if (text[i] == '\n') { in srcpos_update()
227 } else if (text[i] == '\t') { in srcpos_update()
Dsrcpos.h106 extern void srcpos_update(struct srcpos *pos, const char *text, int len);
/scripts/kconfig/lxdialog/
Dutil.c273 len += strlen(pos->text) + 3; 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()
Ddialog.h111 const char *text; member
/scripts/coccinelle/free/
Ddevm_free.cocci11 /// Here this is done using the specific argument text, which is prone to

12