Lines Matching refs:off
245 char *off = set_attribute_9(tp, 0);
252 TR(TRACE_DATABASE, ("sgr(9:off) %s", _nc_visbuf(off)));
256 || !rewrite_sgr(off, exit_alt_charset_mode)
258 FreeIfNeeded(off);
259 } else if (similar_sgr(off, end)
260 && !similar_sgr(off, on)) {
261 TR(TRACE_DATABASE, ("adjusting sgr(9:off) : %s", _nc_visbuf(off)));
262 result = off;
268 j = strlen(off);
273 off + i);
276 chop_out(off, (unsigned) i, (unsigned) (i + k2));
286 if ((i = (size_t) is_csi(off)) != 0
287 && off[strlen(off) - 1] == 'm') {
289 _nc_visbuf(off)));
290 tmp = skip_zero(off + i);
293 i = (size_t) (tmp - off);
294 if (off[i - 1] == ';')
296 j = (size_t) (skip_zero(tmp + 1) - off);
297 (void) chop_out(off, (unsigned) i, (unsigned) j);
303 && (tmp = strstr(end, off)) != 0
304 && strcmp(end, off) != 0) {
306 j = strlen(off);
309 free(off);
323 free(off);