Lines Matching refs:us_length
176 unsigned short us_length;
288 us_length = htons((short)sspi_send_token.cbBuffer);
289 memcpy(socksreq+2, &us_length, sizeof(short));
367 memcpy(&us_length, socksreq+2, sizeof(short));
368 us_length = ntohs(us_length);
370 sspi_recv_token.cbBuffer = us_length;
371 sspi_recv_token.pvBuffer = malloc(us_length);
383 if(result != CURLE_OK || actualread != us_length) {
464 us_length = htons((short)1);
465 memcpy(socksreq+2, &us_length, sizeof(short));
549 us_length = htons((short)sspi_send_token.cbBuffer);
550 memcpy(socksreq+2,&us_length,sizeof(short));
604 memcpy(&us_length, socksreq+2, sizeof(short));
605 us_length = ntohs(us_length);
607 sspi_w_token[0].cbBuffer = us_length;
608 sspi_w_token[0].pvBuffer = malloc(us_length);
617 if(result != CURLE_OK || actualread != us_length) {