Searched defs:fp (Results 76 - 100 of 659) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/tools/tzcode/
H A Dscheck.c14 register const char * fp; local
26 fp = format;
36 while ((*tp++ = c = *fp++) != '\0') {
39 if (is_digit(*fp)) {
40 char const *f = fp;
46 fp = f;
51 if (*fp == '*')
52 ++fp;
53 if ((*tp++ = *fp++) == '\0')
/external/iproute2/ip/
H A Dipprefix.c40 FILE *fp = (FILE*)arg; local
74 fprintf(fp, "prefix ");
83 fprintf(fp, "%s", rt_addr_n2a(family,
88 fprintf(fp, "/%u ", prefix->prefix_len);
90 fprintf(fp, "dev %s ", ll_index_to_name(prefix->prefix_ifindex));
93 fprintf(fp, "onlink ");
95 fprintf(fp, "autoconf ");
101 fprintf(fp, "valid %u ", pc->valid_time);
102 fprintf(fp, "preferred %u ", pc->preferred_time);
105 fprintf(fp, "\
[all...]
/external/iproute2/tc/
H A Dtc_monitor.c42 FILE *fp = (FILE*)arg; local
45 print_timestamp(fp);
66 fprintf(fp, "Unknown message: length %08d type %08x flags %08x\n",
94 FILE *fp = fopen(file, "r"); local
97 if (fp == NULL) {
102 ret = rtnl_from_file(fp, accept_tcmsg, stdout);
103 fclose(fp);
H A Dtc_stab.c110 void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta) argument
122 fprintf(fp, "%s", prefix);
124 fprintf(fp, "linklayer %s ",
127 fprintf(fp, "overhead %d ", s.overhead);
129 fprintf(fp, "mpu %u ", s.mpu);
131 fprintf(fp, "mtu %u ", s.mtu);
133 fprintf(fp, "tsize %u ", s.tsize);
142 fprintf(fp, "\n%sstab data:", prefix);
144 fprintf(fp, "\n%s %3u:", prefix, i * 12);
146 fprintf(fp, "
[all...]
/external/libavc/test/encoder/
H A Doutput.c49 IV_STATUS_T write_output(FILE *fp, UWORD8 *pu1_buf, WORD32 num_bytes) argument
53 bytes = fwrite(pu1_buf, sizeof(UWORD8), num_bytes, fp);
56 fflush(fp);
/external/libcxx/src/
H A Dchrono.cpp137 static FP fp = init_steady_clock(); variable
138 return time_point(duration(fp()));
/external/libdivsufsort/examples/
H A Dmksary.c70 FILE *fp, *ofp; local
87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) {
89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) {
103 fp = stdin;
133 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) {
134 n = LFS_FTELL(fp);
135 rewind(fp);
160 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) {
163 (ferror(fp) || !feof(fp))
[all...]
H A Dsasearch.c69 FILE *fp; local
87 if(fopen_s(&fp, argv[2], "rb") != 0) {
89 if((fp = LFS_FOPEN(argv[2], "rb")) == NULL) {
97 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) {
98 n = LFS_FTELL(fp);
99 rewind(fp);
120 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) {
123 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
128 fclose(fp);
[all...]
H A Dsuftest.c70 FILE *fp; local
87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) {
89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) {
103 fp = stdin;
109 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) {
110 n = LFS_FTELL(fp);
111 rewind(fp);
136 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) {
139 (ferror(fp) || !feof(fp))
[all...]
/external/libedit/src/
H A Dfgetln.c48 fgetln(FILE *fp, size_t *len) argument
61 if (fgets(buf, bufsiz, fp) == NULL)
78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) {
/external/libhevc/decoder/
H A Dihevcd_trace.h50 * fp
52 FILE *fp; member in struct:__anon9682
71 fprintf( g_trace.fp, "%-40s u(%d) : %d\n", m_str, m_numbits, m_value ); \
72 fflush ( g_trace.fp); \
82 fprintf( g_trace.fp, "%-40s ue(v) : %d\n", m_str, m_value ); \
83 fflush ( g_trace.fp); \
91 fprintf( g_trace.fp, "%-40s se(v) : %d\n", m_str, m_value ); \
92 fflush ( g_trace.fp); \
105 fprintf( g_trace.fp, "%-40s: Range:%3d State:%3d MPS:%1d\n", \
107 fflush ( g_trace.fp); \
[all...]
/external/libpng/contrib/libtests/
H A Dreadpng.c35 read_png(FILE *fp) argument
52 png_init_io(png_ptr, fp);
/external/libselinux/src/
H A Dinit.c30 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/libunwind/src/mips/
H A DGstep.c33 unw_word_t ra, fp; local
105 &fp)) < 0)
108 Debug (2, "SH (ip=0x%016llx, ra=0x%016llx, sp=0x%016llx, fp=0x%016llx)\n",
110 (unsigned long long)c->dwarf.cfa, (unsigned long long)fp);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm_state.c48 const struct gl_fragment_program *fp = brw->fragment_program; local
57 (fp->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_COLOR) ||
58 fp->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DATA0 + i)) &&
78 const struct gl_fragment_program *fp = brw->fragment_program; local
152 wm->wm5.program_uses_depth = (fp->Base.InputsRead &
154 wm->wm5.program_computes_depth = (fp->Base.OutputsWritten &
164 wm->wm5.program_uses_killpixel = fp->UsesKill || ctx->Color.AlphaEnabled;
H A Dgen6_wm_state.c43 const struct brw_fragment_program *fp = local
50 _mesa_load_state_parameters(ctx, fp->program.Base.Parameters);
97 const struct brw_fragment_program *fp = local
178 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS)
180 if (fp->program.Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH))
187 if (fp->program.UsesKill || ctx->Color.AlphaEnabled ||
H A Dgen7_wm_state.c39 const struct brw_fragment_program *fp = local
61 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS)
63 if (fp->program.Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) {
72 if (fp->program.UsesKill || ctx->Color.AlphaEnabled ||
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_constbuf.c141 struct st_fragment_program *fp = st->fp; local
142 struct gl_program_parameter_list *params = fp->Base.Base.Parameters;
/external/mesa3d/src/mesa/tnl/
H A Dt_context.c129 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local
135 || !tnl->AllowPixelFog) && !fp;
145 if (!fp || (fp->Base.InputsRead & FRAG_BIT_COL0)) {
154 (fp && fp->Base.InputsRead & FRAG_BIT_TEX(i))) {
160 || (fp != NULL && (fp->Base.InputsRead & FRAG_BIT_FOGC) != 0)) {
/external/ppp/pppd/plugins/radius/
H A Dradattr.c69 FILE *fp; local
76 fp = fopen(fname, "w");
77 if (!fp) {
86 fprintf(fp, "%s %s\n", name, value);
89 fclose(fp);
/external/ppp/pppd/plugins/rp-pppoe/
H A Ddebug.c28 * fp -- file to dump to
34 * Dumps buffer to fp in an easy-to-read format
37 dumpHex(FILE *fp, unsigned char const *buf, int len) argument
42 if (!fp) return;
46 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n");
53 fprintf(fp, "%02x ", (unsigned) buf[i]);
55 fprintf(fp, " ");
58 fprintf(fp, " ");
62 fprintf(fp, "%c", buf[i]);
64 fprintf(fp, "
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument
[all...]
/external/selinux/libselinux/src/
H A Dget_default_type.c8 static int find_default_type(FILE * fp, const char *role, char **type);
12 FILE *fp = NULL; local
14 fp = fopen(selinux_default_type_path(), "r");
15 if (!fp)
18 if (find_default_type(fp, role, type) < 0) {
19 fclose(fp);
23 fclose(fp);
27 static int find_default_type(FILE * fp, const char *role, char **type) argument
36 while (!feof_unlocked(fp)) {
37 if (!fgets_unlocked(buf, sizeof buf, fp)) {
[all...]
H A Dis_customizable_type.c14 FILE *fp; local
19 fp = fopen(selinux_customizable_types_path(), "r");
20 if (!fp)
25 fclose(fp);
28 while (fgets_unlocked(buf, selinux_page_size, fp) && ctr < UINT_MAX) {
31 rewind(fp);
38 while (fgets_unlocked(buf, selinux_page_size, fp)
54 fclose(fp);
H A Dselinux_check_securetty_context.c16 FILE *fp; local
17 fp = fopen(selinux_securetty_types_path(), "r");
18 if (fp) {
22 while ((len = getline(&line, &line_len, fp)) != -1) {
47 fclose(fp);
/external/toybox/toys/other/
H A Dhwclock.c36 FILE *fp; local
41 fp = fopen(toybuf, "r");
42 if (fp) {
43 int hctosys = 0, items = fscanf(fp, "%d", &hctosys);
45 fclose(fp);
68 FILE *fp; local
71 for (fp = fopen("/etc/adjtime", "r");
72 fp && getline(&s, (void *)toybuf, fp)>0;
74 if (fp) fclos
[all...]

Completed in 506 milliseconds

1234567891011>>