Lines Matching refs:offsets
66 split_row(char *source, unsigned *offsets, unsigned *widths) in split_row() argument
76 widths[result - 1] = offset - offsets[result - 1] - (unsigned) mark; in split_row()
78 offsets[result] = offset; in split_row()
83 widths[result - 1] = offset - offsets[result - 1]; in split_row()
101 unsigned *offsets; in dlg_align_columns() local
115 offsets = dlg_calloc(unsigned, maxcols); in dlg_align_columns()
119 assert_ptr(offsets, "dlg_align_columns"); in dlg_align_columns()
124 unsigned cols = split_row(*value, offsets, widths); in dlg_align_columns()
139 unsigned cols = split_row(*value, offsets, widths); in dlg_align_columns()
147 memcpy(text + offset, *value + offsets[n], (size_t) widths[n]); in dlg_align_columns()
155 free(offsets); in dlg_align_columns()