Searched refs:trans_pairs (Results 1 – 1 of 1) sorted by relevance
1311 char **trans_pairs; local1337 trans_pairs = MALLOC(2 * src_char_num + 1, char*);1338 cur_cmd->x.translatemb = trans_pairs;1345 trans_pairs[2 * i] = MALLOC(src_lens[i] + 1, char);1346 strncpy(trans_pairs[2 * i], src_buf, src_lens[i]);1347 trans_pairs[2 * i][src_lens[i]] = '\0';1359 trans_pairs[2 * i + 1] = MALLOC(mbclen + 1, char);1360 strncpy(trans_pairs[2 * i + 1], dest_buf + idx, mbclen);1361 trans_pairs[2 * i + 1][mbclen] = '\0';1364 trans_pairs[2 * i] = NULL;