Searched refs:fp (Results 1 - 21 of 21) sorted by relevance

/device/asus/flo/conn_init/
H A Dconn_init.c31 FILE *fp = NULL; local
33 fp = fopen("/persist/wifi/.macaddr", "r");
34 if ( fp == NULL )
41 n = fread(macAddress, 12, 1, fp);
42 fclose(fp);
/device/lge/mako/conn_init/
H A Dconn_init.c31 FILE *fp = NULL; local
33 fp = fopen("/persist/wifi/.macaddr", "r");
34 if ( fp == NULL )
41 n = fread(macAddress, 12, 1, fp);
42 fclose(fp);
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpeg_test.c43 FILE *fp = fopen(filename, "w+"); \
44 if (fp) { \
45 rc = fwrite(p_addr, 1, len, fp); \
46 fclose(fp); \
143 FILE *fp = NULL; local
145 fp = fopen(p_obj->filename, "rb");
146 if (!fp) {
150 fseek(fp, 0, SEEK_END);
151 file_size = ftell(fp);
152 fseek(fp,
[all...]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpeg_test.c43 FILE *fp = fopen(filename, "w+"); \
44 if (fp) { \
45 rc = fwrite(p_addr, 1, len, fp); \
46 fclose(fp); \
143 FILE *fp = NULL; local
145 fp = fopen(p_obj->filename, "rb");
146 if (!fp) {
150 fseek(fp, 0, SEEK_END);
151 file_size = ftell(fp);
152 fseek(fp,
[all...]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg.h81 FILE *fp = fopen(filename, "w+"); \
82 if (fp) { \
83 rc = fwrite(p_addr, 1, len, fp); \
85 fclose(fp); \
100 FILE *fp = fopen(filename, "w+"); \
101 if (fp) { \
102 rc = fwrite(p_addr1, 1, len1, fp); \
103 rc = fwrite(p_addr2, 1, len2, fp); \
105 fclose(fp); \
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpegdec_test.c52 FILE *fp = fopen(filename, "w+"); \
53 if (fp) { \
54 rc = fwrite(p_addr, 1, len, fp); \
55 fclose(fp); \
177 FILE *fp = NULL; local
179 fp = fopen(p_obj->filename, "rb");
180 if (!fp) {
184 fseek(fp, 0, SEEK_END);
185 file_size = ftell(fp);
186 fseek(fp,
[all...]
H A Dmm_jpeg_test.c46 FILE *fp = fopen(filename, "w+"); \
47 if (fp) { \
48 rc = fwrite(p_addr, 1, len, fp); \
49 fclose(fp); \
224 FILE *fp = NULL; local
226 fp = fopen(p_obj->filename[idx], "rb");
227 if (!fp) {
231 fseek(fp, 0, SEEK_END);
232 file_size = ftell(fp);
233 fseek(fp,
[all...]
/device/generic/mips/
H A DBoardConfig.mk10 TARGET_ARCH_VARIANT := mips32-fp
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
H A Degl.cpp113 FILE *fp = fopen("/proc/self/cmdline", "rt"); local
114 if (fp == NULL) {
120 if (fgets(line, sizeof(line), fp) == NULL) {
122 fclose(fp);
125 fclose(fp);
160 FILE *fp = fopen(GLES_EMUL_TARGETS_FILE, "rt"); local
161 if (fp == NULL) {
170 while (fgets(line, sizeof(line), fp) != NULL) {
181 fclose(fp);
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
H A DQualcommUsbCamera.cpp2272 FILE *fp = NULL; local
2316 fp = fopen("/data/video_dev_list", "rb");
2317 if(!fp) {
2325 //while(EOF != fscanf(fp, "%s", devname)){
2354 if(fp)
2355 fclose(fp);
2382 FILE *fp = NULL; local
2384 fp = fopen(fn, "wb");
2385 if (NULL == fp) {
2388 fclose(fp);
2767 FILE *fp; local
[all...]
/device/asus/deb/
H A Dreleasetools.py160 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
161 if "release-keys" in fp:
/device/asus/flo/
H A Dreleasetools.py185 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
186 if "release-keys" in fp:
/device/lge/hammerhead/
H A Dreleasetools.py164 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
165 if "release-keys" in fp:
/device/lge/mako/
H A Dreleasetools.py160 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
161 if "release-keys" in fp:
/device/htc/flounder/sensor_hub/libsensors/
H A DCwMcuSensor.cpp1294 FILE *fp; local
1302 fp = fopen(path, "r");
1303 if (!fp) {
1311 readBytes = fscanf(fp, "%d %d %d\n", &str[0], &str[1], &str[2]);
1321 readBytes = fscanf(fp, "%d ", &str[i]);
1326 fclose(fp);
1331 fclose(fp);
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c97 FILE *fp; local
98 if ((fp = fopen("/sys/devices/system/soc/soc0/id", "r")) != NULL) {
99 fscanf(fp, "%d", &id);
100 fclose(fp);
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c97 FILE *fp; local
98 if ((fp = fopen("/sys/devices/system/soc/soc0/id", "r")) != NULL) {
99 fscanf(fp, "%d", &id);
100 fclose(fp);
/device/moto/shamu/camera/QCamera2/stack/common/
H A Dcam_types.h65 FILE *fp = fopen(filename, "w+"); \
66 if (fp) { \
67 rc = fwrite(p_addr, 1, len, fp); \
69 fclose(fp); \
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c58 FILE *fp = fopen(filename, "w+"); \
59 if (fp) { \
60 rc = fwrite(p_addr, 1, len, fp); \
62 fclose(fp); \
77 FILE *fp = fopen(filename, "w+"); \
78 if (fp) { \
79 rc = fwrite(p_addr1, 1, len1, fp); \
80 rc = fwrite(p_addr2, 1, len2, fp); \
82 fclose(fp); \
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c60 FILE *fp = fopen(filename, "w+"); \
61 if (fp) { \
62 rc = fwrite(p_addr, 1, len, fp); \
64 fclose(fp); \
79 FILE *fp = fopen(filename, "w+"); \
80 if (fp) { \
81 rc = fwrite(p_addr1, 1, len1, fp); \
82 rc = fwrite(p_addr2, 1, len2, fp); \
84 fclose(fp); \
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c2065 FILE *fp = NULL; local
2067 fp = fopen(filename, "r");
2068 if (!fp) {
2072 fseek(fp, 0, SEEK_END);
2073 file_size = ftell(fp);
2074 fseek(fp, 0, SEEK_SET);
2083 fread(p_session->meta_enc_key, 1, file_size, fp);
2084 fclose(fp);

Completed in 347 milliseconds