Home
last modified time | relevance | path

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

12345678910>>...68

/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_policy_memory_test.c46 FILE *fp = fopen("/sys/kernel/security/tomoyo/meminfo", "r"); in get_meminfo() local
47 if (!fp || fscanf(fp, "Policy: %u", policy_memory) != 1 || fclose(fp)) in get_meminfo()
53 FILE *fp = fopen(policy_file, "r"); in check_policy_common() local
57 if (!fp) in check_policy_common()
59 while (fgets(buffer, sizeof(buffer) - 1, fp)) { in check_policy_common()
68 fclose(fp); in check_policy_common()
76 static inline void check_policy_written(FILE * fp, const int id) in check_policy_written() argument
78 fflush(fp); in check_policy_written()
82 static inline void check_policy_deleted(FILE * fp, const int id) in check_policy_deleted() argument
84 fflush(fp); in check_policy_deleted()
[all …]
/third_party/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 static 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 static 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.c74 FILE * fp) in render_access_mask() argument
77 fprintf(fp, "{"); in render_access_mask()
80 fprintf(fp, "%s ", perm); in render_access_mask()
81 fprintf(fp, "}"); in render_access_mask()
85 policydb_t * p, FILE * fp) in render_access_bitmap() argument
89 fprintf(fp, "{"); in render_access_bitmap()
94 fprintf(fp, " %s", perm); in render_access_bitmap()
97 fprintf(fp, " }"); in render_access_bitmap()
100 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, in display_id() argument
108 fprintf(fp, " [%s%s]", prefix, id); in display_id()
[all …]
/third_party/uboot/u-boot-2020.01/arch/m68k/lib/
Dtraps.c20 static void show_frame(struct pt_regs *fp) in show_frame() argument
22 printf ("Vector Number: %d Format: %02x Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2, in show_frame()
23 fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8)); in show_frame()
24 printf ("PC: %08lx SR: %08lx SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp); in show_frame()
26 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame()
28 fp->d4, fp->d5, fp->d6, fp->d7); in show_frame()
30 fp->a0, fp->a1, fp->a2, fp->a3); in show_frame()
32 fp->a4, fp->a5, fp->a6); in show_frame()
35 void exc_handler(struct pt_regs *fp) { in exc_handler() argument
37 show_frame (fp); in exc_handler()
/third_party/expat/xmlwf/
Dxmlwf.c83 FILE *fp; member
94 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData() local
98 fputts(T("&"), fp); in characterData()
101 fputts(T("<"), fp); in characterData()
104 fputts(T(">"), fp); in characterData()
108 fputts(T("
"), fp); in characterData()
112 fputts(T("""), fp); in characterData()
117 ftprintf(fp, T("&#%d;"), *s); in characterData()
121 puttc(*s, fp); in characterData()
128 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() argument
[all …]
/third_party/skia/third_party/externals/expat/expat/xmlwf/
Dxmlwf.c83 FILE *fp; member
94 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData() local
98 fputts(T("&"), fp); in characterData()
101 fputts(T("<"), fp); in characterData()
104 fputts(T(">"), fp); in characterData()
108 fputts(T("
"), fp); in characterData()
112 fputts(T("""), fp); in characterData()
117 ftprintf(fp, T("&#%d;"), *s); in characterData()
121 puttc(*s, fp); in characterData()
128 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() argument
[all …]
/third_party/uboot/u-boot-2020.01/tools/
Dbmp_logo.c38 void skip_bytes (FILE *fp, int n) in skip_bytes() argument
41 fgetc (fp); in skip_bytes()
45 int error (char * msg, FILE *fp) in error() argument
49 fclose (fp); in error()
79 FILE *fp; in main() local
100 fp = fopen(argv[2], "rb"); in main()
101 if (!fp) { in main()
106 if (fgetc (fp) != 'B' || fgetc (fp) != 'M') in main()
107 error ("Input file is not a bitmap", fp); in main()
113 skip_bytes (fp, 8); in main()
[all …]
Dmkenvimage.c87 int fp, ep; in main() local
191 for (fp = 0, ep = 0 ; fp < filesize && ep < envsize - 1; fp++) { in main()
192 if (filebuf[fp] == '\n') { in main()
193 if (fp == 0 || filebuf[fp-1] == '\n') { in main()
198 } else if (filebuf[fp-1] == '\\') { in main()
211 } else if ((fp == 0 || filebuf[fp-1] == '\n') && filebuf[fp] == '#') { in main()
213 while (++fp < filesize && filebuf[fp] != '\n') in main()
216 envptr[ep++] = filebuf[fp]; in main()
223 for( ; fp < filesize; fp++ ) in main()
225 if (filebuf[fp] == '\n') { in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFPEnv.cpp20 Optional<fp::RoundingMode> StrToRoundingMode(StringRef RoundingArg) { in StrToRoundingMode()
23 return StringSwitch<Optional<fp::RoundingMode>>(RoundingArg) in StrToRoundingMode()
24 .Case("round.dynamic", fp::rmDynamic) in StrToRoundingMode()
25 .Case("round.tonearest", fp::rmToNearest) in StrToRoundingMode()
26 .Case("round.downward", fp::rmDownward) in StrToRoundingMode()
27 .Case("round.upward", fp::rmUpward) in StrToRoundingMode()
28 .Case("round.towardzero", fp::rmTowardZero) in StrToRoundingMode()
32 Optional<StringRef> RoundingModeToStr(fp::RoundingMode UseRounding) { in RoundingModeToStr()
35 case fp::rmDynamic: in RoundingModeToStr()
38 case fp::rmToNearest: in RoundingModeToStr()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Drematch.cpp2731 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2733 return fp; in StateSave()
2746 return fp; in StateSave()
2748 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2751 int64_t *source = (int64_t *)fp; in StateSave()
2764 fp->fPatIdx = savePatIdx; in StateSave()
2818 REStackFrame *fp = resetStack(); in MatchAt() local
2824 fp->fPatIdx = 0; in MatchAt()
2825 fp->fInputIdx = startIdx; in MatchAt()
2838 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Drematch.cpp2721 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2723 return fp; in StateSave()
2736 return fp; in StateSave()
2738 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2741 int64_t *source = (int64_t *)fp; in StateSave()
2754 fp->fPatIdx = savePatIdx; in StateSave()
2808 REStackFrame *fp = resetStack(); in MatchAt() local
2814 fp->fPatIdx = 0; in MatchAt()
2815 fp->fInputIdx = startIdx; in MatchAt()
2828 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/icu/icu4c/source/i18n/
Drematch.cpp2721 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2723 return fp; in StateSave()
2736 return fp; in StateSave()
2738 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2741 int64_t *source = (int64_t *)fp; in StateSave()
2754 fp->fPatIdx = savePatIdx; in StateSave()
2808 REStackFrame *fp = resetStack(); in MatchAt() local
2814 fp->fPatIdx = 0; in MatchAt()
2815 fp->fInputIdx = startIdx; in MatchAt()
2828 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drematch.cpp2693 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2695 return fp; in StateSave()
2708 return fp; in StateSave()
2710 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2713 int64_t *source = (int64_t *)fp; in StateSave()
2726 fp->fPatIdx = savePatIdx; in StateSave()
2780 REStackFrame *fp = resetStack(); in MatchAt() local
2786 fp->fPatIdx = 0; in MatchAt()
2787 fp->fInputIdx = startIdx; in MatchAt()
2800 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/ffmpeg/libavutil/mips/
Dmmiutils.h55 #define MMI_LWC1(fp, addr, bias) \ argument
56 "lwc1 "#fp", "#bias"("#addr") \n\t"
58 #define MMI_ULWC1(fp, addr, bias) \ argument
60 "mtc1 %[low32], "#fp" \n\t"
62 #define MMI_LWXC1(fp, addr, stride, bias) \ argument
64 MMI_LWC1(fp, %[addrt], bias)
66 #define MMI_SWC1(fp, addr, bias) \ argument
67 "swc1 "#fp", "#bias"("#addr") \n\t"
69 #define MMI_USWC1(fp, addr, bias) \ argument
70 "mfc1 %[low32], "#fp" \n\t" \
[all …]
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/html/
Dmakeindex.py143 fp = open(parent) variable
144 for line in fp.readlines():
151 fp.close()
163 def printHeader(fp, flatMenu = False, letters = None, altMenu = None): argument
176 sep='\n', file=fp)
185 '</a>', file=fp)
188 print(' <center>\n<div id="container">', file=fp)
194 '</a></b> &nbsp;', file=fp)
195 print(' </div>\n</center>', file=fp)
202 sep='\n', file=fp)
[all …]
/third_party/EGL/sdk/docs/man/html/
Dmakeindex.py143 fp = open(parent) variable
144 for line in fp.readlines():
151 fp.close()
163 def printHeader(fp, flatMenu = False, letters = None, altMenu = None): argument
176 sep='\n', file=fp)
185 '</a>', file=fp)
188 print(' <center>\n<div id="container">', file=fp)
194 '</a></b> &nbsp;', file=fp)
195 print(' </div>\n</center>', file=fp)
202 sep='\n', file=fp)
[all …]
/third_party/selinux/libsepol/src/
Dwrite.c54 struct policy_file *fp; member
59 avrule_t * avrules, struct policy_file *fp);
61 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) in ebitmap_write() argument
76 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write()
82 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write()
86 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write()
106 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item() argument
160 ERR(fp->handle, "null entry"); in avtab_write_item()
164 ERR(fp->handle, "entry has both access " in avtab_write_item()
190 ERR(fp->handle, "missing node"); in avtab_write_item()
[all …]
/third_party/flutter/skia/gn/
Dsksl.gni39 "$_src/gpu/effects/GrAARectEffect.fp",
40 "$_src/gpu/effects/GrAlphaThresholdFragmentProcessor.fp",
41 "$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.fp",
42 "$_src/gpu/effects/GrCircleBlurFragmentProcessor.fp",
43 "$_src/gpu/effects/GrCircleEffect.fp",
44 "$_src/gpu/effects/GrColorMatrixFragmentProcessor.fp",
45 "$_src/gpu/effects/GrComposeLerpEffect.fp",
46 "$_src/gpu/effects/GrComposeLerpRedEffect.fp",
47 "$_src/gpu/effects/GrConfigConversionEffect.fp",
48 "$_src/gpu/effects/GrConstColorProcessor.fp",
[all …]
/third_party/FatFs/documents/res/
Dapp3.c21 FIL* fp, /* Pointer to the open file object */ in allocate_contiguous_clusters() argument
28 if (f_lseek(fp, 0) || !len) /* Check if the given parameters are valid */ in allocate_contiguous_clusters()
30 csz = 512UL * fp->fs->csize; /* Cluster size in unit of byte (assuming 512 bytes/sector) */ in allocate_contiguous_clusters()
35 if (len == fp->fsize) { in allocate_contiguous_clusters()
36 ncl = 0; ccl = fp->sclust; in allocate_contiguous_clusters()
38 cl = get_fat(fp->fs, ccl); /* Get the cluster status */ in allocate_contiguous_clusters()
40 if (cl != ccl + 1 && cl < fp->fs->n_fatent) break; /* Not contiguous? */ in allocate_contiguous_clusters()
44 … return clust2sect(fp->fs, fp->sclust); /* File is contiguous. Return the start sector */ in allocate_contiguous_clusters()
51 if (!(fp->flag & FA_WRITE)) return 0; /* Exit if the file object is for read-only */ in allocate_contiguous_clusters()
53 if (f_truncate(fp)) return 0; /* Remove the non-contiguous chain */ in allocate_contiguous_clusters()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_unsharp.c51 UnsharpFilterParam *fp; member
63 UnsharpFilterParam *fp = td->fp; in unsharp_slice() local
64 uint32_t **sc = fp->sc; in unsharp_slice()
65 uint32_t *sr = fp->sr; in unsharp_slice()
67 const int amount = fp->amount; in unsharp_slice()
68 const int steps_x = fp->steps_x; in unsharp_slice()
69 const int steps_y = fp->steps_y; in unsharp_slice()
70 const int scalebits = fp->scalebits; in unsharp_slice()
71 const int32_t halfscale = fp->halfscale; in unsharp_slice()
141 UnsharpFilterParam *fp[3]; in apply_unsharp_c() local
[all …]
/third_party/openssl/crypto/x509/
Dx_all.c110 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() argument
112 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp()
115 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() argument
117 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp()
132 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument
134 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
137 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp() argument
139 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
154 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp() argument
156 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in d2i_PKCS7_fp()
[all …]
/third_party/boost/boost/phoenix/bind/detail/cpp03/preprocessed/
Dfunction_ptr_10.hpp22 : fp(fp_) {} in impl()
26 return fp(a0 , a1); in operator ()()
28 FP fp; member
46 : fp(fp_) {} in impl()
50 return fp(a0 , a1 , a2); in operator ()()
52 FP fp; member
70 : fp(fp_) {} in impl()
74 return fp(a0 , a1 , a2 , a3); in operator ()()
76 FP fp; member
94 : fp(fp_) {} in impl()
[all …]
/third_party/libxml2/
Dxmlmemory.c622 xmlMemContentShow(FILE *fp, MEMHDR *p) in xmlMemContentShow() argument
628 fprintf(fp, " NULL"); in xmlMemContentShow()
654 fprintf(fp, " pointer to #%lu at index %d", in xmlMemContentShow()
661 fprintf(fp," null"); in xmlMemContentShow()
663 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf); in xmlMemContentShow()
665 fprintf(fp," ["); in xmlMemContentShow()
667 fprintf(fp,"%c", buf[j]); in xmlMemContentShow()
668 fprintf(fp,"]"); in xmlMemContentShow()
685 xmlMemDisplayLast(FILE *fp, long nbBytes) in xmlMemDisplayLast() argument
692 FILE *old_fp = fp; in xmlMemDisplayLast()
[all …]
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlmemory.c653 xmlMemContentShow(FILE *fp, MEMHDR *p) in xmlMemContentShow() argument
659 fprintf(fp, " NULL"); in xmlMemContentShow()
685 fprintf(fp, " pointer to #%lu at index %d", in xmlMemContentShow()
692 fprintf(fp," null"); in xmlMemContentShow()
694 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf); in xmlMemContentShow()
696 fprintf(fp," ["); in xmlMemContentShow()
698 fprintf(fp,"%c", buf[j]); in xmlMemContentShow()
699 fprintf(fp,"]"); in xmlMemContentShow()
716 xmlMemDisplayLast(FILE *fp, long nbBytes) in xmlMemDisplayLast() argument
723 FILE *old_fp = fp; in xmlMemDisplayLast()
[all …]
/third_party/python/Lib/test/
Dtest_univnewlines.py49 with self.open(support.TESTFN, self.WRITEMODE) as fp:
50 fp.write(data)
59 with self.open(support.TESTFN, self.READMODE) as fp:
60 data = fp.read()
62 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
65 with self.open(support.TESTFN, self.READMODE) as fp:
66 data = fp.readlines()
68 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
71 with self.open(support.TESTFN, self.READMODE) as fp:
73 d = fp.readline()
[all …]

12345678910>>...68