HomeSort by relevance Sort by last modified time
    Searched refs:fp (Results 126 - 150 of 1382) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/libsepol/utils/
chkcon.c 19 FILE *fp; local
24 fp = fopen(argv[1], "r");
25 if (!fp) {
30 if (sepol_set_policydb_from_file(fp) < 0) {
35 fclose(fp);
  /external/ppp/pppd/plugins/radius/
radattr.c 69 FILE *fp; local
76 fp = fopen(fname, "w");
77 if (!fp) {
86 fprintf(fp, "%s %s\n", name, value);
89 fclose(fp);
  /external/srec/srec/include/
portable.h 57 PFile* fp; local
60 fp = pfopen ( name, mode );
62 if (fp == NULL)
72 fp = NULL;
74 return fp;
  /external/dhcpcd/
platform-linux.c 78 FILE *fp; local
86 fp = fopen("/proc/cpuinfo", "r");
87 if (fp == NULL)
91 while ((buf = get_line(fp))) {
101 fclose(fp);
111 FILE *fp; local
114 fp = fopen(path, "r");
115 if (fp == NULL)
117 buf = get_line(fp);
118 fclose(fp);
    [all...]
  /external/libselinux/src/
init.c 30 FILE *fp=NULL; local
52 fp = fopen("/proc/filesystems", "r");
53 if (!fp)
56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
66 fclose(fp);
70 fp = fopen("/proc/mounts", "r");
71 if (!fp)
74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
94 if (fp)
95 fclose(fp);
    [all...]
  /external/ipsec-tools/src/racoon/
plainrsa-gen.c 119 gen_rsa_key(FILE *fp, size_t bits, unsigned long exp)
136 fprintf(fp, "# : PUB 0s%s\n", pubkey64->v);
137 fprintf(fp, ": RSA\t{\n");
138 fprintf(fp, "\t# RSA %zu bits\n", bits);
139 fprintf(fp, "\t# pubkey=0s%s\n", pubkey64->v);
140 fprintf(fp, "\tModulus: 0x%s\n", lowercase(BN_bn2hex(key->n)));
141 fprintf(fp, "\tPublicExponent: 0x%s\n", lowercase(BN_bn2hex(key->e)));
142 fprintf(fp, "\tPrivateExponent: 0x%s\n", lowercase(BN_bn2hex(key->d)));
143 fprintf(fp, "\tPrime1: 0x%s\n", lowercase(BN_bn2hex(key->p)));
144 fprintf(fp, "\tPrime2: 0x%s\n", lowercase(BN_bn2hex(key->q)))
158 FILE *fp = stdout; local
    [all...]
  /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;
  /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/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++/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++/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...]
  /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/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...]
  /ndk/sources/cxx-stl/llvm-libc++/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/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
917 struct policy_file *fp = pd->fp; local
1000 struct policy_file *fp = pd->fp; local
1062 struct policy_file *fp = pd->fp; local
1140 struct policy_file *fp = pd->fp; local
1794 struct policy_file *fp = pd->fp; local
    [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...]
  /dalvik/vm/mterp/armv5te/
OP_MOVE_16.S 7 GET_VREG(r2, r1) @ r2<- fp[BBBB]
9 SET_VREG(r2, r0) @ fp[AAAA]<- r2
OP_MOVE_FROM16.S 7 GET_VREG(r2, r1) @ r2<- fp[BBBB]
9 SET_VREG(r2, r0) @ fp[AA]<- r2
  /dalvik/vm/mterp/mips/
OP_LONG_TO_INT.S 8 GET_VREG(a2, a1) # a2 <- fp[B]
10 SET_VREG_GOTO(a2, a0, t0) # fp[A] <- a2
OP_MOVE.S 7 GET_VREG(a2, a1) # a2 <- fp[B]
9 SET_VREG_GOTO(a2, a0, t0) # fp[A] <- a2

Completed in 1666 milliseconds

1 2 3 4 56 7 8 91011>>