Home
last modified time | relevance | path

Searched refs:_next (Results 1 – 25 of 48) sorted by relevance

12

/titanic_41/usr/src/lib/libxcurses2/src/libc/wide/
H A Dwio_get.c76 if (wio->_next < wio->_size) { in m_wio_get()
77 return ((wint_t)wio->_mb[wio->_next++]); in m_wio_get()
82 for (wio->_next = 0; wio->_next < (int)MB_CUR_MAX; ) { in m_wio_get()
87 wio->_mb[wio->_next] = (unsigned char)ch; in m_wio_get()
89 wio->_size = mbtowc(&wc, (char *)wio->_mb, wio->_next + 1); in m_wio_get()
91 ++wio->_next; in m_wio_get()
95 wio->_size = wio->_next; in m_wio_get()
108 wio->_size = wio->_next; in m_wio_get()
109 wio->_next = 0; in m_wio_get()
111 return (0 < wio->_size ? (wint_t) wio->_mb[wio->_next++] : WEOF); in m_wio_get()
H A Dwio_put.c93 wio->_next = count; in m_wio_put()
/titanic_41/usr/src/lib/libxcurses/src/libc/wide/
H A Dwio_get.c121 if (wio->_next < wio->_size)
122 return (wint_t) wio->_mb[wio->_next++];
127 for (wio->_next = 0; wio->_next < MB_CUR_MAX; ) {
131 wio->_mb[wio->_next] = ch;
135 &wc, (char *) (wio->_mb + wio->_next), 1, &wio->_state
138 ++wio->_next;
156 wio->_size = wio->_next;
169 wio->_size = wio->_next;
170 wio->_next = 0;
172 return 0 < wio->_size ? (wint_t) wio->_mb[wio->_next++] : WEOF;
H A Dwio_put.c91 wio->_next = count;
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dsfio.h345 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \
347 (int)(*_SF_(f)->_next++ = (unsigned char)(c)) )
348 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \
349 (int)(*_SF_(f)->_next++) )
423 (char*)((f)->_next = (f)->_data+(p)) ) \
425 ((f)->_next += (p), \
426 (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
427 ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
430 (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
435 #define sfstrtell(f) ((f)->_next - (f)->_data)
[all …]
H A Dstk.h55 #define stktop(sp) ((char*)(sp)->_next)
56 #define stktell(sp) ((sp)->_next-(sp)->_data)
57 #define stkseek(sp,n) ((n)==0?(char*)((sp)->_next=(sp)->_data):_stkseek(sp,n))
H A Dsfio_s.h32 #define _next next macro
36 { unsigned char* _next; /* next position to read/write from */ member
H A Dstak.h53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next)
/titanic_41/usr/src/lib/libast/common/include/
H A Dsfio.h345 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \
347 (int)(*_SF_(f)->_next++ = (unsigned char)(c)) )
348 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \
349 (int)(*_SF_(f)->_next++) )
423 (char*)((f)->_next = (f)->_data+(p)) ) \
425 ((f)->_next += (p), \
426 (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
427 ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
430 (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
435 #define sfstrtell(f) ((f)->_next - (f)->_data)
[all …]
H A Dstk.h46 #define stktop(sp) ((char*)(sp)->_next)
47 #define stktell(sp) ((sp)->_next-(sp)->_data)
48 #define stkseek(sp,n) ((n)==0?(char*)((sp)->_next=(sp)->_data):_stkseek(sp,n))
H A Dsfio_s.h32 #define _next next macro
36 { unsigned char* _next; /* next position to read/write from */ member
H A Dstak.h44 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next)
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dsfio.h345 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \
347 (int)(*_SF_(f)->_next++ = (unsigned char)(c)) )
348 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \
349 (int)(*_SF_(f)->_next++) )
423 (char*)((f)->_next = (f)->_data+(p)) ) \
425 ((f)->_next += (p), \
426 (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
427 ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
430 (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
435 #define sfstrtell(f) ((f)->_next - (f)->_data)
[all …]
H A Dstk.h55 #define stktop(sp) ((char*)(sp)->_next)
56 #define stktell(sp) ((sp)->_next-(sp)->_data)
57 #define stkseek(sp,n) ((n)==0?(char*)((sp)->_next=(sp)->_data):_stkseek(sp,n))
H A Dsfio_s.h32 #define _next next macro
36 { unsigned char* _next; /* next position to read/write from */ member
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio.h345 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \
347 (int)(*_SF_(f)->_next++ = (unsigned char)(c)) )
348 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \
349 (int)(*_SF_(f)->_next++) )
423 (char*)((f)->_next = (f)->_data+(p)) ) \
425 ((f)->_next += (p), \
426 (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
427 ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
430 (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
435 #define sfstrtell(f) ((f)->_next - (f)->_data)
[all …]
H A Dstk.h55 #define stktop(sp) ((char*)(sp)->_next)
56 #define stktell(sp) ((sp)->_next-(sp)->_data)
57 #define stkseek(sp,n) ((n)==0?(char*)((sp)->_next=(sp)->_data):_stkseek(sp,n))
H A Dsfio_s.h32 #define _next next macro
36 { unsigned char* _next; /* next position to read/write from */ member
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dsfio.h345 #define __sf_putc(f,c) (_SF_(f)->_next >= _SF_(f)->_endw ? \
347 (int)(*_SF_(f)->_next++ = (unsigned char)(c)) )
348 #define __sf_getc(f) (_SF_(f)->_next >= _SF_(f)->_endr ? _sffilbuf(_SF_(f),0) : \
349 (int)(*_SF_(f)->_next++) )
423 (char*)((f)->_next = (f)->_data+(p)) ) \
425 ((f)->_next += (p), \
426 (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
427 ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
430 (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
435 #define sfstrtell(f) ((f)->_next - (f)->_data)
[all …]
H A Dstk.h55 #define stktop(sp) ((char*)(sp)->_next)
56 #define stktell(sp) ((sp)->_next-(sp)->_data)
57 #define stkseek(sp,n) ((n)==0?(char*)((sp)->_next=(sp)->_data):_stkseek(sp,n))
H A Dsfio_s.h32 #define _next next macro
36 { unsigned char* _next; /* next position to read/write from */ member
/titanic_41/usr/src/lib/libast/common/misc/
H A Dstk.c178 stream->_data = stream->_next = 0; in stkexcept()
367 stream->_next = (unsigned char*)loc+offset; in stkset()
385 stream->_data = stream->_next = (unsigned char*)cp; in stkset()
403 stream->_data = stream->_next = old+n; in stkalloc()
417 stream->_next = stream->_data+n; in _stkseek()
431 top = stream->_next; in stkfreeze()
434 if(extra > (stream->_endb-stream->_next)) in stkfreeze()
443 stream->_next = stream->_data += roundof(top-old,STK_ALIGN); in stkfreeze()
477 stream->_data = stream->_next = cp+n; in stkcopy()
541 return((char*)(stream->_next = stream->_data+m)); in stkgrow()
/titanic_41/usr/src/lib/libxcurses2/h/
H A Dm_wio.h56 int _next; member
/titanic_41/usr/src/lib/libxcurses/h/
H A Dm_wio.h56 int _next; member
/titanic_41/usr/src/lib/libast/common/disc/
H A Dsfstrtmp.c56 f->_next = f->_data = (unsigned char*)buf;

12