HomeSort by relevance Sort by last modified time
    Searched refs:fp (Results 151 - 175 of 2103) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/iproute2/ip/
ipntable.c 354 FILE *fp = (FILE*)arg; local
400 fprintf(fp, "inet ");
402 fprintf(fp, "inet6 ");
404 fprintf(fp, "dnet ");
406 fprintf(fp, "(%d) ", ndtm->ndtm_family);
410 fprintf(fp, "%s ", name);
413 fprintf(fp, "%s", _SL_);
418 fprintf(fp, " ");
422 fprintf(fp, "thresh1 %u ", thresh1);
426 fprintf(fp, "thresh2 %u ", thresh2)
    [all...]
  /external/blktrace/
blkiomon.h 99 static inline void blkiomon_stat_print(FILE *fp, struct blkiomon_stat *p)
101 if (!fp)
104 fprintf(fp, "\ntime: %s", ctime((void *)&p->time));
105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
106 minmax_print(fp, "sizes read (bytes)", &p->size_r);
107 minmax_print(fp, "sizes write (bytes)", &p->size_w);
108 minmax_print(fp, "d2c read (usec)", &p->d2c_r);
109 minmax_print(fp, "d2c write (usec)", &p->d2c_w);
110 minmax_print(fp, "throughput read (bytes/msec)", &p->thrput_r);
111 minmax_print(fp, "throughput write (bytes/msec)", &p->thrput_w)
    [all...]
  /external/srec/srec/clib/
srec_arb.c 79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp)
88 pfread(&(q->qtype), sizeof(asr_uint16_t), 1, fp);
89 pfread(&(q->membership_bits), sizeof(asr_uint16_t), PSET_BIT_ARRAY_SIZE, fp);
178 tree_node* read_tree_node_f(char **buffer, PFile *fp)
181 pfread(&(tnode->node.quest_index), sizeof(asr_int16_t), 1, fp);
182 pfread(&(tnode->term.pelid), sizeof(asr_int16_t), 1, fp);
183 pfread(&(tnode->node.fail), sizeof(tree_branch_info*), 1, fp);
184 pfread(&(tnode->node.pass), sizeof(tree_branch_info*), 1, fp);
192 tnode->node.fail = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
193 tnode->node.pass = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
289 PFile* fp; local
    [all...]
  /bionic/libc/bionic/
tmpfile.cpp 89 FILE* fp = fdopen(fd, "w+"); local
90 if (fp != NULL) {
91 return fp;
106 FILE* fp = __tmpfile_dir("/data/local/tmp"); local
107 if (fp == NULL) {
110 fp = __tmpfile_dir(P_tmpdir);
112 return fp;
  /external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
glcpp.c 41 /* Read from fp until EOF and return a string of everything read.
44 load_text_fp (void *ctx, FILE *fp)
61 bytes = fread (text + total_read, 1, CHUNK, fp);
78 FILE *fp; local
83 fp = fopen (filename, "r");
84 if (fp == NULL) {
90 text = load_text_fp (ctx, fp);
92 fclose(fp);
  /external/mesa3d/src/glsl/glcpp/
glcpp.c 41 /* Read from fp until EOF and return a string of everything read.
44 load_text_fp (void *ctx, FILE *fp)
61 bytes = fread (text + total_read, 1, CHUNK, fp);
78 FILE *fp; local
83 fp = fopen (filename, "r");
84 if (fp == NULL) {
90 text = load_text_fp (ctx, fp);
92 fclose(fp);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
iterators.py 64 def _structure(msg, fp=None, level=0, include_default=False):
66 if fp is None:
67 fp = sys.stdout
69 print >> fp, tab + msg.get_content_type(),
71 print >> fp, '[%s]' % msg.get_default_type()
73 print >> fp
76 _structure(subpart, fp, level+1, include_default)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
iterators.py 64 def _structure(msg, fp=None, level=0, include_default=False):
66 if fp is None:
67 fp = sys.stdout
69 print >> fp, tab + msg.get_content_type(),
71 print >> fp, '[%s]' % msg.get_default_type()
73 print >> fp
76 _structure(subpart, fp, level+1, include_default)
  /system/vold/
Xwarp.cpp 45 FILE *fp; local
50 if (!(fp = fopen(XWARP_READY, "r"))) {
54 fscanf(fp, "%d", (int *) ready);
55 fclose(fp);
57 if (!(fp = fopen(XWARP_MIRROR_STATUS, "r"))) {
61 fscanf(fp, "%u %u", mirrorPos, maxSize);
62 fclose(fp);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_test_printf.c 46 write_tsv_header(FILE *fp)
48 fprintf(fp,
52 fflush(fp);
89 test_printf(unsigned verbose, FILE *fp,
116 test_all(unsigned verbose, FILE *fp)
120 test_printf(verbose, fp, NULL);
127 test_some(unsigned verbose, FILE *fp,
130 return test_all(verbose, fp);
135 test_single(unsigned verbose, FILE *fp)
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_printf.c 46 write_tsv_header(FILE *fp)
48 fprintf(fp,
52 fflush(fp);
89 test_printf(unsigned verbose, FILE *fp,
116 test_all(unsigned verbose, FILE *fp)
120 test_printf(verbose, fp, NULL);
127 test_some(unsigned verbose, FILE *fp,
130 return test_all(verbose, fp);
135 test_single(unsigned verbose, FILE *fp)
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/
UnresolvedPrincipalTest.java 56 FakePrincipal fp = new FakePrincipal(name); local
59 .equals(fp));
61 .equals(fp));
63 UnresolvedPrincipal.WILDCARD).equals(fp));
66 "sdkljfgbkwe").equals(fp));
86 FakePrincipal fp = new FakePrincipal(name); local
88 .implies(fp));
90 .implies(fp));
92 UnresolvedPrincipal.WILDCARD).implies(fp));
94 UnresolvedPrincipal.WILDCARD).implies(fp));
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
stdio_h.pass.cpp 85 FILE* fp = 0; local
94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), "");
95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), "");
97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), "");
98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), "");
99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), "");
100 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), "");
101 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), "");
107 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), "");
108 static_assert((std::is_same<decltype(vfscanf(fp,"",va)), int>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
cstdio.pass.cpp 86 std::FILE* fp = 0; local
95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), "");
96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), "");
98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), "");
99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), "");
100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), "");
101 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), "");
102 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), "");
108 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), "");
109 static_assert((std::is_same<decltype(std::vfscanf(fp,"",va)), int>::value), "")
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_macos.py 17 fp = open(test_support.TESTFN, 'w')
18 fp.write('\n')
19 fp.close()
37 fp = open(test_support.TESTFN, 'w')
38 fp.write('\n')
39 fp.close()
68 fp = open(test_support.TESTFN, 'w')
69 fp.write('hello world\n')
70 fp.close()
77 fp = open(test_support.TESTFN, 'r'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_macos.py 17 fp = open(test_support.TESTFN, 'w')
18 fp.write('\n')
19 fp.close()
37 fp = open(test_support.TESTFN, 'w')
38 fp.write('\n')
39 fp.close()
68 fp = open(test_support.TESTFN, 'w')
69 fp.write('hello world\n')
70 fp.close()
77 fp = open(test_support.TESTFN, 'r'
    [all...]
  /external/iproute2/genl/
ctrl.c 115 void print_ctrl_cmd_flags(FILE *fp, __u32 fl)
117 fprintf(fp, "\n\t\tCapabilities (0x%x):\n ", fl);
119 fprintf(fp, "\n");
122 fprintf(fp, "\t\t ");
125 fprintf(fp, " requires admin permission;");
127 fprintf(fp, " can doit;");
129 fprintf(fp, " can dumpit;");
131 fprintf(fp, " has policy");
133 fprintf(fp, "\n");
136 static int print_ctrl_cmds(FILE *fp, struct rtattr *arg, __u32 ctrl_ver
187 FILE *fp = (FILE *) arg; local
    [all...]
  /bionic/libc/stdio/
findfp.c 109 FILE *fp; local
118 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++)
119 if (fp->_flags == 0)
130 fp = g->iobs;
132 fp->_flags = 1; /* reserve this slot; caller sets real flags */
134 fp->_p = NULL; /* no current pointer */
135 fp->_w = 0; /* nothing to read or write */
136 fp->_r = 0;
137 fp->_bf._base = NULL; /* no buffer *
    [all...]
  /external/chromium_org/third_party/libxml/src/
xmlmemory.c 574 * @fp: a FILE descriptor used as the output file
581 xmlMemContentShow(FILE *fp, MEMHDR *p)
587 fprintf(fp, " NULL");
611 fprintf(fp, " pointer to #%lu at index %d",
618 fprintf(fp," null");
620 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf);
622 fprintf(fp," [");
624 fprintf(fp,"%c", buf[j]);
625 fprintf(fp,"]");
633 * @fp: a FILE descriptor used as the output file, if NULL, the result i
    [all...]
  /external/libxml2/
xmlmemory.c 577 * @fp: a FILE descriptor used as the output file
584 xmlMemContentShow(FILE *fp, MEMHDR *p)
590 fprintf(fp, " NULL");
614 fprintf(fp, " pointer to #%lu at index %d",
621 fprintf(fp," null");
623 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf);
625 fprintf(fp," [");
627 fprintf(fp,"%c", buf[j]);
628 fprintf(fp,"]");
636 * @fp: a FILE descriptor used as the output file, if NULL, the result i
    [all...]
  /external/webrtc/src/system_wrappers/source/
cpu_linux.cc 113 FILE* fp = fopen("/proc/stat", "r"); local
114 if (!fp)
120 if (fgets(line, 100, fp) == NULL) {
121 fclose(fp);
126 fclose(fp);
130 fclose(fp);
139 fclose(fp);
151 if (fgets(line, 100, fp) == NULL) {
152 fclose(fp);
157 fclose(fp);
173 FILE* fp = fopen("\/proc\/stat", "r"); local
    [all...]
  /external/libsepol/src/
write.c 49 struct policy_file *fp; member in struct:policy_data
53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp);
55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp)
70 items = put_entry(buf, sizeof(uint32_t), 3, fp);
76 items = put_entry(&bit, sizeof(uint32_t), 1, fp);
80 items = put_entry(&map, sizeof(uint64_t), 1, fp);
100 avtab_ptr_t cur, struct policy_file *fp,
153 ERR(fp->handle, "null entry");
157 ERR(fp->handle, "entry has both access "
183 ERR(fp->handle, "missing node")
417 struct policy_file *fp = pd->fp; local
445 struct policy_file *fp = pd->fp; local
609 struct policy_file *fp = pd->fp; local
812 struct policy_file *fp = pd->fp; local
837 struct policy_file *fp = pd->fp; local
920 struct policy_file *fp = pd->fp; local
1013 struct policy_file *fp = pd->fp; local
1075 struct policy_file *fp = pd->fp; local
1153 struct policy_file *fp = pd->fp; local
1807 struct policy_file *fp = pd->fp; local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
invoke.pass.cpp 56 void (*fp)(int) = f_void_1;
57 std::reference_wrapper<void (*)(int)> r1(fp);
74 void (A_void_1::*fp)() = &A_void_1::mem1;
75 std::reference_wrapper<void (A_void_1::*)()> r1(fp);
87 void (A_void_1::*fp)() const = &A_void_1::mem2;
88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp);
131 int (*fp)(int) = f_int_1;
132 std::reference_wrapper<int (*)(int)> r1(fp);
145 int (A_int_1::*fp)() = &A_int_1::mem1;
146 std::reference_wrapper<int (A_int_1::*)()> r1(fp);
163 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1
    [all...]
  /external/aac/libSYS/src/
wav_file.cpp 102 * \wav->fp filepointer of type FILE*.
117 wav->fp = FDKfopen(filename, "rb");
118 if (wav->fp == NULL) {
124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) {
134 FDKfread_EL(&(wav->header.riffSize), 4, 1, wav->fp);
137 if (FDKfread(&wav->header.waveType, 1, 4, wav->fp) !=4) {
147 if (FDKfread(&(wav->header.formatType), 1, 4, wav->fp) != 4) {
157 FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompressed) */
161 FDKfread_EL(&(wav->header.compressionCode), 2, 1, wav->fp);
162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp);
    [all...]
  /bionic/tests/
sys_stat_test.cpp 24 FILE* fp = tmpfile(); local
25 ASSERT_TRUE(fp != NULL);
27 int fd = fileno(fp);
42 fclose(fp);

Completed in 824 milliseconds

1 2 3 4 5 67 8 91011>>