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

1 2 3 4 5 6 7 891011>>

  /external/iproute2/bridge/
vlan.c 144 FILE *fp = arg; local
171 fprintf(fp, "%s\tNone\n", ll_index_to_name(ifm->ifi_index));
177 fprintf(fp, "%s", ll_index_to_name(ifm->ifi_index));
186 fprintf(fp, "-%hu", vinfo->vid);
188 fprintf(fp, "\t %hu", vinfo->vid);
192 fprintf(fp, " PVID");
194 fprintf(fp, " Egress Untagged");
195 fprintf(fp, "\n");
198 fprintf(fp, "\n");
199 fflush(fp);
    [all...]
  /external/iproute2/ip/
ipaddrlabel.c 58 FILE *fp = (FILE*)arg; local
74 fprintf(fp, "Deleted ");
77 fprintf(fp, "prefix %s/%u ",
86 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index));
91 fprintf(fp, "label %u ", label);
94 fprintf(fp, "\n");
95 fflush(fp);
ipmonitor.c 41 static void print_headers(FILE *fp, char *label, struct rtnl_ctrl_data *ctrl)
44 print_timestamp(fp);
48 fprintf(fp, "[nsid current]");
50 fprintf(fp, "[nsid %d]", ctrl->nsid);
54 fprintf(fp, "%s", label);
61 FILE *fp = (FILE*)arg; local
77 print_headers(fp, "[MROUTE]", ctrl);
81 print_headers(fp, "[ROUTE]", ctrl);
89 print_headers(fp, "[LINK]", ctrl);
94 print_headers(fp, "[ADDR]", ctrl)
286 FILE *fp; local
    [all...]
ipmroute.c 58 FILE *fp = (FILE*)arg; local
123 fprintf(fp, "Deleted ");
142 fprintf(fp, "%-32s Iif: ", obuf);
144 fprintf(fp, "%-10s ", ll_index_to_name(iif));
146 fprintf(fp, "unresolved ");
161 fprintf(fp, "Oifs: ");
164 fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex));
166 fprintf(fp, "(ttl %d) ", nh->rtnh_hops);
168 fprintf(fp, " ");
176 fprintf(fp, "%s %"PRIu64" packets, %"PRIu64" bytes", _SL_
    [all...]
iptoken.c 33 FILE *fp; member in struct:rtnl_dump_args
48 FILE *fp = args->fp; local
82 fprintf(fp, "token %s ",
87 fprintf(fp, "dev %s ", ll_index_to_name(ifi->ifi_index));
88 fprintf(fp, "\n");
89 fflush(fp);
100 da.fp = stdout;
  /external/iproute2/misc/
lnstat.h 32 FILE *fp; member in struct:lnstat_file
  /external/iproute2/tc/
tc_core.c 202 FILE *fp; local
207 fp = fopen("/proc/net/psched", "r");
208 if (fp == NULL)
211 if (fscanf(fp, "%08x%08x%08x", &t2us, &us2t, &clock_res) != 3) {
212 fclose(fp);
215 fclose(fp);
tc_qdisc.c 208 FILE *fp = (FILE*)arg; local
237 fprintf(fp, "deleted ");
239 fprintf(fp, "qdisc %s %x: ", rta_getattr_str(tb[TCA_KIND]), t->tcm_handle>>16);
241 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex));
243 fprintf(fp, "root ");
246 fprintf(fp, "parent %s ", abuf);
249 fprintf(fp, "refcnt %d ", t->tcm_info);
260 q->print_qopt(q, fp, tb[TCA_OPTIONS]);
262 fprintf(fp, "[cannot parse qdisc parameters]");
264 fprintf(fp, "\n")
    [all...]
  /external/ipsec-tools/src/racoon/
backupsa.c 101 FILE *fp; local
179 (fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "a")) == NULL) {
185 fprintf(fp, "%s\n", buf);
186 fclose(fp);
199 FILE *fp; local
211 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "r");
213 fp = NULL;
214 if (fp == NULL) {
223 for(line = 1; fgets(buf, sizeof(buf), fp) != NULL; line++) {
325 fclose(fp);
341 FILE *fp; local
    [all...]
localconf.c 179 FILE *fp; local
187 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r");
189 fp = NULL;
190 if (fp == NULL) {
197 while (fgets(buf, sizeof(buf), fp) != NULL) {
246 fclose(fp);
  /external/libcxx/test/std/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/libjpeg-turbo/
jpegtran.c 386 FILE * fp; local
442 if ((fp = fopen(argv[file_index], READ_BINARY)) == NULL) {
448 fp = read_stdin();
456 jpeg_stdio_src(&srcinfo, fp);
500 if (fp != stdin)
501 fclose(fp);
505 if ((fp = fopen(outfilename, WRITE_BINARY)) == NULL) {
511 fp = write_stdout();
518 jpeg_stdio_dest(&dstinfo, fp);
540 if (fp != stdout
    [all...]
rdswitch.c 91 FILE * fp; local
96 if ((fp = fopen(filename, "r")) == NULL) {
102 while (read_text_integer(fp, &val, &termchar)) { /* read 1st element of table */
105 fclose(fp);
110 if (! read_text_integer(fp, &val, &termchar)) {
112 fclose(fp);
129 fclose(fp);
133 fclose(fp);
187 FILE * fp; local
194 if ((fp = fopen(filename, "r")) == NULL)
    [all...]
  /external/libmicrohttpd/doc/examples/
largepost.c 29 FILE *fp; member in struct:connection_info_struct
83 FILE *fp; local
91 if (!con_info->fp)
93 if (NULL != (fp = fopen (filename, "rb")))
95 fclose (fp);
101 con_info->fp = fopen (filename, "ab");
102 if (!con_info->fp)
108 if (!fwrite (data, size, sizeof (char), con_info->fp))
136 if (con_info->fp)
137 fclose (con_info->fp);
    [all...]
  /external/libopus/silk/
debug.c 85 FILE *fp; local
106 fp = fopen(file_name, "w");
107 fprintf(fp, " min avg %% max count\n");
110 fprintf(fp, "%-28s", silk_Timer_tags[k]);
112 fprintf(fp, " %-27s", silk_Timer_tags[k]);
114 fprintf(fp, " %-26s", silk_Timer_tags[k]);
116 fprintf(fp, " %-25s", silk_Timer_tags[k]);
118 fprintf(fp, " %-24s", silk_Timer_tags[k]);
121 fprintf(fp, "%8.2f", (1e6 * (silk_max_64(silk_Timer_min[k] - del, 0))) / lpFrequency.QuadPart);
122 fprintf(fp, "%12.2f %6.2f", avg, 100.0 * avg / sum_avg * silk_Timer_cnt[k])
136 FILE *fp; local
    [all...]
  /external/libpng/contrib/libtests/
timepng.c 38 static int read_png(FILE *fp)
55 png_init_io(png_ptr, fp);
111 static int perform_one_test(FILE *fp, int nfiles)
117 rewind(fp);
123 if (read_png(fp))
125 if (ferror(fp))
181 static int add_one_file(FILE *fp, char *name)
192 putc(ch, fp);
204 if (ferror(fp))
225 FILE *fp = tmpfile() local
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_main.c 47 dump_type(FILE *fp,
50 fprintf(fp, "%s%s%u%sx%u",
284 dump_vec(FILE *fp, struct lp_type type, const void *src)
289 fprintf(fp, " ");
303 fprintf(fp, "%f", value);
331 fprintf(fp, format, value);
358 fprintf(fp, format, value);
368 FILE *fp = NULL; local
380 fp = fopen(argv[++i], "wt");
396 if(fp) {
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_fragprog.c 37 struct nv30_fragprog *fp = nv30->fragprog.program; local
43 if (unlikely(!fp->buffer)) {
44 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4);
47 map = pipe_buffer_map(pipe, fp->buffer, PIPE_TRANSFER_WRITE, &transfer);
49 memcpy(map, fp->insn, fp->insn_len * 4);
51 for (i = 0; i < fp->insn_len; i++)
52 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16)
65 struct nv30_fragprog *fp = nv30->fragprog.program; local
134 struct nv30_fragprog *fp = CALLOC_STRUCT(nv30_fragprog); local
146 struct nv30_fragprog *fp = hwcso; local
    [all...]
nv30_vertprog.c 58 struct nv30_fragprog *fp = nv30->fragprog.program; local
64 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) {
67 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord));
212 PUSH_DATA (push, vp->or | fp->vp_or);
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local
44 return fp && !(fp == ctx->FragmentProgram._TexEnvProgram
45 && fp->Base.NumInstructions == 0);
  /external/protobuf/gtest/test/
gtest-filepath_test.cc 606 FilePath fp; local
607 EXPECT_STREQ("", fp.c_str());
611 const FilePath fp("spicy");
612 EXPECT_STREQ("spicy", fp.c_str());
614 const FilePath fp_copy(fp);
619 const FilePath fp(String("cider"));
620 EXPECT_STREQ("cider", fp.c_str());
  /external/selinux/checkpolicy/
checkmodule.c 56 struct policy_file f, *fp; local
81 fp = &f;
88 if (policydb_read(p, fp, 1)) {
122 pf.fp = outfp;
  /external/selinux/libselinux/src/
init.c 61 FILE *fp = NULL; local
68 fp = fopen("/proc/filesystems", "r");
69 if (!fp) {
74 __fsetlocking(fp, FSETLOCKING_BYCALLER);
76 num = getline(&buf, &len, fp);
82 num = getline(&buf, &len, fp);
86 fclose(fp);
102 FILE *fp=NULL; local
119 fp = fopen("/proc/mounts", "r");
120 if (!fp)
    [all...]
  /external/selinux/libselinux/utils/
selabel_digest.c 30 FILE *fp; local
35 fp = popen(cmd, "r");
36 if (!fp) {
42 while (fgets(files_digest, sizeof(files_digest) - 1, fp) != NULL)
56 pclose(fp);
  /external/selinux/libsepol/src/
genusers.c 37 FILE *fp; local
46 fp = fopen(path, "r");
47 if (fp == NULL)
56 while(fgets(buffer, 255, fp) != NULL) {
58 __fsetlocking(fp, FSETLOCKING_BYCALLER);
59 while ((nread = getline(&buffer, &len, fp)) > 0) {
98 fclose(fp);
108 fclose(fp);
121 fclose(fp);
177 fclose(fp);
    [all...]

Completed in 295 milliseconds

1 2 3 4 5 6 7 891011>>