Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 137) sorted by relevance

123456

/external/icu4c/test/perf/convperf/
Dconvperf.cpp124 UPerfFunction* pf = new ICUOpenAllConvertersFunction(TRUE, status); in TestICU_CleanOpenAllConverters() local
128 return pf; in TestICU_CleanOpenAllConverters()
133 UPerfFunction* pf = new ICUOpenAllConvertersFunction(FALSE, status); in TestICU_OpenAllConverters() local
137 return pf; in TestICU_OpenAllConverters()
142 …ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(u… in TestICU_UTF8_FromUnicode() local
146 return pf; in TestICU_UTF8_FromUnicode()
151 …UPerfFunction* pf = new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encS… in TestICU_UTF8_ToUnicode() local
155 return pf; in TestICU_UTF8_ToUnicode()
161 …UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF… in TestWinIML2_UTF8_FromUnicode() local
165 return pf; in TestWinIML2_UTF8_FromUnicode()
[all …]
/external/libsepol/src/
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.type = PF_LEN; in policydb_to_image()
[all …]
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->size = len; in sepol_policy_file_set_mem()
34 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_fp() local
[all …]
Dgenbools.c152 struct policy_file pf; local
173 policy_file_init(&pf);
174 pf.type = PF_USE_MEMORY;
175 pf.data = data;
176 pf.len = len;
177 rc = policydb_write(&policydb, &pf);
213 struct policy_file pf; local
245 policy_file_init(&pf);
246 pf.type = PF_USE_MEMORY;
247 pf.data = data;
[all …]
/external/linux-tools-perf/util/
Dprobe-finder.c1112 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable() argument
1120 ret = convert_variable_location(vr_die, pf->addr, pf->fb_ops, in convert_variable()
1121 pf->tvar); in convert_variable()
1124 " Perhaps, it has been optimized out.\n", pf->pvar->var); in convert_variable()
1127 else if (pf->pvar->field) { in convert_variable()
1128 ret = convert_variable_fields(vr_die, pf->pvar->var, in convert_variable()
1129 pf->pvar->field, &pf->tvar->ref, in convert_variable()
1134 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type); in convert_variable()
1140 static int find_variable(Dwarf_Die *sp_die, struct probe_finder *pf) in find_variable() argument
1146 if (!is_c_varname(pf->pvar->var)) { in find_variable()
[all …]
Dprobe-finder.h55 int (*callback)(Dwarf_Die *sp_die, struct probe_finder *pf);
75 struct probe_finder pf; member
82 struct probe_finder pf; member
/external/qemu/target-i386/
Dhelper_template.h57 int cf, pf, af, zf, sf, of; in glue() local
62 pf = parity_table[(uint8_t)CC_DST]; in glue()
67 return cf | pf | af | zf | sf | of; in glue()
81 int cf, pf, af, zf, sf, of; in glue() local
86 pf = parity_table[(uint8_t)CC_DST]; in glue()
91 return cf | pf | af | zf | sf | of; in glue()
105 int cf, pf, af, zf, sf, of; in glue() local
110 pf = parity_table[(uint8_t)CC_DST]; in glue()
115 return cf | pf | af | zf | sf | of; in glue()
130 int cf, pf, af, zf, sf, of; in glue() local
[all …]
/external/qemu/
Dconsole.c1339 int linesize, PixelFormat pf, int newflags) in qemu_alloc_display() argument
1345 surface->pf = pf; in qemu_alloc_display()
1367 surface->pf = qemu_default_pixelformat(bpp); in qemu_create_displaysurface_from()
1665 PixelFormat pf; in qemu_different_endianness_pixelformat() local
1667 memset(&pf, 0x00, sizeof(PixelFormat)); in qemu_different_endianness_pixelformat()
1669 pf.bits_per_pixel = bpp; in qemu_different_endianness_pixelformat()
1670 pf.bytes_per_pixel = bpp / 8; in qemu_different_endianness_pixelformat()
1671 pf.depth = bpp == 32 ? 24 : bpp; in qemu_different_endianness_pixelformat()
1675 pf.rmask = 0x000000FF; in qemu_different_endianness_pixelformat()
1676 pf.gmask = 0x0000FF00; in qemu_different_endianness_pixelformat()
[all …]
Dvnc.c351 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel) in vnc_resize()
401 r = ((((v & vs->server.ds->pf.rmask) >> vs->server.ds->pf.rshift) << vs->clientds.pf.rbits) >> in vnc_convert_pixel()
402 vs->server.ds->pf.rbits); in vnc_convert_pixel()
403 g = ((((v & vs->server.ds->pf.gmask) >> vs->server.ds->pf.gshift) << vs->clientds.pf.gbits) >> in vnc_convert_pixel()
404 vs->server.ds->pf.gbits); in vnc_convert_pixel()
405 b = ((((v & vs->server.ds->pf.bmask) >> vs->server.ds->pf.bshift) << vs->clientds.pf.bbits) >> in vnc_convert_pixel()
406 vs->server.ds->pf.bbits); in vnc_convert_pixel()
407 v = (r << vs->clientds.pf.rshift) | in vnc_convert_pixel()
408 (g << vs->clientds.pf.gshift) | in vnc_convert_pixel()
409 (b << vs->clientds.pf.bshift); in vnc_convert_pixel()
[all …]
Dvnc-android.c357 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel) in vnc_resize()
407 r = ((((v & vs->server.ds->pf.rmask) >> vs->server.ds->pf.rshift) << vs->clientds.pf.rbits) >> in vnc_convert_pixel()
408 vs->server.ds->pf.rbits); in vnc_convert_pixel()
409 g = ((((v & vs->server.ds->pf.gmask) >> vs->server.ds->pf.gshift) << vs->clientds.pf.gbits) >> in vnc_convert_pixel()
410 vs->server.ds->pf.gbits); in vnc_convert_pixel()
411 b = ((((v & vs->server.ds->pf.bmask) >> vs->server.ds->pf.bshift) << vs->clientds.pf.bbits) >> in vnc_convert_pixel()
412 vs->server.ds->pf.bbits); in vnc_convert_pixel()
413 v = (r << vs->clientds.pf.rshift) | in vnc_convert_pixel()
414 (g << vs->clientds.pf.gshift) | in vnc_convert_pixel()
415 (b << vs->clientds.pf.bshift); in vnc_convert_pixel()
[all …]
/external/kernel-headers/original/linux/
Dnetfilter.h102 u_int8_t pf; member
111 u_int8_t pf; member
151 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
162 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook, in nf_hook_thresh() argument
169 if (list_empty(&nf_hooks[pf][hook])) in nf_hook_thresh()
172 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); in nf_hook_thresh()
175 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook() argument
179 return nf_hook_thresh(pf, hook, skb, indev, outdev, okfn, INT_MIN); in nf_hook()
200 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_THRESH() argument
204 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); in NF_HOOK_THRESH()
[all …]
/external/qemu/hw/
Dgoldfish_fb.c165 struct PixelFormat* pf = &s->ds->surface->pf; in goldfish_fb_get_pixel_format() local
168 printf(" bits/pixel: %d\n", pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
169 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); in goldfish_fb_get_pixel_format()
170 printf(" depth: %d\n", pf->depth); in goldfish_fb_get_pixel_format()
172 pf->rbits, pf->rmask, pf->rshift, pf->rmax); in goldfish_fb_get_pixel_format()
174 pf->gbits, pf->gmask, pf->gshift, pf->gmax); in goldfish_fb_get_pixel_format()
176 pf->bbits, pf->bmask, pf->bshift, pf->bmax); in goldfish_fb_get_pixel_format()
178 pf->abits, pf->amask, pf->ashift, pf->amax); in goldfish_fb_get_pixel_format()
181 s->bytes_per_pixel = pf->bytes_per_pixel; in goldfish_fb_get_pixel_format()
185 if (pf->bits_per_pixel == fbc->bits && in goldfish_fb_get_pixel_format()
[all …]
/external/libsepol/include/sepol/
Dpolicydb.h18 extern int sepol_policy_file_create(sepol_policy_file_t ** pf);
19 extern void sepol_policy_file_free(sepol_policy_file_t * pf);
29 extern void sepol_policy_file_set_mem(sepol_policy_file_t * pf,
36 extern int sepol_policy_file_get_len(sepol_policy_file_t * pf, size_t * len);
43 extern void sepol_policy_file_set_fp(sepol_policy_file_t * pf, FILE * fp);
50 extern void sepol_policy_file_set_handle(sepol_policy_file_t * pf,
98 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
105 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java19 public ClassLoader get(ProxyFactory pf) { in testReadWrite()
23 ProxyFactory pf = new ProxyFactory(); in testReadWrite() local
24 pf.setSuperclass(ReadWriteData.class); in testReadWrite()
25 Object data = pf.createClass().newInstance(); in testReadWrite()
44 ProxyFactory pf = new ProxyFactory(); in testWriteReplace() local
45 pf.setSuperclass(WriteReplace.class); in testWriteReplace()
46 Object data = pf.createClass().newInstance(); in testWriteReplace()
/external/dhcpcd/
Dlpf.c77 struct sock_fprog pf; in open_socket() local
94 memset(&pf, 0, sizeof(pf)); in open_socket()
96 pf.filter = UNCONST(arp_bpf_filter); in open_socket()
97 pf.len = arp_bpf_filter_len; in open_socket()
99 pf.filter = UNCONST(dhcp_bpf_filter); in open_socket()
100 pf.len = dhcp_bpf_filter_len; in open_socket()
102 if (setsockopt(s, SOL_SOCKET, SO_ATTACH_FILTER, &pf, sizeof(pf)) != 0) in open_socket()
Dbpf.c59 struct bpf_program pf; in open_socket() local
111 pf.bf_insns = UNCONST(arp_bpf_filter); in open_socket()
112 pf.bf_len = arp_bpf_filter_len; in open_socket()
115 pf.bf_insns = UNCONST(dhcp_bpf_filter); in open_socket()
116 pf.bf_len = dhcp_bpf_filter_len; in open_socket()
119 if (ioctl(fd, BIOCSETF, &pf) == -1) in open_socket()
/external/clang/test/SemaCXX/
Dmember-pointer.cpp22 int (A::*pf)(int, int); in f() local
29 pf = 0; in f()
30 pf = __null; in f()
46 bool b1 = (pf == pf2); (void)b1; in f()
47 bool b2 = (pf != pf2); (void)b2; in f()
48 bool b3 = (pf == pf3); (void)b3; in f()
49 bool b4 = (pf != 0); (void)b4; in f()
103 void (HasMembers::*pf)() = &HasMembers::f; in h() local
104 (hm.*pf)(); in h()
105 (phm->*pf)(); in h()
/external/regex-re2/re2/
Dset.cc34 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( in Add() local
38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); in Add()
49 re2::Regexp* m = re2::Regexp::HaveMatch(n, pf); in Add()
57 re = re2::Regexp::Concat(sub, nsub + 1, pf); in Add()
63 re = re2::Regexp::Concat(sub, 2, pf); in Add()
76 Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( in Compile() local
79 re_.size(), pf); in Compile()
/external/valgrind/main/none/tests/x86/
Daad_aam.c21 int cf __attribute__((unused)),pf,af __attribute__((unused)),zf,sf; in main() local
40 pf=!!(flags&0x4); in main()
53 if (pf != parity(out&0xff)) { in main()
87 pf=!!(flags&0x4); in main()
100 if (pf != parity(out&0xff)) { in main()
/external/sepolicy/
DAndroid.mk22 $(foreach pf, $(BOARD_SEPOLICY_REPLACE), \
23 $(if $(filter $(pf), $(BOARD_SEPOLICY_UNION)), \
24 $(error Ambiguous request for sepolicy $(pf). Appears in both \
28 $(wildcard $(addsuffix /$(pf), $(BOARD_SEPOLICY_DIRS))))) \
31 $(error No sepolicy file found for $(pf) in $(BOARD_SEPOLICY_DIRS)), \
35 $(error Multiple occurrences of replace file $(pf) in $(_paths)) \
37 $(if $(filter 0, $(words $(wildcard $(addsuffix /$(pf), $(LOCAL_PATH))))), \
38 $(error Specified the sepolicy file $(pf) in BOARD_SEPOLICY_REPLACE, \
/external/linux-tools-perf/bench/
Dmem-memcpy.c160 #define pf (no_prefault ? 0 : 1) macro
235 result_clock[pf] = in bench_mem_memcpy()
239 result_bps[pf] = in bench_mem_memcpy()
264 (double)result_clock[pf] in bench_mem_memcpy()
267 print_bps(result_bps[pf]); in bench_mem_memcpy()
284 printf("%lf\n", (double)result_clock[pf] in bench_mem_memcpy()
287 printf("%lf\n", result_bps[pf]); in bench_mem_memcpy()
/external/bluetooth/bluedroid/stack/include/
Drfcdefs.h80 #define RFCOMM_PARSE_TYPE_FIELD(type, pf, p_data) \ argument
83 pf = (*p_data++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET;\
86 #define RFCOMM_FORMAT_TYPE_FIELD(p_data, type, pf) \ argument
87 *p_data++ = (type | (pf << RFCOMM_PF_OFFSET)) \
90 pf = (*p_data++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET;\
/external/valgrind/main/drd/tests/
Dannotate_smart_pointer.cpp79 void Create(void* (*pf)(void*), void* arg) in Create()
81 WrapperArgs* wrapper_arg_p = new WrapperArgs(pf, arg); in Create()
91 WrapperArgs(void* (*pf)(void*), void* arg) : m_pf(pf), m_arg(arg) { } in WrapperArgs()
140 void Create(void* (*pf)(void*), void* arg) in Create()
145 pthread_create(&m_tid, &attr, pf, arg); in Create()
/external/openssl/crypto/asn1/
Dtasn_fre.c209 const ASN1_PRIMITIVE_FUNCS *pf; in ASN1_primitive_free() local
210 pf = it->funcs; in ASN1_primitive_free()
211 if (pf && pf->prim_free) in ASN1_primitive_free()
213 pf->prim_free(pval, it); in ASN1_primitive_free()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglDisplay.java88 PixelFormat pf = new PixelFormat(settings.getBitsPerPixel(), in createContext() local
98 if (created.get() && (pixelFormat.getBitsPerPixel() != pf.getBitsPerPixel() in createContext()
99 ||pixelFormat.getDepthBits() != pf.getDepthBits() in createContext()
100 ||pixelFormat.getStencilBits() != pf.getStencilBits() in createContext()
101 ||pixelFormat.getSamples() != pf.getSamples())){ in createContext()
106 pixelFormat = pf; in createContext()

123456