Lines Matching refs:DEBUG_printf
290 DEBUG_printf(("httpClearFields(http=%p)", (void *)http)); in httpClearFields()
345 DEBUG_printf(("httpClose(http=%p)", (void *)http)); in httpClose()
452 …DEBUG_printf(("httpConnect2(host=\"%s\", port=%d, addrlist=%p, family=%d, encryption=%d, blocking=… in httpConnect2()
494 DEBUG_printf(("httpConnectEncrypt(host=\"%s\", port=%d, encryption=%d)", in httpConnectEncrypt()
540 DEBUG_printf(("httpEncryption(http=%p, e=%d)", (void *)http, e)); in httpEncryption()
623 DEBUG_printf(("httpFlush(http=%p), state=%s", (void *)http, httpStateString(http->state))); in httpFlush()
693 …DEBUG_printf(("httpFlushWrite(http=%p) data_encoding=%d", (void *)http, http ? http->data_encoding… in httpFlushWrite()
709 DEBUG_printf(("1httpFlushWrite: Returning %d, errno=%d.", (int)bytes, errno)); in httpFlushWrite()
1046 DEBUG_printf(("2httpGetLength2(http=%p), state=%s", (void *)http, httpStateString(http->state))); in httpGetLength2()
1089 DEBUG_printf(("4httpGetLength2: content_length=" CUPS_LLFMT, in httpGetLength2()
1166 DEBUG_printf(("2httpGets(line=%p, length=%d, http=%p)", (void *)line, length, (void *)http)); in httpGets()
1214 DEBUG_printf(("4httpGets: read " CUPS_LLFMT " bytes.", CUPS_LLCAST bytes)); in httpGets()
1223 DEBUG_printf(("3httpGets: recv() error %d!", WSAGetLastError())); in httpGets()
1241 DEBUG_printf(("3httpGets: recv() error %d!", errno)); in httpGets()
1310 DEBUG_printf(("3httpGets: Returning \"%s\"", line)); in httpGets()
1380 …DEBUG_printf(("2httpGetSubField2(http=%p, field=%d, name=\"%s\", value=%p, valuelen=%d)", (void *)… in httpGetSubField2()
1414 DEBUG_printf(("4httpGetSubField2: name=\"%s\"", temp)); in httpGetSubField2()
1472 DEBUG_printf(("4httpGetSubField2: value=\"%s\"", value)); in httpGetSubField2()
1480 DEBUG_printf(("3httpGetSubField2: Returning \"%s\"", value)); in httpGetSubField2()
1512 DEBUG_printf(("httpHead(http=%p, uri=\"%s\")", (void *)http, uri)); in httpHead()
1635 …DEBUG_printf(("httpPeek(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer,… in httpPeek()
1676 DEBUG_printf(("2httpPeek: data_remaining=" CUPS_LLFMT, in httpPeek()
1699 DEBUG_printf(("1httpPeek: 0-length chunk, set state to %s.", in httpPeek()
1743 DEBUG_printf(("2httpPeek: Reading %d bytes into buffer.", (int)buflen)); in httpPeek()
1746 DEBUG_printf(("2httpPeek: Read " CUPS_LLFMT " bytes into buffer.", in httpPeek()
1782 DEBUG_printf(("1httpPeek: Copying %d more bytes of data into " in httpPeek()
1794 DEBUG_printf(("2httpPeek: length=%d, avail_in=%d", (int)length, in httpPeek()
1812 DEBUG_printf(("2httpPeek: zerr=%d", zerr)); in httpPeek()
1838 DEBUG_printf(("2httpPeek: grabbing %d bytes from input buffer...", in httpPeek()
1898 DEBUG_printf(("2httpPrintf(http=%p, format=\"%s\", ...)", (void *)http, format)); in httpPrintf()
1904 DEBUG_printf(("3httpPrintf: (" CUPS_LLFMT " bytes) %s", CUPS_LLCAST bytes, buf)); in httpPrintf()
1931 DEBUG_printf(("httpPut(http=%p, uri=\"%s\")", (void *)http, uri)); in httpPut()
1969 …DEBUG_printf(("httpRead2(http=%p, buffer=%p, length=" CUPS_LLFMT ") coding=%d data_encoding=%d dat… in httpRead2()
1971 …DEBUG_printf(("httpRead2(http=%p, buffer=%p, length=" CUPS_LLFMT ") data_encoding=%d data_remainin… in httpRead2()
1992 DEBUG_printf(("2httpRead2: avail_in=%d, avail_out=%d", in httpRead2()
2000 DEBUG_printf(("2httpRead2: zerr=%d", zerr)); in httpRead2()
2011 DEBUG_printf(("2httpRead2: avail_in=%d, avail_out=%d, bytes=%d", in httpRead2()
2031 DEBUG_printf(("1httpRead2: Reading up to %d more bytes of data into " in httpRead2()
2051 DEBUG_printf(("1httpRead2: Adding " CUPS_LLFMT " bytes to " in httpRead2()
2107 DEBUG_printf(("1httpRead2: Reading up to %d bytes into buffer.", in httpRead2()
2153 DEBUG_printf(("1httpRead2: End of content, set state to %s.", in httpRead2()
2182 …DEBUG_printf(("httpReadRequest(http=%p, uri=%p, urilen=" CUPS_LLFMT ")", (void *)http, (void *)uri… in httpReadRequest()
2194 DEBUG_printf(("1httpReadRequest: Bad state %s, returning HTTP_STATE_ERROR.", in httpReadRequest()
2228 DEBUG_printf(("1httpReadRequest: %s", line)); in httpReadRequest()
2291 DEBUG_printf(("1httpReadRequest: Unknown method \"%s\".", req_method)); in httpReadRequest()
2296 DEBUG_printf(("1httpReadRequest: Set state to %s.", in httpReadRequest()
2311 DEBUG_printf(("1httpReadRequest: Unknown version \"%s\".", req_version)); in httpReadRequest()
2316 DEBUG_printf(("1httpReadRequest: URI is \"%s\".", req_uri)); in httpReadRequest()
2335 DEBUG_printf(("httpReconnect(http=%p)", (void *)http)); in httpReconnect()
2358 DEBUG_printf(("httpReconnect2(http=%p, msec=%d, cancel=%p)", (void *)http, msec, (void *)cancel)); in httpReconnect2()
2380 DEBUG_printf(("2httpReconnect2: Closing socket %d...", http->fd)); in httpReconnect2()
2408 DEBUG_printf(("2httpReconnect2: Address %s:%d", in httpReconnect2()
2426 DEBUG_printf(("1httpReconnect2: httpAddrConnect failed: %s", in httpReconnect2()
2432 DEBUG_printf(("2httpReconnect2: New socket=%d", http->fd)); in httpReconnect2()
2458 DEBUG_printf(("1httpReconnect2: Connected to %s:%d...", in httpReconnect2()
2588 …DEBUG_printf(("httpSetDefaultField(http=%p, field=%d(%s), value=\"%s\")", (void *)http, field, htt… in httpSetDefaultField()
2637 DEBUG_printf(("httpSetExpect(http=%p, expect=%d)", (void *)http, expect)); in httpSetExpect()
2653 …DEBUG_printf(("httpSetField(http=%p, field=%d(%s), value=\"%s\")", (void *)http, field, http_field… in httpSetField()
2691 DEBUG_printf(("1httpSetField: Ignoring unknown auth scheme in \"%s\".", value)); in httpSetField()
2789 DEBUG_printf(("httpSetLength(http=%p, length=" CUPS_LLFMT ")", (void *)http, CUPS_LLCAST length)); in httpSetLength()
2894 …DEBUG_printf(("_httpUpdate(http=%p, status=%p), state=%s", (void *)http, (void *)status, httpState… in _httpUpdate()
2906 DEBUG_printf(("2_httpUpdate: Got \"%s\"", line)); in _httpUpdate()
2960 DEBUG_printf(("1_httpUpdate: Set state to %s.", in _httpUpdate()
3012 DEBUG_printf(("1_httpUpdate: Header %s: %s", line, value)); in _httpUpdate()
3038 DEBUG_printf(("1_httpUpdate: unknown field %s seen!", line)); in _httpUpdate()
3043 DEBUG_printf(("1_httpUpdate: Bad response line \"%s\"!", line)); in _httpUpdate()
3063 DEBUG_printf(("httpUpdate(http=%p), state=%s", (void *)http, httpStateString(http->state))); in httpUpdate()
3096 DEBUG_printf(("1httpUpdate: Returning status %d...", http->status)); in httpUpdate()
3102 DEBUG_printf(("1httpUpdate: socket error %d - %s", http->error, in httpUpdate()
3134 DEBUG_printf(("4_httpWait(http=%p, msec=%d, usessl=%d)", (void *)http, msec, usessl)); in _httpWait()
3138 DEBUG_printf(("5_httpWait: Returning 0 since fd=%d", http->fd)); in _httpWait()
3174 DEBUG_printf(("6_httpWait: msec=%d, http->fd=%d", msec, http->fd)); in _httpWait()
3186 DEBUG_printf(("6_httpWait: select() returned %d...", nfds)); in _httpWait()
3196 DEBUG_printf(("5_httpWait: returning with nfds=%d, errno=%d...", nfds, in _httpWait()
3217 DEBUG_printf(("2httpWait(http=%p, msec=%d)", (void *)http, msec)); in httpWait()
3288 …DEBUG_printf(("httpWrite2(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffe… in httpWrite2()
3313 DEBUG_printf(("1httpWrite2: http->coding=%d", http->coding)); in httpWrite2()
3330 DEBUG_printf(("1httpWrite2: avail_out=%d", http->stream.avail_out)); in httpWrite2()
3337 DEBUG_printf(("1httpWrite2: Writing intermediate chunk, len=%d", (int)slen)); in httpWrite2()
3365 DEBUG_printf(("2httpWrite2: Flushing buffer (wused=%d, length=" in httpWrite2()
3377 DEBUG_printf(("2httpWrite2: Copying " CUPS_LLFMT " bytes to wbuffer...", in httpWrite2()
3390 DEBUG_printf(("2httpWrite2: Writing " CUPS_LLFMT " bytes to socket...", in httpWrite2()
3398 DEBUG_printf(("2httpWrite2: Wrote " CUPS_LLFMT " bytes...", in httpWrite2()
3455 DEBUG_printf(("2httpWrite2: Changed state to %s.", in httpWrite2()
3459 DEBUG_printf(("1httpWrite2: Returning " CUPS_LLFMT ".", CUPS_LLCAST bytes)); in httpWrite2()
3483 DEBUG_printf(("httpWriteResponse(http=%p, status=%d)", (void *)http, status)); in httpWriteResponse()
3649 DEBUG_printf(("1httpWriteResponse: Resetting state to HTTP_STATE_WAITING, " in httpWriteResponse()
3664 DEBUG_printf(("1httpWriteResponse: Resetting state to HTTP_STATE_WAITING, " in httpWriteResponse()
3703 DEBUG_printf(("http_content_coding_finish(http=%p)", (void *)http)); in http_content_coding_finish()
3704 DEBUG_printf(("1http_content_coding_finishing: http->coding=%d", http->coding)); in http_content_coding_finish()
3720 DEBUG_printf(("1http_content_coding_finish: Writing trailing chunk, len=%d", (int)bytes)); in http_content_coding_finish()
3770 DEBUG_printf(("http_content_coding_start(http=%p, value=\"%s\")", (void *)http, value)); in http_content_coding_start()
3774 DEBUG_printf(("1http_content_coding_start: http->coding already %d.", in http_content_coding_start()
3887 DEBUG_printf(("1http_content_coding_start: http->coding now %d.", in http_content_coding_start()
3912 …DEBUG_printf(("4http_create(host=\"%s\", port=%d, addrlist=%p, family=%d, encryption=%d, blocking=… in http_create()
4002 DEBUG_printf(("6%s: %d bytes:", prefix, bytes)); in http_debug_hex()
4054 …DEBUG_printf(("http_read(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer… in http_read()
4068 DEBUG_printf(("2http_read: Reading %d bytes into buffer.", (int)length)); in http_read()
4097 DEBUG_printf(("2http_read: %s", strerror(errno))); in http_read()
4122 DEBUG_printf(("2http_read: Read " CUPS_LLFMT " bytes into buffer.", in http_read()
4167 …DEBUG_printf(("http_read_buffered(http=%p, buffer=%p, length=" CUPS_LLFMT ") used=%d", (void *)htt… in http_read_buffered()
4176 DEBUG_printf(("2http_read: Grabbing %d bytes from input buffer.", in http_read_buffered()
4204 …DEBUG_printf(("http_read_chunk(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)… in http_read_chunk()
4230 DEBUG_printf(("1http_read_chunk: Negative chunk length \"%s\" (" in http_read_chunk()
4235 DEBUG_printf(("2http_read_chunk: Got chunk length \"%s\" (" CUPS_LLFMT ")", in http_read_chunk()
4248 DEBUG_printf(("2http_read_chunk: data_remaining=" CUPS_LLFMT, in http_read_chunk()
4292 …DEBUG_printf(("4http_send(http=%p, request=HTTP_%s, uri=\"%s\")", (void *)http, codes[request], ur… in http_send()
4330 DEBUG_printf(("5http_send: Reconnecting, fd=%d, status=%d, tls_upgrade=%d", in http_send()
4377 DEBUG_printf(("5http_send: %s: %s", http_fields[i], value)); in http_send()
4402 DEBUG_printf(("5http_send: expect=%d, mode=%d, state=%d", http->expect, in http_send()
4456 …DEBUG_printf(("http_set_length(http=%p) mode=%d state=%s", (void *)http, http->mode, httpStateStri… in http_set_length()
4484 DEBUG_printf(("1http_set_length: Setting data_remaining to " CUPS_LLFMT ".", in http_set_length()
4555 DEBUG_printf(("7http_tls_upgrade(%p)", (void *)http)); in http_tls_upgrade()
4643 …DEBUG_printf(("2http_write(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buff… in http_write()
4649 DEBUG_printf(("3http_write: About to write %d bytes.", (int)length)); in http_write()
4715 DEBUG_printf(("3http_write: Write of " CUPS_LLFMT " bytes returned " in http_write()
4756 DEBUG_printf(("3http_write: error writing data (%s).", in http_write()
4771 DEBUG_printf(("3http_write: Returning " CUPS_LLFMT ".", CUPS_LLCAST tbytes)); in http_write()
4790 …DEBUG_printf(("7http_write_chunk(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void … in http_write_chunk()