/ast/src/cmd/vczip/tests/ |
H A D | tvcdelta.c | 25 char *src, *tar, *del, *t; local 30 src = "the big cat and the little cats jump around the big sleeping dog"; 33 VCDISC(&disc, src, strlen(src), 0);
|
/ast/src/lib/libcmd/ |
H A D | Makefile | 38 src = $(*$(*$(*cmd)):N=*.c:T=F) macro 40 cmdext.h : (src) $$(-mam:+$$(src)) 64 cmdlist.h : (src) $$(-mam:+$$(src))
|
/ast/src/lib/libodelta/ |
H A D | mtchstring.c | 25 ** Find the longest prefix of tar that match some substring of src 43 /* initial assumptions: src[0] == tar[0] && src+n_match <= endsrc */ 44 static long domatch(char* src, char* endsrc, char* tar, char* endtar, long n_match) argument 49 for(sp = src+n_match, tp = tar+n_match; sp > src; --sp, --tp) 54 if(sp == src) 56 sp = src+n_match+1; 66 long mtchstring(char* src, long n_src, char* tar, long n_tar, char** match) argument 78 if(src ! [all...] |
H A D | suftree.c | 119 Suftree *bldsuftree(Element* src, long len) argument 154 endsrc = src+len; 157 for(; src < endsrc; ++src) 238 sp = src + mtlen; 298 SUFFIX(list) = src;
|
H A D | update.c | 136 unsigned char *src, *tar; local 153 if(src = (unsigned char*)malloc(n_src)) /* assignment = */ 156 if(read(srcfd,(char*)src,n_src) != n_src) 178 if(src) 179 free(src); 186 if(src) 188 if(memtransfer(src+addr,size) < 0)
|
H A D | delta.c | 25 ** Compute delta commands to transform the source string 'src' 299 delta(char* src, long n_src, char* tar, long n_tar, int delfd) argument 318 Bsrc = src; 320 esrc = src + n_src - 1; 328 if(!(tree = n_tar > 0 ? bldsuftree(src,n_src) : (Suftree*)0)) 331 for(; src <= esrc && tar <= etar; ++src, ++tar) 332 if(*src != *tar) 334 if((size = src-Bsrc) > 0) 345 n_src -= src [all...] |
/ast/src/lib/libcodex/ |
H A D | code-iconv.c | 80 const char* src; local 84 dst = (src = args[2]) ? args[3] : 0; 87 if (!src) 96 if (!src) 104 dst = src; 105 src = 0; 108 if ((cvt = iconv_open(dst, src)) == (iconv_t)(-1)) 112 if ((cvt = iconv_open("utf-8", src)) == (iconv_t)(-1)) 114 (*p->disc->errorf)(NiL, p->disc, 2, "%s: %s: unknown source codeset", p->meth->name, src); 124 (*p->disc->errorf)(NiL, p->disc, 2, "%s: cannot convert from %s to %s", p->meth->name, src, ds [all...] |
/ast/src/lib/libvdelta/vd01/ |
H A D | vdupdate01.c | 38 uchar* src; /* source string */ member in struct:_table_s 60 reg uchar *tar, *src, *to, *fr; local 67 src = tab->src; 156 if(src) 158 fr = src+copy; 267 reg uchar *tar, *src; local 317 tab.tar = tab.src = NIL(uchar*); 332 if(n > 0 && (tab.src = (uchar*)malloc(n*sizeof(uchar))) ) 336 src [all...] |
H A D | vddelta01.c | 45 uchar* src; /* source string */ member in struct:_table_s 171 reg uchar *src = tab->src, *tar = tab->tar; local 177 endfold = (s = src) + tab->n_src; 212 sm = src + n; 231 if((m-base) < n_src && (n = (src+n_src)-sm) < (ends-s) ) 264 curm = base + (ss-src); 339 tab.tar = tab.src = NIL(uchar*); 370 if(size > 0 && !(tab.src = (uchar*)malloc(size*sizeof(uchar))) ) 399 if(tab.src) [all...] |
/ast/src/lib/libvdelta/ |
H A D | vdupdate.c | 40 uchar* src; /* source string */ member in struct:_utable_s 62 reg uchar *tar, *src, *to, *fr; local 69 src = tab->src; 158 if(src) 160 fr = src+copy; 269 reg uchar *tar, *src; local 329 tab.tar = tab.src = NIL(uchar*); 348 if(n > 0 && (tab.src = (uchar*)malloc(n*sizeof(uchar))) ) 352 src [all...] |
H A D | vddelta.c | 41 uchar* src; /* source string */ member in struct:_table_s 164 reg uchar *src = tab->src, *tar = tab->tar; local 174 else curm = (fold - tab->src); 196 sm = src + n; 217 if(m < n_src && (n = (src+n_src)-sm) < (ends-fold) ) 250 else curm = (ss-src); 309 reg uchar *tar, *src, *endsrc, *endtar, *endt; local 313 src = tab->src; [all...] |
/ast/src/cmd/builtin/ |
H A D | tr.c | 114 int src; member in struct:__anon47 248 * tr->src chars total 260 tr->count = tr->src - peek.dst; 296 * return a tr handle for <src,dst> 300 tropen(unsigned char* src, unsigned char* dst, int flags) argument 331 if (src) 333 setchar(tr, src, 0); 338 error(-1, "src %d '%c'", n, c); 345 tr->src = n; 351 tr->src [all...] |
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_agent.c | 749 char *src, *dst; local 752 src = argv[1]; 754 CopyFile( src, dst );
|
/ast/src/lib/libtksh/src/ |
H A D | list.c | 21 EXTERN int Tcl_TclConvertElement _ANSI_ARGS_((char *src, 132 int Tcl_ScanElement(char *src, int *flagsPtr) argument 136 return Tcl_TclScanElement(src, flagsPtr); 138 return strlen(sh_fmtq(src)); 142 int Tcl_ConvertElement(char *src, char *dst, int flags) argument 149 return Tcl_TclConvertElement(src, dst, flags); 151 str = sh_fmtq(src);
|
H A D | tcleval.c | 122 register char *src; /* Points to current character local 173 src = cmd; 181 termPtr = src; 182 cmdStart = src; 204 while (*src != termChar) { 213 register char c = *src; 218 src += 1; 220 if (*src == '#') { 221 for (src++; *src ! [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclParse.c | 162 * in place of the backslash sequence that starts at src. If 173 Tcl_Backslash(src, readPtr) 174 char *src; /* Points to the backslash character of 177 * from src, unless NULL. */ 179 register char *p = src+1; 220 count = end - src; 231 count = p - src; 311 register char *src, *dst, c; 313 src = string; 327 c = *src; 309 register char *src, *dst, c; local 492 register char *src, *dst, *end; local 623 register char *src, *dst; local [all...] |
H A D | regexp.c | 665 register char *src; local 674 src = rcstate->regcode; 677 while (src > opnd) 678 *--dst = *--src;
|
H A D | tclCmdMZ.c | 273 register char *src, c; 362 src = argPtr[1] + (start - string); 363 c = *src; 364 *src = 0; 367 *src = c; 384 for (src = firstChar = argPtr[2], c = *src; c != 0; src++, c = *src) { 390 c = src[ 270 register char *src, c; local [all...] |
/ast/lib/package/ |
H A D | package.mk | 238 package.glob.all = $(INSTALLROOT)/src/*/*/($(MAKEFILES:/:/|/G)) 240 package.glob.pkg = $(.package.glob. $(~$(name):P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%) $(~$(name):P=U:N=$(name):?$$(INSTALLROOT)/src/$$(name)/($$(MAKEFILES:/:/|/G))??) 244 package.init = $(.package.glob. $("$(init)$(name)":P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%:P=G:T=F:D::B) 246 package.src.pat = $(PACKAGESRC)/($(name).(ini|pkg)) 247 package.src = $(package.src.pat:P=G) $(.package.licenses. --save $(name)) 265 source.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz.c":T=F) 266 binary.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz":T=F) 282 package.src [all...] |
/ast/src/cmd/INIT/ |
H A D | package.mk | 238 package.glob.all = $(INSTALLROOT)/src/*/*/($(MAKEFILES:/:/|/G)) 240 package.glob.pkg = $(.package.glob. $(~$(name):P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%) $(~$(name):P=U:N=$(name):?$$(INSTALLROOT)/src/$$(name)/($$(MAKEFILES:/:/|/G))??) 244 package.init = $(.package.glob. $("$(init)$(name)":P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%:P=G:T=F:D::B) 246 package.src.pat = $(PACKAGESRC)/($(name).(ini|pkg)) 247 package.src = $(package.src.pat:P=G) $(.package.licenses. --save $(name)) 265 source.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz.c":T=F) 266 binary.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz":T=F) 282 package.src [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkImgBmap.c | 650 char *src, *dst; 656 for (src = parseInfoPtr->string; isspace(UCHAR(*src)) || (*src == ','); 657 src++) { 658 if (*src == 0) { 662 for ( ; !isspace(UCHAR(*src)) && (*src != ',') && (*src != 0); src 645 char *src, *dst; local [all...] |
H A D | tkOption.c | 764 register char *src, *dst; 768 src = string; 777 while ((*src == ' ') || (*src == '\t')) { 778 src++; 780 if ((*src == '#') || (*src == '!')) { 782 src++; 783 if ((src[0] == '\\') && (src[ 757 register char *src, *dst; local [all...] |
H A D | tkTextBTree.c | 2369 int src, dst, index; 2439 for (src = 0, dst = 0; src < tagInfo.numTags; src++) { 2440 if (tagInfo.counts[src] & 1) { 2441 tagInfo.tagPtrs[dst] = tagInfo.tagPtrs[src]; 2345 int src, dst, index; local
|
/ast/src/lib/libvcodex/Vcdelta/ |
H A D | vcdelta.c | 58 data = dt < vcd->vcpa.nsrc ? vcd->vcpa.src + dt : 132 data = vcd->vcpa.src + sav->addr; 175 data = vcd->vcpa.src + dt; 268 vcd->vcpa.src = nsrc == 0 ? NIL(Vcchar_t*) : (Vcchar_t*)disc->data; 341 Vcchar_t *tar, *etar, *src, *rd, *ri, *ra; local 395 src = disc ? (Vcchar_t*)disc->data : NIL(Vcchar_t*); 433 s = src+d;
|
/ast/src/lib/libvcodex/ |
H A D | vclzparse.c | 44 Obj_t* src; /* objects representing source */ member in struct:_hash_s 73 hs->src = (Obj_t*)(hs->htab + n); 74 hs->tar = hs->src + nsrc; 149 { mstr = vcpa->src; /* matching in source data */ 225 { fk = fkhash(hs, vcpa->src, NIL(Vcchar_t*)); ky = fk+1; 226 ns = (ks = vcpa->src) + mmin; 227 for(endo = (m = hs->src) + vcpa->nsrc - (mmin-1); ; ++ks, ++ns ) 272 { sm = vcpa->src + (m - hs->src); 273 em = vcpa->src [all...] |