• Home
  • Raw
  • Download

Lines Matching refs:output_path

102   const char* output_path;  member
331 params->output_path = argv[i]; in ParseParams()
488 params->output_path = value; in ParseParams()
522 if (params->output_path) return COMMAND_INVALID; in ParseParams()
605 static BROTLI_BOOL OpenOutputFile(const char* output_path, FILE** f, in OpenOutputFile() argument
609 if (!output_path) { in OpenOutputFile()
613 fd = open(output_path, O_CREAT | (force ? 0 : O_EXCL) | O_WRONLY | O_TRUNC, in OpenOutputFile()
617 PrintablePath(output_path), strerror(errno)); in OpenOutputFile()
623 PrintablePath(output_path), strerror(errno)); in OpenOutputFile()
649 static void CopyStat(const char* input_path, const char* output_path) { in CopyStat() argument
653 if (input_path == 0 || output_path == 0) { in CopyStat()
661 utime(output_path, &times); in CopyStat()
662 res = chmod(output_path, statbuf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO)); in CopyStat()
665 PrintablePath(output_path), strerror(errno)); in CopyStat()
667 res = chown(output_path, (uid_t)-1, statbuf.st_gid); in CopyStat()
670 PrintablePath(output_path), strerror(errno)); in CopyStat()
672 res = chown(output_path, statbuf.st_uid, (gid_t)-1); in CopyStat()
675 PrintablePath(output_path), strerror(errno)); in CopyStat()
693 context->current_output_path = context->output_path; in NextFile()
712 context->current_output_path = context->output_path; in NextFile()
718 context->current_output_path = context->output_path; in NextFile()
720 if (context->output_path) return BROTLI_TRUE; in NextFile()
1045 context.output_path = NULL; in main()