Searched defs:un (Results 1 - 6 of 6) sorted by relevance
/ast/src/lib/libast/sfio/ |
H A D | sfgetr.c | 39 ssize_t n, un; local 54 un = 0; 61 { if((f->flags&SF_STRING) && (un = f->endb - f->next)) 66 else if((rsrv = f->rsrv) && (un = -rsrv->slen) > 0) 112 un = s - f->next; 121 if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */ 127 if(!rsrv || rsrv->size < un+n+1) 129 rsrv->slen = un; 130 if((rsrv = _sfrsrv(f,un+n+1)) != NIL(Sfrsrv_t*)) 139 s = us+un; [all...] |
/ast/src/lib/libast/disc/ |
H A D | sfdcunion.c | 71 reg Union_t* un; local 74 un = (Union_t*)disc; 76 f = un->f[un->c].f; 78 { if((r = sfread(f,buf,m)) < 0 || (r == 0 && un->c == un->n-1) ) 82 un->here += r; 88 if(sfeof(f) && un->c < un->n-1) 89 f = un 104 reg Union_t* un; local 172 reg Union_t* un; local [all...] |
/ast/src/lib/libpp/ |
H A D | ppexpr.c | 280 int un = 0; local 291 n = -subexpr(13, &un); 294 n = subexpr(13, &un); 297 n = !subexpr(13, &un); 300 n = ~subexpr(13, &un); 308 un <<= 1; 324 n = subexpr(1, &un); 338 un <<= 1; 342 un = 0; 345 if (!n) n = subexpr(2, &un); [all...] |
/ast/src/lib/librecsort/ |
H A D | rslist.c | 41 static int uninsert(Union_t** list, int n, Union_t* un) argument 43 static int uninsert(list, n, un) 46 Union_t* un; 53 obj = un->obj; 81 if(un->pos < h->pos || !(p=h, h=h->equi) ) 83 un->equi = h; 84 if(p) p->equi = un; 85 else *l = un; 90 *l = un; un 106 reg Union_t *un, *u, *pu; local [all...] |
/ast/src/cmd/ksh93/sh/ |
H A D | env.c | 34 } un; member in struct:_venv_ 54 #define ENV_PMALLOC 1 /* set if Evar_t->un.ptr *s malloced */ 106 ep->env[n++] = vp->un.ptr; 123 if(vp && strcmp(str,vp->un.ptr)==0) 130 free((void*)vp->un.ptr); 131 vp->un.ptr = (char*)str; 133 ep->env[vp->index>>ENV_BITS] = vp->un.ptr; 139 ep->freelist = vp->un.next; 144 ep->freelist->un.next = 0; 148 vp->un [all...] |
/ast/src/lib/libast/comp/ |
H A D | iconv.c | 98 "un|unicode|utf", 263 size_t un; local 286 un = *fn; 337 un = *fn / sizeof(WCHAR); 340 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, 0))) 342 else if (!(ub = (LPWSTR)malloc(un * sizeof(WCHAR)))) 344 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)ub, un))) 351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0)) 365 while (!(fz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)bz, (LPWSTR)ub, un))) [all...] |
Completed in 32 milliseconds