Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/hci/
Deditstring.c50 size_t old_len, max_delete_len, insert_len, max_insert_len, new_len; in insert_delete() local
58 insert_len = ( insert_text ? strlen ( insert_text ) : 0 ); in insert_delete()
60 if ( insert_len > max_insert_len ) in insert_delete()
61 insert_len = max_insert_len; in insert_delete()
62 new_len = ( old_len - delete_len + insert_len ); in insert_delete()
69 memmove ( ( string->buf + string->cursor + insert_len ), in insert_delete()
74 memcpy ( ( string->buf + string->cursor ), insert_text, insert_len ); in insert_delete()
75 string->cursor += insert_len; in insert_delete()
/external/brotli/c/enc/
Dblock_splitter.c61 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray() local
62 if (from_pos + insert_len > mask) { in CopyLiteralsToByteArray()
67 insert_len -= head_size; in CopyLiteralsToByteArray()
69 if (insert_len > 0) { in CopyLiteralsToByteArray()
70 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray()
71 pos += insert_len; in CopyLiteralsToByteArray()
73 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()