Home
last modified time | relevance | path

Searched refs:p_f (Results 1 – 5 of 5) sorted by relevance

/external/libxcam/tests/
Dtest-video-stabilization.cpp280 if (p_f) fclose (p_f); \
289 FILE *p_f = fopen (file, "rb"); in read_device_pose() local
290 CHECK_EXP (p_f, "open gyro pos data(%s) failed", file); in read_device_pose()
294 !fseek (p_f, 0L, SEEK_END), in read_device_pose()
297 size_t size = ftell(p_f); in read_device_pose()
300 fseek (p_f, 0L, SEEK_SET); in read_device_pose()
307 fread (ptr, 1, size, p_f) == size, in read_device_pose()
310 fclose (p_f); in read_device_pose()
311 p_f = NULL; in read_device_pose()
Dtest-image-blend.cpp398 FILE *p_f = fopen (file, "rb"); in read_map_data() local
399 CHECK_EXP (p_f, "open geo-map file(%s) failed", file); in read_map_data()
401 #define FAILED_READ_MAP { if (p_f) fclose(p_f); if (ptr) xcam_free (ptr); return -1; } in read_map_data()
403 …CHECK_DECLARE (ERROR, fseek(p_f, 0L, SEEK_END) == 0, FAILED_READ_MAP, "seek to file(%s) end failed… in read_map_data()
404 size_t size = ftell (p_f); in read_map_data()
406 fseek (p_f, 0L, SEEK_SET); in read_map_data()
410 …CHECK_DECLARE (ERROR, fread (ptr, 1, size, p_f) == size, FAILED_READ_MAP, "read map file(%s)failed… in read_map_data()
412 fclose (p_f); in read_map_data()
413 p_f = NULL; in read_map_data()
/external/libldac/src/
Dsetpcm_ldac.c96 float *p_f; in byte_data_to_scalar_f32_ldac() local
99 p_f = (float *)p_in; in byte_data_to_scalar_f32_ldac()
101 *p_out++ = scale * (SCALAR)*p_f++; in byte_data_to_scalar_f32_ldac()
/external/lua/src/
Dlcode.c681 int p_f = NO_JUMP; /* position of an eventual LOAD false */ in exp2reg() local
685 p_f = code_loadbool(fs, reg, 0, 1); in exp2reg()
690 patchlistaux(fs, e->f, final, reg, p_f); in exp2reg()
/external/python/cpython2/Modules/
Dposixmodule.c4788 PyObject *f, *p_f[3]; in _PyPopen() local
4973 if ((p_f[0] = PyFile_FromFile(p_s[0], cmdstring, wr_mode, _PyPclose)) != NULL) in _PyPopen()
4974 PyFile_SetBufSize(p_f[0], bufsize); in _PyPopen()
4975 if ((p_f[1] = PyFile_FromFile(p_s[1], cmdstring, rd_mode, _PyPclose)) != NULL) in _PyPopen()
4976 PyFile_SetBufSize(p_f[1], bufsize); in _PyPopen()
4979 if ((p_f[2] = PyFile_FromFile(p_s[2], cmdstring, rd_mode, _PyPclose)) != NULL) in _PyPopen()
4980 PyFile_SetBufSize(p_f[0], bufsize); in _PyPopen()
4981 f = PyTuple_Pack(3, p_f[0], p_f[1], p_f[2]); in _PyPopen()
4984 f = PyTuple_Pack(2, p_f[0], p_f[1]); in _PyPopen()