Home
last modified time | relevance | path

Searched refs:str_count (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/lib/libcurses/tinfo/
H A Dread_entry.c285 int name_size, bool_count, num_count, str_count, str_size; in _nc_read_termtype() local
330 str_count = MyNumber(buf + 8); in _nc_read_termtype()
336 str_count, STRCOUNT, str_size)); in _nc_read_termtype()
340 || str_count < 0 in _nc_read_termtype()
343 || str_count > STRCOUNT in _nc_read_termtype()
350 if (str_count * SIZEOF_SHORT >= max_entry_size in _nc_read_termtype()
389 TYPE_CALLOC(char *, max(STRCOUNT, str_count), ptr->Strings); in _nc_read_termtype()
391 if (str_count) { in _nc_read_termtype()
393 if (!read_shorts(buf, str_count)) { in _nc_read_termtype()
400 if (!convert_strings(buf, ptr->Strings, str_count, str_size, in _nc_read_termtype()
[all …]