Searched refs:from_cs (Results 1 – 2 of 2) sorted by relevance
380 int to_cs[2], from_cs[2]; in run_cscope() local387 to_cs[0] = to_cs[1] = from_cs[0] = from_cs[1] = -1; in run_cscope()388 if (pipe(to_cs) < 0 || pipe(from_cs) < 0) { in run_cscope()399 if (from_cs[0] != -1) in run_cscope()400 (void)close(from_cs[0]); in run_cscope()401 if (from_cs[1] != -1) in run_cscope()402 (void)close(from_cs[1]); in run_cscope()406 (void)dup2(from_cs[1], STDOUT_FILENO); in run_cscope()407 (void)dup2(from_cs[1], STDERR_FILENO); in run_cscope()411 (void)close(from_cs[0]); in run_cscope()[all …]
57 grab_charset(char *from_cs, size_t from_cs_len, const char *p) in grab_charset() argument60 q = from_cs; in grab_charset()62 if (*p == '\0' || q >= from_cs + from_cs_len - 1) in grab_charset()98 char from_cs[LINESIZE]; in decode_word() local108 p = grab_charset(from_cs, sizeof(from_cs), p + 2); in decode_word()143 cd = iconv_open(to_cs, from_cs); in decode_word()