Lines Matching refs:length
63 memcpy(ret, str->data, str->length); in sec_alloc_realloc()
64 OPENSSL_secure_clear_free(str->data, str->length); in sec_alloc_realloc()
76 if (str->length >= len) { in BUF_MEM_grow()
77 str->length = len; in BUF_MEM_grow()
82 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow()
83 str->length = len; in BUF_MEM_grow()
101 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow()
102 str->length = len; in BUF_MEM_grow()
112 if (str->length >= len) { in BUF_MEM_grow_clean()
114 memset(&str->data[len], 0, str->length - len); in BUF_MEM_grow_clean()
115 str->length = len; in BUF_MEM_grow_clean()
119 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow_clean()
120 str->length = len; in BUF_MEM_grow_clean()
138 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow_clean()
139 str->length = len; in BUF_MEM_grow_clean()