/osnet-11/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 | 55 else if ((iop->_ptr == iop->_base) && 57 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);
|
H A D | fwrite.c | 86 iop->_cnt = iop->_base - iop->_ptr; 90 *iop->_ptr++ = *dptr++; 103 if (iop->_base != iop->_ptr) { 108 bytes = iop->_ptr - iop->_base; 123 iop->_ptr = iop->_base; 145 (void) memcpy(iop->_ptr, (void *)dptr, 148 iop->_ptr += iop->_cnt; 155 char *tmp = (char *)iop->_ptr; 185 (void) memcpy(iop->_ptr, (void *)dptr, s); 187 iop->_ptr [all...] |
H A D | fread.c | 82 (void) memcpy((void*)dptr, iop->_ptr, 88 * filbuf clobbers _cnt & _ptr, 97 char *tmp = (char *)iop->_ptr; 124 (void) memcpy((void*)dptr, iop->_ptr, 127 iop->_ptr += s;
|
H A D | _flsbuf.c | 56 if (iop->_base != 0 && iop->_ptr > iop->_base) 60 if (iop->_ptr >= _bufend(iop)) 67 if ((*iop->_ptr++ = (unsigned char)ch) == '\n')
|
H A D | fgets.c | 78 iop->_ptr--; /* put back the character */ 87 if ((p = memccpy(ptr, (char *)iop->_ptr, '\n', 92 iop->_ptr += n;
|
H A D | gets.c | 78 stdin->_ptr--; /* put back the character */ 87 if ((p = (char *)memccpy(ptr, (char *)stdin->_ptr, '\n', 92 stdin->_ptr += n;
|
H A D | puts.c | 67 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */ 87 stdout->_ptr += len; 98 stdout->_ptr[-1] = '\n';
|
H A D | rewind.c | 60 iop->_ptr = iop->_base;
|
H A D | __extensions.c | 94 if ((stream->_ptr = stream->_base) != NULL) 109 amount = stream->_ptr - stream->_base;
|
H A D | _filbuf.c | 115 iop->_ptr = iop->_base; 122 return (*iop->_ptr++);
|
H A D | fputs.c | 73 while ((n = bufend - (cptr = iop->_ptr)) <= 0) { 93 iop->_ptr += len;
|
H A D | flush.c | 377 fp->_ptr = 0; 510 /* make sure _cnt, _ptr are correct */ 516 spaceleft = bufend - iop->_ptr; 517 if (bufend < iop->_ptr) { 518 iop->_ptr = bufend; 536 n = iop->_ptr - base; 537 iop->_ptr = base; 668 iop->_ptr = iop->_base; 674 if (iop->_base != NULL && iop->_ptr > iop->_base) { 709 iop->_ptr [all...] |
H A D | doscan.c | 59 ((*iop->_ptr == '\0') ? EOF : *iop->_ptr++) : \ 62 ((iop->_flag & _IOWRT) ? *(--iop->_ptr) : \ 63 (++iop->_cnt, *(--iop->_ptr)))) 66 ((*iop->_ptr == '\0') ? EOF : *iop->_ptr++) : \ 69 ((iop->_flag & _IOWRT) ? *(--iop->_ptr) : \ 1061 if (*iop->_ptr == '\0') 1063 len = mbtowc((wchar_t *)&wc, (const char *)iop->_ptr, 1067 iop->_ptr [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | perlapi.c | 37 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \ 39 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \ 50 #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \ 52 #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \ 55 #define PERLVARIC(v,t,i) const t* Perl_##v##_ptr(pTHX) \
|
/osnet-11/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++) : \
|
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | __ungetwc_xpg5.c | 83 if (iop->_ptr <= iop->_base) { 88 if (iop->_ptr == iop->_base && iop->_cnt == 0) { 89 ++iop->_ptr; 90 } else if ((iop->_ptr - n) < (iop->_base - PUSHBACK)) { 98 *--(iop)->_ptr = (*p--);
|
/osnet-11/usr/src/lib/libc/port/print/ |
H A D | sprintf.c | 52 siop._base = siop._ptr = (unsigned char *)string; 58 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vsprintf.c | 65 siop._base = siop._ptr = (unsigned char *)string; 72 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | snprintf.c | 54 siop._base = siop._ptr = (unsigned char *)string; 74 siop._base = siop._ptr = tmpbuf; 85 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vsnprintf.c | 67 siop._base = siop._ptr = (unsigned char *)string; 87 siop._base = siop._ptr = tmpbuf; 101 *siop._ptr = '\0'; /* plant terminating null character */
|
H A D | vwprintf.c | 167 siop._base = siop._ptr = (unsigned char *)string; 175 wp = (wchar_t *)(uintptr_t)siop._ptr;
|
/osnet-11/usr/src/lib/libc/inc/ |
H A D | file64.h | 64 unsigned char *_ptr; /* next character from/to here in buffer */ member in struct:__FILE_TAG
|