Home | History | Annotate | Download | only in cups

Lines Matching defs:bytes

75   size_t		bytes;		/* Number of bytes of data */
114 bytes = sizeof(buffer);
116 if ((result = gnutls_x509_privkey_export(key, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0)
126 cupsFileWrite(fp, (char *)buffer, bytes);
180 bytes = sizeof(buffer);
181 if (gnutls_x509_crt_get_key_id(crt, 0, buffer, &bytes) >= 0)
182 gnutls_x509_crt_set_subject_key_id(crt, buffer, bytes);
190 bytes = sizeof(buffer);
191 if ((result = gnutls_x509_crt_export(crt, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0)
202 cupsFileWrite(fp, (char *)buffer, bytes);
692 size_t alloc_data = 0, /* Bytes allocated */
693 num_data = 0; /* Bytes used */
694 int decoded; /* Bytes decoded */
824 ssize_t remaining; /* Bytes left */
961 size_t alloc_data = 0, /* Bytes allocated */
962 num_data = 0; /* Bytes used */
963 int decoded; /* Bytes decoded */
1083 static ssize_t /* O - Number of bytes read or -1 on error */
1087 size_t length) /* I - Number of bytes to read */
1090 ssize_t bytes; /* Bytes read */
1113 bytes = recv(http->fd, data, length, 0);
1114 DEBUG_printf(("6http_gnutls_read: bytes=%d", (int)bytes));
1115 return (bytes);
1123 static ssize_t /* O - Number of bytes written or -1 on error */
1127 size_t length) /* I - Number of bytes to write */
1129 ssize_t bytes; /* Bytes written */
1134 bytes = send(((http_t *)ptr)->fd, data, length, 0);
1135 DEBUG_printf(("http_gnutls_write: bytes=%d", (int)bytes));
1137 return (bytes);
1157 * '_httpTLSPending()' - Return the number of pending TLS-encrypted bytes.
1160 size_t /* O - Bytes available */
1171 int /* O - Bytes read */
1596 int /* O - Bytes written */