Searched refs:insert_len (Results 1 – 2 of 2) sorted by relevance
60 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray() local61 if (from_pos + insert_len > mask) { in CopyLiteralsToByteArray()66 insert_len -= head_size; in CopyLiteralsToByteArray()68 if (insert_len > 0) { in CopyLiteralsToByteArray()69 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray()70 pos += insert_len; in CopyLiteralsToByteArray()72 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()
1174 static STB_TEXTEDIT_CHARTYPE *stb_text_createundo(StbUndoState *state, int pos, int insert_len, int… in stb_text_createundo() argument1176 StbUndoRecord *r = stb_text_create_undo_record(state, insert_len); in stb_text_createundo()1181 r->insert_length = (STB_TEXTEDIT_POSITIONTYPE) insert_len; in stb_text_createundo()1184 if (insert_len == 0) { in stb_text_createundo()1189 state->undo_char_point += insert_len; in stb_text_createundo()