Searched refs:disc (Results 1 - 25 of 424) sorted by relevance

1234567891011>>

/ast/src/lib/librecsort/
H A Drsdisc.c29 Rsdisc_t* rsdisc(Rs_t* rs, Rsdisc_t* disc, int op) argument
31 Rsdisc_t* rsdisc(rs, disc, op)
33 Rsdisc_t* disc;
45 old = rs->disc;
46 if(disc)
48 (*old->eventf)(rs,RS_DISC,(Void_t*)disc,(Void_t*)0,old) < 0)
52 rs->type |= disc->type&(RS_DSAMELEN|RS_KSAMELEN);
54 if((disc->type&RS_DSAMELEN) && !disc->defkeyf)
57 rs->disc
[all...]
H A Drsnotify.c27 int rsnotify(Rs_t* rs, int op, Void_t* data, Void_t* arg, reg Rsdisc_t* disc) argument
29 int rsnotify(rs, op, data, arg, disc)
34 reg Rsdisc_t* disc;
41 for (; disc; disc = disc->disc)
42 if ((disc->events & op) &&
43 (r = (*disc->eventf)(rs, op, data, arg, disc)))
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmdisc.c37 Vmdisc_t* vmdisc(Vmalloc_t* vm, Vmdisc_t* disc) argument
39 Vmdisc_t* vmdisc(vm, disc)
41 Vmdisc_t* disc;
44 Vmdisc_t* old = vm->disc;
46 if(disc)
48 (*old->exceptf)(vm,VM_DISC,(Void_t*)disc,old) != 0 )
50 vm->disc = disc;
H A Dvmclose.c44 Vmdisc_t* disc = vm->disc; local
50 if(vm->disc->exceptf && /* announcing closing event */
51 (rv = (*vm->disc->exceptf)(vm,VM_CLOSE,(Void_t*)1,vm->disc)) < 0 )
76 else (*disc->memoryf)(vm,seg->addr,seg->extent,0,disc); local
79 (*disc->memoryf)(vm,vmseg->addr,vmseg->extent,0,disc); local
82 if(disc
[all...]
/ast/src/lib/libcs/
H A Dcsdata.c31 static Csdisc_t disc = { CS_VERSION }; variable
33 Cs_t cs = { "libcs:cs", &disc };
H A Dcsalloc.c31 csalloc(Csdisc_t* disc) argument
38 state->disc = disc ? disc : cs.disc;
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwopen.c28 Vcwindow_t* vcwopen(Vcwdisc_t* disc, Vcwmethod_t* meth) argument
30 Vcwindow_t* vcwopen(disc, meth)
31 Vcwdisc_t* disc;
37 if(!disc || (!disc->srcf && !disc->tarf) )
39 if(disc->srcf && sfseek(disc->srcf, (Sfoff_t)0, 0) < 0)
41 if(disc->tarf && sfseek(disc
[all...]
H A Dvcwclose.c37 if(vcw->disc && vcw->disc->eventf &&
38 (*vcw->disc->eventf)(vcw, VCW_CLOSING, 0, vcw->disc) < 0 )
/ast/src/lib/libdss/
H A Ddss-null.h35 null_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
45 if (disc->errorf)
46 (*disc->errorf)(NiL, disc, ERROR_USAGE|4, "%s", opt_info.arg);
49 if (disc->errorf)
50 (*disc->errorf)(NiL, disc, 2, "%s", opt_info.arg);
60 if (disc->errorf)
61 (*disc->errorf)(NiL, disc, ERROR_USAG
[all...]
H A Ddss-return.h41 return_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
51 if (disc->errorf)
52 (*disc->errorf)(NiL, disc, ERROR_USAGE|4, "%s", opt_info.arg);
55 if (disc->errorf)
56 (*disc->errorf)(NiL, disc, 2, "%s", opt_info.arg);
66 if (disc->errorf)
67 (*disc->errorf)(NiL, disc, ERROR_USAG
74 return_act(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
[all...]
H A Ddss-write.h39 write_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
50 if (disc->errorf)
51 (*disc->errorf)(NiL, disc, ERROR_USAGE|4, "%s", opt_info.arg);
54 if (disc->errorf)
55 (*disc->errorf)(NiL, disc, 2, "%s", opt_info.arg);
67 if (disc->errorf)
68 (*disc->errorf)(NiL, disc, ERROR_USAG
86 write_act(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
92 write_end(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
98 write_ref(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
[all...]
H A Ddsstags.c31 dss_method_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
33 Dsstagdisc_t* state = (Dsstagdisc_t*)disc;
36 if (!(meth = dssmeth(data, state->disc)))
43 dss_field_name_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
45 Dsstagdisc_t* state = (Dsstagdisc_t*)disc;
49 if (disc->errorf)
50 (*disc->errorf)(NiL, disc, 2, "%s: only one <NAME> expected", tagcontext(tag, fp));
53 if (!(fp->prev->data = cxvariable(state->meth->cx, data, NiL, state->disc)))
59 dss_field_map_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
77 dss_field_con_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
110 dss_field_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
116 dss_field_end(Tag_t* tag, Tagframe_t* fp, Tagdisc_t* disc) argument
128 dss_compress_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
142 dss_print_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
181 dss_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
187 map_part_item_name_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
199 map_part_item_mask_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
214 map_part_item_value_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
242 map_part_item_bit_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
257 map_part_item_map_end(Tag_t* tag, Tagframe_t* fp, Tagdisc_t* disc) argument
283 map_part_item_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
302 map_part_type_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
330 map_part_shift_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
345 map_part_mask_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
360 map_part_edit_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
410 map_part_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
429 map_name_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
456 map_description_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
468 map_shift_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
483 map_mask_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
498 map_ignorecase_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
541 dss_map_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
557 dss_map_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
579 dss_map_end(Tag_t* tag, Tagframe_t* fp, Tagdisc_t* disc) argument
596 constraint_def(Tag_t* tag, Tagframe_t* fp, Tagdisc_t* disc) argument
610 constraint_name_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
633 constraint_expression_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
650 constraint_match_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
672 constraint_max_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
698 constraint_min_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
724 constraint_def_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
767 method_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
774 method_end(Tag_t* tag, Tagframe_t* fp, Tagdisc_t* disc) argument
807 dss_con_beg(Tag_t* tag, Tagframe_t* fp, const char* name, Tagdisc_t* disc) argument
817 dss_con_dat(Tag_t* tag, Tagframe_t* fp, const char* data, Tagdisc_t* disc) argument
853 dsstags(Sfio_t* ip, const char* path, int line, Dssflags_t flags, Dssdisc_t* disc, Dssmeth_t* meth) argument
[all...]
H A Ddss-compress.h50 compress_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument
61 if (disc->errorf)
62 (*disc->errorf)(NiL, disc, ERROR_USAGE|4, "%s", opt_info.arg);
65 if (disc->errorf)
66 (*disc->errorf)(NiL, disc, 2, "%s", opt_info.arg);
76 if (disc->errorf)
77 (*disc->errorf)(NiL, disc,
[all...]
/ast/src/lib/libast/disc/
H A Dsfdcslow.c31 static int slowexcept(Sfio_t* f, int type, Void_t* v, Sfdisc_t* disc) argument
33 static int slowexcept(f, type, v, disc)
37 Sfdisc_t* disc;
42 NOTUSED(disc);
48 free(disc);
67 Sfdisc_t* disc; local
69 if(!(disc = (Sfdisc_t*)malloc(sizeof(Sfdisc_t))) )
72 disc->readf = NIL(Sfread_f);
73 disc->writef = NIL(Sfwrite_f);
74 disc
[all...]
/ast/src/lib/libast/regex/
H A Dregalloc.c33 state.disc.re_flags = flags;
34 state.disc.re_resizef = resize;
35 state.disc.re_resizehandle = handle;
H A Dregerror.c85 fatal(regdisc_t* disc, int code, const char* pattern) argument
87 if (disc->re_errorf)
90 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s: %s", pattern, reg_error[code+1]);
92 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s", reg_error[code+1]);
/ast/src/lib/libcodex/
H A Dcodexpass.c33 codexpass(void* buf, size_t n, Codexdisc_t* disc, Codexmeth_t* meth) argument
37 if (disc->passphrase)
38 return strncopy((char*)buf, disc->passphrase, n) - (char*)buf;
39 if (disc->passf)
40 return (*disc->passf)(buf, n, disc, meth);
/ast/src/lib/libast/cdt/
H A Ddtdisc.c26 ** disc : discipline
32 static Void_t* dtmemory(Dt_t* dt, Void_t* addr, size_t size, Dtdisc_t* disc) argument
34 static Void_t* dtmemory(dt, addr, size, disc)
38 Dtdisc_t* disc; /* discipline */
52 Dtdisc_t* dtdisc(Dt_t* dt, Dtdisc_t* disc, int type) argument
54 Dtdisc_t* dtdisc(dt,disc,type)
56 Dtdisc_t* disc;
63 if(!(old = dt->disc) ) /* initialization call from dtopen() */
64 { dt->disc = disc;
[all...]
H A Ddtclose.c37 Dtdisc_t *disc = dt->disc; local
42 if(disc && disc->eventf) /* announce closing event */
43 ev = (*disc->eventf)(dt, DT_CLOSE, (Void_t*)1, disc);
62 if(disc && disc->eventf) /* announce end of closing activities */
63 (void)(*disc->eventf)(&pdt, DT_ENDCLOSE, (Void_t*)0, disc);
[all...]
H A Ddtopen.c39 Dt_t* _dtopen(Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) argument
41 Dt_t* _dtopen(disc, meth, version)
42 Dtdisc_t* disc;
51 if(!disc || !meth)
61 dtdisc(&pdt,disc,0); /* note that this sets pdt.memoryf */
63 if(disc->eventf)
64 { if((ev = (*disc->eventf)(&pdt,DT_OPEN,(Void_t*)(&data),disc)) < 0)
99 if(disc->eventf) /* signal opening is done */
100 (void)(*disc
111 dtopen(Dtdisc_t* disc, Dtmethod_t* meth) argument
125 Dtdisc_t *disc = dt->disc; local
148 Dtdisc_t *disc = dt->disc; local
[all...]
/ast/src/lib/libvcodex/
H A Dvcdisc.c28 Vcdisc_t* vcdisc(Vcodex_t* vc, Vcdisc_t* disc) argument
30 Vcdisc_t* vcdisc(vc, disc)
32 Vcdisc_t* disc;
35 Vcdisc_t *old = vc->disc;
43 (*old->eventf)(vc, VC_DISC, (Void_t*)disc, old) < 0 )
49 else rv = (*vc->meth->eventf)(vc, VC_DISC, (Void_t*)disc);
54 { vc->disc = disc;
55 return old ? old : disc;
57 else return disc;
[all...]
/ast/src/lib/libpz/
H A Dpzinit.c35 options = pz->disc->options;
36 if (!(usage = (*initf)(pz, pz->disc)))
38 if (pz->disc && pz->disc->errorf)
44 (*pz->disc->errorf)(pz, pz->disc, 2, "%s: %s_init: initialization function error", name, id);
49 if (pz->disc->options != options)
51 if (!pz->disc->options)
53 else if (!(pz->options = vmstrdup(pz->vm, pz->disc->options)))
/ast/src/lib/libast/sfio/
H A Dsfdisc.c45 { Sfdisc_t disc; member in struct:_dccache_s
51 static int _dccaexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument
53 static int _dccaexcept(f,type,val,disc)
57 Sfdisc_t* disc;
60 if(disc && type == SF_FINAL)
61 free(disc);
66 static ssize_t _dccaread(Sfio_t* f, Void_t* buf, size_t size, Sfdisc_t* disc) argument
68 static ssize_t _dccaread(f, buf, size, disc)
72 Sfdisc_t* disc;
83 for(prev = f->disc; pre
107 sfdisc(Sfio_t* f, Sfdisc_t* disc) argument
[all...]
H A Dsfraise.c65 reg Sfdisc_t *disc, *next, *d; local
83 for(disc = f->disc; disc; )
84 { next = disc->disc;
86 f->disc = next;
88 if(disc->exceptf)
90 if((rv = (*disc->exceptf)(f,type,data,disc)) !
[all...]
/ast/src/cmd/tests/cdt/
H A Ddttest.h24 static int compare(Dt_t* dt, Void_t* o1, Void_t* o2, Dtdisc_t* disc) argument
26 static int compare(dt,o1,o2,disc)
30 Dtdisc_t* disc;
37 static int rcompare(Dt_t* dt, Void_t* o1, Void_t* o2, Dtdisc_t* disc) argument
39 static int rcompare(dt,o1,o2,disc)
43 Dtdisc_t* disc;
50 static Void_t* newint(Dt_t* dt, Void_t* o, Dtdisc_t* disc) argument
52 static Void_t* newint(dt,o,disc)
55 Dtdisc_t* disc;
62 static unsigned int hashint(Dt_t* dt, Void_t* o, Dtdisc_t* disc) argument
[all...]

Completed in 23 milliseconds

1234567891011>>