Searched defs:replace (Results 1 - 8 of 8) 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/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/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/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;
/ast/src/cmd/ie/
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);

Completed in 26 milliseconds