Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 20 of 20) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c96 static int file_size(char *fname);
97 static int read_vars(char *fname, char *buf, int buf_maxlen);
336 file_size(char *fname) in file_size() argument
343 if ((fp = fopen(fname, "rb")) == NULL || in file_size()
347 fname, strerror(errno)); in file_size()
1220 char *fname; in dhd_sprom()
1264 fname = nocrc ? argv[2] : argv[1]; in dhd_sprom()
1267 if ((ret = file_size(fname)) < 0) in dhd_sprom()
1289 if ((fp = fopen(fname, "rb")) == NULL) { in dhd_sprom()
1291 fname, strerror(errno)); in dhd_sprom()
[all …]
/hardware/invensense/60xx/libsensors_iio/
DMPLSupport.cpp42 int inv_read_data(char *fname, long *data) in inv_read_data() argument
49 fd = open(fname, O_RDONLY); in inv_read_data()
51 LOGE("HAL:Error opening %s", fname); in inv_read_data()
DMPLSupport.h26 int inv_read_data(char *fname, long *data);
/hardware/qcom/keymaster/
DQSEEComAPI.h96 const char *fname, uint32_t sb_size);
127 const char *fname);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c49 char fname[100]; member
55 printf("%s:%d\n", dmp->fname, d); in sipmle_print()
79 .fname = "event_tap",
84 .fname = "event_smd",
88 .fname = "event_accel_motion",
92 .fname = "event_pedometer",
306 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event()
320 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event()
/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp28 int inv_read_data(char *fname, long *data) in inv_read_data() argument
35 fd = open(fname, O_RDONLY); in inv_read_data()
37 LOGE("HAL:Error opening %s", fname); in inv_read_data()
DMPLSupport.h22 int inv_read_data(char *fname, long *data);
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp28 int inv_read_data(char *fname, long *data) in inv_read_data() argument
35 fd = open(fname, O_RDONLY); in inv_read_data()
37 LOGE("HAL:Error opening %s", fname); in inv_read_data()
DMPLSupport.h22 int inv_read_data(char *fname, long *data);
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp1582 char* fname = strrchr(filename, (int) '/'); in usage() local
1583 fname = (fname == NULL) ? filename : fname; in usage()
1585 …intf(stderr, "usage: %s LIVE <QCIF|QVGA> <MP4|H263> <FPS> <BITRATE> <NFRAMES> <OUTFILE>\n", fname); in usage()
1586 …derr, "usage: %s FILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE> <OUTFILE> ", fname); in usage()
1587 …printf(stderr, "<Dynamic config file - opt> <Rate Control - opt> <AVC Slice Mode - opt>\n", fname); in usage()
1588 …ntf(stderr, "usage: %s PROFILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE>\n", fname); in usage()
1589 fprintf(stderr, "usage: %s PREVIEW <QCIF|QVGA> <FPS> <NFRAMES>\n", fname); in usage()
1590 fprintf(stderr, "usage: %s DISPLAY <QCIF|QVGA> <FPS> <NFRAMES> <INFILE>\n", fname); in usage()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp1607 char* fname = strrchr(filename, (int) '/'); in usage() local
1608 fname = (fname == NULL) ? filename : fname; in usage()
1610 …intf(stderr, "usage: %s LIVE <QCIF|QVGA> <MP4|H263> <FPS> <BITRATE> <NFRAMES> <OUTFILE>\n", fname); in usage()
1611 …derr, "usage: %s FILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE> <OUTFILE> ", fname); in usage()
1612 …printf(stderr, "<Dynamic config file - opt> <Rate Control - opt> <AVC Slice Mode - opt>\n", fname); in usage()
1613 …ntf(stderr, "usage: %s PROFILE <QCIF|QVGA> <MP4|H263 <FPS> <BITRATE> <NFRAMES> <INFILE>\n", fname); in usage()
1614 fprintf(stderr, "usage: %s PREVIEW <QCIF|QVGA> <FPS> <NFRAMES>\n", fname); in usage()
1615 fprintf(stderr, "usage: %s DISPLAY <QCIF|QVGA> <FPS> <NFRAMES> <INFILE>\n", fname); in usage()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c500 char fname[15] = "output"; in main() local
626 strcat(fname,"_tc2.pcm"); in main()
643 strcat(fname,"_tc5.pcm"); in main()
658 strcat(fname,"_tc6.pcm"); in main()
673 strcat(fname,"_tc6.pcm"); in main()
685 strcat(fname,"_tc9.pcm"); in main()
739 fOut = fopen(fname, "w"); in main()
1059 fOut = fopen(fname, "w"); in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c375 char fname[100] = APP_OUTPUT_FILE; in main() local
477 strcat(fname,"_tc2.pcm"); in main()
493 strcat(fname,"_tc5.pcm"); in main()
500 strcat(fname,"_tc6.pcm"); in main()
871 fOut = fopen(fname, "w"); in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c198 char fname [100] = APP_OUTPUT_FILE; in main() local
211 …boolean bFlag = validateArguments (argc, argv, &iSampRate, fname, &tcID, &gDasfMode, &nIpBuffs, &n… in main()
378 fOut = fopen(fname, "w"); in main()
559 boolean validateArguments (int nArgc, char *sArgv [], int *iSampRate, char *fname, int *tcID, int *… in validateArguments() argument
586 *tcID = getNumTestCase (sArgv [3], fname); in validateArguments()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c526 char fname[20] = "output"; local
647 strcat (fname,"_tc5.aac");
663 strcat (fname,"_tc6.aac");
679 strcat(fname,"_tc7.aac");
801 fOut = fopen(fname, "w");
1374 fOut = fopen(fname, "w");
1403 fOut = fopen(fname, "w");
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalService.java119 ThermalParser(String fname) { in ThermalParser() argument
134 mInputStream = new FileReader(fname); in ThermalParser()
DThermalCooling.java110 ThermalParser(String fname) { in ThermalParser() argument
121 mInputStream = new FileReader(fname); in ThermalParser()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.h183 void m_savePostView(const char *fname, uint8_t *buf,
DExynosCameraHWInterface.cpp3482 void ExynosCameraHWInterface::m_savePostView(const char *fname, uint8_t *buf, uint32_t size) in m_savePostView() argument
3488 ALOGD("opening file [%s]", fname); in m_savePostView()
3489 int fd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in m_savePostView()
3491 ALOGE("failed to create file [%s]: %s", fname, strerror(errno)); in m_savePostView()
3495 ALOGD("writing %d bytes to file [%s]", size, fname); in m_savePostView()
3499 ALOGE("failed to write to file %d [%s]: %s",written,fname, strerror(errno)); in m_savePostView()
3505 ALOGD("done writing %d bytes to file [%s] in %d passes",size, fname, cnt); in m_savePostView()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp45 void m_savePostView(const char *fname, uint8_t *buf, uint32_t size) in m_savePostView() argument
51 ALOGV("opening file [%s], address[%x], size(%d)", fname, (unsigned int)buf, size); in m_savePostView()
52 int fd = open(fname, O_RDWR | O_CREAT, 0644); in m_savePostView()
54 ALOGE("failed to create file [%s]: %s", fname, strerror(errno)); in m_savePostView()
58 ALOGV("writing %d bytes to file [%s]", size, fname); in m_savePostView()
62 ALOGE("failed to write to file %d [%s]: %s",written,fname, strerror(errno)); in m_savePostView()
68 ALOGV("done writing %d bytes to file [%s] in %d passes",size, fname, cnt); in m_savePostView()