Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/u-boot/scripts/coccinelle/iterators/
H A Dlist_entry_update.cocci21 position p1,p2;
24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
28 position r.p1,r.p2;
32 *x =@p2 E
40 position r.p1,r.p2;
44 x =@p2 E
50 p2 << r.p2;
54 cocci.print_secs("update",p2)
58 p2 << r.p2;
61 msg = "iterator with update on line %s" % (p2[0].line)
H A Ditnull.cocci67 position p1,p2;
73 * x@p2 == NULL
75 * x@p2 != NULL
82 p2 << r.p2;
86 cocci.print_secs("useless NULL test",p2)
90 p2 << r.p2;
94 coccilib.report.print_report(p2[0], msg)
H A Duse_after_iter.cocci37 position p1,p2;
130 *c@p2
135 p2 << r.p2;
138 cocci.print_main("invalid iterator index reference",p2)
143 p2 << r.p2;
147 coccilib.report.print_report(p2[0], msg)
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c53 void *p2; in check_aligned_anonymous_unfixed_mmaps() local
65 p2 = mmap(NULL, len, PROT_READ, in check_aligned_anonymous_unfixed_mmaps()
79 fail_unless(p2 != MAP_FAILED); in check_aligned_anonymous_unfixed_mmaps()
86 p = (uintptr_t) p2; in check_aligned_anonymous_unfixed_mmaps()
97 memcpy(dummybuf, p2, pagesize); in check_aligned_anonymous_unfixed_mmaps()
102 munmap(p2, len); in check_aligned_anonymous_unfixed_mmaps()
137 char *p2; in check_aligned_anonymous_unfixed_colliding_mmaps() local
152 p2 = mmap(NULL, pagesize, PROT_READ, in check_aligned_anonymous_unfixed_colliding_mmaps()
154 fail_unless(p2 != MAP_FAILED); in check_aligned_anonymous_unfixed_colliding_mmaps()
155 p = (uintptr_t) p2; in check_aligned_anonymous_unfixed_colliding_mmaps()
[all …]
/openbmc/u-boot/board/nokia/rx51/
H A Dtag_omap.h232 #define OMAP_TAG_SERIAL_CONSOLE_CONFIG(p1, p2) \ argument
237 .u.serial_console.console_speed = p2, \
240 #define OMAP_TAG_LCD_CONFIG(p1, p2, p3, p4) \ argument
244 .u.lcd.ctrl_name = p2, \
249 #define OMAP_TAG_GPIO_SWITCH_CONFIG(p1, p2, p3, p4, p5) \ argument
254 .u.gpio_switch.gpio = p2, \
260 #define OMAP_TAG_WLAN_CX3110X_CONFIG(p1, p2, p3, p4, p5) \ argument
265 .u.wlan_cx3110x.reserverd = p2, \
271 #define OMAP_TAG_PARTITION_CONFIG(p1, p2, p3, p4) \ argument
276 .u.partition.size = p2, \
[all …]
/openbmc/qemu/bsd-user/
H A Dbsd-file.h35 #define LOCK_PATH2(p1, arg1, p2, arg2) \ argument
41 (p2) = lock_user_string(arg2); \
42 if ((p2) == NULL) { \
48 #define UNLOCK_PATH2(p1, arg1, p2, arg2) \ argument
50 unlock_user(p2, arg2, 0); \
353 void *p1, *p2; in do_bsd_rename() local
355 LOCK_PATH2(p1, arg1, p2, arg2); in do_bsd_rename()
356 ret = get_errno(rename(p1, p2)); /* XXX path(p1), path(p2) */ in do_bsd_rename()
357 UNLOCK_PATH2(p1, arg1, p2, arg2); in do_bsd_rename()
367 void *p1, *p2; in do_bsd_renameat() local
[all …]
/openbmc/u-boot/scripts/coccinelle/null/
H A Dkmerr.cocci50 position p2;
58 x1@p = f@p2(...);
63 p2 << rfixed.p2;
67 cocci.print_secs("possible model",p2)
71 p2 << rfixed.p2;
74 msg = "alloc with no test, possible model on line %s" % (p2[0].line)
/openbmc/phosphor-inventory-manager/test/
H A Dserialize_test.cpp13 auto p2 = fs::path(PIM_PERSIST_PATH "/foo/bar/baz/xyz.foo"); in TEST() local
14 EXPECT_EQ(p1, p2); in TEST()
22 auto p2 = fs::path(PIM_PERSIST_PATH "/foo/bar/baz/xyz.foo"); in TEST() local
23 EXPECT_EQ(p1, p2); in TEST()
H A Dutils_test.cpp23 auto p2 = std::make_pair(3, 4); in TEST() local
25 EXPECT_TRUE(c(p1, p2)); in TEST()
26 EXPECT_TRUE(c(1, p2)); in TEST()
28 EXPECT_FALSE(c(p2, p1)); in TEST()
29 EXPECT_FALSE(c(p2, 1)); in TEST()
/openbmc/qemu/tests/tcg/aarch64/
H A Dmte-3.c19 long *p0, *p1, *p2; in main() local
29 asm("irg %0,%1,%2" : "=r"(p2) : "r"(p0), "r"(excl)); in main()
30 assert(p1 != p2); in main()
49 asm("str %0, [%0]; yield" : : "r"(p2)); in main()
H A Dmte-2.c19 int *p0, *p1, *p2; in main() local
29 asm("irg %0,%1,%2" : "=r"(p2) : "r"(p0), "r"(excl)); in main()
30 assert(p1 != p2); in main()
42 *p2 = 0; in main()
H A Dmte-5.c19 void *p0, *p1, *p2; in main() local
29 asm("irg %0,%1,%2" : "=r"(p2) : "r"(p0), "r"(excl)); in main()
30 assert(p1 != p2); in main()
39 asm("stg %0, [%0]" : : "r"(p2 + 16)); in main()
H A Dpauth-5.c8 int *p0 = &x, *p1, *p2, *p3; in main() local
35 asm("pacda %0, %1" : "=r"(p2) : "r"(salt), "0"(p1)); in main()
38 asm("autda %0, %1" : "=r"(p3) : "r"(salt), "0"(p2)); in main()
H A Dmte-1.c12 int *p0, *p1, *p2; in main() local
24 asm("ldg %0, [%1]" : "=r"(p2) : "r"(p0), "0"(p0)); in main()
25 assert(p1 == p2); in main()
H A Dpauth-1.c15 void *p0 = &x, *p1, *p2; in main() local
21 asm volatile("pacdza %0" : "=r"(p2) : "0"(p0)); in main()
26 if (p1 != p2) { in main()
H A Dmte-6.c24 int *p1, *p2; in main() local
29 asm("irg %0,%1,%2" : "=r"(p2) : "r"(brk), "r"(excl)); in main()
40 *p2 = 0; in main()
/openbmc/qemu/pc-bios/vof/
H A Dlibc.c44 const unsigned char *p2 = ptr2; in memcmp() local
47 if (*p1 != *p2) { in memcmp()
48 return *p1 - *p2; in memcmp()
51 p2 += 1; in memcmp()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/espeak/files/
H A D0001-Drop-using-register-keyword-for-storage-classifier.patch22 …ble x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2;
23 …ble x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2;
24 r->p2 = (double)r->p1;
31 …ble x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2;
32 …ble x = (double)r->a * (double)input + (double)r->b * (double)r->p1 + (double)r->c * (double)r->p2;
33 r->p2 = (double)r->p1;
/openbmc/u-boot/post/lib_powerpc/fpu/
H A Dmul-subnormal-single-1.c60 unsigned int p1, p2, res; member
74 tstmul (expected[i].p1, expected[i].p2, expected[i].res); in fpu_post_test_math7()
75 tstmul (expected[i].p2, expected[i].p1, expected[i].res); in fpu_post_test_math7()
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0001-Allow-applications-to-set-next-resource-handle.patch25p2, uint32_t p3, uint32_t p4, uint32_t p5, uint32_t p6, uint32_t p7, uint32_t p8, uint32_t p9, uin…
26p2, uint32_t p3, uint32_t p4, uint32_t p5, uint32_t p6, uint32_t p7, uint32_t p8, uint32_t p9, uin…
27p2, uint32_t p3, uint32_t p4, uint32_t p5, uint32_t p6, uint32_t p7, uint32_t p8, uint32_t p9, uin…
28p2, uint32_t p3, uint32_t p4, uint32_t p5, uint32_t p6, uint32_t p7, uint32_t p8, uint32_t p9, uin…
33 …CTRL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, out) rpc_call13_out_ct…
34 …CTRL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, out) rpc_call14_out_ct…
35 …RL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, out) rpc_call15_out…
36 …fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, out) rpc_call16_o…
/openbmc/u-boot/arch/arm/mach-omap2/omap3/
H A Dclock.c124 int xip_safe, p0, p1, p2, p3; in dpll3_init_34xx() local
215 p2 = readl(&prcm_base->clksel_core); in dpll3_init_34xx()
217 clrsetbits_le32(&p2, 0x00000F00, CORE_SSI_DIV << 8); in dpll3_init_34xx()
219 clrsetbits_le32(&p2, 0x00000030, CORE_FUSB_DIV << 4); in dpll3_init_34xx()
221 clrsetbits_le32(&p2, 0x0000000C, CORE_L4_DIV << 2); in dpll3_init_34xx()
223 clrsetbits_le32(&p2, 0x00000003, CORE_L3_DIV); in dpll3_init_34xx()
227 (*f_lock_pll) (p0, p1, p2, p3); in dpll3_init_34xx()
381 int xip_safe, p0, p1, p2, p3; in dpll3_init_36xx() local
465 p2 = readl(&prcm_base->clksel_core); in dpll3_init_36xx()
467 clrsetbits_le32(&p2, 0x00000F00, CORE_SSI_DIV << 8); in dpll3_init_36xx()
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dtest_vcmpb.S22 p2 = vcmpb.eq(r1:0, r3:2) define
25 r4 = p2
H A Dtest_vcmpw.S22 p2 = vcmpw.eq(r1:0, r3:2) define
25 r4 = p2
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_memory.c99 u64 p2; in execute() local
117 EFI_ST_NUM_PAGES, &p2); in execute()
150 if (find_in_memory_map(map_size, memory_map, desc_size, p2, in execute()
160 ret = boottime->free_pages(p2, EFI_ST_NUM_PAGES); in execute()
/openbmc/qemu/scripts/coccinelle/
H A Derrp-guard.cocci111 position p1, p2;
119 Error *local_err2 = NULL;@p2
126 p2 << check1.p2;
131 fn, p1[0].file, p1[0].line, p2[0].file, p2[0].line))
136 position p1, p2;
149 error_propagate_prepend(_errp, ...);@p2
151 error_propagate(_errp, ...);@p2
159 p2 << check2.p2;
164 fn, p1[0].file, p1[0].line, p2[0].file, p2[0].line))

1234