/external/libpng/contrib/gregbook/ |
wpng.c | 163 char *inname = NULL, outname[256]; local 364 /* make outname from inname */ 368 strcpy(outname, inname); 369 strcpy(outname+len, ".png"); 372 strncpy(outname, inname, len); 373 strcpy(outname+len, ".png"); 375 /* check if outname already exists; if not, open */ 376 if ((wpng_info.outfile = fopen(outname, "rb")) != NULL) { 378 outname); 381 } else if (!(wpng_info.outfile = fopen(outname, "wb"))) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 93 char inname[50], outname[50], bottleneck_file[50], bitfilename[60], bitending[10]="_bits.pcm"; local 271 sscanf(argv[argc-1], "%s", outname); 277 if ((outp = fopen(outname,"wb")) == NULL) { 278 printf(" iSAC: Cannot write file %s.\n", outname); 281 printf("\nInput:%s\nOutput:%s\n", inname, outname); 284 while (outname[i]!='\0') { 285 bitfilename[i]=outname[i];
|
kenny.c | 96 char inname[100], outname[100], outbitsname[100], bottleneck_file[100]; local 419 sscanf(argv[argc-1], "%s", outname); 422 while ((int)outname[h] != 0) { 423 outbitsname[h] = outname[h]; 434 if ((outp = fopen(outname,"wb")) == NULL) { 435 printf(" iSAC: Cannot write file %s\n", outname); 443 printf("\nInput:%s\nOutput:%s\n\n", inname, outname);
|
/external/zlib/src/examples/ |
gun.c | 540 inname is NULL or an empty string, read from stdin. If outname is NULL or 543 outname. 548 local int gunzip(z_stream *strm, char *inname, char *outname, int test) 567 else if (outname == NULL || *outname == 0) { 568 outname = "-"; 572 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); 575 fprintf(stderr, "gun cannot create %s\n", outname); 591 copymeta(inname, outname); /* copy attributes */ 599 if (outfile > 2) unlink(outname); 634 char *outname; local [all...] |
/bootable/recovery/applypatch/ |
applypatch.c | 827 char* outname; local 933 outname = NULL; 949 outname = (char*)malloc(strlen(target_filename) + 10); 950 strcpy(outname, target_filename); 951 strcat(outname, ".patch"); 953 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); 956 outname, strerror(errno)); [all...] |
/external/libpng/ |
pngtest.c | 96 int test_one_file PNGARG((PNG_CONST char *inname, PNG_CONST char *outname)); 687 test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) 733 MultiByteToWideChar(CP_ACP, 0, outname, -1, path, MAX_PATH); 737 if ((fpout = fopen(outname, "wb")) == NULL) 740 fprintf(STDERR, "Could not open output file %s\n", outname); 802 fprintf(STDERR, "%s -> %s: libpng read error\n", inname, outname); 826 fprintf(STDERR, "%s -> %s: libpng write error\n", inname, outname); 1447 static PNG_CONST char *outname = "pngout\/png"; variable 1450 static PNG_CONST char *outname = "pngout.png"; variable [all...] |
/external/bison/src/ |
scan-skel.c | 900 char *outname = NULL; variable 1054 QPUTS (outname); 1087 if (outname) 1089 free (outname); 1146 &outname, &out_lineno); [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
lemon.c | 303 char *outname; /* Name of the current output file */ member in struct:lemon [all...] |