/ast/src/lib/libvcodex/ |
H A D | vcopen.c | 85 char *spec; member in struct:Stack_s 90 Vcodex_t* vcmake(char* spec, int type) argument 92 Vcodex_t* vcmake(spec, type) 93 char* spec; /* method specification */ 111 if(!(spec = vcsubstring(spec, VC_METHSEP, meth, sizeof(meth), 0)) ) 115 spec - sp->spec; 134 sp->spec = spec; [all...] |
H A D | vcalias.c | 84 char* s; /* spec of new aliases */ 184 /* map an alias. Arguments are passed onto the first method of the aliased spec */ 186 char* vcgetalias(char* spec, char* meth, ssize_t mtsz) argument 188 char* vcgetalias(spec, meth, mtsz) 189 char* spec; /* name.arg1.arg2... */ 201 if(!(alias = Alias) || !spec) 202 return spec; 205 if(!(args = vcsubstring(spec, VC_METHSEP, name, sizeof(name), 0)) || *args != 0 ) 206 return spec; 220 return spec; [all...] |
H A D | vcsfio.c | 934 static ssize_t getwindow(char* spec, Vcwmethod_t** vcwmt) argument 936 static ssize_t getwindow(spec, vcwmt) 937 char* spec; /* window/size specification */ 944 if(!spec) 945 spec = ""; 947 wsize = (ssize_t)vcatoi(spec); 948 while(isdigit(*spec)) 949 spec += 1; 950 if(*spec == 'k' || *spec [all...] |
/ast/src/cmd/re/ |
H A D | testfmt.c | 318 char* spec; local 467 if (!(spec = field[0])) 468 bad("NIL spec\n", NiL, NiL, 0); 473 for (p = spec; *p; p++) 493 bad("bad spec\n", spec, NiL, 0);
|
H A D | testfnmatch.c | 491 char* spec; local 643 if (!(spec = field[0])) 644 bad("NIL spec\n", NiL, NiL, 0); 659 for (p = spec; *p; p++) 822 bad("bad spec\n", spec, NiL, 0);
|
H A D | testmatch.c | 622 char* spec; local 778 if (!(spec = field[0])) 779 bad("NIL spec\n", NiL, NiL, 0); 791 for (p = spec; *p; p++) 796 bad("nmatch too large\n", spec, NiL, 0); 969 bad("bad spec\n", spec, NiL, 0);
|
H A D | testglob.c | 507 char* spec; local 772 if (!(spec = field[0])) 773 bad("NIL spec\n", NiL); 779 for (p = spec; *p; p++) { 895 bad("bad spec\n", spec);
|
H A D | testregex.c | 1080 extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument 1114 printf("%s%s", spec, TABS(*tabs++)); 1140 catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument 1156 extract(tabs, spec, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test); 1241 char* spec; local 1525 if (!(spec = field[0])) 1526 bad("NIL spec\n", NiL, NiL, 0, 0); 1536 for (p = spec; *p; p++) 1762 bad("bad spec\n", spec, Ni [all...] |