Lines Matching refs:blen
97 static size_t i2c_ibuf(const unsigned char *b, size_t blen, int neg, in i2c_ibuf() argument
104 if (b != NULL && blen) { in i2c_ibuf()
105 ret = blen; in i2c_ibuf()
119 for (pad = 0, i = 1; i < blen; i++) in i2c_ibuf()
128 blen = 0; /* reduce '(b == NULL || blen == 0)' to '(blen == 0)' */ in i2c_ibuf()
142 twos_complement(p, b, blen, pb); in i2c_ibuf()
213 static int asn1_get_uint64(uint64_t *pr, const unsigned char *b, size_t blen) in asn1_get_uint64() argument
218 if (blen > sizeof(*pr)) { in asn1_get_uint64()
224 for (r = 0, i = 0; i < blen; i++) { in asn1_get_uint64()
255 static int asn1_get_int64(int64_t *pr, const unsigned char *b, size_t blen, in asn1_get_int64() argument
259 if (asn1_get_uint64(&r, b, blen) == 0) in asn1_get_int64()