Lines Matching defs:outPath
1369 int generateOutPath(char const* inPath, char const* outDir, char const* s_ext, char* outPath)
1379 outPath[i++] = *outDir++;
1384 if (i > 0 && outPath[i-1] != SLASH) {
1385 outPath[i++] = SLASH;
1390 outPath[i] = 0;
1400 outPath[i++] = pa[j];
1403 outPath[i++] = SLASH;
1408 outPath[i] = 0;
1419 outPath[i++] = na[j];
1421 outPath[i] = 0;
1432 outPath[i++] = *nb++;
1437 outPath[i] = 0;
1444 outPath[i++] = *s_ext++;
1446 outPath[i] = 0;
1452 strncpy(outPath, inPath, PATH_MAX + 1 - 4);
1453 strncat(outPath, s_ext, 4);
1547 char *const inPath, char *const outPath, char **nogap_inPath, int *num_nogap)
1570 outPath[0] = '\0';
1594 else if (outPath[0] == '\0')
1595 strncpy(outPath, argv[i], PATH_MAX + 1);
2055 strncpy(outPath, nextArg, PATH_MAX);
2056 outPath[PATH_MAX] = '\0';
2494 if (outPath[0] == '\0')
2495 strncpy(outPath, argv[i], PATH_MAX + 1);
2525 if (outPath[0] == '\0') { /* no explicit output dir or file */
2527 strncpy(outPath, outDir, PATH_MAX);
2528 outPath[PATH_MAX] = '\0'; /* whatever someone set via --out-dir <path> argument */
2532 strcpy(outPath, "-");
2536 if (generateOutPath(inPath, outDir, s_ext, outPath) != 0) {
2553 if (outPath[0] == '-') {
2658 int parse_args(lame_t gfp, int argc, char **argv, char *const inPath, char *const outPath, char **nogap_inPath, int *num_nogap)
2668 ret = parse_args_(gfp, str_argc, str_argv, inPath, outPath, nogap_inPath, num_nogap);