/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);
|
/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) {
|
/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);
|
/external/fio/engines/ |
libhdfs.c | 32 hdfsFile fp; member in struct:hdfsio_data 44 hd->fp = hdfsOpenFile(hd->fs, ".fcount", O_RDONLY, 0, 0, 0); 45 if (hd->fp) { 46 hdfsRead(hd->fs, hd->fp, &(hd->fscount), sizeof(hd->fscount)); 47 hdfsCloseFile(hd->fs, hd->fp); 49 hd->fp = hdfsOpenFile(hd->fs, ".fbs", O_RDONLY, 0, 0, 0); 50 if (hd->fp) { 51 hdfsRead(hd->fs, hd->fp, &(hd->fsbs), sizeof(hd->fsbs)); 52 hdfsCloseFile(hd->fs, hd->fp); 82 hdfsCloseFile(hd->fs, hd->fp); [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-filepath_test.cc | 612 FilePath fp; local 613 EXPECT_STREQ("", fp.c_str()); 617 const FilePath fp("spicy"); 618 EXPECT_STREQ("spicy", fp.c_str()); 620 const FilePath fp_copy(fp); 625 const FilePath fp(String("cider")); 626 EXPECT_STREQ("cider", fp.c_str());
|
/external/gtest/test/ |
gtest-filepath_test.cc | 596 FilePath fp; local 597 EXPECT_EQ("", fp.string()); 601 const FilePath fp("spicy"); 602 EXPECT_EQ("spicy", fp.string()); 604 const FilePath fp_copy(fp); 609 const FilePath fp(std::string("cider")); 610 EXPECT_EQ("cider", fp.string());
|
/external/icu/icu4c/source/i18n/ |
scientificnumberformatter.cpp | 136 FieldPosition fp; local 138 while (fpi.next(fp)) { 139 switch (fp.getField()) { 144 fp.getBeginIndex() - copyFromOffset); 145 copyFromOffset = fp.getEndIndex(); 150 int32_t beginIndex = fp.getBeginIndex(); 151 int32_t endIndex = fp.getEndIndex(); 176 fp.getBeginIndex() - copyFromOffset); 179 fp.getBeginIndex(), 180 fp.getEndIndex() 210 FieldPosition fp; local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtptngen.h | 505 FormatParser *fp; member in class:DateTimePatternGenerator
|