Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 2085) sorted by relevance

12345678910>>...84

/external/selinux/checkpolicy/test/
Ddispol.c46 FILE * fp) in render_access_mask() argument
49 fprintf(fp, "{"); in render_access_mask()
52 fprintf(fp, "%s ", perm); in render_access_mask()
53 fprintf(fp, "}"); in render_access_mask()
57 int render_type(uint32_t type, policydb_t * p, FILE * fp) in render_type() argument
59 fprintf(fp, "%s", p->p_type_val_to_name[type - 1]); in render_type()
63 int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) in render_key() argument
70 fprintf(fp, "%s %s : %s ", stype, ttype, tclass); in render_key()
72 fprintf(fp, "%s %u : %s ", stype, key->target_type, tclass); in render_key()
74 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass); in render_key()
[all …]
Ddismod.c75 FILE * fp) in render_access_mask() argument
78 fprintf(fp, "{"); in render_access_mask()
81 fprintf(fp, "%s ", perm); in render_access_mask()
82 fprintf(fp, "}"); in render_access_mask()
86 policydb_t * p, FILE * fp) in render_access_bitmap() argument
90 fprintf(fp, "{"); in render_access_bitmap()
95 fprintf(fp, " %s", perm); in render_access_bitmap()
98 fprintf(fp, " }"); in render_access_bitmap()
101 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, in display_id() argument
109 fprintf(fp, " [%s%s]", prefix, id); in display_id()
[all …]
/external/iproute2/ip/
Dxfrm_monitor.c49 FILE *fp = (FILE*)arg; in xfrm_acquire_print() local
69 fprintf(fp, "acquire "); in xfrm_acquire_print()
71 fprintf(fp, "proto %s ", strxf_xfrmproto(xacq->id.proto)); in xfrm_acquire_print()
74 fprintf(fp, "spi 0x%08x", spi); in xfrm_acquire_print()
76 fprintf(fp, "(%u)", spi); in xfrm_acquire_print()
77 fprintf(fp, " "); in xfrm_acquire_print()
79 fprintf(fp, "%s", _SL_); in xfrm_acquire_print()
81 xfrm_selector_print(&xacq->sel, family, fp, " sel "); in xfrm_acquire_print()
83 xfrm_policy_info_print(&xacq->policy, tb, fp, " ", " policy "); in xfrm_acquire_print()
86 fprintf(fp, " seq 0x%08u ", xacq->seq); in xfrm_acquire_print()
[all …]
Dipxfrm.c282 FILE *fp, const char *prefix, const char *title) in xfrm_id_info_print() argument
287 fputs(title, fp); in xfrm_id_info_print()
290 fprintf(fp, "src %s ", rt_addr_n2a(family, sizeof(*saddr), in xfrm_id_info_print()
293 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), in xfrm_id_info_print()
295 fprintf(fp, "%s", _SL_); in xfrm_id_info_print()
298 fputs(prefix, fp); in xfrm_id_info_print()
299 fprintf(fp, "\t"); in xfrm_id_info_print()
301 fprintf(fp, "proto %s ", strxf_xfrmproto(id->proto)); in xfrm_id_info_print()
305 fprintf(fp, "spi 0x%08x", spi); in xfrm_id_info_print()
307 fprintf(fp, "(%u)", spi); in xfrm_id_info_print()
[all …]
Dipntable.c354 FILE *fp = (FILE*)arg; in print_ntable() local
400 fprintf(fp, "inet "); in print_ntable()
402 fprintf(fp, "inet6 "); in print_ntable()
404 fprintf(fp, "dnet "); in print_ntable()
406 fprintf(fp, "(%d) ", ndtm->ndtm_family); in print_ntable()
410 fprintf(fp, "%s ", name); in print_ntable()
413 fprintf(fp, "%s", _SL_); in print_ntable()
418 fprintf(fp, " "); in print_ntable()
422 fprintf(fp, "thresh1 %u ", thresh1); in print_ntable()
426 fprintf(fp, "thresh2 %u ", thresh2); in print_ntable()
[all …]
Dipaddress.c96 static void print_link_flags(FILE *fp, unsigned flags, unsigned mdown) in print_link_flags() argument
98 fprintf(fp, "<"); in print_link_flags()
100 fprintf(fp, "NO-CARRIER%s", flags ? "," : ""); in print_link_flags()
104 fprintf(fp, #f "%s", flags ? "," : ""); } in print_link_flags()
125 fprintf(fp, "%x", flags); in print_link_flags()
127 fprintf(fp, ",M-DOWN"); in print_link_flags()
128 fprintf(fp, "> "); in print_link_flags()
223 static void print_linktype(FILE *fp, struct rtattr *tb) in print_linktype() argument
236 fprintf(fp, "%s", _SL_); in print_linktype()
237 fprintf(fp, " %s ", kind); in print_linktype()
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_fragprog.c37 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload() local
43 if (unlikely(!fp->buffer)) { in nv30_fragprog_upload()
44 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); in nv30_fragprog_upload()
47 map = pipe_buffer_map(pipe, fp->buffer, PIPE_TRANSFER_WRITE, &transfer); in nv30_fragprog_upload()
49 memcpy(map, fp->insn, fp->insn_len * 4); in nv30_fragprog_upload()
51 for (i = 0; i < fp->insn_len; i++) in nv30_fragprog_upload()
52 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16); in nv30_fragprog_upload()
56 if (nv04_resource(fp->buffer)->domain != NOUVEAU_BO_VRAM) in nv30_fragprog_upload()
57 nouveau_buffer_migrate(nv, nv04_resource(fp->buffer), NOUVEAU_BO_VRAM); in nv30_fragprog_upload()
65 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate() local
[all …]
/external/icu/icu4c/source/i18n/
Drematch.cpp2689 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2691 return fp; in StateSave()
2704 return fp; in StateSave()
2706 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2709 int64_t *source = (int64_t *)fp; in StateSave()
2722 fp->fPatIdx = savePatIdx; in StateSave()
2786 REStackFrame *fp = resetStack(); in MatchAt() local
2792 fp->fPatIdx = 0; in MatchAt()
2793 fp->fInputIdx = startIdx; in MatchAt()
2806 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/external/iproute2/misc/
Difstat.c178 static void load_raw_table(FILE *fp) in load_raw_table() argument
184 while (fgets(buf, sizeof(buf), fp) != NULL) { in load_raw_table()
241 static void dump_raw_db(FILE *fp, int to_hist) in dump_raw_db() argument
243 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_raw_db()
252 fprintf(fp, "#%s\n", info_source); in dump_raw_db()
280 fprintf(fp, "%d %s ", n->ifindex, n->name); in dump_raw_db()
282 fprintf(fp, "%llu %u ", vals[i], in dump_raw_db()
284 fprintf(fp, "\n"); in dump_raw_db()
298 static void format_rate(FILE *fp, const unsigned long long *vals, in format_rate() argument
304 fprintf(fp, "%7lluM ", vals[i]/mega); in format_rate()
[all …]
/external/selinux/libsepol/src/
Dwrite.c49 struct policy_file *fp; member
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) in ebitmap_write() argument
70 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write()
76 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write()
80 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write()
100 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item() argument
154 ERR(fp->handle, "null entry"); in avtab_write_item()
158 ERR(fp->handle, "entry has both access " in avtab_write_item()
184 ERR(fp->handle, "missing node"); in avtab_write_item()
[all …]
/external/valgrind/memcheck/tests/
Dorigin6-fp.stderr.exp-glibc212-tilegx2 at 0x........: __divdf3 (in /u/zliu/WS1/valgrind/valgrind-latest/memcheck/tests/origin6-fp)
3 by 0x........: do3x3smooth (origin6-fp.c:47)
4 by 0x........: main (origin6-fp.c:89)
6 at 0x........: setup_arr (origin6-fp.c:75)
7 by 0x........: main (origin6-fp.c:87)
10 at 0x........: __divdf3 (in /u/zliu/WS1/valgrind/valgrind-latest/memcheck/tests/origin6-fp)
11 by 0x........: do3x3smooth (origin6-fp.c:47)
12 by 0x........: main (origin6-fp.c:89)
14 at 0x........: setup_arr (origin6-fp.c:75)
15 by 0x........: main (origin6-fp.c:87)
[all …]
/external/ppp/pppd/plugins/rp-pppoe/
Ddebug.c37 dumpHex(FILE *fp, unsigned char const *buf, int len) in dumpHex() argument
42 if (!fp) return; in dumpHex()
46 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n"); in dumpHex()
53 fprintf(fp, "%02x ", (unsigned) buf[i]); in dumpHex()
55 fprintf(fp, " "); in dumpHex()
58 fprintf(fp, " "); in dumpHex()
62 fprintf(fp, "%c", buf[i]); in dumpHex()
64 fprintf(fp, "."); in dumpHex()
70 fprintf(fp, "\n"); in dumpHex()
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) in dumpPacket() argument
[all …]
/external/pdfium/third_party/lcms2-2.6/src/
Dcmssm.c593 FILE* fp;
598 fp = fopen (fname, "wt");
599 if (fp == NULL)
602 fprintf (fp, "#VRML V2.0 utf8\n");
605 fprintf (fp, "DEF CamTest Group {\n");
606 fprintf (fp, "\tchildren [\n");
607 fprintf (fp, "\t\tDEF Cameras Group {\n");
608 fprintf (fp, "\t\t\tchildren [\n");
609 fprintf (fp, "\t\t\t\tDEF DefaultView Viewpoint {\n");
610 fprintf (fp, "\t\t\t\t\tposition 0 0 340\n");
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_stream.py16 fp = BufferedStream(BytesIO(s))
17 read = fp.read(10)
21 fp = BufferedStream(BytesIO(b"abcdef"))
22 read1 = fp.read(1)
24 read2 = fp.read(2)
26 read3 = fp.read(3)
28 read4 = fp.read(4)
32 fp = BufferedStream(BytesIO(b"abcdef"))
33 read1 = fp.read(1)
34 assert fp.tell() == 1
[all …]
/external/llvm/test/MC/Mips/
Dmodule-directive-bad.s5 .module fp=64
9 .module fp=32
13 .module fp=64
17 .module fp=32
21 .module fp=64
25 .module fp=32
29 .module fp=64
33 .module fp=32
37 .module fp=64
41 .module fp=32
[all …]
/external/libopus/silk/
Ddebug.c85 FILE *fp; in silk_TimerSave() local
106 fp = fopen(file_name, "w"); in silk_TimerSave()
107 … fprintf(fp, " min avg %% max count\n"); in silk_TimerSave()
110 fprintf(fp, "%-28s", silk_Timer_tags[k]); in silk_TimerSave()
112 fprintf(fp, " %-27s", silk_Timer_tags[k]); in silk_TimerSave()
114 fprintf(fp, " %-26s", silk_Timer_tags[k]); in silk_TimerSave()
116 fprintf(fp, " %-25s", silk_Timer_tags[k]); in silk_TimerSave()
118 fprintf(fp, " %-24s", silk_Timer_tags[k]); in silk_TimerSave()
121 … fprintf(fp, "%8.2f", (1e6 * (silk_max_64(silk_Timer_min[k] - del, 0))) / lpFrequency.QuadPart); in silk_TimerSave()
122 fprintf(fp, "%12.2f %6.2f", avg, 100.0 * avg / sum_avg * silk_Timer_cnt[k]); in silk_TimerSave()
[all …]
/external/libxml2/
Dxmlmemory.c593 xmlMemContentShow(FILE *fp, MEMHDR *p) in xmlMemContentShow() argument
599 fprintf(fp, " NULL"); in xmlMemContentShow()
625 fprintf(fp, " pointer to #%lu at index %d", in xmlMemContentShow()
632 fprintf(fp," null"); in xmlMemContentShow()
634 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf); in xmlMemContentShow()
636 fprintf(fp," ["); in xmlMemContentShow()
638 fprintf(fp,"%c", buf[j]); in xmlMemContentShow()
639 fprintf(fp,"]"); in xmlMemContentShow()
656 xmlMemDisplayLast(FILE *fp, long nbBytes) in xmlMemDisplayLast() argument
663 FILE *old_fp = fp; in xmlMemDisplayLast()
[all …]
/external/bison/m4/
Dfpending.m438 'fp->_IO_write_ptr - fp->_IO_write_base' \
41 'fp->_ptr - fp->_base' \
44 'fp->_p - fp->_bf._base' \
47 '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \
50 '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
53 'fp->__bufp - fp->__buffer' \
56 'fp->_pptr - fp->_pbase' \
59 'fp->_ptr - fp->_buffer' \
62 'fp->_ptr - fp->_buf' \
65 'fp->wp - fp->buf' \
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_file_part.py35 fp = FilePart(fpath, start_pos, part_length)
36 self.assertEqual(start_pos, fp._fp.tell())
37 self.assertEqual(0, fp.tell())
46 fp = FilePart(fpath, start_pos, part_length)
50 fp.seek(offset)
51 self.assertEqual(start_pos + offset, fp._fp.tell())
52 self.assertEqual(offset, fp.tell())
55 fp.seek(offset, whence=os.SEEK_CUR)
56 self.assertEqual(start_pos + 2 * offset, fp._fp.tell())
57 self.assertEqual(2 * offset, fp.tell())
[all …]
/external/boringssl/src/crypto/x509/
Dx_all.c135 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() argument
137 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp()
140 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() argument
142 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp()
157 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument
159 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
162 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp() argument
164 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
179 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp() argument
181 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp44 int (*fp)() = f_int_0; in test_int_0() local
45 std::function<int ()> r1(fp); in test_int_0()
82 void (*fp)() = f_void_0; in test_void_0() local
83 std::function<void ()> r1(fp); in test_void_0()
130 void (*fp)(int) = f_void_1; in test_void_1() local
131 std::function<void (int)> r1(fp); in test_void_1()
148 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
149 std::function<void (A_void_1)> r1(fp); in test_void_1()
155 std::function<void (A_void_1*)> r2 = fp; in test_void_1()
162 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local
[all …]
/external/aac/libSYS/src/
Dwav_file.cpp117 wav->fp = FDKfopen(filename, "rb"); in WAV_InputOpen()
118 if (wav->fp == NULL) { in WAV_InputOpen()
124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) { in WAV_InputOpen()
134 FDKfread_EL(&(wav->header.riffSize), 4, 1, wav->fp); in WAV_InputOpen()
137 if (FDKfread(&wav->header.waveType, 1, 4, wav->fp) !=4) { in WAV_InputOpen()
147 if (FDKfread(&(wav->header.formatType), 1, 4, wav->fp) != 4) { in WAV_InputOpen()
157 …FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompresse… in WAV_InputOpen()
161 FDKfread_EL(&(wav->header.compressionCode), 2, 1, wav->fp); in WAV_InputOpen()
162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp); in WAV_InputOpen()
163 FDKfread_EL(&(wav->header.sampleRate), 4, 1, wav->fp); in WAV_InputOpen()
[all …]
/external/boringssl/src/crypto/bn/
Dbn_test.cc100 static bool test_add(FILE *fp);
101 static bool test_sub(FILE *fp);
102 static bool test_lshift1(FILE *fp);
103 static bool test_lshift(FILE *fp, BN_CTX *ctx, ScopedBIGNUM a);
104 static bool test_rshift1(FILE *fp);
105 static bool test_rshift(FILE *fp, BN_CTX *ctx);
106 static bool test_sqr(FILE *fp, BN_CTX *ctx);
107 static bool test_mul(FILE *fp);
108 static bool test_div(FILE *fp, BN_CTX *ctx);
111 static bool test_div_word(FILE *fp);
[all …]
/external/opencv3/3rdparty/libjasper/
Djpc_t1dec.c341 #define jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, orient, mqdec, vcausalflag) \ argument
345 f = *(fp); \
353 JPC_UPDATEFLAGS4((fp), (frowstep), v, (vcausalflag)); \
354 *(fp) |= JPC_SIG; \
357 *(fp) |= JPC_VISIT; \
372 jpc_fix_t *fp; in dec_sigpass() local
406 fp = fvscanstart; in dec_sigpass()
411 jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, in dec_sigpass()
416 fp += frowstep; in dec_sigpass()
420 jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, in dec_sigpass()
[all …]
/external/clang/test/CodeGen/
Dc11atomics-ios.c10 void testFloat(_Atomic(float) *fp) { in testFloat() argument
18 __c11_atomic_init(fp, 1.0f); in testFloat()
28 float f = *fp; in testFloat()
35 *fp = f; in testFloat()
41 void testComplexFloat(_Atomic(_Complex float) *fp) { in testComplexFloat() argument
54 __c11_atomic_init(fp, 1.0f); in testComplexFloat()
75 _Complex float f = *fp; in testComplexFloat()
90 *fp = f; in testComplexFloat()
97 void testStruct(_Atomic(S) *fp) { in testStruct() argument
113 __c11_atomic_init(fp, (S){1,2,3,4}); in testStruct()
[all …]

12345678910>>...84