Searched refs:actual_len (Results 1 – 1 of 1) sorted by relevance
785 size_t actual_len; in z_user_string_alloc_copy() local789 actual_len = z_user_string_nlen(src, maxlen, &err); in z_user_string_alloc_copy()793 if (actual_len == maxlen) { in z_user_string_alloc_copy()795 LOG_ERR("string too long %p (%zu)", src, actual_len); in z_user_string_alloc_copy()798 if (size_add_overflow(actual_len, 1, &actual_len)) { in z_user_string_alloc_copy()803 ret = z_user_alloc_from_copy(src, actual_len); in z_user_string_alloc_copy()810 ret[actual_len - 1U] = '\0'; in z_user_string_alloc_copy()818 size_t actual_len; in z_user_string_copy() local821 actual_len = z_user_string_nlen(src, maxlen, &err); in z_user_string_copy()826 if (actual_len == maxlen) { in z_user_string_copy()[all …]