Lines Matching refs:pivot
67 #define CS_PIVOT _PATH_CSMAPPER "/charset.pivot"
103 find_best_pivot_pvdb(const char *src, const char *dst, char *pivot,
129 /* iterate each pivot */
133 /* r1:pivot name, r2:norm among src and pivot */
140 /* buf: pivot name */
147 /* r2: norm among pivot and dst */
155 strlcpy(pivot, buf, pvlen);
246 find_best_pivot_lookup(const char *src, const char *dst, char *pivot,
262 /* find pivot code */
283 strlcpy(pivot, pivot_min, pvlen);
291 find_best_pivot(const char *src, const char *dst, char *pivot, size_t pvlen,
296 ret = find_best_pivot_pvdb(src, dst, pivot, pvlen, rnorm);
298 ret = find_best_pivot_lookup(src, dst, pivot, pvlen, rnorm);
306 const char *src, const char *pivot, const char *dst)
310 snprintf(buf, sizeof(buf), "%s/%s,%s/%s", src, pivot, pivot, dst);
347 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX];
379 ret = find_best_pivot(realsrc, realdst, pivot, sizeof(pivot), &norm);
383 ret = open_serial_mapper(maparea, rcsm, realsrc, pivot, realdst);