Searched refs:savestring (Results 1 - 25 of 112) sorted by relevance

12345

/haiku-fatelf/src/bin/bash/lib/readline/
H A Dsavestring.c0 /* savestring.c - function version of savestring for backwards compatibility */
30 /* Backwards compatibility, now that savestring has been removed from
33 savestring (s) function
H A Dhistlib.h37 #ifndef savestring
38 #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) macro
H A Drldefs.h118 #ifndef savestring
119 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x)) macro
H A Dtilde.c67 #if !defined (savestring)
68 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x)) macro
69 #endif /* !savestring */
302 r = savestring (fname);
354 return (savestring (filename));
410 dirname = savestring (filename);
H A Dhistory.c220 temp->line = string ? savestring (string) : string;
255 ret = savestring (ts);
325 hs->timestamp = savestring (string);
357 ts = hist->timestamp ? savestring (hist->timestamp) : hist->timestamp;
382 temp->line = savestring (line);
384 temp->timestamp = savestring (old_value->timestamp);
H A Dmacro.c215 _rl_with_macro_input (savestring (current_macro));
262 _rl_with_macro_input (savestring (current_macro));
/haiku-fatelf/src/bin/gdb/readline/
H A Dsavestring.c0 /* savestring.c */
29 /* Backwards compatibility, now that savestring has been removed from
32 savestring (s) function
H A Dhistlib.h37 #ifndef savestring
38 #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) macro
H A Drldefs.h112 #ifndef savestring
113 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x)) macro
H A Dmacro.c206 _rl_with_macro_input (savestring (current_macro));
253 _rl_with_macro_input (savestring (current_macro));
H A Dtilde.c61 #if !defined (savestring)
62 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x)) macro
63 #endif /* !savestring */
315 return (savestring (filename));
368 dirname = savestring (filename);
/haiku-fatelf/src/bin/bash/lib/sh/
H A Ditos.c50 return (savestring (p));
71 return (savestring (p));
H A Dpathphys.c88 return (savestring (path));
97 workpath = savestring (path);
276 tdir = savestring (pathname);
H A Dgetenv.c63 last_tempenv_value = value_cell (var) ? savestring (value_cell (var)) : (char *)NULL;
124 name = savestring (str);
H A Dmakepath.c86 xpath = savestring (ret);
H A Dstringvec.c139 ret[i] = savestring (array[i]);
193 array[count] = alloc ? savestring (list->word->word) : list->word->word;
/haiku-fatelf/src/bin/bash/
H A Dhashcmd.c110 item->key = savestring (filename);
113 pathdata(item)->path = savestring (full_path);
158 dotted_filename = savestring (tail);
191 return same ? (char *)NULL : savestring (path);
195 return (savestring (path));
H A Dlocale.c73 default_locale = savestring (default_locale);
128 default_domain = savestring (val);
139 default_dir = savestring (val);
159 default_domain = value ? savestring (value) : (char *)NULL;
169 default_dir = value ? savestring (value) : (char *)NULL;
181 lc_all = savestring (value);
264 lang = savestring (value);
H A Dbashline.c281 rl_completer_word_break_characters = perform_hostname_completion ? savestring (bash_completer_word_break_characters) : savestring (bash_nohostname_word_break_characters);
319 rl_completer_word_break_characters = savestring (bash_completer_word_break_characters);
321 rl_completer_word_break_characters = savestring (bash_nohostname_word_break_characters);
593 push_to_readline = savestring (line);
671 hostname_list[hostname_list_length++] = savestring (name);
889 command = savestring (edit_command);
954 macro = savestring (alias_value);
1535 directory_part = savestring (hint_text);
1546 hint = savestring (hint_tex
[all...]
H A Dfindcmd.c224 return (savestring (name));
271 path = savestring (".");
323 command = savestring (pathname);
441 return (savestring (name));
499 file_to_lose_on = savestring (full_path);
548 return (savestring (name)); /* XXX */
H A Dalias.c124 temp->value = savestring (value);
133 temp->name = savestring (name);
134 temp->value = savestring (value);
141 elt = hash_insert (savestring (name), aliases, HASH_NOSRCH);
276 return (r ? savestring (r->value) : (char *)NULL);
H A Dshell.c1302 return (parse_and_execute (savestring (command), "-c", SEVAL_NOHIST));
1323 shell_name = savestring (args->word->word);
1325 dollar_vars[0] = savestring (args->word->word);
1378 filename = savestring (script_name);
1405 dollar_vars[0] = savestring (script_name);
1582 dollar_vars[0] = savestring (shell_name);
1630 current_user.user_name = savestring (entry->pw_name);
1632 ? savestring (entry->pw_shell)
1633 : savestring ("/bin/sh");
1634 current_user.home_dir = savestring (entr
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Ddemangle.c122 savestring (dem->demangling_style_name,
133 savestring (
151 current_demangling_style_string = savestring (style, strlen (style));
H A Devent-top.c40 #undef savestring macro
360 within savestring for the new prompt. */
365 PREFIX (0) = savestring (prefix, strlen (prefix));
371 PROMPT (0) = savestring (prompt, strlen (prompt));
373 PROMPT (0) = savestring (PROMPT (-1), strlen (PROMPT (-1)));
375 SUFFIX (0) = savestring (suffix, strlen (suffix));
392 PROMPT (-1) = savestring (PROMPT (0), strlen (PROMPT (0)));
686 readline_input_state.linebuffer = savestring (linebuffer,
1100 PROMPT (0) = savestring (new_async_prompt, strlen (new_async_prompt));
/haiku-fatelf/src/bin/bash/lib/tilde/
H A Dtilde.c67 #if !defined (savestring)
68 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x)) macro
69 #endif /* !savestring */
302 r = savestring (fname);
354 return (savestring (filename));
410 dirname = savestring (filename);

Completed in 100 milliseconds

12345