Lines Matching refs:frag
4349 sync_shell_dir(VTermStringFragment *frag) in sync_shell_dir() argument
4352 char *pos = (char *)frag->str + offset; in sync_shell_dir()
4356 while (*pos != '/' && offset < (int)frag->len) in sync_shell_dir()
4362 if (offset >= (int)frag->len) in sync_shell_dir()
4365 frag->str); in sync_shell_dir()
4369 new_dir = alloc(frag->len - offset + 1); in sync_shell_dir()
4370 url_decode(pos, frag->len-offset, new_dir); in sync_shell_dir()
4380 parse_osc(int command, VTermStringFragment frag, void *user) in parse_osc() argument
4392 sync_shell_dir(&frag); in parse_osc()
4400 if (ga_grow(gap, (int)frag.len + 1) == FAIL) in parse_osc()
4405 mch_memmove((char *)gap->ga_data + gap->ga_len, frag.str, frag.len); in parse_osc()
4406 gap->ga_len += (int)frag.len; in parse_osc()
4407 if (!frag.final) in parse_osc()