/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | putc.c | 29 (int)(*(p)->_ptr++ = (unsigned char)(x)) :\ 31 ((*(p)->_ptr = (unsigned char)(x)) != '\n' ?\ 32 (int)(*(p)->_ptr++) :\ 33 _flsbuf(*(unsigned char *)(p)->_ptr, p)) :\
|
H A D | ungetc.c | 48 if((iop->_flag & _IOREAD) == 0 || iop->_ptr <= iop->_base) 49 if(iop->_ptr == iop->_base && iop->_cnt == 0) 50 ++iop->_ptr; 53 if (*--iop->_ptr != c) *iop->_ptr = c; /* was *--iop->_ptr = c; */
|
H A D | gets.c | 52 stdin->_ptr--; 56 if ((p = memccpy(ptr, (char *) stdin->_ptr, '\n', n)) != NULL) 60 stdin->_ptr += n;
|
H A D | getc.c | 28 #define __getc__(p) (--(p)->_cnt>=0? ((int)*(p)->_ptr++):_filbuf(p))
|
H A D | stdiom.h | 33 #define _BUFSYNC(iop) if ((iop->_base + iop->_bufsiz) - iop->_ptr < \ 38 || (iop->_ptr == iop->_base && iop->_cnt == 0 \
|
H A D | fwrite.c | 67 prev_ptr = iop->_ptr; 68 if (iop->_base >= iop->_ptr) { /*this covers the unbuffered case, too*/ 82 while ((n = bufend - (cptr = iop->_ptr)) <= 0) /* full buf */ 88 iop->_ptr += n; 94 '\n',iop->_ptr - prev_ptr) != NULL)) {
|
H A D | fgets.c | 67 iop->_ptr--; 71 if ((p = memccpy(ptr, (char *) iop->_ptr, '\n', n)) != NULL) 75 iop->_ptr += n;
|
H A D | fread.c | 62 iop->_ptr--; 66 ptr = memcpy(ptr, (char *) iop->_ptr, n) + n; 68 iop->_ptr += n;
|
H A D | puts.c | 57 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */ 63 stdout->_ptr += n; 67 stdout->_ptr[-1] = '\n'; /* overwrite '\0' with '\n' */
|
H A D | fseek.c | 66 p >= iop->_base - iop->_ptr) { 67 iop->_ptr += (int)p; 74 iop->_ptr = iop->_base; 88 iop->_ptr = iop->_base;
|
/illumos-gate/usr/src/cmd/lms/SyncLib/Include/ |
H A D | SPtr.h | 53 _ptr(ptr_p), 62 _ptr = other_sptr_p.get(); 72 _ptr = other_sptr_p.get(); 87 if (_ptr) { 88 delete _ptr; 90 _ptr = 0; 108 if (_ptr) { 109 delete _ptr; 115 _ptr = (T *)other_sptr_p.get(); 132 if (_ptr) { 177 T *_ptr; member in class:SPtr [all...] |
/illumos-gate/usr/src/head/ |
H A D | stdio_impl.h | 53 unsigned char *_ptr; /* next character from/to here in buffer */ member in struct:__FILE_TAG 57 unsigned char *_ptr; /* next character from/to here in buffer */
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | ungetc.c | 59 if (iop->_ptr <= iop->_base) { 63 } else if (iop->_ptr <= iop->_base - PUSHBACK) 67 ++iop->_ptr; 68 if (*--iop->_ptr != (unsigned char) c) 69 *iop->_ptr = (unsigned char) c; /* was *--iop->_ptr = c; */
|
H A D | _wrtchk.c | 57 else if ((iop->_ptr == iop->_base) && 59 iop->_cnt = _bufend(iop) - iop->_ptr;
|
H A D | getc.c | 57 c = (--iop->_cnt < 0) ? __filbuf(iop) : *iop->_ptr++; 66 return ((--iop->_cnt < 0) ? __filbuf(iop) : *iop->_ptr++);
|
H A D | putc.c | 60 (*iop->_ptr++) = (unsigned char)ch; 74 return (*iop->_ptr++ = (unsigned char)ch);
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | sprintf.c | 46 siop._base = siop._ptr = (unsigned char *)string; 51 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vsprintf.c | 45 siop._base = siop._ptr = (unsigned char *)string; 48 *siop._ptr = '\0'; /* plant terminating null character */
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | sprintf.c | 47 siop._base = siop._ptr = (unsigned char *)string; 52 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vsprintf.c | 52 siop._base = siop._ptr = (unsigned char *)string; 55 *siop._ptr = '\0'; /* plant terminating null character */
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | sprintf.c | 58 siop._base = siop._ptr = (unsigned char *)string; 63 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vsprintf.c | 57 siop._base = siop._ptr = (unsigned char *)string; 60 *siop._ptr = '\0'; /* plant terminating null character */
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | stdio.h | 36 unsigned char *_ptr; member in struct:_iobuf 65 #define getc(p) (--(p)->_cnt>=0? ((int)*(p)->_ptr++):_filbuf(p)) 67 (int)(*(p)->_ptr++ = (unsigned char)(x)) :\ 69 ((*(p)->_ptr = (unsigned char)(x)) != '\n' ?\ 70 (int)(*(p)->_ptr++) :\ 71 _flsbuf(*(unsigned char *)(p)->_ptr, p)) :\
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | file_decim.c | 44 ((*iop->_ptr == '\0') ? EOF : *iop->_ptr++) : \ 47 #define myungetc(x, iop) ((iop->_flag & _IOWRT) ? *(--iop->_ptr) : \ 65 ((*pf->_ptr == '\0') ? EOF : *pf->_ptr++) : \
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | ungetwc.c | 78 if (iop->_ptr <= iop->_base) { 83 if (iop->_ptr == iop->_base && iop->_cnt == 0) { 84 ++iop->_ptr; 85 } else if ((iop->_ptr - n) < (iop->_base - PUSHBACK)) { 93 *--(iop)->_ptr = (*p--);
|