/hardware/intel/common/utils/ISV/profile/ |
isv_profile.cpp | 304 FILE *fp = NULL; local 306 fp = ::fopen(DEFAULT_XML_FILE, "r"); 307 if (NULL == fp) { 327 int len = (int)::fread(pBuf, 1, mBufSize, fp); 329 if (ferror(fp)) { 330 clearerr(fp); 346 if (fp) 347 ::fclose(fp);
|
/hardware/intel/img/psb_video/fw/topazhp/ |
fwinfo.c | 117 FILE *fp = NULL; local 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); [all...] |
/hardware/intel/img/psb_video/fw/topazsc/ |
fwinfo.c | 117 FILE *fp = NULL; local 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); [all...] |
topaz_bin.c | 82 FILE *fp = NULL; local 222 fp = fopen(FW_FILE_NAME, "w"); 224 if (NULL == fp) 233 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); 237 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp); 241 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp); 247 fclose(fp);
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.cpp | 264 FILE *fp; local
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_dump_layers.cpp | 361 FILE* fp = fopen(dumpFilename, "w+"); local 362 if (NULL != fp) { 363 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp); 364 fclose(fp);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_dump_layers.cpp | 361 FILE* fp = fopen(dumpFilename, "w+"); local 362 if (NULL != fp) { 363 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp); 364 fclose(fp);
|
/hardware/qcom/display/msm8226/liboverlay/ |
overlayUtils.cpp | 44 IOFile(const char* s, const char* mode) : fp(0) { 45 fp = ::fopen(s, mode); 46 if(!fp) { 52 if(fp) { 53 return ::fread(&r, sizeof(T), elem, fp); 58 if(fp) { 59 return ::fprintf(fp, s, val); 63 bool valid() const { return fp != 0; } 65 if(fp) ::fclose(fp); 68 FILE* fp; member in struct:__anon32492::IOFile [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_dump_layers.cpp | 369 FILE* fp = fopen(dumpFilename, "w+"); local 370 if (NULL != fp) { 371 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp); 372 fclose(fp);
|
/hardware/qcom/display/msm8909/liboverlay/ |
overlayUtils.cpp | 44 IOFile(const char* s, const char* mode) : fp(0) { 45 fp = ::fopen(s, mode); 46 if(!fp) { 52 if(fp) { 53 return ::fread(&r, sizeof(T), elem, fp); 58 if(fp) { 59 return ::fprintf(fp, s, val); 63 bool valid() const { return fp != 0; } 65 if(fp) ::fclose(fp); 68 FILE* fp; member in struct:__anon32564::IOFile [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_dump_layers.cpp | 370 FILE* fp = fopen(dumpFilename, "w+"); local 371 if (NULL != fp) { 372 bResult = (bool) fwrite((void*)hnd->base, hnd->size, 1, fp); 373 fclose(fp);
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayUtils.cpp | 44 IOFile(const char* s, const char* mode) : fp(0) { 45 fp = ::fopen(s, mode); 46 if(!fp) { 52 if(fp) { 53 return ::fread(&r, sizeof(T), elem, fp); 58 if(fp) { 59 return ::fprintf(fp, s, val); 63 bool valid() const { return fp != 0; } 65 if(fp) ::fclose(fp); 68 FILE* fp; member in struct:__anon32702::IOFile [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display_virtual.cpp | 333 FILE* fp = fopen(dump_file_name, "w+"); local 334 if (fp) { 335 result = fwrite(reinterpret_cast<void *>(output_handle->base), output_handle->size, 1, fp); 336 fclose(fp);
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/ |
CompactUnwinder.hpp | 679 uint64_t fp = registers.getFP(); local 680 // fp points to old fp 681 registers.setFP(addressSpace.get64(fp)); 682 // old sp is fp less saved fp and lr 683 registers.setSP(fp + 16); 685 registers.setIP(addressSpace.get64(fp + 8));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 54 FILE *fp = fopen(buffer, "rb");
local 55 if (fp)
56 return fp;
62 FILE *fp = appendPath ? Open(filename) : fopen(filename, "rb");
local 64 if (!fp) {
69 fseek(fp, 0, SEEK_END);
70 *outLength = (size_t)ftell(fp);
71 fseek(fp, 0, SEEK_SET);
73 size_t readLength = fread(buffer, 1, *outLength, fp);
75 fclose(fp);
84 FILE *fp = Open(filename); local 124 FILE *fp = Open(filename); local 166 FILE* fp = TempFile(filename); local 199 FILE* fp = TempFile(filename); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
newapis.h | 38 FARPROC fp; local 42 fp = GetProcAddress(hinst,"GetDiskFreeSpaceEx" __MINGW_PROCNAMEEXT_AW); 43 if(fp) { 44 *(FARPROC *)&RealGetDiskFreeSpaceEx = fp; 156 FARPROC fp; local 161 fp = GetProcAddress(hinst,"GetLongPathName" __MINGW_PROCNAMEEXT_AW); 162 if(fp) { 163 *(FARPROC *)&RealGetLongPathName = fp; 226 FARPROC fp; local 230 fp = GetProcAddress(hinst,"GetFileAttributesEx" __MINGW_PROCNAMEEXT_AW) 260 FARPROC fp; local [all...] |
/system/core/libpixelflinger/ |
raster.cpp | 105 const GGLFormat* fp = &(c->formats[cb->format]); local 107 + (xs + (cb->stride * ys)) * fp->size; 109 + (xd + (cb->stride * yd)) * fp->size; 110 const size_t bpr = cb->stride * fp->size; 111 const size_t rowsize = width * fp->size;
|
/system/extras/simpleperf/ |
record_file_reader.cpp | 34 FILE* fp = fopen(filename.c_str(), mode.c_str()); local 35 if (fp == nullptr) { 39 auto reader = std::unique_ptr<RecordFileReader>(new RecordFileReader(filename, fp)); 47 RecordFileReader::RecordFileReader(const std::string& filename, FILE* fp) 48 : filename_(filename), record_fp_(fp) {
|
record_file_writer.cpp | 43 FILE* fp = fopen(filename.c_str(), "web+"); local 44 if (fp == nullptr) { 49 return std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp)); 52 RecordFileWriter::RecordFileWriter(const std::string& filename, FILE* fp) 54 record_fp_(fp),
|
/toolchain/binutils/binutils-2.25/intl/ |
localcharset.c | 118 FILE *fp; local 138 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) 153 c = getc (fp); 162 c = getc (fp); 168 ungetc (c, fp); 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 192 fclose (fp);
|
/bionic/libc/dns/resolv/ |
res_init.c | 170 register FILE *fp; local 292 if ((fp = fopen(_PATH_RESCONF, "re")) != NULL) { 294 while (fgets(buf, sizeof(buf), fp) != NULL) { 436 (void) fclose(fp);
|
/bionic/libc/kernel/uapi/linux/ |
if_hippi.h | 100 struct hippi_fp_hdr fp; member in struct:hippi_hdr
|
/bionic/tests/ |
fortify_test.cpp | 691 FILE* fp = fopen("/dev/null", "r"); local 692 ASSERT_FORTIFY(fread(buf, 1, ct, fp)); 693 fclose(fp); 699 FILE* fp = fopen("/dev/null", "w"); local 700 ASSERT_FORTIFY(fwrite(buf, 1, ct, fp)); 701 fclose(fp);
|
time_test.cpp | 537 FILE* fp = fopen("/proc/sys/kernel/pid_max", "r"); local 539 fscanf(fp, "%ld", &pid_max); 541 fclose(fp);
|
/bootable/recovery/minui/ |
resources.cpp | 57 FILE* fp = fopen(resPath, "rb"); local 58 if (fp == NULL) { 63 bytesRead = fread(header, 1, sizeof(header), fp); 91 png_init_io(*png_ptr, fp); 125 if (fp != NULL) { 126 fclose(fp);
|