Lines Matching +defs:val +defs:length
64 * Given an environment variable name, a receiving buffer and the length
66 * it and places the decoded data in addr. The return value is the length
78 int length;
91 length = (strlen(charaddr) + 1) / 2;
92 if (!(buf->buf = calloc(1, length)))
95 buf->maxlen = length;
123 * netbuf structure. A length of zero in the
198 * null terminated, thus the returned length must be used when
209 unsigned char val;
215 for (i = 2, val = 0; i--; ) {
219 val = (val << 4) | (unsigned char)asctohex(c);
222 *addr++ = (char)val;
226 fprintf(stderr, "nlsc2addr: returned length = %d\n", len);