/titanic_51/usr/src/lib/libast/common/sfio/ |
H A D | sffilbuf.c | 63 if((r = f->endb-f->next) > 0) 72 n > (f->size - (f->endb-f->data)) ) 82 memcpy(f->data, f->endb-s, s); 84 f->endb = f->data + s; 88 f->next = f->endb = f->endr = f->data; 93 { r = f->size - (f->endb - f->data); /* available buffer */ 105 if((r = SFRD(f,f->endb,r,f->disc)) >= 0) 106 { r = f->endb - f->next;
|
H A D | sfmove.c | 45 reg uchar *endb; local 91 if(fw->next >= fw->endb || 116 if((r = fr->endb - (next = fr->next)) <= 0) 134 if(fw && fw->extent >= 0 && w <= (fw->endb-fw->next) ) 135 { w = fw->endb - (next = fw->next); 170 fr->next = fr->endb = fr->endr = fr->data; 178 endb = next+r; 189 else if((w = endb-cp) > 0) 194 fr->endb = fr->data+w; 195 if((w = endb - (cp+w)) > 0) [all …]
|
H A D | sfseek.c | 39 { SFMUNMAP(f, f->data, f->endb-f->data); 44 f->endb = (f->mode&SF_WRITE) ? f->data+f->size : f->data; 175 s = f->here - (f->endb - f->next); 177 if(r <= f->here && r >= (f->here - (f->endb-f->data)) ) 194 f->next = f->endb - (f->here - r); 208 if((f->next - f->data) < ((f->endb - f->data)/4) ) 222 if(f->endb > f->next) 224 f->iosz = (f->next - f->data) + (f->endb - f->next)/2; 231 f->next = f->endr = f->endb = f->data; 259 if(p <= f->here && p >= (f->here - (f->endb - f->data)) ) [all …]
|
H A D | sfmode.c | 320 p->ndata = f->endb-f->next; 333 f->endb = f->data; 341 f->endb = f->data+p->ndata; 374 { f->next = f->endb = f->endr = f->data; 456 f->endb = f->data + f->size; 459 f->endr = f->endb; 460 else f->endw = f->endb; 481 f->endb = f->data+f->extent; 495 f->next = f->endr = f->endw = f->endb = f->data; 515 { SFMUNMAP(f,f->data,f->endb-f->data); [all …]
|
H A D | sfpurge.c | 59 { f->here -= f->endb - f->next; 61 { SFMUNMAP(f,f->data,f->endb-f->data); 83 if(f->extent >= 0 && f->endb > f->next) 84 { f->here -= f->endb-f->next; 87 f->endb = f->next = f->data;
|
H A D | sfreserve.c | 56 { if((n = f->endb - f->next) > 0 && n == f->val ) 85 if((n = f->endb - f->next) < 0) 104 if((n = now = f->endb - f->next) < 0) 113 { if((iosz = f->push->endb - f->push->next) == 0) 135 if((n = f->endb - f->next) < sz) 137 { f->endb = f->endr = f->next; 151 if((n = f->endb - f->next) <= 0) 178 if((n = f->endb - f->next) >= sz )
|
H A D | sfrd.c | 88 if(f->next < f->endb) 92 { f->endb = f->next = f->endr = f->data; 97 { SFMUNMAP(f, f->data, f->endb-f->data); 101 f->next = f->endb = f->endr = f->endw = f->data; 141 if((uchar*)buf >= f->data && (uchar*)buf <= f->endb) 142 { n += f->endb - f->next; 150 else f->here -= f->endb-f->next; 173 SFMUNMAP(f, f->data, f->endb-f->data); 194 f->endr = f->endb = f->data+r; 207 else n = f->endb - f->next; [all …]
|
H A D | sfflsbuf.c | 58 if(n == (f->endb-data) && (f->flags&SF_STRING)) 64 if(f->next < f->endb || !(f->flags&SF_STRING) ) 74 if(n < (f->endb - (data = f->data))) 122 inpc = f->endb-f->next;
|
H A D | sfdisc.c | 47 uchar* endb; member 94 if((sz = dcca->endb - dcca->data) > (ssize_t)size) 98 if((dcca->data += sz) >= dcca->endb) /* free empty cache */ 149 f->endb = f->next = f->endr = f->endw = f->data; 154 ((f->mode&SF_READ) && (n = f->endb-f->next) > 0) ) 181 dcca->endb = dcca->data + n; 183 f->endb = f->next = f->endr = f->endw = f->data;
|
H A D | sfgetr.c | 61 { if((f->flags&SF_STRING) && (un = f->endb - f->next)) 63 f->next = f->endb; 75 if((n = (ends = f->endb) - (s = f->next)) <= 0) 151 if(us >= f->data && us < f->endb)
|
H A D | sfread.c | 72 f->endb = f->data+n; 76 f->endr = f->endb; 91 if((r = f->endb - f->next) > 0) /* has buffered data */ 105 { f->next = f->endb = f->data;
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sffilbuf.c | 63 if((r = f->endb-f->next) > 0) 72 n > (f->size - (f->endb-f->data)) ) 82 memmove(f->data, f->endb-s, s); 84 f->endb = f->data + s; 88 f->next = f->endb = f->endr = f->data; 93 { r = f->size - (f->endb - f->data); /* available buffer */ 105 if((r = SFRD(f,f->endb,r,f->disc)) >= 0) 106 { r = f->endb - f->next;
|
H A D | sfmove.c | 45 reg uchar *endb; local 91 if(fw->next >= fw->endb || 116 if((r = fr->endb - (next = fr->next)) <= 0) 134 if(fw && fw->extent >= 0 && w <= (fw->endb-fw->next) ) 135 { w = fw->endb - (next = fw->next); 170 fr->next = fr->endb = fr->endr = fr->data; 178 endb = next+r; 189 else if((w = endb-cp) > 0) 194 fr->endb = fr->data+w; 195 if((w = endb [all...] |
H A D | sfseek.c | 39 { SFMUNMAP(f, f->data, f->endb-f->data); 44 f->endb = (f->mode&SF_WRITE) ? f->data+f->size : f->data; 175 s = f->here - (f->endb - f->next); 177 if(r <= f->here && r >= (f->here - (f->endb-f->data)) ) 194 f->next = f->endb - (f->here - r); 208 if((f->next - f->data) < ((f->endb - f->data)/4) ) 222 if(f->endb > f->next) 224 f->iosz = (f->next - f->data) + (f->endb - f->next)/2; 231 f->next = f->endr = f->endb = f->data; 259 if(p <= f->here && p >= (f->here - (f->endb [all...] |
H A D | sfmode.c | 325 p->ndata = f->endb-f->next; 338 f->endb = f->data; 346 f->endb = f->data+p->ndata; 379 { f->next = f->endb = f->endr = f->data; 461 f->endb = f->data + f->size; 464 f->endr = f->endb; 465 else f->endw = f->endb; 486 f->endb = f->data+f->extent; 500 f->next = f->endr = f->endw = f->endb = f->data; 520 { SFMUNMAP(f,f->data,f->endb [all...] |
H A D | sfpurge.c | 59 { f->here -= f->endb - f->next; 61 { SFMUNMAP(f,f->data,f->endb-f->data); 83 if(f->extent >= 0 && f->endb > f->next) 84 { f->here -= f->endb-f->next; 87 f->endb = f->next = f->data;
|
H A D | sfreserve.c | 56 { if((n = f->endb - f->next) > 0 && n == f->val ) 85 if((n = f->endb - f->next) < 0) 104 if((n = now = f->endb - f->next) < 0) 113 { if((iosz = f->push->endb - f->push->next) == 0) 135 if((n = f->endb - f->next) < sz) 137 { f->endb = f->endr = f->next; 151 if((n = f->endb - f->next) <= 0) 178 if((n = f->endb - f->next) >= sz )
|
H A D | sfrd.c | 88 if(f->next < f->endb) 92 { f->endb = f->next = f->endr = f->data; 97 { SFMUNMAP(f, f->data, f->endb-f->data); 101 f->next = f->endb = f->endr = f->endw = f->data; 141 if((uchar*)buf >= f->data && (uchar*)buf <= f->endb) 142 { n += f->endb - f->next; 150 else f->here -= f->endb-f->next; 173 SFMUNMAP(f, f->data, f->endb-f->data); 194 f->endr = f->endb = f->data+r; 207 else n = f->endb [all...] |
H A D | sfflsbuf.c | 58 if(n == (f->endb-data) && (f->flags&SF_STRING)) 65 if(f->next < f->endb || !(f->flags&SF_STRING) ) 75 if(n < (f->endb - (data = f->data))) 123 inpc = f->endb-f->next;
|
H A D | sfdisc.c | 47 uchar* endb; member 94 if((sz = dcca->endb - dcca->data) > (ssize_t)size) 98 if((dcca->data += sz) >= dcca->endb) /* free empty cache */ 149 f->endb = f->next = f->endr = f->endw = f->data; 154 ((f->mode&SF_READ) && (n = f->endb-f->next) > 0) ) 181 dcca->endb = dcca->data + n; 183 f->endb = f->next = f->endr = f->endw = f->data;
|
H A D | sfwrite.c | 77 f->endb = f->data + n; 95 w = f->endb - f->next; 97 if(s == f->next && s < f->endb) /* after sfreserve */ 109 if((w = f->endb - f->next) < (ssize_t)n) 121 if((w = f->endb - f->next) < (ssize_t)n &&
|
H A D | sfgetr.c | 61 { if((f->flags&SF_STRING) && (un = f->endb - f->next)) 63 f->next = f->endb; 75 if((n = (ends = f->endb) - (s = f->next)) <= 0) 151 if(us >= f->data && us < f->endb)
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dttree.c | 41 char *obj, *endb, buf[1024]; in dttreeprint() local 48 endb = buf; /* indentation */ in dttreeprint() 50 { *endb++ = ' '; *endb++ = ' '; } in dttreeprint() 52 *endb++ = '('; in dttreeprint() 54 k = strlen(obj); memcpy(endb, obj, k); endb += k; in dttreeprint() 55 *endb++ = ')'; in dttreeprint() 56 *endb++ = ':'; in dttreeprint() 57 *endb in dttreeprint() [all...] |
/titanic_51/usr/src/lib/libast/common/disc/ |
H A D | sfdcfilter.c | 34 char* endb; /* end of data */ member 56 if(fi->next && fi->next >= fi->endb ) 59 fi->endb = fi->raw+r; 66 fi->next = fi->endb = NIL(char*); 70 if(fi->next && (w = fi->endb - fi->next) > 0 ) 177 fi->next = fi->endb = fi->raw;
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcfilter.c | 34 char* endb; /* end of data */ member 56 if(fi->next && fi->next >= fi->endb ) 59 fi->endb = fi->raw+r; 66 fi->next = fi->endb = NIL(char*); 70 if(fi->next && (w = fi->endb - fi->next) > 0 ) 177 fi->next = fi->endb = fi->raw;
|