Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter.c60 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray() local
61 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()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter.c60 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray() local
61 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()
/third_party/boost/libs/regex/src/
Dcregex.cpp610 unsigned insert_len = i2 - i1; in replace() local
612 if(insert_len > remove_len) in replace()
614 append(insert_len-remove_len, ' '); in replace()
620 …td::copy(begin() + insert_pos + remove_len, begin() + org_size, begin() + insert_pos + insert_len); in replace()
622 erase(size() + insert_len - remove_len); in replace()
632 unsigned insert_len = i2 - i1; in replace() local
634 if(insert_len > remove_len) in replace()
636 append(insert_len-remove_len, ' '); in replace()
642 …td::copy(begin() + insert_pos + remove_len, begin() + org_size, begin() + insert_pos + insert_len); in replace()
644 erase(size() + insert_len - remove_len); in replace()
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_textedit.h1166 static STB_TEXTEDIT_CHARTYPE *stb_text_createundo(StbUndoState *state, int pos, int insert_len, int… in stb_text_createundo() argument
1168 StbUndoRecord *r = stb_text_create_undo_record(state, insert_len); in stb_text_createundo()
1173 r->insert_length = (STB_TEXTEDIT_POSITIONTYPE) insert_len; in stb_text_createundo()
1176 if (insert_len == 0) { in stb_text_createundo()
1181 state->undo_char_point += insert_len; in stb_text_createundo()
/third_party/mesa3d/src/imgui/
Dimstb_textedit.h1174 static STB_TEXTEDIT_CHARTYPE *stb_text_createundo(StbUndoState *state, int pos, int insert_len, int… in stb_text_createundo() argument
1176 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()
/third_party/skia/third_party/externals/imgui/
Dimstb_textedit.h1205 static STB_TEXTEDIT_CHARTYPE *stb_text_createundo(StbUndoState *state, int pos, int insert_len, int… in stb_text_createundo() argument
1207 StbUndoRecord *r = stb_text_create_undo_record(state, insert_len); in stb_text_createundo()
1212 r->insert_length = (STB_TEXTEDIT_POSITIONTYPE) insert_len; in stb_text_createundo()
1215 if (insert_len == 0) { in stb_text_createundo()
1220 state->undo_char_point += insert_len; in stb_text_createundo()