Home
last modified time | relevance | path

Searched refs:pf (Results 1 - 25 of 136) sorted by relevance

123456

/third_party/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.cpp129 UPerfFunction* pf = new ICUOpenAllConvertersFunction(true, status); in TestICU_CleanOpenAllConverters() local
133 return pf; in TestICU_CleanOpenAllConverters()
138 UPerfFunction* pf = new ICUOpenAllConvertersFunction(false, status); in TestICU_OpenAllConverters() local
142 return pf; in TestICU_OpenAllConverters()
147 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("utf-8", (UChar *)utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); in TestICU_UTF8_FromUnicode() local
151 return pf; in TestICU_UTF8_FromUnicode()
156 UPerfFunction* pf = new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); in TestICU_UTF8_ToUnicode() local
160 return pf; in TestICU_UTF8_ToUnicode()
166 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); in TestWinIML2_UTF8_FromUnicode() local
170 return pf; in TestWinIML2_UTF8_FromUnicode()
175 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); TestWinIML2_UTF8_ToUnicode() local
184 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); TestWinANSI_UTF8_FromUnicode() local
193 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); TestWinANSI_UTF8_ToUnicode() local
204 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-8859-1", (UChar *)latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); TestICU_Latin1_FromUnicode() local
213 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); TestICU_Latin1_ToUnicode() local
223 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); TestWinIML2_Latin1_FromUnicode() local
232 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); TestWinIML2_Latin1_ToUnicode() local
241 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); TestWinANSI_Latin1_FromUnicode() local
250 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); TestWinANSI_Latin1_ToUnicode() local
261 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-8859-8", (UChar *)latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); TestICU_Latin8_FromUnicode() local
270 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); TestICU_Latin8_ToUnicode() local
280 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-8859-8",latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); TestWinIML2_Latin8_FromUnicode() local
289 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); TestWinIML2_Latin8_ToUnicode() local
297 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); TestWinANSI_Latin8_FromUnicode() local
306 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); TestWinANSI_Latin8_ToUnicode() local
318 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("x-EBCDIC-Arabic", (UChar *)ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); TestICU_EBCDIC_Arabic_FromUnicode() local
327 UPerfFunction* pf = new ICUToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); TestICU_EBCDIC_Arabic_ToUnicode() local
337 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); TestWinIML2_EBCDIC_Arabic_FromUnicode() local
346 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); TestWinIML2_EBCDIC_Arabic_ToUnicode() local
355 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); TestWinANSI_EBCDIC_Arabic_FromUnicode() local
364 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); TestWinANSI_EBCDIC_Arabic_ToUnicode() local
375 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("sjis", (UChar *)sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); TestICU_SJIS_FromUnicode() local
384 UPerfFunction* pf = new ICUToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); TestICU_SJIS_ToUnicode() local
394 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("sjis",sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); TestWinIML2_SJIS_FromUnicode() local
403 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); TestWinIML2_SJIS_ToUnicode() local
412 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("sjis",sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); TestWinANSI_SJIS_FromUnicode() local
421 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); TestWinANSI_SJIS_ToUnicode() local
434 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("euc-jp", (UChar *)eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); TestICU_EUCJP_FromUnicode() local
443 UPerfFunction* pf = new ICUToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); TestICU_EUCJP_ToUnicode() local
453 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("euc-jp",eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); TestWinIML2_EUCJP_FromUnicode() local
462 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); TestWinIML2_EUCJP_ToUnicode() local
471 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("euc-jp",eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); TestWinANSI_EUCJP_FromUnicode() local
480 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); TestWinANSI_EUCJP_ToUnicode() local
493 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("gb2312", (UChar *)gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); TestICU_GB2312_FromUnicode() local
502 UPerfFunction* pf = new ICUToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); TestICU_GB2312_ToUnicode() local
512 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("gb2312",gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); TestWinIML2_GB2312_FromUnicode() local
521 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); TestWinIML2_GB2312_ToUnicode() local
530 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("gb2312",gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); TestWinANSI_GB2312_FromUnicode() local
539 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); TestWinANSI_GB2312_ToUnicode() local
551 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-2022-kr", (UChar *)iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); TestICU_ISO2022KR_FromUnicode() local
560 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); TestICU_ISO2022KR_ToUnicode() local
570 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); TestWinIML2_ISO2022KR_FromUnicode() local
579 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); TestWinIML2_ISO2022KR_ToUnicode() local
588 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); TestWinANSI_ISO2022KR_FromUnicode() local
597 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); TestWinANSI_ISO2022KR_ToUnicode() local
608 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-2022-jp", (UChar *)iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); TestICU_ISO2022JP_FromUnicode() local
617 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); TestICU_ISO2022JP_ToUnicode() local
627 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); TestWinIML2_ISO2022JP_FromUnicode() local
636 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); TestWinIML2_ISO2022JP_ToUnicode() local
645 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); TestWinANSI_ISO2022JP_FromUnicode() local
654 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); TestWinANSI_ISO2022JP_ToUnicode() local
[all...]
/third_party/selinux/libsepol/src/
H A Dpolicydb_convert.c14 policy_file_t pf; in policydb_from_image() local
16 policy_file_init(&pf); in policydb_from_image()
17 pf.type = PF_USE_MEMORY; in policydb_from_image()
18 pf.data = data; in policydb_from_image()
19 pf.len = len; in policydb_from_image()
20 pf.handle = handle; in policydb_from_image()
22 if (policydb_read(policydb, &pf, 0)) { in policydb_from_image()
40 policy_file_t pf; in policydb_to_image() local
44 policy_file_init(&pf); in policydb_to_image()
45 pf in policydb_to_image()
[all...]
H A Dpolicydb_public.c9 int sepol_policy_file_create(sepol_policy_file_t ** pf) in sepol_policy_file_create() argument
11 *pf = calloc(1, sizeof(sepol_policy_file_t)); in sepol_policy_file_create()
12 if (!(*pf)) in sepol_policy_file_create()
20 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_mem() local
22 pf->type = PF_LEN; in sepol_policy_file_set_mem()
25 pf->type = PF_USE_MEMORY; in sepol_policy_file_set_mem()
26 pf->data = data; in sepol_policy_file_set_mem()
27 pf->len = len; in sepol_policy_file_set_mem()
28 pf in sepol_policy_file_set_mem()
34 struct policy_file *pf = &spf->pf; sepol_policy_file_set_fp() local
42 struct policy_file *pf = &spf->pf; sepol_policy_file_get_len() local
49 sepol_policy_file_set_handle(sepol_policy_file_t * pf, sepol_handle_t * handle) sepol_policy_file_set_handle() argument
55 sepol_policy_file_free(sepol_policy_file_t * pf) sepol_policy_file_free() argument
176 sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) sepol_policydb_read() argument
181 sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) sepol_policydb_write() argument
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dtjunittest.c103 static void initBuf(unsigned char *buf, int w, int h, int pf, int flags) in initBuf() argument
105 int roffset = tjRedOffset[pf]; in initBuf()
106 int goffset = tjGreenOffset[pf]; in initBuf()
107 int boffset = tjBlueOffset[pf]; in initBuf()
108 int ps = tjPixelSize[pf]; in initBuf()
111 if (pf == TJPF_GRAY) { in initBuf()
122 } else if (pf == TJPF_CMYK) { in initBuf()
183 static int checkBuf(unsigned char *buf, int w, int h, int pf, int subsamp, in checkBuf() argument
186 int roffset = tjRedOffset[pf]; in checkBuf()
187 int goffset = tjGreenOffset[pf]; in checkBuf()
373 compTest(tjhandle handle, unsigned char **dstBuf, unsigned long *dstSize, int w, int h, int pf, char *basename, int subsamp, int jpegQual, int flags) compTest() argument
432 _decompTest(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, int flags, tjscalingfactor sf) _decompTest() argument
501 decompTest(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, int w, int h, int pf, char *basename, int subsamp, int flags) decompTest() argument
531 int pfi, pf, i; doTest() local
692 initBitmap(unsigned char *buf, int width, int pitch, int height, int pf, int flags) initBitmap() argument
726 cmpBitmap(unsigned char *buf, int width, int pitch, int height, int pf, int flags, int gray2rgb) cmpBitmap() argument
777 doBmpTest(const char *ext, int width, int align, int height, int pf, int flags) doBmpTest() argument
[all...]
H A Dturbojpeg-jni.c219 jint width, jint pitch, jint height, jint pf, jbyteArray dst, in TJCompressor_compress()
229 if (pf < 0 || pf >= org_libjpegturbo_turbojpeg_TJ_NUMPF || width < 1 || in TJCompressor_compress()
235 actualPitch = (pitch == 0) ? width * tjPixelSize[pf] : pitch; in TJCompressor_compress()
236 arraySize = (y + height - 1) * actualPitch + (x + width) * tjPixelSize[pf]; in TJCompressor_compress()
248 if (tjCompress2(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_compress()
249 width, pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, in TJCompressor_compress()
265 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII()
269 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII()
275 jint height, jint pf, jbyteArra in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII()
217 TJCompressor_compress(JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y, jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) TJCompressor_compress() argument
263 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII(JNIEnv *env, jobject obj, jbyteArray src, jint x, jint y, jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() argument
273 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII(JNIEnv *env, jobject obj, jbyteArray src, jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() argument
283 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII(JNIEnv *env, jobject obj, jintArray src, jint x, jint y, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument
302 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII(JNIEnv *env, jobject obj, jintArray src, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII() argument
402 TJCompressor_encodeYUV(JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y, jint width, jint pitch, jint height, jint pf, jobjectArray dstobjs, jintArray jDstOffsets, jintArray jDstStrides, jint subsamp, jint flags) TJCompressor_encodeYUV() argument
485 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3BIIIIII_3_3B_3I_3III(JNIEnv *env, jobject obj, jbyteArray src, jint x, jint y, jint width, jint pitch, jint height, jint pf, jobjectArray dstobjs, jintArray jDstOffsets, jintArray jDstStrides, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3BIIIIII_3_3B_3I_3III() argument
495 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III(JNIEnv *env, jobject obj, jintArray src, jint x, jint y, jint width, jint stride, jint height, jint pf, jobjectArray dstobjs, jintArray jDstOffsets, jintArray jDstStrides, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III() argument
513 TJCompressor_encodeYUV_12(JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags) TJCompressor_encodeYUV_12() argument
552 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3BIIII_3BII(JNIEnv *env, jobject obj, jbyteArray src, jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3BIIII_3BII() argument
561 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII(JNIEnv *env, jobject obj, jintArray src, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII() argument
681 TJDecompressor_decompress(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jarray dst, jint dstElementSize, jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags) TJDecompressor_decompress() argument
721 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jbyteArray dst, jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIIIII() argument
730 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jbyteArray dst, jint width, jint pitch, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3BIIIII() argument
739 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII() argument
756 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII() argument
902 TJDecompressor_decodeYUV(JNIEnv *env, jobject obj, jobjectArray srcobjs, jintArray jSrcOffsets, jintArray jSrcStrides, jint subsamp, jarray dst, jint dstElementSize, jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags) TJDecompressor_decodeYUV() argument
984 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3BIIIIIII(JNIEnv *env, jobject obj, jobjectArray srcobjs, jintArray jSrcOffsets, jintArray jSrcStrides, jint subsamp, jbyteArray dst, jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3BIIIIIII() argument
995 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII(JNIEnv *env, jobject obj, jobjectArray srcobjs, jintArray jSrcOffsets, jintArray jSrcStrides, jint subsamp, jintArray dst, jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII() argument
[all...]
H A Dtjbench.c81 quiet = 0, doTile = 0, pf = TJPF_BGR, yuvPad = 1, doWrite = 1; variable
152 int ps = tjPixelSize[pf]; in decomp()
213 pitch, height, pf, flags) == -1) in decomp()
217 dstPtr2, width, pitch, height, pf, in decomp()
274 if (tjSaveImage(tempStr, dstBuf, scaledw, 0, scaledh, pf, flags) == -1) in decomp()
285 unsigned long rindex = index2 + tjRedOffset[pf]; in decomp()
286 unsigned long gindex = index2 + tjGreenOffset[pf]; in decomp()
287 unsigned long bindex = index2 + tjBlueOffset[pf]; in decomp()
305 if (tjSaveImage(tempStr, dstBuf, w, 0, h, pf, flags) == -1) in decomp()
330 int ps = tjPixelSize[pf]; in fullTest()
[all...]
/third_party/selinux/libsepol/fuzz/
H A Dbinpolicy-fuzzer.c10 struct policy_file pf; in write_binary_policy() local
12 policy_file_init(&pf); in write_binary_policy()
13 pf.type = PF_USE_STDIO; in write_binary_policy()
14 pf.fp = outfp; in write_binary_policy()
15 return policydb_write(p, &pf); in write_binary_policy()
22 struct policy_file pf; in LLVMFuzzerTestOneInput() local
27 policy_file_init(&pf); in LLVMFuzzerTestOneInput()
28 pf.type = PF_USE_MEMORY; in LLVMFuzzerTestOneInput()
29 pf.data = (char *) data; in LLVMFuzzerTestOneInput()
30 pf in LLVMFuzzerTestOneInput()
[all...]
H A Dsecilc-fuzzer.c17 struct sepol_policy_file *pf = NULL; in LLVMFuzzerTestOneInput() local
59 if (sepol_policy_file_create(&pf) != 0) in LLVMFuzzerTestOneInput()
62 sepol_policy_file_set_fp(pf, dev_null); in LLVMFuzzerTestOneInput()
64 if (sepol_policydb_write(pdb, pf) != 0) in LLVMFuzzerTestOneInput()
72 sepol_policy_file_free(pf); in LLVMFuzzerTestOneInput()
/third_party/libwebsockets/lib/core/
H A Dvfs.c75 const struct lws_plat_file_ops *pf; in lws_vfs_select_fops() local
97 pf = fops->next; in lws_vfs_select_fops()
98 while (pf) { in lws_vfs_select_fops()
100 while (n < (int)LWS_ARRAY_SIZE(pf->fi) && pf->fi[n].sig) { in lws_vfs_select_fops()
101 if (p >= vfs_path + pf->fi[n].len) in lws_vfs_select_fops()
102 if (!strncmp(p - (pf->fi[n].len - 1), in lws_vfs_select_fops()
103 pf->fi[n].sig, in lws_vfs_select_fops()
104 (unsigned int)(pf->fi[n].len - 1))) { in lws_vfs_select_fops()
106 return pf; in lws_vfs_select_fops()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DPluralFormatUnitTest.java133 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, in TestApplyPatternAndFormat()
135 assertEquals("should use first occurrence of the 'odd' keyword", "foo", pf.format(1)); in TestApplyPatternAndFormat()
136 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
137 assertEquals("should use first occurrence of the 'other' keyword", "bar", pf.format(2)); in TestApplyPatternAndFormat()
139 pf.applyPattern("other{foo} odd{bar} other{foobar}"); in TestApplyPatternAndFormat()
140 assertEquals("should use first occurrence of the 'other' keyword", "foo", pf.format(2)); in TestApplyPatternAndFormat()
152 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, "otto{foo} other{bar}"); in TestApplyPatternAndFormat()
153 assertEquals("should ignore unknown keywords", "bar", pf.format(1)); in TestApplyPatternAndFormat()
303 PluralFormat pf = new PluralFormat(pat); in TestPattern()
304 assertEquals("should not trim() the pattern", pat, pf in TestPattern()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DPluralFormatUnitTest.java131 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, in TestApplyPatternAndFormat()
133 assertEquals("should use first occurrence of the 'odd' keyword", "foo", pf.format(1)); in TestApplyPatternAndFormat()
134 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
135 assertEquals("should use first occurrence of the 'other' keyword", "bar", pf.format(2)); in TestApplyPatternAndFormat()
137 pf.applyPattern("other{foo} odd{bar} other{foobar}"); in TestApplyPatternAndFormat()
138 assertEquals("should use first occurrence of the 'other' keyword", "foo", pf.format(2)); in TestApplyPatternAndFormat()
150 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, "otto{foo} other{bar}"); in TestApplyPatternAndFormat()
151 assertEquals("should ignore unknown keywords", "bar", pf.format(1)); in TestApplyPatternAndFormat()
301 PluralFormat pf = new PluralFormat(pat); in TestPattern()
302 assertEquals("should not trim() the pattern", pat, pf in TestPattern()
[all...]
/third_party/selinux/libsepol/include/sepol/
H A Dpolicydb.h22 extern int sepol_policy_file_create(sepol_policy_file_t ** pf);
23 extern void sepol_policy_file_free(sepol_policy_file_t * pf);
33 extern void sepol_policy_file_set_mem(sepol_policy_file_t * pf,
40 extern int sepol_policy_file_get_len(sepol_policy_file_t * pf, size_t * len);
47 extern void sepol_policy_file_set_fp(sepol_policy_file_t * pf, FILE * fp);
54 extern void sepol_policy_file_set_handle(sepol_policy_file_t * pf,
113 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
120 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
/third_party/mesa3d/src/util/
H A Du_pointer.h109 } pf; in pointer_to_func() local
110 pf.p = p; in pointer_to_func()
111 return pf.f; in pointer_to_func()
120 } pf; in func_to_pointer() local
121 pf.f = f; in func_to_pointer()
122 return pf.p; in func_to_pointer()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DLanguageTestFmwk.java251 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
260 String string = pf.format(p); in testFullPluralizedForms()
277 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
283 String string = pf.format(p); in testMediumForms()
299 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
305 String string = pf.format(p); in testShortForms()
321 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
327 xAssertEquals(targets, n++, pf.format(p)); in testCustomMinutes()
329 xAssertEquals(targets, n++, pf.format(p)); in testCustomMinutes()
370 PeriodFormatter pf in testLimitedUnits()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
H A DLanguageTestFmwk.java252 PeriodFormatter pf = pfFactory.getFormatter(); in testFullPluralizedForms()
261 String string = pf.format(p); in testFullPluralizedForms()
278 PeriodFormatter pf = pfFactory.getFormatter(); in testMediumForms()
284 String string = pf.format(p); in testMediumForms()
300 PeriodFormatter pf = pfFactory.getFormatter(); in testShortForms()
306 String string = pf.format(p); in testShortForms()
322 PeriodFormatter pf = pfFactory.getFormatter(); in testCustomMinutes()
328 xAssertEquals(targets, n++, pf.format(p)); in testCustomMinutes()
330 xAssertEquals(targets, n++, pf.format(p)); in testCustomMinutes()
371 PeriodFormatter pf in testLimitedUnits()
[all...]
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A DtcuOhosNativeContext.cpp113 OHOS::RCI_PIXEL_FORMAT pf = { in OhosRendContext() local
124 pf.redBits = config.redBits; in OhosRendContext()
128 pf.greenBits = config.greenBits; in OhosRendContext()
132 pf.blueBits = config.blueBits; in OhosRendContext()
136 pf.alphaBits = config.alphaBits; in OhosRendContext()
140 pf.depthBits = config.depthBits; in OhosRendContext()
144 pf.stencilBits = config.stencilBits; in OhosRendContext()
148 pf.numSamples = config.numSamples; in OhosRendContext()
196 if (!OHOS::OhosContextI::GetInstance().SetConfig(w, h, ver, pf, surfaceType, profile, static_cast<OHOS::RCI_CONTEXT_FLAG>(flags))) in OhosRendContext()
/third_party/mesa3d/src/mesa/state_tracker/tests/
H A Dst_format.c73 enum pipe_format pf; in main() local
77 pf = st_mesa_format_to_pipe_format(st, i); in main()
78 if (pf != PIPE_FORMAT_NONE) { in main()
79 mesa_format mf = st_pipe_format_to_mesa_format(pf); in main()
82 _mesa_get_format_name(i), util_format_short_name(pf), in main()
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dtasn_fre.c152 const ASN1_PRIMITIVE_FUNCS *pf = it->funcs; in ossl_asn1_primitive_free() local
155 if (pf && pf->prim_clear) { in ossl_asn1_primitive_free()
156 pf->prim_clear(pval, it); in ossl_asn1_primitive_free()
159 } else if (pf && pf->prim_free) { in ossl_asn1_primitive_free()
160 pf->prim_free(pval, it); in ossl_asn1_primitive_free()
/third_party/openssl/crypto/asn1/
H A Dtasn_fre.c152 const ASN1_PRIMITIVE_FUNCS *pf = it->funcs; in ossl_asn1_primitive_free() local
155 if (pf && pf->prim_clear) { in ossl_asn1_primitive_free()
156 pf->prim_clear(pval, it); in ossl_asn1_primitive_free()
159 } else if (pf && pf->prim_free) { in ossl_asn1_primitive_free()
160 pf->prim_free(pval, it); in ossl_asn1_primitive_free()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_fence.c62 struct pipe_fence_handle *pf) in vc4_fence_reference()
65 struct vc4_fence *f = vc4_fence(pf); in vc4_fence_reference()
79 struct pipe_fence_handle *pf, in vc4_fence_finish()
83 struct vc4_fence *f = vc4_fence(pf); in vc4_fence_finish()
107 vc4_fence_create_fd(struct pipe_context *pctx, struct pipe_fence_handle **pf, in vc4_fence_create_fd() argument
111 struct vc4_fence **fence = (struct vc4_fence **)pf; in vc4_fence_create_fd()
60 vc4_fence_reference(struct pipe_screen *pscreen, struct pipe_fence_handle **pp, struct pipe_fence_handle *pf) vc4_fence_reference() argument
77 vc4_fence_finish(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_fence_handle *pf, uint64_t timeout_ns) vc4_fence_finish() argument
/third_party/ltp/pan/cgi/
H A Dbrowse.cgi19 my(@possible_files, $pf, $line);
38 foreach $pf (@possible_files) {
39 ($host, $datestr, $suite, $type, $gz) = split(/\./, $pf);
43 open (UF, $pf) || next;
55 open (UF, "gunzip -c $pf|") || next;
57 open (UF, "$pf") || next;
/third_party/ffmpeg/libavcodec/
H A Daacdec_fixed.c239 static av_always_inline SoftFloat flt16_round(SoftFloat pf) in flt16_round() argument
244 tmp.exp = pf.exp; in flt16_round()
245 s = pf.mant >> 31; in flt16_round()
246 tmp.mant = (pf.mant ^ s) - s; in flt16_round()
253 static av_always_inline SoftFloat flt16_even(SoftFloat pf) in flt16_even() argument
258 tmp.exp = pf.exp; in flt16_even()
259 s = pf.mant >> 31; in flt16_even()
260 tmp.mant = (pf.mant ^ s) - s; in flt16_even()
267 static av_always_inline SoftFloat flt16_trunc(SoftFloat pf) in flt16_trunc() argument
272 pun.exp = pf in flt16_trunc()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
H A DTimer.java67 return pf; in getPercentFormat()
81 return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D) + ""; in toString()
85 private DecimalFormat pf = (DecimalFormat) NumberFormat.getPercentInstance(ULocale.ENGLISH); field in Timer
88 pf.setMaximumFractionDigits(1);
89 pf.setPositivePrefix("+");
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DTimer.java64 return pf; in getPercentFormat()
78 return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D) + ""; in toString()
82 private DecimalFormat pf = (DecimalFormat) NumberFormat.getPercentInstance(ULocale.ENGLISH); field in Timer
85 pf.setMaximumFractionDigits(1);
86 pf.setPositivePrefix("+");
/third_party/vk-gl-cts/modules/gles3/
H A Dtes3InfoTests.cpp103 const tcu::PixelFormat& pf = rt.getPixelFormat(); in iterate() local
106 << tcu::TestLog::Integer("RedBits", "Red channel bits", "", QP_KEY_TAG_NONE, pf.redBits) in iterate()
107 << tcu::TestLog::Integer("GreenBits", "Green channel bits", "", QP_KEY_TAG_NONE, pf.greenBits) in iterate()
108 << tcu::TestLog::Integer("BlueBits", "Blue channel bits", "", QP_KEY_TAG_NONE, pf.blueBits) in iterate()
109 << tcu::TestLog::Integer("AlphaBits", "Alpha channel bits", "", QP_KEY_TAG_NONE, pf.alphaBits) in iterate()

Completed in 14 milliseconds

123456