/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicHistogram.java | 125 FieldPacker fp = new FieldPacker(16); local 126 fp.addF32(r); 127 fp.addF32(g); 128 fp.addF32(b); 129 fp.addF32(a); 130 setVar(0, fp);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
mlos_linux.c | 133 FILE *fp = fopen(filename, "r"); local 134 return fp; 140 * @param fp handle to file to close. 143 void inv_fclose(FILE *fp) 145 fclose(fp);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_load_dmp.c | 254 FILE *fp; local 259 if ((fp = fopen(dmp_path, "rb")) < 0) { 262 i = fread(dmp_img, 1, dmpSize, fp); 264 fclose(fp); 265 fp = fopen(out_file, "wt"); 266 if(fp == NULL) { 270 fprintf(fp, "char rec[]={\n"); 272 fprintf(fp, "0x%02x, ", dmp_img[i]); 274 fprintf(fp, "\n"); 277 fprintf(fp, "};\n ") [all...] |
mlos_linux.c | 133 FILE *fp = fopen(filename, "r"); local 134 return fp; 140 * @param fp handle to file to close. 143 void inv_fclose(FILE *fp) 145 fclose(fp);
|
/hardware/qcom/display/msm8909/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) { 127 fclose(fp);
|
/hardware/qcom/display/msm8960/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) { 125 fclose(fp);
|
/hardware/ti/omap4-aah/ |
mapinfo.c | 54 FILE *fp = fopen(data, "r"); local 55 if(fp) { 56 while(fgets(data, sizeof(data), fp)) { 63 fclose(fp);
|
/hardware/ti/omap4xxx/ |
mapinfo.c | 54 FILE *fp = fopen(data, "r"); local 55 if(fp) { 56 while(fgets(data, sizeof(data), fp)) { 63 fclose(fp);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
chrono.cpp | 88 typedef steady_clock::rep (*FP)(); 91 FP 106 static FP fp = init_steady_clock(); variable 107 return time_point(duration(fp()));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
platformtest.cpp | 106 FILE *fp = fopen(filename_, "rb");
local 107 ASSERT_EQ(length_, fread(temp_, 1, length_, fp));
109 fclose(fp);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
filestreamtest.cpp | 34 FILE* fp = 0;
local 36 fp = fopen(paths[i], "rb");
37 if (fp) {
42 ASSERT_TRUE(fp != 0);
44 fseek(fp, 0, SEEK_END);
45 length_ = (size_t)ftell(fp);
46 fseek(fp, 0, SEEK_SET);
48 size_t readLength = fread(json_, 1, length_, fp);
50 fclose(fp);
69 FILE *fp = fopen(filename_, "rb"); local 88 FILE* fp = TempFile(filename); local [all...] |
/system/bt/osi/test/ |
config_test.cpp | 55 FILE *fp = fopen(CONFIG_FILE, "wt"); local 56 fwrite(CONFIG_FILE_CONTENT, 1, sizeof(CONFIG_FILE_CONTENT), fp); 57 fclose(fp);
|
/system/core/libbacktrace/ |
BacktraceMap.cpp | 107 FILE* fp = popen(cmd, "r"); local 111 FILE* fp = fopen(path, "r"); local 113 if (fp == nullptr) { 117 while(fgets(line, sizeof(line), fp)) { 124 pclose(fp); 126 fclose(fp);
|
/system/extras/perfprofd/ |
cpuconfig.cc | 66 FILE *fp = fopen(possible.c_str(), "re"); local 67 if (fp) { 69 if (fscanf(fp, "%u-%u", &lo, &hi) == 2) { 72 fclose(fp); 81 FILE *fp = fopen(ss.str().c_str(), "we"); local 82 if (fp) { 83 fprintf(fp, onoff ? "1\n" : "0\n"); 84 fclose(fp);
|
/toolchain/binutils/binutils-2.25/gprof/ |
bb_exit_func.c | 53 FILE *fp; 67 fp = fopen (OUT_NAME, "wb"); 68 if (!fp) 75 fwrite (&ghdr, sizeof (ghdr), 1, fp); 84 fwrite (&tag, sizeof (tag), 1, fp); 85 fwrite (&ncounts, sizeof (ncounts), 1, fp); 89 fwrite (&ptr->addresses[i], sizeof (ptr->addresses[0]), 1, fp); 90 fwrite (&ptr->counts[i], sizeof (ptr->counts[0]), 1, fp); 93 fclose (fp); 52 FILE *fp; local
|
/external/clang/test/SemaCXX/ |
enable_if.cpp | 3 typedef int (*fp)(int); typedef 31 operator fp() __attribute__((enable_if(false, "never enabled"))) { return surrogate; } // expected-note{{conversion candidate of type 'int (*)(int)'}} // FIXME: the message is not displayed
|
/bionic/libc/bionic/ |
sysinfo.cpp | 66 FILE* fp = fopen("/sys/devices/system/cpu/online", "re"); local 67 if (fp != nullptr) { 70 if (getline(&line, &len, fp) != -1) { 74 fclose(fp); 80 FILE* fp = fopen("/proc/meminfo", "re"); local 81 if (fp == NULL) { 87 while (fgets(buf, sizeof(buf), fp) != NULL) { 94 fclose(fp);
|
/bionic/libc/malloc_debug/ |
MapData.cpp | 114 FILE* fp = fopen("/proc/self/maps", "re"); local 115 if (fp == nullptr) { 120 while (fgets(buffer.data(), buffer.size(), fp) != nullptr) { 123 fclose(fp); 134 fclose(fp);
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
popen.c | 69 FILE *fp; member in struct:pid 135 close(fileno(old->fp)); /* don't allow a flush */ 176 cur->fp = iop; 203 if (cur->fp == iop)
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fmemopen.c | 120 FILE *fp; local 141 if ((fp = __sfp()) == NULL) { 154 fp->_flags = 0; 174 fp->_flags = (short)flags; 175 fp->_file = -1; 176 fp->_cookie = (void *)st; 177 fp->_read = (flags & __SWR) ? NULL : fmemopen_read; 178 fp->_write = (flags & __SRD) ? NULL : fmemopen_write; 179 fp->_seek = fmemopen_seek; 180 fp->_close = (buf == NULL) ? fmemopen_close_free : fmemopen_close [all...] |
open_memstream.c | 117 FILE *fp; local 127 if ((fp = __sfp()) == NULL) { 135 fp->_flags = 0; 148 fp->_flags = __SWR; 149 fp->_file = -1; 150 fp->_cookie = st; 151 fp->_read = NULL; 152 fp->_write = memstream_write; 153 fp->_seek = memstream_seek; 154 fp->_close = memstream_close [all...] |
open_wmemstream.c | 127 FILE *fp; local 137 if ((fp = __sfp()) == NULL) { 145 fp->_flags = 0; 159 fp->_flags = __SWR; 160 fp->_file = -1; 161 fp->_cookie = st; 162 fp->_read = NULL; 163 fp->_write = wmemstream_write; 164 fp->_seek = wmemstream_seek; 165 fp->_close = wmemstream_close [all...] |
/external/blktrace/btt/ |
unplug_hist.c | 67 FILE *fp; local 74 if ((fp = my_fopen(oname, "w")) != NULL) { 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]); 79 fclose(fp);
|
/external/bsdiff/ |
test_utils.cc | 55 FILE* fp = fopen(path.c_str(), "r"); local 56 if (!fp) 62 size_t bytes_read = fread(buf, 1, sizeof(buf), fp); 67 bool result = !ferror(fp); 68 fclose(fp); 73 FILE* fp = fopen(path.c_str(), "r"); local 74 if (!fp) 76 size_t written = fwrite(contents.data(), 1, contents.size(), fp); 77 bool result = written == contents.size() && !ferror(fp); 78 fclose(fp); [all...] |
/external/clang/test/Modules/ |
macros2.c | 31 TOP_RIGHT_REDEF *fp = &f; // ok, right's definition overrides top's definition local
|