Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 26) sorted by relevance

12

/libedit-20250104-3.1/examples/
Dfileman.c84 dupstr (char* s) in dupstr() argument
89 strcpy (r, s); in dupstr()
96 char *line, *s; in main() local
119 if (*s) { in main()
201 for (s = string; isspace (*s); s++) in stripwhite()
204 if (*s == 0) in stripwhite()
205 return (s); in stripwhite()
207 t = s + strlen (s) - 1; in stripwhite()
212 return s; in stripwhite()
439 char dir[1024], *s; in com_pwd() local
[all …]
Dfuzz1.c35 char *s = (char *)malloc(i - lasti + 1); in LLVMFuzzerTestOneInput() local
36 memcpy(s, &Data[lasti], i - lasti); in LLVMFuzzerTestOneInput()
37 s[i - lasti] = '\0'; in LLVMFuzzerTestOneInput()
43 fprintf(stderr, "Calling history_expand: >%s<\n", s); in LLVMFuzzerTestOneInput()
45 result = history_expand(s, &expansion); in LLVMFuzzerTestOneInput()
53 free(s); in LLVMFuzzerTestOneInput()
DMakefile.in629 %:: s.%
630 %:: SCCS/s.%
/libedit-20250104-3.1/
Dconfigure460 printf "%s\n" X/"$0" |
981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2233 char *s;
2238 return s;
4618 for s in GNU BSD; do
4626 case $s in #(
18332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18345 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18388 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18468 s/["\\]/\\&/g
[all …]
Daclocal.m4272 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
359 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
567 [# Compute $1's index in $config_headers.
646 for s in GNU BSD; do
647 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
650 [AS_CASE([$s],
654 _am_result="yes ($s style)"
847 # Instead, just use the default 2s on platforms that have 1s resolution,
1117 # is unlikely to handle the host's binaries.
1131 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
[all …]
Dltmain.sh2340 lo2o=s/\\.lo\$/.$objext/
2341 o2lo=s/\\.$objext\$/.lo/
3060 # in $build's $PATH.
6518 struct stat s;
6626 nonnull (const char *s)
6628 return s ? s : "(null)";
6634 return (s && !*s) ? "(empty)" : nonnull (s);
6779 const char *s;
6787 for (s = string; *s != '\0'; s++)
6789 char c = *s;
[all …]
DINSTALL41 1. `cd' to the directory containing the package's source code and type
63 for the package's developers. If you use it, you may have to get
102 By default, `make install' will install the package's files in
224 Look for the package's source code in directory DIR. Usually
DMakefile.in470 target=`echo $@ | sed s/-recursive//`; \
731 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
897 %:: s.%
898 %:: SCCS/s.%
Dconfig.guess666 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
1648 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1770 our_year=`echo $timestamp | sed 's,-.*,,'`
/libedit-20250104-3.1/src/
Dtty.c748 s[C_EOF] = td->c_cc[VEOF]; in tty__getchar()
751 s[C_EOL] = td->c_cc[VEOL]; in tty__getchar()
802 s[C_MIN] = td->c_cc[VMIN]; in tty__getchar()
830 td->c_cc[VEOF] = s[C_EOF]; in tty__setchar()
833 td->c_cc[VEOL] = s[C_EOL]; in tty__setchar()
884 td->c_cc[VMIN] = s[C_MIN]; in tty__setchar()
1159 const wchar_t *s, *d; in tty_stty() local
1243 switch (*s) { in tty_stty()
1246 x = (char)*s++; in tty_stty()
1252 d = s; in tty_stty()
[all …]
Dhistory.c70 #define Strlen(s) strlen(s) argument
71 #define Strdup(s) strdup(s) argument
72 #define Strcmp(d, s) strcmp(d, s) argument
73 #define Strncmp(d, s, n) strncmp(d, s, n) argument
74 #define Strncpy(d, s, n) strncpy(d, s, n) argument
76 #define ct_decode_string(s, b) (s) argument
77 #define ct_encode_string(s, b) (s) argument
88 #define Strlen(s) wcslen(s) argument
89 #define Strdup(s) wcsdup(s) argument
90 #define Strcmp(d, s) wcscmp(d, s) argument
[all …]
Dtokenizer.c77 #define Strchr(s, c) strchr(s, c) argument
78 #define tok_strdup(s) strdup(s) argument
84 #define Strchr(s, c) wcschr(s, c) argument
85 #define tok_strdup(s) wcsdup(s) argument
412 Char *s = tok_realloc(tok->wspace, in FUN() local
413 size * sizeof(*s)); in FUN()
414 if (s == NULL) in FUN()
417 if (s != tok->wspace) { in FUN()
421 (tok->argv[i] - tok->wspace) + s; in FUN()
425 tok->wspace = s; in FUN()
[all …]
Dchartype.c99 if (!s) in ct_encode_string()
111 if (!*s) in ct_encode_string()
113 used = ct_encode_char(dst, (size_t)5, *s); in ct_encode_string()
116 ++s; in ct_encode_string()
124 ct_decode_string(const char *s, ct_buffer_t *conv) in ct_decode_string() argument
128 if (!s) in ct_decode_string()
131 len = mbstowcs(NULL, s, (size_t)0); in ct_decode_string()
139 mbstowcs(conv->wbuff, s, conv->wsize); in ct_decode_string()
221 if (!s) in ct_visual_string()
229 while (*s) { in ct_visual_string()
[all …]
Dstrlcat.c49 const char *s = src; in __weak_alias() local
63 return(dlen + strlen(s)); in __weak_alias()
64 while (*s != '\0') { in __weak_alias()
66 *d++ = *s; in __weak_alias()
69 s++; in __weak_alias()
73 return(dlen + (s - src)); /* count does not include NUL */ in __weak_alias()
Dstrlcpy.c46 const char *s = src; in __weak_alias() local
55 if ((*d++ = *s++) == 0) in __weak_alias()
64 while (*s++) in __weak_alias()
68 return(s - src - 1); /* count does not include NUL */ in __weak_alias()
Dfilecomplete.c203 const char *s; in escape_filename() local
233 for (s = filename; *s; s++, original_len++) { in escape_filename()
234 c = *s; in escape_filename()
259 for (s = filename; *s; s++) { in escape_filename()
260 c = *s; in escape_filename()
Dchared.c596 el_winsertstr(EditLine *el, const wchar_t *s) in el_winsertstr() argument
600 if (s == NULL || (len = wcslen(s)) == 0) in el_winsertstr()
608 while (*s) in el_winsertstr()
609 *el->el_line.cursor++ = *s++; in el_winsertstr()
670 el_wreplacestr(EditLine *el, const wchar_t *s) in el_wreplacestr() argument
675 if (s == NULL || (len = wcslen(s)) == 0) in el_wreplacestr()
685 *p++ = *s++; in el_wreplacestr()
Dvis.c357 const wchar_t *s; in makeextralist() local
375 for (s = char_glob; *s; *d++ = *s++) in makeextralist()
379 for (s = char_shell; *s; *d++ = *s++) in makeextralist()
Dreadline.c532 const char *s; in _rl_compat_sub() local
541 s = str; in _rl_compat_sub()
542 while (*s) { in _rl_compat_sub()
543 if (*s == *what && !strncmp(s, what, what_len)) { in _rl_compat_sub()
547 s += what_len; in _rl_compat_sub()
549 s++; in _rl_compat_sub()
554 s = str; in _rl_compat_sub()
555 while (*s) { in _rl_compat_sub()
556 if (*s == *what && !strncmp(s, what, what_len)) { in _rl_compat_sub()
559 s += what_len; in _rl_compat_sub()
[all …]
Drefresh.c399 wchar_t *d, int dat, int dlen, wchar_t *s, int num) in re_insert() argument
411 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert()
426 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert()
431 *a++ = *s++; in re_insert()
438 num, dat, dlen, d, s)); in re_insert()
439 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", s)); in re_insert()
DMakefile.in866 %:: s.%
867 %:: SCCS/s.%
/libedit-20250104-3.1/m4/
Dlibtool.m4121 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
279 no_glob_subst='s/\*/\\\*/g'
1236 ECHO='printf %s\n'
2315 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2651 …spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -…
2956 …s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $S…
4163 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4164 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5200 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
7620 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
[all …]
Dltoptions.m4117 put the 'dlopen' option into LT_INIT's first parameter.])
126 # Declare package support for building win32 dll's.
153 put the 'win32-dll' option into LT_INIT's first parameter.])
309 the 'fast-install' option into LT_INIT's first parameter.])
316 the 'disable-fast-install' option into LT_INIT's first parameter.])
445 put the 'pic-only' option into LT_INIT's first parameter.])
Dlt~obsolete.m425 # So we provide this file, which has a silly filename so it's always
/libedit-20250104-3.1/doc/
DMakefile.in655 %:: s.%
656 %:: SCCS/s.%

12