Lines Matching refs:textlen
205 size_t textlen; in prop_add_one() local
238 textlen = buf->b_ml.ml_line_len - proplen * sizeof(textprop_T); in prop_add_one()
244 if (col - 1 > (colnr_T)textlen) in prop_add_one()
253 length = (int)textlen - col + 1; in prop_add_one()
254 if (length > (long)textlen) in prop_add_one()
255 length = (int)textlen; // can include the end-of-line in prop_add_one()
264 mch_memmove(newtext, buf->b_ml.ml_line_ptr, textlen); in prop_add_one()
276 newprops = newtext + textlen; in prop_add_one()
464 size_t textlen; in get_text_props() local
474 textlen = STRLEN(text) + 1; in get_text_props()
475 proplen = buf->b_ml.ml_line_len - textlen; in get_text_props()
482 *props = text + textlen; in get_text_props()
554 int textlen; in set_text_props() local
557 textlen = (int)STRLEN(text) + 1; in set_text_props()
558 newtext = alloc(textlen + len); in set_text_props()
561 mch_memmove(newtext, text, textlen); in set_text_props()
563 mch_memmove(newtext + textlen, props, len); in set_text_props()
567 curbuf->b_ml.ml_line_len = textlen + len; in set_text_props()
818 size_t textlen = STRLEN(text) + 1; in f_prop_find() local
819 int count = (int)((buf->b_ml.ml_line_len - textlen) in f_prop_find()
828 mch_memmove(&prop, text + textlen + i * sizeof(textprop_T), in f_prop_find()
928 size_t textlen = STRLEN(text) + 1; in f_prop_list() local
929 int count = (int)((buf->b_ml.ml_line_len - textlen) in f_prop_list()
940 mch_memmove(&prop, text + textlen + i * sizeof(textprop_T), in f_prop_list()
1514 size_t textlen; in adjust_prop_columns() local
1522 textlen = curbuf->b_ml.ml_line_len - proplen * sizeof(textprop_T); in adjust_prop_columns()
1551 colnr_T newlen = (int)textlen + wi * (colnr_T)sizeof(textprop_T); in adjust_prop_columns()