/hardware/intel/common/utils/media_resource_manager/arbitrator/ |
MediaResourceArbitrator.cpp | 45 FILE *fp = NULL; local 47 fp = ::fopen(configFilePath, "r"); 48 if (fp == NULL) { 55 ParseXMLFile(fp); 170 void MediaResourceArbitrator::ParseXMLFile(FILE* fp) { 191 int len = (int)::fread(pBuf, 1, mBufSize, fp); 193 if (ferror(fp)) { 194 clearerr(fp); 210 if (fp) 211 ::fclose(fp); [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_load_dmp.c | 289 FILE *fp; local 294 if ((fp = fopen(dmp_path, "rb")) < 0) { 297 i = fread(dmp_img, 1, dmpSize, fp); 299 fclose(fp); 300 fp = fopen(out_file, "wt"); 301 if(fp == NULL) { 305 fprintf(fp, "char rec[]={\n"); 307 fprintf(fp, "0x%02x, ", dmp_img[i]); 309 fprintf(fp, "\n"); 312 fprintf(fp, "};\n ") [all...] |
/hardware/qcom/display/msm8084/libmemtrack/ |
kgsl.c | 49 FILE *fp; local 65 fp = fopen(tmp, "r"); 66 if (fp != NULL) { 67 if (fgets(line, sizeof(line), fp)) { 71 fclose(fp); 78 fp = fopen(tmp, "r"); 79 if (fp == NULL) { 94 if (fgets(line, sizeof(line), fp) == NULL) { 129 fclose(fp);
|
/hardware/qcom/display/msm8226/libmemtrack/ |
kgsl.c | 49 FILE *fp; local 65 fp = fopen(tmp, "r"); 66 if (fp != NULL) { 67 if (fgets(line, sizeof(line), fp)) { 71 fclose(fp); 78 fp = fopen(tmp, "r"); 79 if (fp == NULL) { 94 if (fgets(line, sizeof(line), fp) == NULL) { 129 fclose(fp);
|
/hardware/qcom/display/msm8994/libmemtrack/ |
kgsl.c | 49 FILE *fp; local 65 fp = fopen(tmp, "r"); 66 if (fp != NULL) { 67 if (fgets(line, sizeof(line), fp)) { 71 fclose(fp); 78 fp = fopen(tmp, "r"); 79 if (fp == NULL) { 94 if (fgets(line, sizeof(line), fp) == NULL) { 129 fclose(fp);
|
/hardware/qcom/display/msm8996/libmemtrack/ |
kgsl.c | 48 FILE *fp; local 63 fp = fopen(tmp, "r"); 64 if (fp != NULL) { 65 if (fgets(line, sizeof(line), fp)) { 69 fclose(fp); 76 fp = fopen(tmp, "r"); 77 if (fp == NULL) { 92 if (fgets(line, sizeof(line), fp) == NULL) { 128 fclose(fp);
|
/ndk/sources/host-tools/nawk-20071023/ |
maketab.c | 118 FILE *fp; local 135 fp = stdin; 137 if ((fp = fopen(input, "rt")) == NULL) { 144 while (fgets(buf, sizeof buf, fp) != NULL) {
|
/prebuilts/go/darwin-x86/test/ |
blank.go | 149 var fp = func(_ int, y int) {} var 152 fp = fp1 169 fp(1, 1) 170 fp(2, 2)
|
/prebuilts/go/linux-x86/test/ |
blank.go | 149 var fp = func(_ int, y int) {} var 152 fp = fp1 169 fp(1, 1) 170 fp(2, 2)
|
/system/core/debuggerd/ |
backtrace.cpp | 46 FILE* fp; local 49 if ((fp = fopen(path, "r"))) { 50 procname = fgets(procnamebuf, sizeof(procnamebuf), fp); 51 fclose(fp); 75 FILE* fp; local 78 if ((fp = fopen(path, "r"))) { 79 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp); 80 fclose(fp);
|
/system/core/libcutils/ |
open_memstream.c | 225 FILE* fp; local 237 fp = funopen(stream, 239 if (fp == NULL) { 249 return fp; 269 * fp = fopencookie(stream, "w", iofuncs);
|
/system/core/liblog/tests/ |
libc_test.cpp | 139 FILE *fp; local 140 ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a"))); 142 ASSERT_EQ((size_t)1, fwrite(message, sizeof(message), 1, fp)); 143 ASSERT_EQ(0, fclose(fp));
|
/system/core/logcat/tests/ |
logcat_benchmark.cpp | 26 FILE *fp; local 28 ASSERT_TRUE(NULL != (fp = popen( 85 while (fgets(buffer, sizeof(buffer), fp)) { 111 pclose(fp);
|
/toolchain/binutils/binutils-2.25/gold/ |
main.cc | 104 FILE* fp = fopen(filename, "w"); local 105 if (fp) 107 fprintf(fp, "[ \"$1\" = debug ]" 111 fprintf(fp, "$PREFIX%s $*\n", args); 112 fclose(fp);
|
/bionic/tests/ |
fcntl_test.cpp | 191 FILE* fp = fdopen(pipe_fds[0], "r"); local 192 ASSERT_TRUE(fp != NULL); 193 ASSERT_TRUE(fgets(buf, sizeof(buf), fp) != NULL); 194 fclose(fp);
|
utils.h | 52 FILE* fp = fopen("/proc/self/maps", "re"); local 53 if (fp == nullptr) { 58 fclose(fp); 62 while (fgets(line, sizeof(line), fp) != nullptr) {
|
/bootable/recovery/mtdutils/ |
mounts.c | 63 FILE* fp; local 87 fp = setmntent(PROC_MOUNTS_FILENAME, "r"); 88 if (fp == NULL) { 91 while ((mentry = getmntent(fp)) != NULL) { 98 endmntent(fp);
|
/bootable/recovery/ |
recovery-persist.cpp | 58 static void check_and_fclose(FILE *fp, const char *name) { 59 fflush(fp); 60 if (ferror(fp)) SLOGE("%s %s", name, strerror(errno)); 61 fclose(fp); 158 FILE *fp = fopen(mounts_file, "r"); local 159 if (!fp) { 165 while ((read = getline(&line, &len, fp)) != -1) { 172 fclose(fp);
|
/external/blktrace/btt/ |
misc.c | 118 void add_file(FILE *fp, char *oname) 122 fip->ofp = fp; 157 FILE *fp; local 160 fp = fopen(path, mode); 161 } while (fp == NULL && handle_open_failure()); 163 return fp;
|
/external/clang/test/Modules/ |
macros.c | 127 TOP_RIGHT_REDEF *fp = &f; // ok, right's definition overrides top's definition local
|
/external/clang/test/Sema/ |
overloadable.c | 14 float *fp = f(fv); local 25 float *fp = accept_funcptr(f1); local 36 float *fp = accept_struct(y); local
|
/external/dbus/dbus/ |
dbus-nonce.c | 103 FILE *fp; local 114 fp = fopen (_dbus_string_get_const_data (fname), "rb"); 115 if (!fp) 117 nread = fread (buffer, 1, sizeof buffer - 1, fp); 118 fclose (fp);
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LMpar.h | 37 Scalar fp; local 75 fp = dxnorm - m_delta; 76 if (fp <= Scalar(0.1) * m_delta) { 89 parl = fp / m_delta / temp / temp; 122 temp = fp; 123 fp = dxnorm - m_delta; 128 if (abs(fp) <= Scalar(0.1) * m_delta || (parl == 0. && fp <= temp && temp < 0.) || iter == 10) 141 parc = fp / m_delta / temp / temp; 144 if (fp > 0. [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
lmpar.h | 21 Scalar fp; local 64 fp = dxnorm - delta; 65 if (fp <= Scalar(0.1) * delta) { 88 parl = fp / delta / temp / temp; 121 temp = fp; 122 fp = dxnorm - delta; 127 if (abs(fp) <= Scalar(0.1) * delta || (parl == 0. && fp <= temp && temp < 0.) || iter == 10) 142 parc = fp / delta / temp / temp; 145 if (fp > 0. 179 Scalar fp; local [all...] |
/external/elfutils/libelf/ |
elf_getdata.c | 164 xfct_t fp; local 194 fp = __elf_xfctstom[version - 1][__libelf_version - 1][eclass - 1][type]; 196 fp = __elf_xfctstom[0][0][eclass - 1][type]; 199 fp (scn->data_base, rawdata_source, size, 0);
|