Searched refs:replace (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libast/path/
H A Dpathrepl.c27 * in place replace of first occurrence of /match/ with /replace/ in path
36 pathrepl(char* path, const char* match, const char* replace) argument
38 return pathrepl_20100601(path, PATH_MAX, match, replace);
46 pathrepl_20100601(register char* path, size_t size, const char* match, register const char* replace) argument
54 if (!replace)
55 replace = "";
56 if (streq(match, replace))
73 r = replace;
/ast/src/cmd/at/
H A Dcrontab.sh32 replace=
146 1) replace=$1; shift ;;
149 '') op=replace ;;
150 *) case $replace in
185 replace)trap "rm -f '$temp'" 0 1 2 3 15
186 case $replace in
189 *) cat "$replace" > "$temp" ;;
231 case $replace in
/ast/src/cmd/ksh93/bltins/
H A Dhist.c52 char *replace = 0; /* replace old=new */ local
109 flag = hist_expand(arg,&replace);
111 sfputr(sfstdout, replace, '\n');
114 if(replace)
115 free(replace);
125 if(!replace && strchr(arg+1,'='))
127 replace = arg;
262 if(replace)
263 hist_subst(error_info.id,fdo,replace);
290 hist_subst(const char *command,int fd,char *replace) argument
[all...]
/ast/src/lib/libtk/generic/
H A DtkFont.c672 char replace[10];
733 replace[0] = '\\';
734 replace[1] = mapChars[c];
735 XDrawString(display, drawable, gc, startX, y, replace, 2);
736 curX += fontPtr->widths[replace[0]]
737 + fontPtr->widths[replace[1]];
739 replace[0] = '\\';
740 replace[1] = 'x';
741 replace[2] = hexChars[(c >> 4) & 0xf];
742 replace[
665 char replace[10]; local
[all...]
/ast/src/lib/libtk/library/demos/
H A Dtext.tcl47 5. Delete and replace. To delete text, select the characters you'd like
49 text, in which case it will replace the selected text.
/ast/src/cmd/proto/
H A Dproto.c42 " written to the standard output unless the \b--replace\b option is"
73 " \bproto --inverse --replace *.c\b to convert the function prototypes"
133 "[r:replace?Process the input files in place; original information is"
255 replace(const char* newfile, const char* oldfile, int preserve) function
389 if (replace(b, file, !(flags & PROTO_CLASSIC)))
/ast/src/cmd/ie/
H A Dhistory.c944 void hist_subst(command,fd,replace)
947 char *replace;
949 register char *new=replace;
963 if((sp=sh_substitute(string,replace,new))==0)
H A Dvi.c173 #define REPLACE -40 /* replace chars */
205 static void replace();
457 /* so replace ^V with it */
647 * REPLACE, replace char if possible
1499 replace(c, 1);
1935 replace(c, increment) function
1943 /*** can't replace invalid cursor ***/
2463 case 'r': /** replace **/
2472 replace(c, trepeat!=0);
2536 replace(
[all...]
/ast/src/cmd/ksh93/edit/
H A Dvi.c177 #define REPLACE -40 /* replace chars */
194 static void replace(Vi_t*,int, int);
435 /* so replace ^V with it */
634 * REPLACE, replace char if possible
1570 replace(vp,c, 1);
2069 static void replace(register Vi_t *vp, register int c, register int increment) function
2075 /*** can't replace invalid cursor ***/
2633 case 'r': /** replace **/
2642 replace(vp,c, trepeat!=0);
2706 replace(v
[all...]
/ast/src/cmd/re/
H A Ded.c533 replace(register Line_t* a1, char* s) function
1385 replace(a1, s);
1419 replace(a1, s);
/ast/src/cmd/nmake/
H A Dscan.c1283 int replace; member in struct:__anon176
1504 arg[c].replace = *(b + arg[c].end);
1546 p = scanmatch(p, &ss->action[*s], r, (char*)b, a, iflev, c == 'T' ? -1 : a != null && a > (char*)b && (c = *(a - 1)) != '"' && c != '\'' && (c != '<' || arg[0].replace != '>'));
1548 *(b + arg[c].end) = arg[c].replace;
H A DMakerules.mk47 set option=';instrument;s;-;Enable compile-time, link-time and/or run-time code instrumentation. Instrumentation interfaces that replace the compiler command, and the \bapp\b, \binsight\b, \bpurecov\b, \bpurify\b, \bquantify\b and \bsentinel\b special-need interfaces, are supported.;command'
/ast/src/cmd/INIT/
H A Dproto.c172 replace __PARAM__((const char* newfile, const char* oldfile, int preserve), (newfile, oldfile, preserve)) __OTORP__(const char* newfile; const char* oldfile; int preserve;){
4954 if (replace(b, file, !(flags & (1<<0))))

Completed in 84 milliseconds