Home
last modified time | relevance | path

Searched refs:precount (Results 1 – 2 of 2) sorted by relevance

/third_party/glib/glib/
Dgstring.c459 gsize precount = 0; in g_string_insert_len() local
473 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()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstring.c488 gsize precount = 0; in g_string_insert_len() local
501 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()