Searched refs:space_left (Results 1 – 2 of 2) sorted by relevance
347 size_t space_left = sizeof(os_version); in WriteOSInformation() local348 memset(os_version, 0, space_left); in WriteOSInformation()360 if (cur_os_info != os_info_table && space_left > 1) { in WriteOSInformation()362 --space_left; in WriteOSInformation()364 if (space_left > strlen(*cur_os_info)) { in WriteOSInformation()366 space_left -= strlen(*cur_os_info); in WriteOSInformation()
1198 size_t space_left = buf_len - 1; in WriteOSInformation() local1214 if (space_left < info_len + (first_item ? 0 : separator_len)) in WriteOSInformation()1219 space_left -= separator_len; in WriteOSInformation()1224 space_left -= info_len; in WriteOSInformation()