Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 37) 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.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 …]
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);
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.y528 tmp = rootmenu.prompt->text;
529 rootmenu.prompt->text = _(rootmenu.prompt->text);
530 rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);
658 print_quoted_string(out, prop->text); in print_symbol()
689 print_quoted_string(out, prop->text); in print_symbol()
719 print_quoted_string(out, prop->text); in zconfdump()
724 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.h148 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */ member
165 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.cc292 sym_set_string_value(item->menu->sym, text().toLatin1()); in keyPressEvent()
1081 head += print_filter(_(_menu->prompt->text)); in menuInfo()
1112 head += print_filter(_(_menu->prompt->text)); in menuInfo()
1147 debug += print_filter(_(prop->text)); in debug_info()
1215 QString* text = reinterpret_cast<QString*>(data); in expr_print_help() local
1219 *text += QString().sprintf("<a href=\"s%p\">", sym); in expr_print_help()
1220 *text += str2; in expr_print_help()
1221 *text += "</a>"; in expr_print_help()
1223 *text += str2; in expr_print_help()
1322 result = sym_re_search(editField->text().toLatin1()); in search()
[all …]
Dmenu.c173 prop->text = prompt; in menu_add_prop()
416 if (menu->list && (!menu->prompt || !menu->prompt->text)) { in menu_finalize()
511 return menu->prompt->text; in menu_get_prompt()
554 str_printf(r, _("Prompt: %s\n"), _(prop->text)); in get_prompt_str()
Dconf.c139 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
172 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
/scripts/
Drecordmcount.pl482 my $text;
530 $text = $2;
535 if (!defined($locals{$text}) && !defined($weak{$text})) {
536 $ref_func = $text;
541 if (!defined($ref_func) && !defined($weak{$text}) &&
544 $text !~ /^\.L/) {
545 $ref_func = $text;
Dcleanpatch161 $text = substr($line, 1);
162 $text =~ s/[ \t\r]*$//; # Remove trailing spaces
163 $text = clean_space_tabs($text);
165 $l_width = strwidth($text);
172 push(@hunk_lines, '+'.$text);
Dbootgraph.pl45 my $text = << "EOM";
55 print STDERR $text;
57 print $text;
Dkernel-doc2404 my $text = shift;
2406 return $text;
2408 $text =~ s/\&/\\\\\\amp;/g;
2409 $text =~ s/\</\\\\\\lt;/g;
2410 $text =~ s/\>/\\\\\\gt;/g;
2411 return $text;
2417 my $text = shift;
2419 return $text;
2421 $text =~ s/\\\\\\\\lt:/</g;
2422 $text =~ s/\\\\\\\\gt:/>/g;
[all …]
Dmakelst19 t1=`$3 --syms $1 | grep .text | grep -m1 " F "`
Dcheck_extable.sh12 white_list=.text,.fixup
/scripts/gdb/linux/
Ddmesg.py53 text = log_buf[pos + 16:pos + 16 + text_len]
56 for line in memoryview(text).tobytes().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.h105 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