/external/srec/tools/make_g2g/ |
make_g2g.c | 51 LCHAR outFilename[P_PATH_MAX]; 85 rc = ESR_CommandLineGetValue(argc, (const char **)argv, L("out"), outFilename, &len); 97 if (base==NULL || (LSTRCMP(outFilename, L(""))==0 )) 103 /* setup the default outfilename if not already set */ 104 if (!outFilename[0]) 106 LSTRCPY(outFilename,base); 108 p = LSTRCHR(outFilename,L(',')); 110 LSTRCAT(outFilename,L(".g2g")); 116 LFPRINTF(stdout,"Saving grammar as binary image %s...\n",outFilename); 117 CHKLOG(rc, SR_GrammarSave(grammar, outFilename)); [all...] |
/external/icu4c/tools/toolutil/ |
pkg_icu.h | 15 writePackageDatFile(const char *outFilename, const char *outComment,
|
pkg_genc.c | 65 getOutFilename(const char *inFilename, const char *destdir, char *outFilename, char *entryName, const char *newSuffix, const char *optFilename); 572 getOutFilename(const char *inFilename, const char *destdir, char *outFilename, char *entryName, const char *newSuffix, const char *optFilename) { 578 *outFilename++=*destdir++; 580 if(*(outFilename-1)!=U_FILE_SEP_CHAR) { 581 *outFilename++=U_FILE_SEP_CHAR; 586 *outFilename++=*inFilename++; 594 uprv_strcpy(outFilename, optFilename); 596 uprv_strcpy(outFilename, inFilename); 598 uprv_strcat(outFilename, newSuffix); 600 char *saveOutFilename = outFilename; [all...] |
/external/skia/tools/ |
rebaseline.py | 67 outfilename = os.path.join(pair[0], infilename); variable 68 cmd = [ 'cp', temp.name, outfilename ] 71 cmd = [ 'svn', 'add', '--quiet', outfilename ] 73 cmd = [ 'svn', 'propset', '--quiet', 'svn:mime-type', 'image/png', outfilename ]; 76 cmd = [ 'git', 'add', outfilename ]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
VideoEditorExportTest.java | 105 final String outFilename = mVideoEditorHelper 150 mVideoEditor.export(outFilename, MediaProperties.HEIGHT_720, 153 public void onProgress(VideoEditor ve, String outFileName, 166 mVideoEditorHelper.validateExport(mVideoEditor, outFilename, 169 mVideoEditorHelper.checkDeleteExistingFile(outFilename); 186 final String outFilename = mVideoEditorHelper 275 mVideoEditor.export(outFilename, MediaProperties.HEIGHT_720, 278 public void onProgress(VideoEditor ve, String outFileName, 293 mVideoEditorHelper.validateExport(mVideoEditor, outFilename, 296 mVideoEditorHelper.checkDeleteExistingFile(outFilename); [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Compress.java | 63 final String outFilename = mArgs.length >= 2 ? mArgs[1] : STDIN_OR_STDOUT; 66 final OutputStream output = outFilename.equals(STDIN_OR_STDOUT) ? System.out 67 : new BufferedOutputStream(new FileOutputStream(new File(outFilename))); 91 final String outFilename = mArgs.length >= 2 ? mArgs[1] : STDIN_OR_STDOUT; 94 final OutputStream output = outFilename.equals(STDIN_OR_STDOUT) ? System.out 95 : new BufferedOutputStream(new FileOutputStream(new File(outFilename)));
|
/external/openssh/ |
fixprogs | 29 $outfilename=$infilename.".out"; 30 if (!open(OUT, ">$outfilename")) { 31 die("Couldn't open output file $outfilename");
|
/build/tools/zipalign/ |
ZipAlign.cpp | 100 static int process(const char* inFileName, const char* outFileName, 106 // alignment, inFileName, outFileName, force); 109 if (strcmp(inFileName, outFileName) == 0) { 115 if (!force && access(outFileName, F_OK) == 0) { 116 fprintf(stderr, "Output file '%s' exists\n", outFileName); 124 if (zout.open(outFileName, 128 fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName); 135 inFileName, outFileName);
|
/external/icu4c/tools/icupkg/ |
icupkg.cpp | 62 "\tinfilename [outfilename]\n", 85 "outfilename) for a non-package ICU data file.\n" 223 const char *pname, *sourcePath, *destPath, *inFilename, *outFilename, *outComment; 282 outFilename=argv[2]; 287 outFilename=NULL; 289 outFilename=inFilename; 346 pkg->extractItem(destPath, outFilename, 0, outType); 459 if(outFilename==NULL || outFilename[0]==0) { 480 outFilename=outFilenameBuffer [all...] |
/dalvik/libdex/ |
CmdUtils.cpp | 39 const char* outFileName, bool quiet) 57 fd = open(outFileName, O_WRONLY | O_CREAT | O_EXCL, 0600); 60 outFileName, strerror(errno)); 88 unlink(outFileName);
|
CmdUtils.h | 71 const char* outFileName, bool quiet);
|
/external/icu4c/tools/genbrk/ |
genbrk.cpp | 129 const char *outFileName; 156 outFileName = options[4].value; 178 sprintf(msg, "genbrk writes dummy %s because of UCONFIG_NO_BREAK_ITERATION and/or UCONFIG_NO_FILE_IO, see uconfig.h", outFileName); 182 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); 313 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status); 316 outFileName, u_errorName(status)); 331 fprintf(stderr, "Error writing to output file \"%s\"\n", outFileName);
|
/external/icu4c/tools/gencfu/ |
gencfu.cpp | 133 const char *outFileName; 161 outFileName = options[5].value; 186 sprintf(msg, "gencfu writes dummy %s because of UCONFIG_NO_REGULAR_EXPRESSIONS and/or UCONFIG_NO_NORMALIZATION and/or UCONFIG_NO_FILE_IO, see uconfig.h", outFileName); 190 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); 266 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status); 269 outFileName, u_errorName(status)); 284 fprintf(stderr, "gencfu: Error writing to output file \"%s\"\n", outFileName);
|
/external/icu4c/tools/gendict/ |
gendict.cpp | 63 static void install_watchdog(const char *toolName, const char *outFileName) { 65 wOutname=outFileName; 301 const char *outFileName = argv[2]; 305 install_watchdog(progName, outFileName); 336 sprintf(msg, "gendict writes dummy %s because of UCONFIG_NO_BREAK_ITERATION and/or UCONFIG_NO_FILE_IO, see uconfig.h", outFileName); 340 pData = udata_create(outDir, NULL, outFileName, &dataInfo, NULL, &tempstatus); 442 UNewDataMemory *pData = udata_create(NULL, NULL, outFileName, &dataInfo, copyright, status); 444 fprintf(stderr, "gendict: could not open output file \"%s\", \"%s\"\n", outFileName, status.errorName()); 472 fprintf(stderr, "Error writing to output file \"%s\"\n", outFileName); 476 printf("%s: done writing\t%s (%ds).\n", progName, outFileName, elapsedTime()) [all...] |
/external/checkpolicy/test/ |
dispol.c | 398 char ans[81], OutfileName[121]; 517 fgets(OutfileName, sizeof(OutfileName), stdin); 518 OutfileName[strlen(OutfileName) - 1] = '\0'; /* fix_string (remove LF) */ 519 if (strlen(OutfileName) == 0) 521 else if ((out_fp = fopen(OutfileName, "w")) == NULL) { 523 OutfileName); 527 printf("\nOutput to file: %s\n", OutfileName);
|
dismod.c | 840 char ans[81], OutfileName[121]; 951 fgets(OutfileName, sizeof(OutfileName), stdin); 952 OutfileName[strlen(OutfileName) - 1] = '\0'; /* fix_string (remove LF) */ 953 if (strlen(OutfileName) == 0) 955 else if ((out_fp = fopen(OutfileName, "w")) == NULL) { 957 OutfileName); 961 printf("\nOutput to file: %s\n", OutfileName);
|
/external/jpeg/ |
jpegtran.c | 39 static char * outfilename; /* for -outfile switch */ variable 132 outfilename = NULL; 146 outfilename = NULL; /* -outfile applies to just one input file */ 234 outfilename = argv[argn]; /* save it away for later use */ 385 if (outfilename == NULL) { 391 outfilename = argv[file_index+1]; 419 if (outfilename != NULL) { 420 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { 421 fprintf(stderr, "%s: can't open %s\n", progname, outfilename);
|
cjpeg.c | 137 static char * outfilename; /* for -outfile switch */ variable 230 outfilename = NULL; 240 outfilename = NULL; /* -outfile applies to just one input file */ 317 outfilename = argv[argn]; /* save it away for later use */ 515 if (outfilename == NULL) { 521 outfilename = argv[file_index+1]; 549 if (outfilename != NULL) { 550 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { 551 fprintf(stderr, "%s: can't open %s\n", progname, outfilename);
|
djpeg.c | 86 static char * outfilename; /* for -outfile switch */ variable 178 outfilename = NULL; 188 outfilename = NULL; /* -outfile applies to just one input file */ 315 outfilename = argv[argn]; /* save it away for later use */ 480 if (outfilename == NULL) { 486 outfilename = argv[file_index+1]; 514 if (outfilename != NULL) { 515 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { 516 fprintf(stderr, "%s: can't open %s\n", progname, outfilename);
|
/external/qemu/distrib/jpeg-6b/ |
jpegtran.c | 39 static char * outfilename; /* for -outfile switch */ variable 132 outfilename = NULL; 146 outfilename = NULL; /* -outfile applies to just one input file */ 234 outfilename = argv[argn]; /* save it away for later use */ 385 if (outfilename == NULL) { 391 outfilename = argv[file_index+1]; 419 if (outfilename != NULL) { 420 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { 421 fprintf(stderr, "%s: can't open %s\n", progname, outfilename);
|
/external/srec/tools/dictTest/ |
dictTest.c | 115 LCHAR outfilename[MAX_LINE_LENGTH]; local 148 *outfilename = 0; 171 LSTRCPY(outfilename, argv[++i]); 285 if (*outfilename) /* output file */ 287 if ((fout = fopen(outfilename,"w")) == NULL) 289 LPRINTF("Could not open file: %s\n",outfilename);
|
/external/bzip2/ |
bzip2recover.c | 63 Char outFileName[BZ_MAX_FILENAME]; 313 inFileName[0] = outFileName[0] = 0; 470 outFileName[k] = 0; 471 strcpy (outFileName, inFileName); 472 split = strrchr (outFileName, BZ_SPLIT_SYM); 474 split = outFileName; 479 ofs = split - outFileName; 482 strcat (outFileName, inFileName + ofs); 484 if ( !endsInBz2(outFileName)) strcat ( outFileName, ".bz2" ) [all...] |
/external/webkit/Tools/android/flex-2.5.4a/ |
main.c | 67 char *infilename = NULL, *outfilename = NULL; variable 290 outfilename = outfile_path; 293 prev_stdout = freopen( outfilename, "w", stdout ); 296 lerrsf( _( "could not create %s" ), outfilename ); 373 outfilename ); 377 outfilename ); 379 else if ( unlink( outfilename ) ) 381 outfilename ); 471 fprintf( stderr, " -o%s", outfilename ); 755 outfilename = arg + i + 1 [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 157 const char *outfileName = NULL; 159 returnCode = parsecmdline(argc,argv, &infileName, &outfileName, &aacpara); 176 outfile = fopen(outfileName, "wb");
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
AMRWB_E_SAMPLE.c | 266 char *outFileName = NULL; 345 outFileName = argv[arg]; 357 r = encode(mode, allow_dtx, frameType, inFileName, outFileName);
|