Searched defs:base (Results 1 - 25 of 69) sorted by relevance

123

/ast/src/lib/libvcodex/
H A Dvcqsort.c47 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...]
/ast/src/lib/libast/comp/
H A Dftw.h44 int base; member in struct:FTW
/ast/src/lib/libast/astsa/
H A Dvmalloc.h48 Vmchunk_t base; member in struct:Vmalloc_s
/ast/src/cmd/tests/
H A Dstrtoi.c56 base(const char* s) function
78 *b = base(s);
88 *b = base(s);
/ast/src/lib/libcs/
H A Dcspath.c51 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/lib/libdll/
H A Ddll_lib.c35 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/libdss/
H A Dcxattr.c40 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/libvcodex/Vcmisc/
H A Dvcbwt.c104 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/lib/libast/sfio/
H A Dsftable.c55 int base, fmt, flags, dot, width, precis; local
106 size = width = precis = base = -1;
174 base = 0; /* for %s,%c */
212 base = v;
324 fp[argp].ft.base = base;
348 fp[n].ft.base = 0;
366 fp[n].ft.base = fp[v].argv.i;
445 if(fp[n].ft.base >= 0)
/ast/src/lib/libast/string/
H A Dstrtoi.h47 * 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/libbz/
H A Dhuffman.c195 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/cmd/pax/
H A Dpax-vdb.c38 char* base; /* header buffer base */ member in struct:Vdb_s::__anon187
86 if (!(vdb->header.base = newof(0, char, i, 1)))
90 if (read(ap->io->fd, vdb->header.base, i) != i)
92 ccmapstr(state.map.a2n, vdb->header.base, i);
93 *(vdb->header.base + i) = 0;
94 if (!strneq(vdb->header.base, VDB_DIRECTORY, sizeof(VDB_DIRECTORY) - 1))
96 if (!(vdb->header.next = strchr(vdb->header.base, '\n')))
/ast/src/cmd/ss/
H A Dss.c91 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/cmd/std/
H A Dpss-ps.c162 number(char* s, char** p, int base) argument
169 n = strtoul(s, &e, base);
171 switch (base)
176 base = 10;
183 base = 16;
H A Dpss.c290 char* base; local
304 name = base = path + 5;
309 if (D_NAMLEN(ent) + (base - path) + 1 > sizeof(path))
313 strcpy(base, ent->d_name);
323 base = path + strlen(path);
324 *base++ = '/';
344 base = name;
350 * return dev given tty base name
386 * return tty base name given tty dev
/ast/src/lib/libz/
H A Dinftrees.c61 const unsigned short FAR *base; /* base value table to use */ local
63 int end; /* use base and extra for symbol > end */
66 static const unsigned short lbase[31] = { /* Length codes 257..285 base */
72 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
190 base = extra = work; /* dummy value--not used */
194 base = lbase;
195 base -= 257;
201 base = dbase;
231 this.val = base[wor
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c71 #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/libexpr/
H A Dexlib.h45 char* bp; /* expression string base */
54 struct Exnode_s*param[3]; /* 0:width 1:precision 2:base */
132 Extype_t** base; /* label base pointer */ member in struct:Switch_s
/ast/src/cmd/dsslib/netflow/
H A Dflowlib.h67 Netflow_template_t* base; member in struct:Netflow_method_s
/ast/src/cmd/ksh93/sh/
H A Darith.c513 char base=(shp->inarith?0:10), *last; local
521 d = strtonll(str,&last,&base,-1);
/ast/src/cmd/mailx/
H A Dnames.c229 char* base; member in struct:__anon148
243 if (s > ws->base) {
273 ws.base = ws.next = 0;
276 ws.base = ws.next = salloc(ws.count + 2);
279 return ws.base;
/ast/src/cmd/probe/
H A Dprobe.c282 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/cmd/sortlib/sync/
H A Dsync.c275 char* base; member in struct:Suf_s
308 sp[i].base = s;
315 while (i < n && !sp[i].base)
319 if (sp[i].base == v[i])
321 else if (sp[i].base == v[i] + 1)
325 *(sp[i].base - 1) = 0;
327 *(sp[i].base - 1) = '/';
329 k = sp[i].base - v[i];
338 if (sp[j].base && (sp[j].base
[all...]
/ast/src/cmd/builtin/
H A Dtr.c103 #define setchar(p,s,t) ((p)->type=(t),(p)->prev=(p)->last=(-1),(p)->isit=0,(p)->count=0,(p)->base=(p)->next=(s))
119 unsigned char* base; member in struct:__anon47
193 c = tr->next - tr->base;
285 if (tr->level > 0 && tr->next > tr->base + 2)
404 error(2, "%s: invalid %s string", tr->base, typename[tr->type]);
/ast/src/lib/libvdelta/vd01/
H A Dvddelta01.c50 Match_t* base; /* base of elements */ member in struct:_table_s
77 best = copy = match - tab->base;
172 reg Match_t *base = tab->base, **table = tab->table; local
178 curm = base;
182 curm = base+n_src;
209 { if((n = m-base) < n_src)
231 if((m-base) < n_src && (n = (src+n_src)-sm) < (ends-s) )
264 curm = base
[all...]

Completed in 47 milliseconds

123