/frameworks/native/cmds/dumpstate/ |
dumpstate.cpp | 322 FILE *fp = fdopen(fd, "rb"); local 323 getline(&buffer, &i, fp); 324 fclose(fp); [all...] |
utils.cpp | 1159 FILE* fp = fopen(RT_TABLES_PATH, "re"); local [all...] |
/frameworks/native/opengl/libagl/ |
matrix.cpp | 22 #include "fp.h" 238 GLfloat const* fp = rhs.elements(); local 241 const GLfloat f = *fp++; 296 GLfloat* fp = m; local 299 *fp++ = fixedToFloat(*rhs++);
|
/frameworks/native/services/sensorservice/ |
SensorService.cpp | 233 FILE *fp = fopen("/proc/sys/net/core/wmem_max", "r"); local 235 if (fp != NULL && fgets(line, sizeof(line), fp) != NULL) { 243 if (fp) { 244 fclose(fp); [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu.c | 339 FILE *fp; local 344 if ((fp = fopen(fname, "rb")) == NULL || 345 fseek(fp, 0, SEEK_END) < 0 || 346 (size = ftell(fp)) < 0) 350 if (fp != NULL) 351 fclose(fp); 1222 FILE *fp; 1388 FILE *fp; local [all...] |
/hardware/bsp/intel/peripheral/libmraa/include/ |
mraa_internal_types.h | 138 int fp; /**< IIO device in /dev */ member in struct:_iio
|
/hardware/intel/common/libva/va/ |
va.c | 62 FILE *fp=NULL; local 67 fp = fopen("/etc/libva.conf", "r"); 68 while (fp && (fgets(oneline, 1024, fp) != NULL)) { 81 fclose(fp); 86 if (fp) 87 fclose(fp); [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
stress_iio.c | 129 FILE *fp; local 134 if ((fp = fopen(dmp_path, "rb")) < 0 ) { 138 i = fread(dmp_img, 1, DMP_CODE_SIZE, fp); 140 fclose(fp); 141 fp = fopen("/dev/read_img.h", "wt"); 142 fprintf(fp, "unsigned char rec[]={\n"); 144 fprintf(fp, "0x%02x, ", dmp_img[i]); 147 fprintf(fp, "\n"); 151 fprintf(fp, "};\n "); 152 fclose(fp); 300 FILE *fp; local 714 int ret, fp,read_size; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 2508 FILE *fp = NULL; local [all...] |
/hardware/qcom/camera/usbcamcore/src/ |
QualcommUsbCamera.cpp | 2272 FILE *fp = NULL; local 2382 FILE *fp = NULL; local 2767 FILE *fp; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display.cpp | 1049 FILE* fp = fopen(dump_file_name, "w+"); local [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
run.c | 219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ variable in typeref:struct:Frame 236 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame)); 243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) ); 250 dprintf( ("evaluate args[%d], fp=%d:\n", i, (int) (fp-frame)) ); 267 fp++; /* now ok to up frame */ 268 if (fp >= frame + nframe) { 269 int dfp = fp - frame; /* old index */ 274 fp = frame + dfp 395 FILE *fp; local 965 FILE *fp; local 1471 FILE *fp; local 1567 FILE *fp; local 1575 fputs(getpssval(y), fp); local 1599 FILE *fp; local 1613 FILE *fp; member in struct:files 1633 FILE *fp = 0; local [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceStub.java | 217 final FetchProfile fp = new FetchProfile(); local 218 fp.add(storePart); 219 remoteFolder.fetch(new Message[] { storeMessage }, fp,
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
Pop3StoreUnitTests.java | 534 FetchProfile fp = new FetchProfile(); local 535 fp.add(FetchProfile.Item.FLAGS); 536 fp.add(FetchProfile.Item.ENVELOPE); 537 mFolder.fetch(messages, fp, null); 582 FetchProfile fp = new FetchProfile(); local 583 fp.add(FetchProfile.Item.FLAGS); 584 fp.add(FetchProfile.Item.ENVELOPE); 585 mFolder.fetch(messages, fp, null); 629 FetchProfile fp = new FetchProfile(); local 630 fp.add(FetchProfile.Item.FLAGS) 791 FetchProfile fp = new FetchProfile(); local 831 FetchProfile fp = new FetchProfile(); local [all...] |
ImapStoreUnitTests.java | 771 final FetchProfile fp = new FetchProfile(); local 772 fp.add(FetchProfile.Item.FLAGS); 773 fp.add(FetchProfile.Item.ENVELOPE); 812 final FetchProfile fp = new FetchProfile(); local 851 final FetchProfile fp = new FetchProfile(); local 973 final FetchProfile fp = new FetchProfile(); local 996 final FetchProfile fp = new FetchProfile(); local 1019 final FetchProfile fp = new FetchProfile(); local 1070 FetchProfile fp = new FetchProfile();fp.clear(); local 1129 FetchProfile fp = new FetchProfile(); local 2108 final FetchProfile fp = new FetchProfile(); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/system/core/fastboot/ |
fastboot.cpp | 576 FILE* fp = tmpfile(); local 577 if (fp == nullptr) { 590 int fd = fileno(fp); [all...] |
/system/core/liblog/tests/ |
liblog_test.cpp | 507 FILE *fp = fopen(buffer, "r"); local 508 if (!fp) { 512 char *cp = fgets(buffer, sizeof(buffer), fp); 513 fclose(fp); [all...] |
/system/core/libpixelflinger/ |
trap.cpp | 455 const GGLFormat* fp = &(c->formats[cb->format]); local 457 (x + (cb->stride * y)) * fp->size; 458 const size_t size = ct * fp->size; [all...] |
/system/netd/server/ |
BandwidthController.cpp | 748 FILE *fp; local 756 fp = fopen(fname, "re"); 758 if (!fp) { 762 scanRes = fscanf(fp, "%" SCNd64, bytes); 764 fclose(fp); 802 FILE *fp; local 811 fp = fopen(fname, "we"); 813 if (!fp) { 817 fprintf(fp, "%" PRId64"\n", bytes); 818 fclose(fp); [all...] |
/system/update_engine/common/ |
utils.cc | 322 // Reads from an open file |fp|, appending the read content to the container 327 static bool Read(FILE* fp, off_t size, T* out_p) { 328 CHECK(fp); 336 size_t nbytes = fread(buf, 1, bytes_to_read, fp); 346 if (ferror(fp)) { 349 return size == 0 || feof(fp); 362 base::ScopedFILE fp(fopen(path.c_str(), "r")); 363 if (!fp.get()) 371 TEST_AND_RETURN_FALSE_ERRNO(fseek(fp.get(), offset, SEEK_SET) == 0); 373 return Read(fp.get(), size, out_p) 379 FILE* fp = popen(cmd.c_str(), "r"); local [all...] |
/system/vold/ |
VolumeManager.cpp | 483 FILE* fp = setmntent("/proc/mounts", "r"); local 484 if (fp == NULL) { 493 while ((mentry = getmntent(fp)) != NULL) { 498 endmntent(fp); 657 FILE* fp = setmntent("/proc/mounts", "r"); local 658 if (fp == NULL) { 667 while ((mentry = getmntent(fp)) != NULL) { 673 endmntent(fp); 1820 FILE *fp = setmntent("\/proc\/mounts", "r"); local 1858 FILE *fp = setmntent("\/proc\/mounts", "r"); local [all...] |