Home
last modified time | relevance | path

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

/hardware/invensense/libsensors_iio/software/simple_apps/mpu_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/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-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/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/invensense/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c46 DIR *dp; in find_type_by_name() local
50 dp = opendir(iio_dir); in find_type_by_name()
51 if (dp == NULL) { in find_type_by_name()
56 while (ent = readdir(dp), ent != NULL) { in find_type_by_name()
/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/samsung_slsi/exynos5/mobicore/daemon/Registry/
DRegistry.cpp443 DIR *dp; in mcRegistryCleanupTrustlet() local
452 if (NULL != (dp = opendir(pathname.c_str()))) { in mcRegistryCleanupTrustlet()
453 while (NULL != (de = readdir(dp))) { in mcRegistryCleanupTrustlet()
493 DIR *dp; in mcRegistryCleanupSp() local
517 if (NULL != (dp = opendir(pathname.c_str()))) { in mcRegistryCleanupSp()
518 while (NULL != (de = readdir(dp))) { in mcRegistryCleanupSp()
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c1919 char *dp; in process_nvram_vars() local
1925 dp = varbuf; in process_nvram_vars()
1943 *dp++ = 0; in process_nvram_vars()
1947 *dp++ = varbuf[n]; in process_nvram_vars()
1950 buf_len = (unsigned int)(dp - varbuf); in process_nvram_vars()
1958 while (dp < varbuf + n) in process_nvram_vars()
1959 *dp++ = 0; in process_nvram_vars()
/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/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c2045 char *dp; in process_nvram_vars() local
2051 dp = varbuf; in process_nvram_vars()
2069 *dp++ = 0; in process_nvram_vars()
2073 *dp++ = varbuf[n]; in process_nvram_vars()
2076 buf_len = (unsigned int)(dp - varbuf); in process_nvram_vars()
2084 while (dp < varbuf + n) in process_nvram_vars()
2085 *dp++ = 0; in process_nvram_vars()
/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/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/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()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c86 void myfree(void *dp, int line, char *s);
2026 void myfree(void *dp, int line, char *s){ in myfree() argument
2029 if(arr[q]==dp){ in myfree()
2030 … G711DEC_PRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2031 free(dp); in myfree()
2032 dp = NULL; in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c203 int mynewfree(void *dp, int line, char *s) { in mynewfree() argument
206 if (dp == NULL) { in mynewfree()
212 if (arr[q] == dp) { in mynewfree()
213 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q], dp, line, s); in mynewfree()
214 free(dp); in mynewfree()
215 dp = NULL; in mynewfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c221 int mynewfree(void *dp, int line, char *s){ in mynewfree() argument
223 if(dp==NULL){ in mynewfree()
228 if(arr[q]==dp){ in mynewfree()
229 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in mynewfree()
230 free(dp); in mynewfree()
231 dp = NULL; in mynewfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Enc_Utils.c94 int DebugFree(void *dp, int line, char *s);
121 int DebugFree(void *dp, int line, char *s){ in DebugFree() argument
123 if(dp==NULL){ in DebugFree()
128 if(arr[q]==dp){ in DebugFree()
129 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
132 free(dp); in DebugFree()
133 dp = NULL; in DebugFree()
DOMX_G726Encoder.c98 extern int DebugFree(void *dp, int line, char *s);
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c2154 int myfree(void *dp, int line, char *s){ in myfree() argument
2156 if (dp==NULL){ in myfree()
2162 if(arr[q]==dp){ in myfree()
2163 …T(stderr, PRINT, 1, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2164 free(dp); in myfree()
2165 dp = NULL; in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c2277 int myfree(void *dp, int line, char *s){ in myfree() argument
2280 if(arr[q]==dp){ in myfree()
2281 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2282 free(dp); in myfree()
2283 dp = NULL; in myfree()
2290 …OMXDBG_PRINT(stderr, ERROR, 4, 0, "\n\n%p Pointer not found. Line:%d File%s!!\n\n",dp, line, s); in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c190 int myfree(void *dp, ListMember** ListHeader);
2503 int myfree(void *dp, ListMember** ListHeader) argument
2506 error = FreeListMember(dp, ListHeader);