Lines Matching refs:fn
456 char fn[256];
466 fn[0] = 0;
467 sprintf(fn, "/sdcard/img%03d.raw", counter);
468 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777);
484 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
488 __FUNCTION__, (int)buff, size, fn);
503 char fn[256];
510 fn[0] = 0;
511 sprintf(fn, "/sdcard/preview%03d.yuv", counter);
512 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777);
514 ALOGE("Unable to open file %s: %s", fn, strerror(fd));
531 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
589 char fn[256];
599 fn[0] = 0;
600 sprintf(fn, "%s/img%03d.jpg", dir_path,counter);
601 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777);
604 ALOGE("Unable to open file %s: %s", fn, strerror(fd));
621 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
625 __FUNCTION__, (int)buff, size, fn);