HomeSort by relevance Sort by last modified time
    Searched defs:fp (Results 276 - 300 of 1387) sorted by null

<<11121314151617181920>>

  /external/toybox/toys/other/
xxd.c 110 FILE *fp = xfdopen(fd, "r"); local
115 while (fscanf(fp, " 0x%02x,", &tmp) == 1) {
119 while (!feof(fp)) {
127 if (fscanf(fp, "%llx: ", &pos) == 1) {
142 if ((n1 = n2 = dehex(fgetc(fp))) < 0 || (n2 = dehex(fgetc(fp))) < 0) {
153 tmp = fgetc(fp);
154 if (tmp != ' ') ungetc(tmp, fp);
158 while ((tmp = fgetc(fp)) != EOF && tmp != '\n')
163 if (ferror(fp)) perror_msg_raw(name)
    [all...]
  /external/toybox/toys/pending/
more.c 80 FILE *fp, *cin; local
100 fp = stdin;
101 if (*toys.optargs && !(fp = fopen(*toys.optargs, "r"))) {
106 fstat(fileno(fp), &st);
115 while ((ch = getc(fp)) != EOF) {
119 (int) (100 * ( (double) ftell(fp) / (double) st.st_size)),
139 fclose(fp);
  /external/vboot_reference/tests/
vb21_host_fw_preamble_tests.c 32 struct vb2_fw_preamble *fp; local
77 TEST_SUCC(vb2_fw_preamble_create(&fp, prik4096,
82 TEST_PTR_NEQ(fp, NULL, " fp_ptr");
83 TEST_SUCC(vb2_verify_fw_preamble(fp, fp->c.total_size, pubk4096, &wb),
85 TEST_EQ(strcmp(vb2_common_desc(fp), test_desc), 0, " desc");
86 TEST_EQ(fp->fw_version, test_version, " fw_version");
87 TEST_EQ(fp->flags, test_flags, " flags");
88 TEST_EQ(fp->hash_count, 3, " hash_count");
90 hash_next = fp->hash_offset
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicColorMatrix.java 82 FieldPacker fp = new FieldPacker(16*4); local
83 fp.addMatrix(mMatrix);
84 setVar(0, fp);
121 FieldPacker fp = new FieldPacker(4*4); local
122 fp.addF32(f.x);
123 fp.addF32(f.y);
124 fp.addF32(f.z);
125 fp.addF32(f.w);
126 setVar(1, fp);
144 FieldPacker fp = new FieldPacker(4*4) local
    [all...]
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
viddec_fw_debug.h 70 uint32_t ret1, fp, sp, wim, psr; local
72 read_fp(fp);
77 //DEBUG_WRITE(sp, wim, fp, ret1, (*crash), 0xFED);
78 DEBUG_WRITE(sp, wim, fp, ret1, psr, 0xFFFFFFFF);
  /hardware/intel/common/libva/test/decode/
loadjpeg.c 49 static int filesize(FILE *fp)
52 fseek(fp, 0, SEEK_END);
53 pos = ftell(fp);
54 fseek(fp, 0, SEEK_SET);
63 FILE *fp; local
70 fp = fopen(infilename, "rb");
71 if (fp == NULL)
73 length_of_file = filesize(fp);
77 fread(buf, length_of_file, 1, fp);
78 fclose(fp);
    [all...]
  /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/msm8909/libmemtrack/
kgsl.c 48 FILE *fp; local
65 fp = fopen(tmp, "r");
66 if (fp == NULL) {
81 if (fgets(line, sizeof(line), fp) == NULL) {
97 fclose(fp);
102 fclose(fp);
110 fclose(fp);
117 fclose(fp);
141 fclose(fp);
  /hardware/qcom/display/msm8909w_3100/libmemtrack/
kgsl.c 48 FILE *fp; local
65 fp = fopen(tmp, "r");
66 if (fp == NULL) {
81 if (fgets(line, sizeof(line), fp) == NULL) {
97 fclose(fp);
102 fclose(fp);
110 fclose(fp);
117 fclose(fp);
141 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) {
131 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);
  /hardware/qcom/display/msm8998/libmemtrack/
kgsl.c 48 FILE *fp; local
65 fp = fopen(tmp, "r");
66 if (fp == NULL) {
81 if (fgets(line, sizeof(line), fp) == NULL) {
97 fclose(fp);
102 fclose(fp);
110 fclose(fp);
117 fclose(fp);
141 fclose(fp);
  /libcore/ojluni/src/main/java/sun/nio/fs/
LinuxFileSystem.java 81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); local
85 int res = getmntent(fp, entry);
91 endmntent(fp);
  /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)
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/
chrono.cpp 175 typedef steady_clock::rep (*FP)();
178 FP
191 static FP fp = init_steady_clock(); variable
192 return time_point(duration(fp()));
  /system/core/libbacktrace/
BacktraceMap.cpp 122 FILE* fp = popen(cmd, "r"); local
126 FILE* fp = fopen(path, "r"); local
128 if (fp == nullptr) {
132 while(fgets(line, sizeof(line), fp)) {
139 pclose(fp);
141 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/logcat/tests/
logcat_benchmark.cpp 26 FILE* fp; local
30 fp = popen(
33 if (!fp) return;
83 while (fgets(buffer, sizeof(buffer), fp)) {
109 pclose(fp);
  /system/nfc/utils/test/
config_test.cc 59 FILE* fp = fopen(SIMPLE_CONFIG_FILE, "wt"); variable
60 fwrite(SIMPLE_CONFIG, 1, sizeof(SIMPLE_CONFIG), fp);
61 fclose(fp); variable
  /toolchain/binutils/binutils-2.27/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);
  /bootable/recovery/
recovery-persist.cpp 53 static void check_and_fclose(FILE *fp, const char *name) {
54 fflush(fp);
55 if (ferror(fp)) {
58 fclose(fp);
123 FILE* fp = fopen(mounts_file, "re"); local
124 if (!fp) {
130 while ((read = getline(&line, &len, fp)) != -1) {
137 fclose(fp);

Completed in 950 milliseconds

<<11121314151617181920>>