Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 35) sorted by relevance

12

/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h105 DIR *dp; in iioutils_get_type() local
127 dp = opendir(scan_el_dir); in iioutils_get_type()
128 if (dp == NULL) { in iioutils_get_type()
132 while (ent = readdir(dp), ent != NULL) in iioutils_get_type()
181 closedir(dp); in iioutils_get_type()
200 DIR *dp; in iioutils_get_param_float() local
216 dp = opendir(device_dir); in iioutils_get_param_float()
217 if (dp == NULL) { in iioutils_get_param_float()
221 while (ent = readdir(dp), ent != NULL) in iioutils_get_param_float()
242 closedir(dp); in iioutils_get_param_float()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h107 DIR *dp; in iioutils_get_type() local
129 dp = opendir(scan_el_dir); in iioutils_get_type()
130 if (dp == NULL) { in iioutils_get_type()
134 while (ent = readdir(dp), ent != NULL) in iioutils_get_type()
183 closedir(dp); in iioutils_get_type()
202 DIR *dp; in iioutils_get_param_float() local
218 dp = opendir(device_dir); in iioutils_get_param_float()
219 if (dp == NULL) { in iioutils_get_param_float()
223 while (ent = readdir(dp), ent != NULL) in iioutils_get_param_float()
244 closedir(dp); in iioutils_get_param_float()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h107 DIR *dp; in iioutils_get_type() local
129 dp = opendir(scan_el_dir); in iioutils_get_type()
130 if (dp == NULL) { in iioutils_get_type()
134 while (ent = readdir(dp), ent != NULL) in iioutils_get_type()
183 closedir(dp); in iioutils_get_type()
202 DIR *dp; in iioutils_get_param_float() local
218 dp = opendir(device_dir); in iioutils_get_param_float()
219 if (dp == NULL) { in iioutils_get_param_float()
223 while (ent = readdir(dp), ent != NULL) in iioutils_get_param_float()
244 closedir(dp); in iioutils_get_param_float()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/msm8974/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_fixup.c44 xdr_double(xdrp, dp) in xdr_double() argument
46 double *dp;
48 return xdr_long(xdrp, (long*)dp + 1)
49 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_fixup.c44 xdr_double(xdrp, dp) in xdr_double() argument
46 double *dp;
48 return xdr_long(xdrp, (long*)dp + 1)
49 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/msm8974/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/msm8974/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_fixup.c44 xdr_double(xdrp, dp) in xdr_double() argument
46 double *dp;
48 return xdr_long(xdrp, (long*)dp + 1)
49 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_fixup.c40 xdr_double(xdrp, dp) in xdr_double() argument
42 double *dp;
44 return xdr_long(xdrp, (long*)dp + 1)
45 && xdr_long(xdrp, (long*)dp);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dextend.c21 int dp, /* destination pitch */ in copy_and_extend_plane() argument
48 dest_ptr1 += dp; in copy_and_extend_plane()
49 dest_ptr2 += dp; in copy_and_extend_plane()
56 src_ptr2 = d + dp * (h - 1) - el; in copy_and_extend_plane()
57 dest_ptr1 = d + dp * (-et) - el; in copy_and_extend_plane()
58 dest_ptr2 = d + dp * (h) - el; in copy_and_extend_plane()
64 dest_ptr1 += dp; in copy_and_extend_plane()
70 dest_ptr2 += dp; in copy_and_extend_plane()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c63 DIR *dp; in find_type_by_name() local
67 dp = opendir(iio_dir); in find_type_by_name()
68 if (dp == NULL) { in find_type_by_name()
73 while (ent = readdir(dp), ent != NULL) { in find_type_by_name()
308 DIR *dp; in find_name_by_sensor_type() local
311 dp = opendir(iio_dir); in find_name_by_sensor_type()
312 if (dp == NULL) { in find_name_by_sensor_type()
317 while (ent = readdir(dp), ent != NULL) { in find_name_by_sensor_type()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c71 DIR *dp; in find_type_by_name() local
75 dp = opendir(iio_dir); in find_type_by_name()
76 if (dp == NULL) { in find_type_by_name()
81 while (ent = readdir(dp), ent != NULL) { in find_type_by_name()
316 DIR *dp; in find_name_by_sensor_type() local
319 dp = opendir(iio_dir); in find_name_by_sensor_type()
320 if (dp == NULL) { in find_name_by_sensor_type()
325 while (ent = readdir(dp), ent != NULL) { in find_name_by_sensor_type()
/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp287 DIR *dp; in read_sysfs_dir() local
290 dp = opendir (sysfs_path); in read_sysfs_dir()
292 if (dp != NULL) in read_sysfs_dir()
296 while ((ep = readdir (dp))) { in read_sysfs_dir()
323 closedir(dp); in read_sysfs_dir()
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp290 DIR *dp; in read_sysfs_dir() local
293 dp = opendir (sysfs_path); in read_sysfs_dir()
295 if (dp != NULL) in read_sysfs_dir()
299 while ((ep = readdir (dp))) { in read_sysfs_dir()
326 closedir(dp); in read_sysfs_dir()
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
DOMX_TI_Debug.h559 int myfree(void *dp, int line, char *s);
584 int myfree(void *dp, int line, char *s){ in myfree() argument
587 if(arr[q]==dp){ in myfree()
589 bytes[q],dp, line, s); in myfree()
590 free(dp); in myfree()
591 dp = NULL; in myfree()
/hardware/broadcom/libbt/src/
Dhardware.c434 struct dirent *dp; in hw_config_findpatch() local
461 while ((dp = readdir(dirp)) != NULL) in hw_config_findpatch()
464 if ((hw_strncmp(dp->d_name, p_chip_id_str, strlen(p_chip_id_str)) \ in hw_config_findpatch()
468 filenamelen = strlen(dp->d_name); in hw_config_findpatch()
471 &dp->d_name[filenamelen-FW_PATCHFILE_EXTENSION_LEN], \ in hw_config_findpatch()
477 fw_patchfile_path, dp->d_name); in hw_config_findpatch()
496 strcat(p_chip_id_str, dp->d_name); in hw_config_findpatch()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c104 int myfree(void *dp, int line, char *s);
1706 int myfree(void *dp, int line, char *s) in myfree() argument
1710 if(arr[q]==dp){ in myfree()
1711 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1712 free(dp); in myfree()
1713 dp = NULL; in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c155 int myfree(void *dp, int line, char *s);
2091 int myfree(void *dp, int line, char *s){ argument
2093 if (dp==NULL){
2099 if(arr[q]==dp){
2100 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s);
2101 free(dp);
2102 dp = NULL;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dbitstream.c1602 unsigned char * dp = cpi->partition_d[0] + cpi->partition_sz[0]; in vp8_pack_bitstream() local
1607 validate_buffer(dp, 3 * (num_part - 1), cpi->partition_d_end[0], in vp8_pack_bitstream()
1614 write_partition_size(dp, cpi->partition_sz[i]); in vp8_pack_bitstream()
1615 dp += 3; in vp8_pack_bitstream()
1624 vpx_memmove(dp, cpi->partition_d[i+1], cpi->partition_sz[i+1]); in vp8_pack_bitstream()
1625 cpi->partition_d[i+1] = dp; in vp8_pack_bitstream()
1626 dp += cpi->partition_sz[i+1]; in vp8_pack_bitstream()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c189 int DebugFree(void *dp, int line, char *s){ in DebugFree() argument
191 if(dp==NULL){ in DebugFree()
196 if(arr[q]==dp){ in DebugFree()
197 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
198 free(dp); in DebugFree()
199 dp = NULL; in DebugFree()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c2161 char *dp; in process_nvram_vars() local
2167 dp = varbuf; in process_nvram_vars()
2185 *dp++ = 0; in process_nvram_vars()
2189 *dp++ = varbuf[n]; in process_nvram_vars()
2192 buf_len = (unsigned int)(dp - varbuf); in process_nvram_vars()
2200 while (dp < varbuf + n) in process_nvram_vars()
2201 *dp++ = 0; in process_nvram_vars()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c116 int myfree(void *dp, int line, char *s);
1907 int myfree(void *dp, int line, char *s) in myfree() argument
1911 if(arr[q]==dp){ in myfree()
1912 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1913 free(dp); in myfree()
1914 dp = NULL; in myfree()

12