Lines Matching refs:l

75 	size_t l;  in propget_get_ext_prop()  local
80 l = sizeof(bool); in propget_get_ext_prop()
83 l = sizeof(uint32_t); in propget_get_ext_prop()
86 l = sizeof(TEE_UUID); in propget_get_ext_prop()
89 l = sizeof(TEE_Identity); in propget_get_ext_prop()
93 l = strlen(ep->value) + 1; in propget_get_ext_prop()
102 l = *len; in propget_get_ext_prop()
103 if (!_base64_dec(ep->value, strlen(ep->value), buf, &l) && in propget_get_ext_prop()
104 l <= *len) in propget_get_ext_prop()
106 if (*len < l) { in propget_get_ext_prop()
107 *len = l; in propget_get_ext_prop()
111 *len = l; in propget_get_ext_prop()
117 if (*len < l) { in propget_get_ext_prop()
118 *len = l; in propget_get_ext_prop()
122 *len = l; in propget_get_ext_prop()
123 memcpy(buf, ep->value, l); in propget_get_ext_prop()
195 size_t l; in TEE_GetPropertyAsString() local
236 l = strlcpy(value, (bool_val ? "true" : "false"), *value_len); in TEE_GetPropertyAsString()
241 l = snprintf(value, *value_len, "%u", uint32_val); in TEE_GetPropertyAsString()
245 l = snprintk(value, *value_len, "%pUl", tmp_buf); in TEE_GetPropertyAsString()
250 l = snprintk(value, *value_len, "%u:%pUl", in TEE_GetPropertyAsString()
256 l = strlcpy(value, tmp_buf, *value_len); in TEE_GetPropertyAsString()
260 l = *value_len; /* l includes the zero-termination */ in TEE_GetPropertyAsString()
261 if (!_base64_enc(tmp_buf, tmp_len, value, &l) && in TEE_GetPropertyAsString()
262 l <= *value_len) { in TEE_GetPropertyAsString()
266 l--; /* remove the zero-termination that is added later */ in TEE_GetPropertyAsString()
274 l++; /* include zero termination */ in TEE_GetPropertyAsString()
276 if (l > *value_len) in TEE_GetPropertyAsString()
278 *value_len = l; in TEE_GetPropertyAsString()