Lines Matching refs:length
25 size_t length;
44 return tok->length;
72 *len = tok->length - 1;
97 *len = tok->length - 1;
124 /* we do not allow zero length typed tokens */
137 tok->length = size;
154 safezero(tok->data, tok->length);
163 tok->length = 0;
222 dst->data = talloc_memdup(dst, src->data, src->length);
226 dst->length = src->length;
251 safezero(tok->data, tok->length);
299 /* Re-calculate length for the case where \0 was missing in the blob */
358 if (tok->length < 2 * sizeof(uint32_t)) {
370 || tok->length != 2 * sizeof(uint32_t) + *fa1_len + *fa2_len + 2) {
421 tok->length = needed_size;
470 tok->length = needed_size;
684 /* Re-calculate length for the case where \0 was missing in the blob */
724 if (tok->length < 4 * sizeof(uint32_t)) {
738 if (tok->length != 4 * sizeof(uint32_t) + 4 + pin_len + token_name_len