Lines Matching refs:fn
563 char fn[384]; in my_raw_callback() local
575 fn[0] = 0; in my_raw_callback()
576 sprintf(fn, "%s/img%03d.raw", images_dir_path, counter); in my_raw_callback()
577 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777); in my_raw_callback()
593 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno)); in my_raw_callback()
597 __FUNCTION__, (int)buff, size, fn); in my_raw_callback()
612 char fn[384]; in saveFile() local
619 fn[0] = 0; in saveFile()
620 sprintf(fn, "%s/preview%03d.yuv", images_dir_path, counter); in saveFile()
621 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777); in saveFile()
623 CAMHAL_LOGE("Unable to open file %s: %s", fn, strerror(fd)); in saveFile()
640 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno)); in saveFile()
698 char fn[384]; in my_jpeg_callback() local
716 fn[0] = 0; in my_jpeg_callback()
717 sprintf(fn, "%s/img%03d.jpg", images_dir_path, counter); in my_jpeg_callback()
718 fd = open(fn, O_CREAT | O_WRONLY | O_TRUNC, 0777); in my_jpeg_callback()
721 CAMHAL_LOGE("Unable to open file %s: %s", fn, strerror(fd)); in my_jpeg_callback()
738 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno)); in my_jpeg_callback()
742 __FUNCTION__, (int)buff, size, fn); in my_jpeg_callback()