Home | History | Annotate | Download | only in topazsc

Lines Matching defs:fp

117     FILE *fp = NULL;
131 fp = fopen(TOPAZ_FW_FILE_NAME_ANDROID, "r");
133 if (NULL == fp) {
134 fp = fopen(TOPAZ_FW_FILE_NAME_MEEGO, "r");
135 if (NULL == fp) {
146 // fseek (fp, 0, SEEK_SET);
154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp);
164 fseek(fp, topaz_fw_table[iter].header.text_size + topaz_fw_table[iter].header.data_size, SEEK_CUR);
169 fread(&read_data, 1, 4, fp);
177 fread(&read_data, 1, 4, fp);
187 fclose(fp);
193 fp = fopen(MSVDX_FW_FILE_NAME_ANDROID, "r");
195 fp = fopen(MSVDX_FW_FILE_NAME_MEEGO, "r");
197 if (NULL == fp) {
202 // fseek (fp, 0, SEEK_SET);
205 fread(&fw, sizeof(fw), 1, fp);
213 fseek(fp, lseek, SEEK_SET);
216 fread(&fw, sizeof(fw), 1, fp);
224 fclose(fp);