Lines Matching refs:tmp_buf
205 void *tmp_buf = 0; in TEE_GetPropertyAsString() local
218 tmp_buf = TEE_Malloc(tmp_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in TEE_GetPropertyAsString()
219 if (!tmp_buf) { in TEE_GetPropertyAsString()
225 tmp_buf, &tmp_len); in TEE_GetPropertyAsString()
243 bool_val = *((bool *)tmp_buf); in TEE_GetPropertyAsString()
248 uint32_val = *((uint32_t *)tmp_buf); in TEE_GetPropertyAsString()
253 l = snprintk(value, *value_len, "%pUl", tmp_buf); in TEE_GetPropertyAsString()
257 p_identity_val = ((TEE_Identity *)tmp_buf); in TEE_GetPropertyAsString()
264 l = strlcpy(value, tmp_buf, *value_len); in TEE_GetPropertyAsString()
269 if (!base64_enc(tmp_buf, tmp_len, value, &l) && in TEE_GetPropertyAsString()
289 if (tmp_buf) in TEE_GetPropertyAsString()
290 TEE_Free(tmp_buf); in TEE_GetPropertyAsString()