/ast/src/lib/libvcodex/ |
H A D | vcqsort.c | 47 Vcchar_t *base = (Vcchar_t*)list; local 53 { if((*comparf)(base, base+size, disc) > 0) 54 SWAP(base, base+size, size); 59 { if((*comparf)(base, base + l*size, disc) >= 0) 62 SWAP(base + l*size, base + r*size, size); 66 SWAP(base, bas [all...] |
H A D | vcsfio.c | 61 Vcchar_t* base; /* buffer for encoded data */ member in struct:_sfdc_s 63 Vcchar_t* endb; /* end of base buffer */ 279 Vcchar_t *base, *oldbase; local 285 oldbase = sfdc->base; 286 if(!(base = (Vcchar_t*)malloc(size)) ) 289 memcpy(base, oldbase, sfdc->endb - oldbase); 290 sfdc->endb = base + (sfdc->endb - oldbase); 291 sfdc->code = base + (sfdc->code - oldbase); 292 sfdc->base = base; 533 Vcchar_t *base; local [all...] |
/ast/src/lib/libast/string/ |
H A D | strtoi.h | 47 * if basep!=0 it points to the default base on input and 48 * will point to the explicit base on return 49 * a default base of 0 will determine the base from the input 50 * a default base of 1 will determine the base from the input using bb#* 51 * a base prefix in the string overrides *b 52 * *b will not be set if the string has no base prefix 55 * if a base arg or prefix is specified then multiplier is not consumed 59 * [sign][base][numbe 241 register int base; local [all...] |
/ast/src/lib/libdll/ |
H A D | dllopen.c | 47 char* base; 58 if (base = strrchr(name, '/')) 61 len = ++base - dir; 67 base = (char*)name; 69 path = sfprints("%-.*s%s%c%s=%-.*s%s%s", len, dir, base, 0, info->env, len, dir, olibpath ? ":" : "", olibpath ? olibpath : "");
|
H A D | dll_lib.c | 35 char base[1]; member in struct:Dll_lib_s 39 * split <name,base,type,opts> from name into names 63 * determine the base name 72 b = names->base = names->data; 128 if (streq(names->base, lib->base)) 138 if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) 165 if (lib = newof(0, Dll_lib_t, 1, (n = strlen(names->base)) + strlen(names->path) + 1)) 168 strcpy(lib->base, name [all...] |
/ast/src/lib/libtk/compat/ |
H A D | stdlib.h | 35 extern void qsort _ANSI_ARGS_((VOID *base, int n, int size, 41 int base)); 43 char **endPtr, int base));
|
/ast/src/cmd/ksh93/tests/ |
H A D | exit.sh | 36 base=$(basename $SHELL) 37 cd ${SHELL%/$base} 40 print $newdir/$base
|
/ast/src/cmd/pax/ |
H A D | delta2patch.sh | 27 [+NAME?delta2patch - generate patch script from pax delta+base archives] 29 given a \bpax\b(1) delta and base source archive to convert 30 files extracted from the base archive to be equivalent to files 31 extracted from the delta archive with respect to the base archive.] 33 delta base 55 base=$2 60 pax --nosummary -rf $base -s ",.*,$tmp/old/&," $changes 61 pax --nosummary -rf $delta -z $base -s ",.*,$tmp/new/&," $changes
|
H A D | bax.sh | 70 # ${name_skip} are base names to be skipped 91 [01]) echo "Usage: $command delta base [dir ...]" >&2 97 base=$2 140 " | pax -o "write ordered physical verbose file=$delta base=$base"
|
H A D | copy.c | 241 if (f->delta.base) 242 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__); 251 if (!f->delta.base || (unsigned long)f->delta.base->mtime.tv_sec >= (unsigned long)f->st->st_mtime) 252 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__); 258 if (!f->delta.base->uncompressed) 259 paxdelta(NiL, ap, f, DELTA_SRC|DELTA_BIO|DELTA_SIZE, ap->delta->base, f->delta.base->size, DELTA_TAR|DELTA_FD|DELTA_FREE|DELTA_OUTPUT|DELTA_COUNT, wfd, DELTA_DEL|DELTA_BIO|DELTA_SIZE, ap, c, 0); 260 else if (!paxdelta(NiL, ap, f, DELTA_DEL|DELTA_BIO|DELTA_SIZE, ap->delta->base, f->delta.base [all...] |
/ast/src/cmd/dss/ |
H A D | Makefile | 10 for method in $( dlls --base dss | grep -v '_t$' )
|
/ast/src/lib/libast/dir/ |
H A D | seekdir.c | 43 off_t base; /* file location of block */
|
/ast/src/lib/libast/comp/ |
H A D | ftw.h | 44 int base; member in struct:FTW
|
/ast/src/cmd/probe/ |
H A D | probe.c | 282 register char* base; local 391 if (!(base = strrchr(path, '/')) || strlen(++base) > BASE_MAX) 393 strcpy(key, base); 394 strcpy(base, "../../"); 395 strcpy(base + 6, probe); 403 strcpy(base, "."); 411 strcpy(base, probe); 424 strcpy(base, key); 434 if (!(base [all...] |
/ast/src/lib/libvcodex/Vcmisc/ |
H A D | vcbwt.c | 104 ssize_t base[256], *offset; local 134 /* base and offset vector for bytes */ 136 base[n] = 0; 141 { offset[n] = base[dt[n]]; 142 base[dt[n]] += 1; 146 { ssize_t c = base[n]; 147 base[n] = sp; 154 n = base[*o] + offset[n];
|
/ast/src/cmd/ss/ |
H A D | ss.c | 91 Sys_t** base; member in struct:__anon220 112 n = state.end - state.base; 113 if (!(state.base = newof(state.base, Sys_t*, n * 2, 0))) 115 state.end = (state.next = state.base + n) + n; 226 if (!(state.next = state.base = newof(0, Sys_t*, n = 64, 0))) 228 state.end = state.base + n; 241 if (n = state.next - state.base) 243 strsort((char**)state.base, n, sort); 244 for (sv = state.base; s [all...] |
/ast/src/lib/libast/sfio/ |
H A D | sfvprintf.c | 104 int n, v, w, k, n_s, base, fmt, flags; local 228 size = width = precis = base = n_s = argp = -1; 342 { /* so base can be defined without setting precis */ 347 { base = 0; /* for %s,%c */ 357 { base = *form++; 420 base = v; 544 { FMTSET(ft, form,args, fmt, size,flags, width,precis,base, 557 { FMTGET(ft, form,args, fmt, size,flags, width,precis,base); 578 { if(base < 0) 609 if(base > [all...] |
H A D | sfvscanf.c | 308 reg int inp, shift, base, width; local 432 base = 10; size = -1; 501 case '.' : /* width & base */ 554 base = v; 682 { FMTSET(ft, form,args, fmt, size,flags, width,0,base, t_str,n_str); 696 { FMTGET(ft, form,args, fmt, size, flags, width,n,base); 830 base = 8; 832 base = 16; 834 { base = 8; 835 if(width > 1) /* peek to see if it's a base [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmmopen.c | 71 #define MMDATA(mmvm) ((Vmuchar_t*)(mmvm)->base + MMHEAD(mmvm->file)) 90 Void_t* base; /* address to map to */ member in struct:_mmvm_s 125 sprintf(mesg, "Base: %#010lx\n", mmdc->mmvm->base); write(fd, mesg, strlen(mesg)); 135 Void_t *base = mmvm->base; local 138 if(base != (Void_t*)mmvm) /* mmvm is not right yet */ 139 { /**/ASSERT(!base || (base && (VLONG(base)%_Vmpagesize) == 0) ); 142 mmvm = (Mmvm_t*)mmap(base, siz 159 Void_t *base; local 345 Void_t *base; local [all...] |
/ast/src/lib/libdss/ |
H A D | cxattr.c | 40 short base; member in struct:Attribute_s 90 if (!strncasecmp(s, "base=", 5)) 92 f->base = (int)strtol(s + 5, &e, 10); 176 if (a->base) 177 f->base = a->base; 217 f->base = 0;
|
/ast/src/lib/libbz/ |
H A D | huffman.c | 195 Int32 *base, 209 for (i = 0; i < BZ_MAX_CODE_LEN; i++) base[i] = 0; 210 for (i = 0; i < alphaSize; i++) base[length[i]+1]++; 212 for (i = 1; i < BZ_MAX_CODE_LEN; i++) base[i] += base[i-1]; 218 vec += (base[i+1] - base[i]); 223 base[i] = ((limit[i-1] + 1) << 1) - base[i]; 194 hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
|
/ast/src/lib/libardir/ |
H A D | ar-omf.c | 203 static void omfload(Ardir_t *ar,unsigned char *base, unsigned char *last, struct Table *tp, int dmars) argument 206 unsigned char *cp=base, *end=last; 222 end = base + len; 230 if(base+len >= last) 232 if(!(fp = ar_getnode(ar,(char*)base+len))) 240 fp->toffset += displacement(tp,((unsigned char*)&ip[1])-base); 242 fp->alias = (char*)base+ip[6]; 261 unsigned char *addr, *addrstart, *addrmax, *begin,*cp, *base=0, *last; local 299 if(base) 300 omfload(ar,base,las [all...] |
/ast/src/lib/libast/misc/ |
H A D | fts.c | 61 size_t baselen; /* current strlen(base) */ \ 71 char* base; /* basename in path */ \ 439 setpdir(register char* home, register char* path, register char* base) argument 444 if (base > path) 446 c = base[0]; 447 base[0] = 0; 449 base[0] = c; 735 if (fts->base) 736 fts->base = newp + (fts->base [all...] |
/ast/src/lib/libcs/ |
H A D | cspath.c | 51 char* base; local 59 base = path + 5; 68 if (*entry->d_name == '.' || D_NAMLEN(entry) + (base - path) + 1 > size) 70 strcpy(base, entry->d_name); 78 base = path + strlen(path); 79 *base++ = '/'; 104 base = path + 5;
|
/ast/src/cmd/warp/ |
H A D | warp.sh | 22 integer warp now base factor 39 [+time = time + warp + (time - base) * (factor - 1)?] 51 [b:base?Set the base or starting date to \adate\a. Useful for repeating 123 USAGE='b:[base]f:[factor]nt date [ command [ arg ... ] ]' 176 : determine the warp factor base 180 ''|now) (( base = now )) 183 (( base = $base_str )) 185 *) (( base = $(LD_LIBRARY_PATH=$root/lib:$LD_LIBRARY_PATH $root/bin/date -f %s -s "$base_str") )) 188 opt="$opt-b$base [all...] |