/external/v8/src/base/platform/ |
platform-linux.cc | 67 // what FP ABI used. 68 // GCC versions 4.4 and below don't support hard-fp. 69 // GCC versions 4.5 may support hard-fp without defining __ARM_PCS or 92 #error "Your version of GCC does not report the FP ABI compiled for." \ 150 FILE* fp = fopen("/proc/self/maps", "r"); local 151 if (fp == NULL) return result; 162 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 163 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 170 c = getc(fp); 177 ungetc(c, fp); [all...] |
platform-openbsd.cc | 73 FILE* fp = fopen("/proc/self/maps", "r"); local 74 if (fp == NULL) return result; 85 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 86 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 93 c = getc(fp); 99 ungetc(c, fp); // Push the '/' back into the stream to be read below. 102 if (fgets(lib_name, kLibNameLen, fp) == NULL) break; 118 c = getc(fp); 124 fclose(fp);
|
/external/v8/src/profiler/ |
cpu-profiler.cc | 48 Address fp = isolate->c_entry_fp(isolate->thread_local_top()); local 49 regs.sp = fp - fp_to_sp_delta; 50 regs.fp = fp; 64 regs.fp = frame->fp();
|
/external/valgrind/perf/ |
ffbench.c | 2 // Valgrind's handling of FP operations. It is representative of all 3 // programs that do a lot of FP operations. 338 FILE *fp; local 358 fp = fopen("fft.cap", "w"); 359 if (fp == NULL) { 363 putc(':', fp); 364 putc(1, fp); 365 fwrite(patarr, SCRN, 1, fp); 366 putc(6, fp); 367 fclose(fp); [all...] |
/external/vboot_reference/futility/ |
cmd_dump_fmap.c | 120 FILE *fp = fopen(outname, "wb"); local 121 if (!fp) { 135 ah->area_size, 1, fp)) { 143 fclose(fp);
|
cmd_gbb_utility.c | 201 FILE *fp = NULL; local 205 fp = fopen(filename, "rb"); 206 if (!fp) { 212 if (0 != fstat(fileno(fp), &sb)) { 227 if (1 != fread(buf, sb.st_size, 1, fp)) { 233 if (fp && 0 != fclose(fp)) { 247 if (fp && 0 != fclose(fp)) 256 FILE *fp; local 292 FILE *fp; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_fec_test.cc | 76 FILE* fp = fopen(in_filename_.c_str(), "rb"); local 77 ASSERT_FALSE(fp == NULL); 80 fseek(fp, 0, SEEK_END); 81 loop_length_samples_ = ftell(fp) / sizeof(int16_t); 82 rewind(fp); 89 ASSERT_EQ(fread(&in_data_[0], sizeof(int16_t), loop_length_samples_, fp), 91 fclose(fp);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
DecTestBench.c | 680 FILE *fp; local 682 fp = fopen("dec_api.trc", "at"); 684 if (!fp) 687 fwrite(string, 1, strlen(string), fp); 688 fwrite("\n", 1,1, fp); 690 fclose(fp);
|
TestBenchMultipleInstance.c | 398 FILE *fp; local 400 fp = fopen("dec_api.trc", "at"); 402 if (!fp) 405 fwrite(string, 1, strlen(string), fp); 406 fwrite("\n", 1,1, fp); 408 fclose(fp);
|
/frameworks/base/core/jni/ |
com_android_internal_net_NetworkStatsFactory.cpp | 105 FILE *fp = fopen(path8.c_str(), "r"); local 106 if (fp == NULL) { 128 while (fgets(buffer, sizeof(buffer), fp) != NULL) { 143 fclose(fp); 161 fclose(fp); 194 fclose(fp); 222 if (fclose(fp) != 0) {
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 207 FILE* fp = fdopen(dup(fd), "rb"); local 208 if (fp == NULL) { 214 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, 216 offset = ftell(fp); 217 fclose(fp);
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 319 FieldPacker fp = new FieldPacker(16); local 321 fp.addF32(f4); 322 constantData.setFromFieldPacker(0, fp);
|
/frameworks/base/tools/aapt/ |
Package.cpp | 190 FILE* fp = fopen(dependencyFile.string(), "a"); local 192 fprintf(fp, "%s \\\n", outputFile.string()); 193 fclose(fp);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicColorMatrix.cpp | 175 float fp[16]; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix 234 if (fabs(fp[i]) != 0.f) { 745 ip[ct] = (short)(fp[ct] * 256.f + 0.5f); 746 tmpFp[ct] = fp[ct] * fpMul; 747 //ALOGE("mat %i %f %f", ct, fp[ct], tmpFp[ct]); 766 memcpy (fp, data, sizeof(fp));
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_linux.c | 310 FILE *fp; local 317 if (!(fp = fopen(proc_net_dev, "r")) || 318 !fgets(buf, sizeof(buf), fp) || 319 !fgets(buf, sizeof(buf), fp)) 322 while (fgets(buf, sizeof(buf), fp)) { 338 fclose(fp);
|
/hardware/bsp/intel/peripheral/libmraa/src/iio/ |
iio.c | 320 if (mraa_iio_wait_event(dev->fp, &data[0], &read_size) == MRAA_SUCCESS) { 350 dev->fp = open(bu, O_RDONLY | O_NONBLOCK); 351 if (dev->fp == -1) { 503 dev->fp = open(bu, O_RDONLY | O_NONBLOCK); 504 if (dev->fp == -1) { 507 ret = ioctl(dev->fp, IIO_GET_EVENT_FD_IOCTL, &dev->fp_event); 508 close(dev->fp); 545 FILE* fp; local 550 fp = fopen(buf, "r"); 551 if (fp != NULL) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_entropymv.h | 88 vp9_prob fp[MV_FP_SIZE - 1]; member in struct:__anon30660 116 unsigned int fp[MV_FP_SIZE]; member in struct:__anon30662
|
/hardware/intel/img/psb_video/fw/topazsc/ |
topazsc_bin.c | 132 FILE *fp = NULL; local 170 fp = fopen(FW_FILE_NAME, "w"); 172 if (NULL == fp) 182 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); 186 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp); 190 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp); 196 fclose(fp);
|
/hardware/intel/img/psb_video/src/ |
psb_drv_debug.c | 250 FILE *fp = NULL; local 256 fp = fopen("/etc/psbvideo.conf", "r"); 257 while (fp && (fgets(oneline, 1024, fp) != NULL)) { 270 fclose(fp); 275 if (fp) 276 fclose(fp); [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 124 FILE *fp; local 129 if(NULL == (fp = fopen(input, "rt")) ){ 139 result = fread(&d, 1, 1, fp); 219 fclose(fp); 253 FILE *fp; local 295 if((fp = fopen(key_path, "rt")) == NULL) 298 fscanf(fp, "%02x", &result); 302 fclose(fp);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
read_device_node.c | 78 int ret, i, ind, fp; local 83 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); 84 if (fp == -1) { /* if it isn't there make the node */ 93 .fd = fp, 102 read_size = read(fp, dptr, 1024); 205 close(fp);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 116 FILE *fp; local 121 if(NULL == (fp = fopen(input, "rt")) ){ 131 result = fread(&d, 1, 1, fp); 211 fclose(fp); 245 FILE *fp; local 287 if((fp = fopen(key_path, "rt")) == NULL) 290 fscanf(fp, "%02x", &result); 294 fclose(fp);
|
/hardware/qcom/audio/msm8909/audiod/ |
AudioDaemon.cpp | 70 FILE *fp; local 79 if ((fp = fopen(cards, "r")) == NULL) { 86 while ((fgets(buffer, sizeof(buffer), fp) != NULL)) { 108 fclose(fp);
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 60 FILE *fp = fopen(filename, "w+"); \ 61 if (fp) { \ 62 rc = fwrite(p_addr, 1, len, fp); \ 63 fclose(fp); \ 180 FILE *fp = NULL; local 182 fp = fopen(p_obj->filename, "rb"); 183 if (!fp) { 187 fseek(fp, 0, SEEK_END); 188 file_size = (size_t)ftell(fp); 189 fseek(fp, 0, SEEK_SET) [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/ |
mm_lib2d_test.c | 55 FILE *fp = fopen(filename, "w+"); \ 56 if (fp) { \ 57 rc = fwrite(p_addr, 1, len, fp); \ 59 fclose(fp); \ 74 FILE *fp = fopen(filename, "w+"); \ 75 if (fp) { \ 76 rc = fwrite(p_addr1, 1, len1, fp); \ 77 rc = fwrite(p_addr2, 1, len2, fp); \ 79 fclose(fp); \ 219 FILE *fp = 0 local 269 FILE *fp = 0; local [all...] |