Searched refs:precount (Results 1 – 2 of 2) sorted by relevance
459 gsize precount = 0; in g_string_insert_len() local473 precount = MIN (len_unsigned, pos_unsigned - offset); in g_string_insert_len()474 memcpy (string->str + pos_unsigned, val, precount); in g_string_insert_len()478 if (len_unsigned > precount) in g_string_insert_len()479 memcpy (string->str + pos_unsigned + precount, in g_string_insert_len()480 val + /* Already moved: */ precount + in g_string_insert_len()482 len_unsigned - precount); in g_string_insert_len()
488 gsize precount = 0; in g_string_insert_len() local501 precount = MIN (len, pos - offset); in g_string_insert_len()502 memcpy (string->str + pos, val, precount); in g_string_insert_len()506 if (len > precount) in g_string_insert_len()507 memcpy (string->str + pos + precount, in g_string_insert_len()508 val + /* Already moved: */ precount + /* Space opened up: */ len, in g_string_insert_len()509 len - precount); in g_string_insert_len()