Lines Matching defs:obr
100 static bufrec obr = {NULL, 0, 0, 0, 0};
138 obr.len = obr.alloc_len;
149 (OM_uint32)obr.alloc_len, &mlen);
156 obr.len = mlen;
160 obr.alloc_len, obr.len);
642 (void) alloc_bufrec(&obr, DEF_GSSBUF_SIZE);
770 if (alloc_bufrec(&obr, newsz) == -1) {
860 while ((obr.idx < obr.len) && (len > 0)) {
864 n = (len < (obr.len - obr.idx) ? len :
865 obr.len - obr.idx);
866 memcpy(obr.buf + obr.idx, buf, n);
868 obr.idx += n;
870 if (obr.idx >= obr.len) {
871 ret = sec_putbuf(fd, (unsigned char *)obr.buf,
872 obr.idx);
873 obr.idx = 0;
929 if (obr.idx < obr.len) {
930 obr.buf[obr.idx++] = (unsigned char)(c & 0xff);
933 if (obr.idx == obr.len) {
934 ret = sec_putbuf(fileno(stream), (uchar_t *)obr.buf, obr.idx);
937 obr.idx = 0;
955 (void) vsnprintf(obr.buf, obr.len, fmt, ap);
956 ret = sec_putbuf(fileno(stream), (unsigned char *)obr.buf,
957 strlen(obr.buf));
980 if (obr.idx > 0) {
982 (unsigned char *)obr.buf, obr.idx);
983 obr.idx = 0;