HomeSort by relevance Sort by last modified time
    Searched defs:fp (Results 601 - 625 of 1027) sorted by null

<<21222324252627282930>>

  /hardware/qcom/display/msm8996/hdmi_cec/
qhdmi_cec.cpp 73 FILE *fp = NULL; local
76 fp = fopen(path, "r");
77 if (fp) {
78 err = fread(data, sizeof(char), MAX_SYSFS_DATA ,fp);
79 fclose(fp);
  /hardware/qcom/display/msm8996/sdm/libs/hwc/
blit_engine_c2d.cpp 587 FILE* fp = fopen(dump_file_name, "w+"); local
588 if (fp) {
589 result = fwrite(reinterpret_cast<void *>(target_buffer->base), target_buffer->size, 1, fp);
590 fclose(fp);
  /libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java 115 FieldPosition fp = new FieldPosition(DateFormat.YEAR_FIELD); local
116 StringBuffer sb = format.format(current, toAppend, fp);
120 assertTrue("Incorrect beginIndex of filed position", fp
123 fp.getEndIndex() == sb.lastIndexOf("/") + 3);
  /ndk/sources/host-tools/make-3.81/
file.c 1016 struct file **fp = (struct file **) files.ht_vec;
1017 struct file **end = &fp[files.ht_size];
1024 for (; fp < end; ++fp)
1025 if (!HASH_VACANT (*fp) && (*fp)->is_target)
1027 struct file *f = *fp;
1009 struct file **fp = (struct file **) files.ht_vec; local
getloadavg.c 624 FILE *fp;
626 fp = fopen (NETBSD_LDAV_FILE, "r");
627 if (fp == NULL)
629 count = fscanf (fp, "%lu %lu %lu %lu\n",
632 (void) fclose (fp);
622 FILE *fp; local
  /prebuilts/misc/windows/sdl2/test/
testautomation_rwops.c 396 FILE *fp; local
401 fp = fopen(RWopsReadTestFilename, "r");
402 SDLTest_AssertCheck(fp != NULL, "Verify handle from opening file '%s' in read mode is not NULL", RWopsReadTestFilename);
405 if (fp == NULL) return TEST_ABORTED;
408 rw = SDL_RWFromFP( fp, SDL_TRUE );
414 fclose(fp);
446 FILE *fp; local
451 fp = fopen(RWopsWriteTestFilename, "w+");
452 SDLTest_AssertCheck(fp != NULL, "Verify handle from opening file '%s' in write mode is not NULL", RWopsWriteTestFilename);
455 if (fp == NULL) return TEST_ABORTED
    [all...]
  /system/core/debuggerd/
tombstone.cpp 205 FILE *fp; local
208 if ((fp = fopen(path, "r"))) {
209 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp);
210 fclose(fp);
229 if ((fp = fopen(path, "r"))) {
230 procname = fgets(procnamebuf, sizeof(procnamebuf), fp);
231 fclose(fp);
  /system/core/logcat/tests/
logcat_test.cpp 49 FILE *fp; local
51 ASSERT_TRUE(NULL != (fp = popen(
60 while (fgets(buffer, sizeof(buffer), fp)) {
71 pclose(fp);
85 FILE *fp; local
99 ASSERT_TRUE(NULL != (fp = popen(
107 while (fgets(buffer, sizeof(buffer), fp)) {
113 pclose(fp);
119 char *fgetLongTime(char *buffer, size_t buflen, FILE *fp) {
120 while (fgets(buffer, buflen, fp)) {
160 FILE *fp; local
184 FILE *fp; local
216 FILE *fp; local
249 FILE *fp; local
311 FILE *fp; local
341 FILE *fp; local
421 FILE *fp; local
490 FILE *fp; local
566 FILE *fp; local
610 FILE *fp; local
666 FILE *fp; local
771 FILE *fp; local
839 FILE *fp; local
874 FILE *fp; local
935 FILE *fp; local
968 FILE *fp; local
    [all...]
  /system/core/logd/tests/
logd_test.cpp 404 FILE *fp; local
407 ASSERT_TRUE(NULL != (fp = popen(
432 while (fgets(buffer, sizeof(buffer), fp)) {
442 int ret = pclose(fp);
  /system/core/logwrapper/
logwrap.c 96 FILE *fp; member in struct:log_info
166 fprintf(log_info->fp, "%s\n", line);
344 log_info.fp = fdopen(fd, "a");
464 fclose(log_info.fp); /* Also closes underlying fd */
  /system/extras/perfprofd/
perfprofdcore.cc 507 FILE *fp = fopen(encoded_file_path, "w"); local
508 if (!fp) {
512 if (fwrite(dtarget, fsiz, 1, fp) != 1) {
513 fclose(fp);
516 fclose(fp);
654 FILE *fp = fopen(processed_file_path.c_str(), "r");
655 if (fp != NULL) {
657 while(fscanf(fp, "%d\n", &seq) > 0) {
663 fclose(fp);
667 fp = fopen(produced_file_path.c_str(), "r")
    [all...]
  /system/extras/perfprofd/tests/
perfprofd_test.cc 178 FILE *fp = fopen(processed.c_str(), "w"); local
180 fprintf(fp, "%d\n", i);
182 fclose(fp);
209 FILE *fp = fopen(config_path.c_str(), "w"); local
210 ASSERT_TRUE(fp != nullptr);
211 fprintf(fp, "%s\n", config_text.c_str());
212 fclose(fp);
  /system/extras/simpleperf/
environment.cpp 43 LineReader(FILE* fp) : fp_(fp), buf_(nullptr), bufsize_(0) {
70 FILE* fp = fopen("/sys/devices/system/cpu/online", "re"); local
71 if (fp == nullptr) {
76 LineReader reader(fp);
115 FILE* fp = fopen(symbol_file.c_str(), "re"); local
116 if (fp == nullptr) {
120 LineReader reader(fp);
150 FILE* fp = fopen("/proc/modules", "re"); local
151 if (fp == nullptr)
254 FILE* fp = fopen(status_file.c_str(), "re"); local
330 FILE* fp = fopen(map_file.c_str(), "re"); local
    [all...]
  /system/vold/
CommandListener.cpp 123 FILE *fp = fopen("/proc/mounts", "r"); local
124 if (fp) {
126 while (fgets(line, sizeof(line), fp)) {
130 fclose(fp);
  /toolchain/binutils/binutils-2.25/opcodes/
i386-gen.c 602 process_copyright (FILE *fp)
604 fprintf (fp, "/* This file is automatically generated by i386-gen. Do not edit! */\n\
1044 FILE *fp; local
1055 fp = fopen (filename, "r");
1057 if (fp == NULL)
1073 while (!feof (fp))
1075 if (fgets (buf, sizeof (buf), fp) == NULL)
1161 fclose (fp);
1179 FILE *fp; local
1187 fp = fopen (filename, "r")
1262 FILE *fp = fopen ("i386-init.h", "w"); local
    [all...]
z80-dis.c 40 func fp; member in struct:tab_elt
329 p->fp (buf, info, p->text);
543 p->fp (buf, info, mytxt);
629 p->fp (& buf, info, p->text);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateTimePatternGenerator.java 129 FormatParser fp = new FormatParser(); local
130 fp.set(shortTimePattern);
131 List<Object> items = fp.getItems();
271 result.fp.set(hackPattern);
275 for (int i = 0; i < result.fp.items.size(); ++i) {
276 Object item = result.fp.items.get(i);
279 mmss.append(result.fp.quoteLiteral(item.toString()));
302 for (int i = 0; i < result.fp.items.size(); ++i) {
303 Object item = result.fp.items.get(i);
316 String hhmm = getFilteredPattern(result.fp, nuke)
420 current.set(skeletonCopy.toString(), fp, false); local
1579 private transient FormatParser fp = new FormatParser(); field in class:DateTimePatternGenerator
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateTimePatternGenerator.java 133 FormatParser fp = new FormatParser(); local
134 fp.set(shortTimePattern);
135 List<Object> items = fp.getItems();
273 result.fp.set(hackPattern);
277 for (int i = 0; i < result.fp.items.size(); ++i) {
278 Object item = result.fp.items.get(i);
281 mmss.append(result.fp.quoteLiteral(item.toString()));
304 for (int i = 0; i < result.fp.items.size(); ++i) {
305 Object item = result.fp.items.get(i);
318 String hhmm = getFilteredPattern(result.fp, nuke)
423 current.set(skeletonCopy.toString(), fp, false); local
1606 private transient FormatParser fp = new FormatParser(); field in class:DateTimePatternGenerator
    [all...]
  /bootable/recovery/
screen_ui.cpp 651 void ScreenRecoveryUI::ShowFile(FILE* fp) {
653 offsets.push_back(ftell(fp));
657 fstat(fileno(fp), &sb);
663 static_cast<int>(100 * (double(ftell(fp)) / double(sb.st_size))),
676 fseek(fp, offsets.back(), SEEK_SET);
679 if (feof(fp)) {
682 offsets.push_back(ftell(fp));
688 int ch = getc(fp);
702 FILE* fp = fopen_path(filename, "re"); local
703 if (fp == nullptr)
    [all...]
  /build/kati/
ninja.cc 646 FILE* fp = fopen(GetEnvScriptFilename().c_str(), "wb"); local
647 if (fp == NULL)
650 fprintf(fp, "#!/bin/sh\n");
651 fprintf(fp, "# Generated by kati %s\n", kGitVersion);
652 fprintf(fp, "\n");
657 fprintf(fp, "export '%s'='%s'\n", p.first.c_str(), val.c_str());
659 fprintf(fp, "unset '%s'\n", p.first.c_str());
663 fclose(fp);
665 fp = fopen(GetNinjaShellScriptFilename().c_str(), "wb");
666 if (fp == NULL
690 FILE* fp = fopen(GetStampTempFilename().c_str(), "wb"); local
    [all...]
  /device/generic/goldfish/opengl/tests/gles_android_wrapper/
egl.cpp 113 FILE *fp = fopen("/proc/self/cmdline", "rt"); local
114 if (fp == NULL) {
120 if (fgets(line, sizeof(line), fp) == NULL) {
122 fclose(fp);
125 fclose(fp);
160 FILE *fp = fopen(GLES_EMUL_TARGETS_FILE, "rt"); local
161 if (fp == NULL) {
170 while (fgets(line, sizeof(line), fp) != NULL) {
181 fclose(fp);
  /device/htc/flounder/sensor_hub/libsensors/
CwMcuSensor.cpp 1298 FILE *fp; local
    [all...]
  /device/huawei/angler/power/
power.c 651 FILE *fp; local
657 fp = fopen(file, "r");
658 if (fp == NULL) {
665 ((read = getline(&line, &len, fp) != -1) && (index < num_parameters));
696 fclose(fp);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
LevenbergMarquardtEstimator.java 529 double fp = dxNorm - delta; local
530 if (fp <= 0.1 * delta) {
558 parl = fp / (delta * sum2);
609 double previousFP = fp;
610 fp = dxNorm - delta;
614 if ((FastMath.abs(fp) <= 0.1 * delta) ||
615 ((parl == 0) && (fp <= previousFP) && (previousFP < 0))) {
637 double correction = fp / (delta * sum2);
640 if (fp > 0) {
642 } else if (fp < 0)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
LevenbergMarquardtOptimizer.java 534 double fp = dxNorm - delta; local
535 if (fp <= 0.1 * delta) {
561 parl = fp / (delta * sum2);
610 double previousFP = fp;
611 fp = dxNorm - delta;
615 if ((FastMath.abs(fp) <= 0.1 * delta) ||
616 ((parl == 0) && (fp <= previousFP) && (previousFP < 0))) {
638 double correction = fp / (delta * sum2);
641 if (fp > 0) {
643 } else if (fp < 0)
    [all...]

Completed in 796 milliseconds

<<21222324252627282930>>