Lines Matching refs:blen
520 NEOERR *ne_net_read_binary(NSOCK *sock, UINT8 **b, int *blen) in ne_net_read_binary() argument
534 if (blen != NULL) *blen = l; in ne_net_read_binary()
566 if (blen != NULL) *blen = l; in ne_net_read_binary()
592 NEOERR *ne_net_write(NSOCK *sock, const char *b, int blen) in ne_net_write() argument
598 x = blen; in ne_net_write()
612 memcpy(sock->obuf + sock->ol, b + blen - x, l); in ne_net_write()
636 NEOERR *ne_net_write_binary(NSOCK *sock, const char *b, int blen) in ne_net_write_binary() argument
641 if (b == NULL) blen = -1; in ne_net_write_binary()
643 snprintf(buf, sizeof(buf), "%d:", blen); in ne_net_write_binary()
647 if (blen > 0) in ne_net_write_binary()
649 err = ne_net_write(sock, b, blen); in ne_net_write_binary()