/ast/src/lib/libast/disc/ |
H A D | sfdcunion.c | 45 File_t f[1]; /* array of streams */ 164 int sfdcunion(Sfio_t* f, Sfio_t** array, int n) argument 166 int sfdcunion(f, array, n) 168 Sfio_t** array; 189 { un->f[i].f = array[i]; 191 { un->f[i].lower = sfseek(array[i],(Sfoff_t)0,1);
|
/ast/src/lib/libast/sfio/ |
H A D | sfmode.c | 122 reg Sfio_t** array; local 138 { if(p->s_sf == 0) /* initialize pool array */ 139 { p->s_sf = sizeof(p->array)/sizeof(p->array[0]); 140 p->sf = p->array; 142 else /* allocate a larger array */ 143 { n = (p->sf != p->array ? p->s_sf : (p->s_sf/4 + 1)*4) + 4; 144 if(!(array = (Sfio_t**)malloc(n*sizeof(Sfio_t*))) ) 147 /* move old array to new one */ 148 memcpy((Void_t*)array,(Void_ [all...] |
H A D | sfhdr.h | 680 int s_sf; /* size of pool array */ 682 Sfio_t** sf; /* array of streams */ 683 Sfio_t* array[3]; /* start with 3 */ member in struct:_sfpool_s
|
/ast/src/lib/libexpr/ |
H A D | exparse.y | 141 %type <integer> INTEGER UNSIGNED array 271 $$->data.generate.array = $3; 459 dcl_item : reference NAME {expr.id=$2;} array initialize 491 exerror("%s: cannot initialize associative array", $2->name); 944 exerror("%s: is%s an array", $1->name, $1->local.pointer ? "" : " not"); 957 array : /* empty */ label
|
/ast/src/lib/libpz/ |
H A D | pzpart.c | 1032 * allocate and read an array from the input partition header 1036 array(register Pz_t* pz, Pzpart_t* pp, size_t** pv, size_t* pn, size_t check) function 1144 if (array(pz, pp, &pp->fix, &pp->nfix, pp->row)) 1158 if (array(pz, pp, &pp->grp, &pp->ngrp, pp->row + 1)) 1162 if (array(pz, pp, &pp->map, &pp->nmap, pp->row)) 1210 array(pz, pp, NiL, NiL, 0); 1224 array(pz, pp, &pz->split.data, &pz->split.size, 0); 1230 array(pz, pp, NiL, NiL, 0);
|
/ast/src/cmd/ksh93/include/ |
H A D | name.h | 50 struct Namarray *array; /* for array node */ member in union:Value 63 #define ARRAY_MAX (1L<<ARRAY_BITS) /* maximum number of elements in an array */ 66 #define ARRAY_INCR 32 /* number of elements to grow when array 69 #define ARRAY_NOCLONE (16L<<ARRAY_BITS) /* do not clone array disc */
|
/ast/src/cmd/ksh93/sh/ |
H A D | nvtree.c | 576 int array; member in struct:Walk 769 if(isarray==0 && nv_isarray(np) && (nv_isnull(np)||np->nvalue.cp==Empty)) /* empty array */ 772 if(!wp->array && wp->indent>0) 826 if(outfile && !wp->array) 896 if((wp->array = nv_isarray(np)) && (ap=nv_arrayptr(np))) 906 wp->array=0; 931 if(wp->array) 937 wp->array = 0; 945 wp->array = 0; 1071 walk.array [all...] |
H A D | parse.c | 948 int array=0, index=0; local 956 array = ARG_APPEND; 972 ap->argflag |= array; 981 array= (type==NV_ARRAY)?SH_ARRAY:0; 1028 array=SH_ARRAY; 1035 array = 0; 1042 if(array && type==NV_TYPE) 1050 array = 0; 1064 ac = (struct comnod*)simple(lexp,SH_NOIO|SH_ASSIGN|type|array,NIL(struct ionod*)); 1069 if(array [all...] |
H A D | name.c | 302 int array = (flags&(NV_ARRAY|NV_IARRAY)); local 357 if(!array && tp->tre.tretyp!=TLST && tp->com.comset && !tp->com.comarg && tp->com.comset->argval[0]==0 && tp->com.comset->argval[1]=='[') 358 array |= (tp->com.comset->argflag&ARG_MESSAGE)?NV_IARRAY:NV_ARRAY; 396 if(typ && !array && (!shp->prefix || nv_isnull(np) || nv_isarray(np))) 413 if(array && (!ap || !ap->hdr.type)) 421 if(array&NV_ARRAY) 430 if(array && tp->tre.tretyp!=TLST && !tp->com.comset && !tp->com.comarg) 438 /* check for array assignment */ 439 if(tp->tre.tretyp!=TLST && tp->com.comarg && !tp->com.comset && ((array&NV_IARRAY) || !((mp=tp->com.comnamp) && nv_isattr(mp,BLT_DCL)))) 509 if(!(array [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | malloc.c | 729 char array[ALIGN]; member in union:_alloca_u 742 { char array[ALIGN]; local 755 { if(( _stk_down && &array[0] > Frame->head.head.addr) || 756 (!_stk_down && &array[0] < Frame->head.head.addr) ) 772 f->head.head.addr = &array[0];
|
/ast/src/lib/libcs/ |
H A D | msg.h | 152 long* array; member in union:__anon343
|
/ast/src/lib/libdss/ |
H A D | cx.h | 414 struct Cxarray_s /* array info */ 441 Cxarray_t* array; /* array info */ member in struct:Cxvariable_s
|
/ast/src/cmd/dsslib/flat/ |
H A D | flat.c | 85 Cxarray_t* array; /* physical array info */ member in struct:Physical_s 246 Cxarray_t* array; member in struct:Flat_s 1783 flat->array->delimiter = *data; 1795 flat->array->size = strtoul(data, &e, 0); 1803 else if (!(flat->array->variable = (Cxvariable_t*)strdup(data))) 1814 "SIZE", "Fixed array size or variable size field name.", 1834 if (!flat->lastfield->physical.array && !(flat->lastfield->physical.array = newof(0, Cxarray_t, 1, 0))) 1840 flat->array [all...] |