Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 119) sorted by relevance

12345

/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h106 char *scan_el_dir, *builtname, *builtname_generic, *filename = 0; in iioutils_get_type() local
139 ret = asprintf(&filename, in iioutils_get_type()
145 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
147 printf("failed to open %s\n", filename); in iioutils_get_type()
173 free(filename); in iioutils_get_type()
175 filename = 0; in iioutils_get_type()
178 if (filename) in iioutils_get_type()
179 free(filename); in iioutils_get_type()
202 char *filename = NULL; in iioutils_get_param_float() local
224 ret = asprintf(&filename, in iioutils_get_param_float()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Dcpplint.py455 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument
480 error(filename, linenum, 'readability/nolint', 5,
825 def Check(self, error, filename, linenum): argument
844 error(filename, linenum, 'readability/fn_size', error_level,
867 def __init__(self, filename): argument
868 self._filename = filename
977 def Error(filename, linenum, category, confidence, message): argument
1003 filename, linenum, message, category, confidence))
1006 filename, linenum, message, category, confidence))
1009 filename, linenum, message, category, confidence))
[all …]
Dlint-hunks.py99 filename = hunk.right.filename[2:]
100 if filename not in file_affected_line_map:
101 file_affected_line_map[filename] = set()
102 file_affected_line_map[filename].update(hunk.right.delta_line_nums)
106 for filename, affected_lines in file_affected_line_map.iteritems():
107 if filename.split(".")[-1] not in ("c", "h", "cc"):
112 show_cmd = SHOW_CMD + [args[0] + ":" + filename]
121 stdin = open(os.path.join(tl, filename)).read()
130 print "%s:%d:%s"%(filename, warning_line_num,
Ddiff.py20 def __init__(self, filename, offset, length): argument
21 self.filename = filename
72 self.left.filename, self.right.filename,
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h108 char *scan_el_dir, *builtname, *builtname_generic, *filename = 0; in iioutils_get_type() local
141 ret = asprintf(&filename, in iioutils_get_type()
147 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
149 printf("failed to open %s\n", filename); in iioutils_get_type()
175 free(filename); in iioutils_get_type()
177 filename = 0; in iioutils_get_type()
180 if (filename) in iioutils_get_type()
181 free(filename); in iioutils_get_type()
204 char *filename = NULL; in iioutils_get_param_float() local
226 ret = asprintf(&filename, in iioutils_get_param_float()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h108 char *scan_el_dir, *builtname, *builtname_generic, *filename = 0; in iioutils_get_type() local
141 ret = asprintf(&filename, in iioutils_get_type()
147 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
149 printf("failed to open %s\n", filename); in iioutils_get_type()
175 free(filename); in iioutils_get_type()
177 filename = 0; in iioutils_get_type()
180 if (filename) in iioutils_get_type()
181 free(filename); in iioutils_get_type()
204 char *filename = NULL; in iioutils_get_param_float() local
226 ret = asprintf(&filename, in iioutils_get_param_float()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dtest_vector_test.cc71 const std::string filename = GET_PARAM(1); in TEST_P() local
75 if (filename.substr(filename.length() - 3, 3) == "ivf") { in TEST_P()
76 video = new libvpx_test::IVFVideoSource(filename); in TEST_P()
77 } else if (filename.substr(filename.length() - 4, 4) == "webm") { in TEST_P()
78 video = new libvpx_test::WebMVideoSource(filename); in TEST_P()
83 const std::string md5_filename = filename + ".md5"; in TEST_P()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
Dget_files.py31 def get_file_sha(filename): argument
34 with open(filename, 'rb') as file:
41 print "Error reading " + filename
45 def download_and_check_sha(url, filename, sha): argument
46 path = os.path.join(local_resource_path, filename)
49 curl.setopt(pycurl.URL, url + "/" + filename)
107 for filename, sha in itertools.izip(file_names, file_shas):
108 path = os.path.join(local_resource_path, filename)
115 if not download_and_check_sha(url, filename, sha):
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal.h83 mraa_boolean_t mraa_file_exist(const char* filename);
92 char* mraa_file_unglob(const char* filename);
101 mraa_boolean_t mraa_file_contains(const char* filename, const char* content);
111 mraa_boolean_t mraa_file_contains_both(const char* filename, const char* content, const char* conte…
121 mraa_boolean_t mraa_link_targets(const char* filename, const char* targetname);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c65 char *filename; in find_type_by_name() local
85 filename = malloc(strlen(iio_dir) in find_type_by_name()
89 if (filename == NULL) in find_type_by_name()
91 sprintf(filename, "%s%s%d/name", in find_type_by_name()
95 nameFile = fopen(filename, "r"); in find_type_by_name()
98 free(filename); in find_type_by_name()
309 char *filename; in find_name_by_sensor_type() local
329 filename = malloc(strlen(iio_dir) in find_name_by_sensor_type()
334 if (filename == NULL) in find_name_by_sensor_type()
336 sprintf(filename, "%s%s%d/%s", in find_name_by_sensor_type()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c73 char *filename; in find_type_by_name() local
93 filename = malloc(strlen(iio_dir) in find_type_by_name()
97 if (filename == NULL) in find_type_by_name()
99 sprintf(filename, "%s%s%d/name", in find_type_by_name()
103 nameFile = fopen(filename, "r"); in find_type_by_name()
106 free(filename); in find_type_by_name()
317 char *filename; in find_name_by_sensor_type() local
337 filename = malloc(strlen(iio_dir) in find_name_by_sensor_type()
342 if (filename == NULL) in find_name_by_sensor_type()
344 sprintf(filename, "%s%s%d/%s", in find_name_by_sensor_type()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dloc_cfg.h39 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
40 loc_read_conf((filename), NULL, 0);
42 #define UTIL_READ_CONF(filename, config_table) \ argument
43 … loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
151 sysfsfp = fopen(filename, "r"); in read_sysfs_int()
155 LOGE("HAL:ERR open file %s to read with error %d", filename, res); in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
166 sysfsfp = fopen(filename, "r"); in read_sysfs_int64()
170 LOGE("HAL:ERR open file %s to read with error %d", filename, res); in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
194 sysfsfp = fopen(filename, "w"); in write_sysfs_int()
198 LOGE("HAL:ERR open file %s to write with error %d", filename, res); in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
[all …]
DSensorBase.cpp151 char *filename; in openInput() local
158 filename = devname + strlen(devname); in openInput()
159 *filename++ = '/'; in openInput()
165 strcpy(filename, de->d_name); in openInput()
176 strcpy(input_name, filename); in openInput()
/hardware/qcom/gps/msm8996/utils/
Dloc_cfg.h44 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
45 loc_read_conf((filename), NULL, 0);
47 #define UTIL_READ_CONF(filename, config_table) \ argument
48 loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/qcom/gps/msm8084/utils/
Dloc_cfg.h44 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
45 loc_read_conf((filename), NULL, 0);
47 #define UTIL_READ_CONF(filename, config_table) \ argument
48 loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/qcom/gps/msm8909/utils/
Dloc_cfg.h44 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
45 loc_read_conf((filename), NULL, 0);
47 #define UTIL_READ_CONF(filename, config_table) \ argument
48 loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
151 sysfsfp = fopen(filename, "r"); in read_sysfs_int()
155 LOGE("HAL:ERR open file %s to read with error %d", filename, res); in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
166 sysfsfp = fopen(filename, "r"); in read_sysfs_int64()
170 LOGE("HAL:ERR open file %s to read with error %d", filename, res); in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
194 sysfsfp = fopen(filename, "w"); in write_sysfs_int()
198 LOGE("HAL:ERR open file %s to write with error %d", filename, res); in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
[all …]
DSensorBase.cpp154 char *filename; in openInput() local
161 filename = devname + strlen(devname); in openInput()
162 *filename++ = '/'; in openInput()
168 strcpy(filename, de->d_name); in openInput()
179 strcpy(input_name, filename); in openInput()
/hardware/qcom/gps/msm8994/utils/
Dloc_cfg.h44 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
45 loc_read_conf((filename), NULL, 0);
47 #define UTIL_READ_CONF(filename, config_table) \ argument
48 loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/qcom/gps/utils/
Dloc_cfg.h44 #define UTIL_READ_CONF_DEFAULT(filename) \ argument
45 loc_read_conf((filename), NULL, 0);
47 #define UTIL_READ_CONF(filename, config_table) \ argument
48 loc_read_conf((filename), (config_table), sizeof(config_table) / sizeof(config_table[0]))
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c53 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
55 FILE *fp = fopen(filename, "w+"); \
61 printf(" ] open %s failed \n", __LINE__, filename); \
72 #define DUMP_TO_FILE2(filename, p_addr1, len1, p_addr2, len2) ({ \ argument
74 FILE *fp = fopen(filename, "w+"); \
81 printf(" ] open %s failed \n", __LINE__, filename); \
109 char filename[512]; member
349 const char *filename; in main() local
387 filename = argv[1]; in main()
405 filename = input_nv21[index].filename; in main()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvwriter.cpp44 bool MkvWriter::Open(const char* filename) { in Open() argument
45 if (filename == NULL) in Open()
52 file_ = _fsopen(filename, "wb", _SH_DENYWR); in Open()
54 file_ = fopen(filename, "wb"); in Open()
/hardware/akm/AK8975_FS/libsensors/
DSensorBase.cpp120 char *filename; in openInput() local
127 filename = devname + strlen(devname); in openInput()
128 *filename++ = '/'; in openInput()
134 strcpy(filename, de->d_name); in openInput()
142 strcpy(input_name, filename); in openInput()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c58 #define DUMP_TO_FILE(filename, p_addr, len) ({ \ argument
60 FILE *fp = fopen(filename, "w+"); \
72 char *filename; member
80 char *filename; member
182 fp = fopen(p_obj->filename, "rb"); in mm_jpegdec_test_read()
246 p_obj->filename = p_input->filename; in decode_init()
353 p_test->filename = optarg; in mm_jpegdec_test_get_input()
354 fprintf(stderr, "%-25s%s\n", "Input image path", p_test->filename); in mm_jpegdec_test_get_input()
377 if (!p_test->filename || !p_test->filename || !p_test->width || in mm_jpegdec_test_get_input()
419 p_input->filename, p_input->out_filename, in decode_test()

12345