Lines Matching refs:written
109 int len, gap_remains, gap_pos, written, pad_len; in fill_gap() local
119 written = 0; in fill_gap()
137 written += 1; in fill_gap()
149 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap()
152 return written; in fill_gap()
228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local
277 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); in layout_leb_in_gaps()
278 if (written < 0) { in layout_leb_in_gaps()
280 return written; /* Error code */ in layout_leb_in_gaps()
282 tot_written += written; in layout_leb_in_gaps()
290 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); in layout_leb_in_gaps()
291 if (written < 0) in layout_leb_in_gaps()
292 return written; /* Error code */ in layout_leb_in_gaps()
293 tot_written += written; in layout_leb_in_gaps()
358 int err, leb_needed_cnt, written, p = 0, old_idx_lebs, *gap_lebs; in layout_in_gaps() local
370 written = layout_leb_in_gaps(c, p); in layout_in_gaps()
371 if (written < 0) { in layout_in_gaps()
372 err = written; in layout_in_gaps()
391 cnt -= written; in layout_in_gaps()