Searched defs:init (Results 1 - 25 of 46) sorted by relevance

12

/ast/src/lib/libast/stdio/
H A D_stdfun.c55 static int init; local
65 if (!init)
67 init = 1;
/ast/src/lib/libcs/
H A Dcsstat.c60 static int init; local
69 if (!init)
71 init = 1;
H A Dcsserve.c141 csserve(Cs_t* state, void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument
192 if (init)
193 server->handle = (*init)(server->handle, server->css->fdmax);
204 _cs_serve(void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument
206 csserve(&cs, handle, path, init, done, con, rd, wr, to);
/ast/src/cmd/coshell/
H A Dcotest.c43 init(void) function
48 message((-1, "init"));
99 init();
H A Dmain.c103 init(void* handle, int fdmax) function
109 message((-1, "init pid=%d", getpid()));
962 csserve(NiL, state.service, init, NiL, user, service, NiL, wakeup);
/ast/src/lib/libast/vmalloc/
H A Dvmopen.c66 Vminit_t *init; local
95 { if(!(init = (Vminit_t*)addr) )
98 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
113 init = (Vminit_t*)(addr + (algn ? ALIGN-algn : 0)); /**/ASSERT(VLONG(init)%ALIGN == 0);
114 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
129 vd->seg = &init->seg.seg; /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0);
160 vm = &init->vm.vm;
/ast/src/lib/libbz/
H A Dsfdcbzip.c83 static int init; local
85 if (!init)
86 init = getenv("SFBZ_DEBUG") ? 1 : -1;
87 if (init > 0)
/ast/src/lib/libsum/
H A Dsum-prng.c33 [+init?The PRNG initial value. 0xffffffff is used if \anumber\a is omitted.]:?[number:=0x811c9dc5]\
48 Prngnum_t init; member in struct:Prng_s
78 else if (strneq(t, "init", i))
79 sum->init = v ? strtoul(v + 1, NiL, 0) : ~sum->init;
86 if (!sum->init)
87 sum->init = FNV_INIT;
97 sum->sum = sum->init;
H A Dsum-crc.c31 [+init?The initial crc value. 0xffffffff is used if \anumber\a is omitted.]:?[number:=0]\
48 Crcnum_t init; member in struct:Crc_s
88 else if (strneq(t, "init", i))
89 sum->init = v ? strtoul(v + 1, NiL, 0) : ~sum->init;
140 sum->sum = sum->init;
H A Dsumlib.c49 int (*init)(Sum_t*); member in struct:Method_s
215 "crc-0xedb88320-init-done"
226 "prng-0x01000193-init=0x811c9dc5"
300 return (*p->method->init)(p);
/ast/src/lib/libvcodex/
H A Dvcopen.c30 Vcodex_t* vcopen(Vcdisc_t* disc, Vcmethod_t* meth, Void_t* init, argument
33 Vcodex_t* vcopen(disc, meth, init, coder, flags)
36 Void_t* init; /* method initialization params */
67 if(meth->eventf && (*meth->eventf)(vc, VC_OPENING, init) < 0)
/ast/src/lib/libast/sfio/
H A Dsfsetbuf.c113 int sf_malloc, oflags, init, okmmap, local; local
139 if((init = f->mode&SF_INIT) )
146 if(init)
172 if(!init) /* stream already initialized */
218 if((init || local) && !(f->flags&SF_STRING))
258 if(init)
275 if(init)
346 if(init && osize > 0)
364 if(obuf && size == (size_t)osize && init)
/ast/src/lib/libcoshell/
H A Dcolib.h57 } init; \
119 int init; /* 0 if first coopen() */ member in struct:Costate_s
/ast/src/cmd/sort/
H A Dsfopen.c71 int init; member in struct:State_s
168 if (!state.init)
170 state.init = 1;
/ast/src/lib/libast/include/
H A Derror.h135 int init; /* initialized */ member in struct:Error_info_s
/ast/src/lib/libast/misc/
H A Dtranslate.c160 init(register char* s) function
254 if (*s && ((cp = (Catalog_t*)dtmatch(state.catalogs, s)) || (cp = init(s))) && cp->messages && (mp = (Message_t*)dtmatch(cp->messages, msg)))
H A Dstk.c85 static size_t init; /* 1 when initialized */ variable
138 init = size;
140 init = 1;
190 if(init)
232 bsize = init+sizeof(struct frame);
267 if(!init)
345 if(!init)
396 if(!init)
412 if(!init)
428 if(!init)
[all...]
/ast/src/cmd/ksh93/sh/
H A Ddeparse.c179 struct argnod *init = (t->lst.lstlef)->ar.arexpr; local
180 forinit= init->argval;
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c69 char init; member in struct:dbm_array
282 if(!ap->init)
284 ap->init = 1;
/ast/src/cmd/tw/
H A Dexpr.c776 init(void) function
804 init();
879 init();
/ast/src/cmd/3d/
H A Dlib_3d.h63 #define init _3d_init macro
/ast/src/lib/libtksh/src/
H A Dlist.c97 static int init=0; local
104 if (! init)
107 init = 1;
/ast/lib/package/
H A Dpackage.mk94 init = INIT macro
213 .MAKEINIT : .package.init
215 .package.init : .MAKE .VIRTUAL .FORCE
237 package.omit = -|*/$(init)
244 package.init = $(.package.glob. $("$(init)$(name)":P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%:P=G:T=F:D::B)
265 source.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz.c":T=F)
266 binary.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz":T=F)
268 $(init) : .VIRTUAL $(init)
561 init = . macro
[all...]
/ast/src/cmd/INIT/
H A Dpackage.mk94 init = INIT macro
213 .MAKEINIT : .package.init
215 .package.init : .MAKE .VIRTUAL .FORCE
237 package.omit = -|*/$(init)
244 package.init = $(.package.glob. $("$(init)$(name)":P=U):C%.*%$(INSTALLROOT)/src/*/&/($(MAKEFILES:/:/|/G))%:P=G:T=F:D::B)
265 source.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz.c":T=F)
266 binary.ratz = $("$(INSTALLROOT)/src/cmd/$(init)/ratz":T=F)
268 $(init) : .VIRTUAL $(init)
561 init = . macro
[all...]
/ast/src/lib/libcmd/
H A Dtail.c257 init(Tail_t* tp, Sfoff_t number, int delim, int flags, const char** format) function
620 if (!init(fp, number, delim, flags, &format))
694 if (i && (fp->dev != st.st_dev || fp->ino != st.st_ino) && !init(fp, 0, 0, flags, &format))

Completed in 45 milliseconds

12