Searched refs:space_left (Results 1 – 7 of 7) sorted by relevance
/external/tcpdump/ |
D | addrtostr.c | 110 size_t space_left, added_space; in addrtostr6() local 153 space_left = size; in addrtostr6() 156 if (space_left == 0) { \ in addrtostr6() 161 space_left--; \ in addrtostr6() 184 if (!addrtostr(srcaddr+12, dp, space_left)) in addrtostr6() 191 space_left -= added_space; in addrtostr6() 194 snprintfed = snprintf (dp, space_left, "%x", words[i]); in addrtostr6() 197 if ((size_t) snprintfed >= space_left) in addrtostr6() 203 space_left -= snprintfed; in addrtostr6()
|
D | util-print.c | 526 size_t space_left = sizeof(buf), string_size; in bittok2str_internal() local 541 if (space_left <= 1) in bittok2str_internal() 543 string_size = strlcpy(bufp, sepstr, space_left); in bittok2str_internal() 544 if (string_size >= space_left) in bittok2str_internal() 547 space_left -= string_size; in bittok2str_internal() 548 if (space_left <= 1) in bittok2str_internal() 550 string_size = strlcpy(bufp, lp->s, space_left); in bittok2str_internal() 551 if (string_size >= space_left) in bittok2str_internal() 554 space_left -= string_size; in bittok2str_internal()
|
/external/mesa3d/src/util/ |
D | string_buffer.c | 115 uint32_t space_left = str->capacity - str->length; in _mesa_string_buffer_vprintf() local 118 space_left, format, arg_copy); in _mesa_string_buffer_vprintf() 126 if (len < space_left) { in _mesa_string_buffer_vprintf()
|
/external/python/cpython2/Lib/ |
D | textwrap.py | 221 space_left = 1 223 space_left = width - cur_len 228 cur_line.append(reversed_chunks[-1][:space_left]) 229 reversed_chunks[-1] = reversed_chunks[-1][space_left:]
|
/external/python/cpython3/Lib/ |
D | textwrap.py | 211 space_left = 1 213 space_left = width - cur_len 218 cur_line.append(reversed_chunks[-1][:space_left]) 219 reversed_chunks[-1] = reversed_chunks[-1][space_left:]
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 347 size_t space_left = sizeof(os_version); in WriteOSInformation() local 348 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()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 1198 size_t space_left = buf_len - 1; in WriteOSInformation() local 1214 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()
|