/ast/src/cmd/pax/ |
H A D | pax-delta.c | 28 static Delta_format_t data = { "94" }; variable
|
H A D | pax-delta_88.c | 28 static Delta_format_t data = { "88" }; variable
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmgetmem.c | 37 Void_t* vmgetmem(Vmalloc_t* vm, Void_t* data, size_t size) argument 39 Void_t* vmgetmem(vm, data, size) 41 Void_t* data; 47 if (data || size) 48 return vmresize(vm, data, size, VM_RSMOVE|VM_RSCOPY|VM_RSZERO);
|
/ast/src/lib/libcodex/ |
H A D | codexdata.c | 25 * get method specific data 31 codexdata(Sfio_t* sp, Codexdata_t* data) argument 33 return sfraise(sp, CODEX_DATA, data);
|
/ast/src/lib/librecsort/ |
H A D | rsnotify.c | 27 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) 32 Void_t* data; 43 (r = (*disc->eventf)(rs, op, data, arg, disc)))
|
/ast/src/lib/libtk/generic/ |
H A D | tkImgUtil.c | 24 * This function takes an image and copies the data into an 40 int alignment; /* Number of bytes to which the data should 45 char *data, *srcPtr, *destPtr; 53 * Compute line width for output data buffer. 61 data = ckalloc(dataWidth * image->height); 63 destPtr = data; 65 srcPtr = &image->data[i * image->bytes_per_line]; 77 return data; 44 char *data, *srcPtr, *destPtr; local
|
/ast/src/cmd/mailx/port/ |
H A D | dtopen.c | 86 Dtdata_t* data; local 95 /* initialize all absolutely private data */ 104 { /* if this is a shared dictionary, get the shared data */ 105 data = NIL(Dtdata_t*); 106 if((e = (*disc->eventf)(dt,DT_OPEN,(Void_t*)(&data),disc)) != 0) 107 { if(e < 0 || !data || !(data->type&meth->type) ) 115 /* allocate sharable data */ 116 data = (Dtdata_t*)(dt->memoryf)(dt,NIL(Void_t*),sizeof(Dtdata_t),disc); 117 if(!data) [all...] |
H A D | dtwalk.c | 78 int dtwalk(reg Dt_t* dt, int (*userf)(Dt_t*, Void_t*, Void_t*), Void_t* data) argument 80 int dtwalk(dt,userf,data) 83 Void_t* data; 94 if((rv = (*userf)(walk, obj, data )) < 0)
|
/ast/src/cmd/vczip/tests/ |
H A D | tvchuffgroup.c | 28 char data[64*1024], *d, *endd; local 30 /* generate random data */ 32 for(endd = (d = data)+sizeof(data); d < endd; ) 44 if((k = vcapply(vch, data, sizeof(data), &d)) <= 0) 46 twarn("Vchuffgroup: original size=%d compressed size=%d\n",sizeof(data),k); 47 if((n = vcapply(vcu, d, k, &d)) != sizeof(data)) 49 for(k = 0; k < sizeof(data); ++k) 50 if(d[k] != data[ [all...] |
/ast/src/lib/libast/cdt/ |
H A D | dtwalk.c | 31 int dtwalk(Dt_t* dt, int (*userf)(Dt_t*, Void_t*, Void_t*), Void_t* data) argument 33 int dtwalk(dt,userf,data) 36 Void_t* data; 47 if((rv = (*userf)(walk, obj, data )) < 0)
|
/ast/src/lib/libast/sfio/ |
H A D | sfclose.c | 37 Void_t* data = NIL(Void_t*); local 105 if(f->data && (!local || (f->flags&SF_STRING) || (f->bits&SF_MMAP) ) ) 109 SFMUNMAP(f,f->data,f->endb-f->data); 113 data = (Void_t*)f->data; 115 f->data = NIL(uchar*); 138 f->endb = f->endr = f->endw = f->next = f->data; 146 /* delete any associated sfpopen-data */ 175 if(data) [all...] |
H A D | sfungetc.c | 69 if(f->next > f->data && f->next[-1] == (uchar)c) 86 /* space for data */ 87 if(f->next == f->data) 88 { reg uchar* data; local 91 if(!(data = (uchar*)malloc(f->size+16))) 96 if(f->data) 97 memcpy((char*)(data+16),(char*)f->data,f->size); 99 f->data = data; [all...] |
H A D | sfwalk.c | 30 int sfwalk(Sfwalk_f walkf, Void_t* data, int type) argument 32 int sfwalk(walkf, data, type) 34 Void_t* data; 57 if((rv = (*walkf)(f, data)) < 0)
|
H A D | sfexcept.c | 40 reg uchar* data; local 87 data = (uchar*)realloc((char*)f->data,size); 88 else data = (uchar*)malloc(size); 89 if(!data) 91 f->endb = data + size; 92 f->next = data + (f->next - f->data); 93 f->endr = f->endw = f->data = data; [all...] |
H A D | sfflsbuf.c | 39 uchar* data; local 55 /* current data extent */ 56 n = f->next - (data = f->data); 58 if(n == (f->endb-data) && (f->flags&SF_STRING)) 61 (void)SFWR(f, data, w, f->disc); 66 n = f->next - (data = f->data); 75 if(n < (f->endb - (data = f->data))) [all...] |
/ast/src/lib/libdss/ |
H A D | dss-compress.h | 50 compress_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument 52 char** argv = (char**)data;
|
H A D | dss-count.h | 38 count_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument 40 char** argv = (char**)data; 61 if ((expr->data = *argv++) && *argv) 71 count_end(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument 73 if (expr->data) 74 sfprintf(expr->op, "%s: ", (char*)expr->data);
|
H A D | dss-null.h | 35 null_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc) argument 37 char** argv = (char**)data;
|
/ast/src/cmd/tests/sfio/ |
H A D | tnotify.c | 26 static void notify(Sfio_t* f, int type, void* data) argument 28 static void notify(f, type, data) 31 void* data;
|
/ast/src/cmd/dsslib/ip_t/ |
H A D | bgpsize.c | 36 unsigned int data; local 42 data = TOTAL - (fixed + pad); 43 if (total == TOTAL && pad == sizeof(bgp.pad) && data == sizeof(bgp.data)) 46 sfprintf(sfstdout, "edit bgp.h and adjust padding dimensions to pad[%u] and data[%u] for data aligned to %d bytes and a total size of %u\n", pad, data, ALIGN, TOTAL);
|
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwdecode.c | 23 ** In this case, data must be VCD_SOURCEFILE or VCD_TARGETFILE. 29 static Vcwmatch_t* decode(Vcwindow_t* vcw, Void_t* data, size_t size, Sfoff_t here) argument 31 static Vcwmatch_t* decode(vcw, data, size, here) 33 Void_t* data; /* target data to be matched */ 34 size_t size; /* data size */ 43 if((vcw->match.type = TYPECAST(int,data)) == VCD_SOURCEFILE )
|
/ast/src/lib/libvcodex/ |
H A D | vcbcktsort.c | 31 ssize_t vcbcktsort(ssize_t* indx, ssize_t* list, ssize_t n, Vcchar_t* data, ssize_t* bckt) argument 33 ssize_t vcbcktsort(indx, list, n, data, bckt) 37 Vcchar_t* data; /* data used to sort */ 48 bckt[data[list[p]]] += 1; 52 bckt[data[p]] += 1; 64 indx[bckt[data[list[p]]]++] = list[p]; 68 indx[bckt[data[p]]++] = p; 78 ** we ever need to deal with data compressed with such versions. 81 ssize_t vcbcktsort(ssize_t* sort, ssize_t* list, ssize_t n, Vcchar_t* data, ssize_ [all...] |
/ast/src/lib/libvgraph/ |
H A D | grsearch.c | 9 { Grdata_t data; member in struct:_dfsgraph_s 15 Grdata_t data; member in struct:_dfsnode_s
|
/ast/src/lib/libast/disc/ |
H A D | sfdctee.c | 44 Void_t* buf; /* the buffer of data being output */ 45 size_t size; /* the data size */ 51 /* tee data if still ok */ 61 static int teeexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc) argument 63 static int teeexcept(f,type,data,disc) 66 Void_t* data;
|
/ast/src/lib/libast/misc/ |
H A D | fs3d.c | 113 fs3d_mount(const char* source, char* target, int flags, void* data) argument 115 return mount(source, target, flags, data);
|