/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fwrite.c | 84 iop->_cnt = iop->_base - iop->_ptr; in _fwrite_unlocked() 86 ssize_t buflen = bufend - iop->_base; in _fwrite_unlocked() 101 if (iop->_base != iop->_ptr) { in _fwrite_unlocked() 106 bytes = iop->_ptr - iop->_base; in _fwrite_unlocked() 107 data = (char *)iop->_base; in _fwrite_unlocked() 121 iop->_ptr = iop->_base; in _fwrite_unlocked()
|
H A D | _filbuf.c | 72 if (iop->_base == 0) { in _filbuf() 113 iop->_ptr = iop->_base; in _filbuf() 117 nbyte = endbuf - iop->_base; in _filbuf() 118 if ((res = _xread(iop, (char *)iop->_base, nbyte)) > 0) { in _filbuf()
|
H A D | ungetc.c | 57 if (iop->_ptr <= iop->_base) { in _ungetc_unlocked() 58 if (iop->_base == 0) { in _ungetc_unlocked() 61 } else if (iop->_ptr <= iop->_base - PUSHBACK) in _ungetc_unlocked()
|
H A D | __extensions.c | 92 if ((stream->_ptr = stream->_base) != NULL) in __fpurge() 107 amount = stream->_ptr - stream->_base; in __fpending() 122 size = _bufend(stream) - stream->_base; in __fbufsize()
|
H A D | ftell.c | 78 (iop->_base != 0)) { in ftell_common() 79 adjust = iop->_ptr - iop->_base; in ftell_common() 80 } else if ((iop->_flag & _IORW) && (iop->_base != 0)) { in ftell_common()
|
H A D | setbuf.c | 56 if ((iop->_base != NULL) && (iop->_flag & _IOMYBUF)) in setbuf() 57 free((char *)iop->_base - PUSHBACK); in setbuf() 90 iop->_base = temp; in setbuf()
|
H A D | setvbuf.c | 100 if (iop->_base != NULL && sflag) in setvbuf() 101 free((char *)iop->_base - PUSHBACK); in setvbuf() 103 iop->_base = temp; in setvbuf()
|
H A D | flush.c | 381 fp->_base = 0; in _findiop() 541 Uchar *base = iop->_base; in _xflsbuf() 679 iop->_ptr = iop->_base; in _fflush_u() 685 if (iop->_base != NULL && iop->_ptr > iop->_base) { in _fflush_u() 717 (void) free((char *)iop->_base - PUSHBACK); in fclose() 719 iop->_base = NULL; in fclose() 767 free((char *)iop->_base - PUSHBACK); in fcloseall() 768 iop->_base = NULL; in fcloseall() 798 (void) free((char *)iop->_base - PUSHBACK); in close_fd() 800 iop->_base = NULL; in close_fd() [all …]
|
H A D | _wrtchk.c | 53 if (iop->_base == NULL && _findbuf(iop) == NULL) in _wrtchk() 55 else if ((iop->_ptr == iop->_base) && in _wrtchk()
|
H A D | _flsbuf.c | 55 if (iop->_base != 0 && iop->_ptr > iop->_base) in _flsbuf()
|
H A D | fseek.c | 63 if (ptrname == 1 && iop->_base && !(iop->_flag&_IONBF)) { in fseek() 73 iop->_ptr = iop->_base; in fseek()
|
H A D | fseeko.c | 70 if (ptrname == 1 && iop->_base && !(iop->_flag&_IONBF)) { in fseeko64() 80 iop->_ptr = iop->_base; in fseeko64()
|
H A D | _findbuf.c | 108 iop->_base = buf + PUSHBACK; /* bytes for pushback */ in _findbuf() 110 endbuf = iop->_base + size; in _findbuf()
|
H A D | fopen.c | 108 free((char *)iop->_base - PUSHBACK); in _freopen_null() 110 iop->_base = NULL; in _freopen_null()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | ungetwc.c | 78 if (iop->_ptr <= iop->_base) { in __ungetwc_impl() 79 if (iop->_base == NULL) { in __ungetwc_impl() 83 if (iop->_ptr == iop->_base && iop->_cnt == 0) { in __ungetwc_impl() 85 } else if ((iop->_ptr - n) < (iop->_base - PUSHBACK)) { in __ungetwc_impl()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newwin.c | 144 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) * in __m_newwin() 145 sizeof (*w->_base)); in __m_newwin() 146 if (w->_base == NULL) in __m_newwin() 149 w->_line[0] = w->_base; in __m_newwin() 167 w->_base = NULL; in __m_newwin() 249 if (w->_base != NULL) in delwin() 250 free(w->_base); in delwin()
|
H A D | scr_dump.c | 91 free(w->_base); in scr_replace() 103 new->_base = NULL; in scr_replace()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newwin.c | 141 w->_base = (cchar_t *) malloc( 142 (size_t) (nlines * ncols) * sizeof *w->_base 144 if (w->_base == (cchar_t *) 0) 147 w->_line[y = 0] = w->_base; 162 w->_base = (cchar_t *) 0; 236 if (w->_base != (cchar_t *) 0) 237 free(w->_base);
|
H A D | scr_dump.c | 93 free(w->_base); 104 new->_base = (cchar_t *) 0;
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | setbuffer.c | 57 if (iop->_base != 0 && iop->_flag & _IOMYBUF) in setbuffer() 58 free((char *)iop->_base - PUSHBACK); in setbuffer() 81 iop->_base = temp; in setbuffer()
|
/illumos-gate/usr/src/uts/intel/sys/amdzen/ |
H A D | smn.h | 494 #define AMDZEN_MAKE_SMN_REG_FN(_fn, _unit, _base, _mask, _nunits, _unitshift) \ argument 495 CTASSERT(((_base) & ~(_mask)) == 0); \ 515 const uint32_t aperture_base = (_base); \
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | vsnprintf.c | 65 siop._base = siop._ptr = (unsigned char *)string; in _vsnprintf_c89() 85 siop._base = siop._ptr = tmpbuf; in _vsnprintf_c89()
|
H A D | snprintf.c | 52 siop._base = siop._ptr = (unsigned char *)string; in snprintf() 72 siop._base = siop._ptr = tmpbuf; in snprintf()
|
/illumos-gate/usr/src/ucblib/libucb/inc/ |
H A D | stdiom.h | 116 (iop->_base == 0) || \ 117 (iop->_ptr == iop->_base && iop->_cnt == 0 && \
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_types.h | 1315 #define EFX_SHIFT64(_bit, _base) \ argument 1316 (((_bit) >= (_base) && (_bit) < (_base) + 64) ? \ 1317 ((uint64_t)1 << ((_bit) - (_base))) : \ 1323 #define EFX_SHIFT32(_bit, _base) \ argument 1324 (((_bit) >= (_base) && (_bit) < (_base) + 32) ? \ 1325 ((uint32_t)1 << ((_bit) - (_base))) : \ 1328 #define EFX_SHIFT16(_bit, _base) \ argument 1329 (((_bit) >= (_base) && (_bit) < (_base) + 16) ? \ 1330 (uint16_t)(1 << ((_bit) - (_base))) : \ 1333 #define EFX_SHIFT8(_bit, _base) \ argument [all …]
|