Searched refs:to_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()395 err: if (to_cs[0] != -1) in run_cscope()396 (void)close(to_cs[0]); in run_cscope()397 if (to_cs[1] != -1) in run_cscope()398 (void)close(to_cs[1]); in run_cscope()405 (void)dup2(to_cs[0], STDIN_FILENO); in run_cscope()410 (void)close(to_cs[1]); in run_cscope()423 (void)close(to_cs[0]); in run_cscope()[all …]
93 decode_word(const char **ibuf, char **obuf, char *oend, const char *to_cs) in decode_word() argument128 dstend = to_cs ? decword : *obuf; in decode_word()129 dstlen = (to_cs ? sizeof(decword) : (size_t)(oend - *obuf)) - 1; in decode_word()137 if (to_cs != NULL) { in decode_word()143 cd = iconv_open(to_cs, from_cs); in decode_word()