Searched refs:ref_cell (Results 1 – 2 of 2) sorted by relevance
753 Plane *plane, int code, Cell *ref_cell, in parse_bintree() argument764 curr_cell = *ref_cell; // clone parent cell in parse_bintree()766 SPLIT_CELL(ref_cell->height, curr_cell.height); in parse_bintree()767 ref_cell->ypos += curr_cell.height; in parse_bintree()768 ref_cell->height -= curr_cell.height; in parse_bintree()769 if (ref_cell->height <= 0 || curr_cell.height <= 0) in parse_bintree()776 SPLIT_CELL(ref_cell->width, curr_cell.width); in parse_bintree()777 ref_cell->xpos += curr_cell.width; in parse_bintree()778 ref_cell->width -= curr_cell.width; in parse_bintree()779 if (ref_cell->width <= 0 || curr_cell.width <= 0) in parse_bintree()
818 let ref_cell = RefCell::new(42); in test_cannot_serialize_mutably_borrowed_ref_cell() localVariable819 let _reference = ref_cell.borrow_mut(); in test_cannot_serialize_mutably_borrowed_ref_cell()820 assert_ser_tokens_error(&ref_cell, &[], "already mutably borrowed"); in test_cannot_serialize_mutably_borrowed_ref_cell()