Home
last modified time | relevance | path

Searched refs:P (Results 1 – 25 of 4487) sorted by relevance

12345678910>>...180

/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dstable_partition.pass.cpp41 typedef std::pair<int,int> P; in test() typedef
42 P array[] = in test()
44 P(0, 1), in test()
45 P(0, 2), in test()
46 P(1, 1), in test()
47 P(1, 2), in test()
48 P(2, 1), in test()
49 P(2, 2), in test()
50 P(3, 1), in test()
51 P(3, 2), in test()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Deq.pass.cpp31 typedef int P; in main() typedef
32 P a[] = in main()
34 P(10), in main()
35 P(20), in main()
36 P(20), in main()
37 P(30), in main()
38 P(40), in main()
39 P(50), in main()
40 P(50), in main()
41 P(50), in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Deq.pass.cpp32 typedef std::pair<int, std::string> P; in main() typedef
33 P a[] = in main()
35 P(10, "ten"), in main()
36 P(20, "twenty"), in main()
37 P(20, "twenty 2"), in main()
38 P(30, "thirty"), in main()
39 P(40, "forty"), in main()
40 P(50, "fifty"), in main()
41 P(50, "fifty 2"), in main()
42 P(50, "fifty 3"), in main()
[all …]
/external/golang-protobuf/protoc-gen-go/grpc/
Dgrpc.go100 func (g *grpc) P(args ...interface{}) { g.gen.P(args...) } func
111 g.P("// Reference imports to suppress errors if they are not otherwise used.")
112 g.P("var _ ", contextPkg, ".Context")
113 g.P("var _ ", grpcPkg, ".ClientConn")
114 g.P()
117 g.P("// This is a compile-time assertion to ensure that this generated file")
118 g.P("// is compatible with the grpc package it is being compiled against.")
119 g.P("const _ = ", grpcPkg, ".SupportPackageIsVersion", generatedCodeVersion)
120 g.P()
154 g.P()
[all …]
/external/python/cpython3/Lib/test/
Dtest_pathlib.py192 P = self.cls
193 p = P('a')
194 self.assertIsInstance(p, P)
195 P('a', 'b', 'c')
196 P('/a', 'b', 'c')
197 P('a/b/c')
198 P('/a/b/c')
199 P(FakePath("a/b/c"))
200 self.assertEqual(P(P('a')), P('a'))
201 self.assertEqual(P(P('a'), 'b'), P('a/b'))
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Deq.pass.cpp31 typedef int P; in main() typedef
32 P a[] = in main()
34 P(10), in main()
35 P(20), in main()
36 P(30), in main()
37 P(40), in main()
38 P(50), in main()
39 P(60), in main()
40 P(70), in main()
41 P(80) in main()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_scalar_base_mult_tests.txt6 Curve = P-224
12 Curve = P-224
18 Curve = P-224
24 Curve = P-224
30 Curve = P-224
36 Curve = P-224
42 Curve = P-224
48 Curve = P-224
54 Curve = P-224
60 Curve = P-224
[all …]
/external/libcxx/test/std/containers/unord/unord.map/
Deq.pass.cpp32 typedef std::pair<int, std::string> P; in main() typedef
33 P a[] = in main()
35 P(10, "ten"), in main()
36 P(20, "twenty"), in main()
37 P(30, "thirty"), in main()
38 P(40, "forty"), in main()
39 P(50, "fifty"), in main()
40 P(60, "sixty"), in main()
41 P(70, "seventy"), in main()
42 P(80, "eighty"), in main()
[all …]
/external/swiftshader/src/Device/
DPoint.cpp39 Point operator+(const Point &P, const Vector &v) in operator +() argument
41 return Point(P.x + v.x, P.y + v.y, P.z + v.z); in operator +()
44 Point operator-(const Point &P, const Vector &v) in operator -() argument
46 return Point(P.x - v.x, P.y - v.y, P.z - v.z); in operator -()
49 Vector operator-(const Point &P, const Point &Q) in operator -() argument
51 return Vector(P.x - Q.x, P.y - Q.y, P.z - Q.z); in operator -()
54 Point operator*(const Matrix &M, const Point &P) in operator *() argument
56 return Point(M(1, 1) * P.x + M(1, 2) * P.y + M(1, 3) * P.z + M(1, 4), in operator *()
57 M(2, 1) * P.x + M(2, 2) * P.y + M(2, 3) * P.z + M(2, 4), in operator *()
58 M(3, 1) * P.x + M(3, 2) * P.y + M(3, 3) * P.z + M(3, 4)); in operator *()
[all …]
/external/swiftshader/src/Renderer/
DPoint.cpp39 Point operator+(const Point &P, const Vector &v) in operator +() argument
41 return Point(P.x + v.x, P.y + v.y, P.z + v.z); in operator +()
44 Point operator-(const Point &P, const Vector &v) in operator -() argument
46 return Point(P.x - v.x, P.y - v.y, P.z - v.z); in operator -()
49 Vector operator-(const Point &P, const Point &Q) in operator -() argument
51 return Vector(P.x - Q.x, P.y - Q.y, P.z - Q.z); in operator -()
54 Point operator*(const Matrix &M, const Point &P) in operator *() argument
56 return Point(M(1, 1) * P.x + M(1, 2) * P.y + M(1, 3) * P.z + M(1, 4), in operator *()
57 M(2, 1) * P.x + M(2, 2) * P.y + M(2, 3) * P.z + M(2, 4), in operator *()
58 M(3, 1) * P.x + M(3, 2) * P.y + M(3, 3) * P.z + M(3, 4)); in operator *()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCachePruningTest.cpp17 auto P = parseCachePruningPolicy(""); in TEST() local
18 ASSERT_TRUE(bool(P)); in TEST()
19 EXPECT_EQ(std::chrono::seconds(1200), P->Interval); in TEST()
20 EXPECT_EQ(std::chrono::hours(7 * 24), P->Expiration); in TEST()
21 EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace); in TEST()
25 auto P = parseCachePruningPolicy("prune_interval=1s"); in TEST() local
26 ASSERT_TRUE(bool(P)); in TEST()
27 EXPECT_EQ(std::chrono::seconds(1), P->Interval); in TEST()
28 P = parseCachePruningPolicy("prune_interval=2m"); in TEST()
29 ASSERT_TRUE(bool(P)); in TEST()
[all …]
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp42 : File(File), P(outs()), TD(&P, false) {} in LLVMOutputStyle()
96 DictScope D(P, "FileHeaders"); in dumpFileHeaders()
97 P.printNumber("BlockSize", File.getBlockSize()); in dumpFileHeaders()
98 P.printNumber("Unknown0", File.getUnknown0()); in dumpFileHeaders()
99 P.printNumber("NumBlocks", File.getBlockCount()); in dumpFileHeaders()
100 P.printNumber("NumDirectoryBytes", File.getNumDirectoryBytes()); in dumpFileHeaders()
101 P.printNumber("Unknown1", File.getUnknown1()); in dumpFileHeaders()
102 P.printNumber("BlockMapAddr", File.getBlockMapIndex()); in dumpFileHeaders()
103 P.printNumber("NumDirectoryBlocks", File.getNumDirectoryBlocks()); in dumpFileHeaders()
104 P.printNumber("BlockMapOffset", File.getBlockMapOffset()); in dumpFileHeaders()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIFlagsSection.h84 void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P) { in setISALevelAndRevisionFromPredicates()
85 if (P.hasMips64()) { in setISALevelAndRevisionFromPredicates()
87 if (P.hasMips64r6()) in setISALevelAndRevisionFromPredicates()
89 else if (P.hasMips64r5()) in setISALevelAndRevisionFromPredicates()
91 else if (P.hasMips64r3()) in setISALevelAndRevisionFromPredicates()
93 else if (P.hasMips64r2()) in setISALevelAndRevisionFromPredicates()
97 } else if (P.hasMips32()) { in setISALevelAndRevisionFromPredicates()
99 if (P.hasMips32r6()) in setISALevelAndRevisionFromPredicates()
101 else if (P.hasMips32r5()) in setISALevelAndRevisionFromPredicates()
103 else if (P.hasMips32r3()) in setISALevelAndRevisionFromPredicates()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIFlagsSection.h86 void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P) { in setISALevelAndRevisionFromPredicates()
87 if (P.hasMips64()) { in setISALevelAndRevisionFromPredicates()
89 if (P.hasMips64r6()) in setISALevelAndRevisionFromPredicates()
91 else if (P.hasMips64r5()) in setISALevelAndRevisionFromPredicates()
93 else if (P.hasMips64r3()) in setISALevelAndRevisionFromPredicates()
95 else if (P.hasMips64r2()) in setISALevelAndRevisionFromPredicates()
99 } else if (P.hasMips32()) { in setISALevelAndRevisionFromPredicates()
101 if (P.hasMips32r6()) in setISALevelAndRevisionFromPredicates()
103 else if (P.hasMips32r5()) in setISALevelAndRevisionFromPredicates()
105 else if (P.hasMips32r3()) in setISALevelAndRevisionFromPredicates()
[all …]
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dtrivial_copy_move_ABI.pass.cpp87 typedef std::pair<int, short> P; in main() typedef
88 static_assert(std::is_copy_constructible<P>::value, ""); in main()
89 static_assert(HasTrivialABI<P>::value, ""); in main()
93 typedef std::pair<int, short> P; in main() typedef
94 static_assert(std::is_move_constructible<P>::value, ""); in main()
95 static_assert(HasTrivialABI<P>::value, ""); in main()
98 using P = std::pair<NonTrivialDtor, int>; in main() typedef
99 static_assert(!std::is_trivially_destructible<P>::value, ""); in main()
100 static_assert(std::is_copy_constructible<P>::value, ""); in main()
101 static_assert(!std::is_trivially_copy_constructible<P>::value, ""); in main()
[all …]
Dnon_trivial_copy_move_ABI.pass.cpp92 typedef std::pair<int, short> P; in main() typedef
93 static_assert(std::is_copy_constructible<P>::value, ""); in main()
94 static_assert(HasNonTrivialABI<P>::value, ""); in main()
98 typedef std::pair<int, short> P; in main() typedef
99 static_assert(std::is_move_constructible<P>::value, ""); in main()
100 static_assert(HasNonTrivialABI<P>::value, ""); in main()
103 using P = std::pair<NonTrivialDtor, int>; in main() typedef
104 static_assert(!std::is_trivially_destructible<P>::value, ""); in main()
105 static_assert(std::is_copy_constructible<P>::value, ""); in main()
106 static_assert(!std::is_trivially_copy_constructible<P>::value, ""); in main()
[all …]
/external/toybox/kconfig/
Dlkc_proto.h3 P(conf_parse,void,(const char *name));
4 P(conf_read,int,(const char *name));
5 P(conf_read_simple,int,(const char *name, int));
6 P(conf_write,int,(const char *name));
7 P(conf_write_autoconf,int,(void));
10 P(rootmenu,struct menu,);
12 P(menu_is_visible,bool,(struct menu *menu));
13 P(menu_get_prompt,const char *,(struct menu *menu));
14 P(menu_get_root_menu,struct menu *,(struct menu *menu));
15 P(menu_get_parent_menu,struct menu *,(struct menu *menu));
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_wm_iz.cpp36 #undef P /* prompted depth */
40 #define P 0 macro
52 { P, 0, 0, 0, 0 },
53 { P, 0, 0, 0, 0 },
54 { P, 0, 0, 0, 0 },
55 { P, 0, 0, 0, 0 },
56 { P, 0, 0, 0, 0 },
60 { P, 0, 0, 0, 0 },
61 { P, 0, 0, 0, 0 },
64 { P, 0, 0, 0, 0 },
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/
Dat.pass.cpp32 typedef std::pair<int, std::string> P; in main() typedef
33 P a[] = in main()
35 P(1, "one"), in main()
36 P(2, "two"), in main()
37 P(3, "three"), in main()
38 P(4, "four"), in main()
39 P(1, "four"), in main()
40 P(2, "four"), in main()
60 typedef std::pair<int, std::string> P; in main() typedef
61 P a[] = in main()
[all …]
/external/llvm/unittests/IR/
DUserTest.cpp72 PHINode &P = cast<PHINode>(ExitBB.front()); in TEST() local
73 EXPECT_TRUE(P.value_op_begin() == P.value_op_begin()); in TEST()
74 EXPECT_FALSE(P.value_op_begin() == P.value_op_end()); in TEST()
75 EXPECT_TRUE(P.value_op_begin() != P.value_op_end()); in TEST()
76 EXPECT_FALSE(P.value_op_end() != P.value_op_end()); in TEST()
77 EXPECT_TRUE(P.value_op_begin() < P.value_op_end()); in TEST()
78 EXPECT_FALSE(P.value_op_begin() < P.value_op_begin()); in TEST()
79 EXPECT_TRUE(P.value_op_end() > P.value_op_begin()); in TEST()
80 EXPECT_FALSE(P.value_op_begin() > P.value_op_begin()); in TEST()
81 EXPECT_TRUE(P.value_op_begin() <= P.value_op_begin()); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DBytesOutputStyle.cpp65 static SmallVector<StreamSpec, 2> parseStreamSpecs(LinePrinter &P) { in parseStreamSpecs() argument
71 P.formatLine("Error parsing stream spec {0}: {1}", Str, in parseStreamSpecs()
80 static void printHeader(LinePrinter &P, const Twine &S) { in printHeader() argument
81 P.NewLine(); in printHeader()
82 P.formatLine("{0,=60}", S); in printHeader()
83 P.formatLine("{0}", fmt_repeat('=', 60)); in printHeader()
87 : File(File), P(2, false, outs()) {} in BytesOutputStyle()
105 P.NewLine(); in dump()
121 P.NewLine(); in dump()
126 P.NewLine(); in dump()
[all …]
DDumpOutputStyle.cpp63 : File(File), P(2, false, outs()) {} in DumpOutputStyle()
72 P.NewLine(); in dump()
78 P.NewLine(); in dump()
84 P.NewLine(); in dump()
90 P.NewLine(); in dump()
96 P.NewLine(); in dump()
102 P.NewLine(); in dump()
193 static void printHeader(LinePrinter &P, const Twine &S) { in printHeader() argument
194 P.NewLine(); in printHeader()
195 P.formatLine("{0,=60}", S); in printHeader()
[all …]
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_verify_tests.txt5 # the digests have been extracted. P-521 test vectors were fixed to have the
8 Curve = P-224
15 Curve = P-224
23 Curve = P-224
31 Curve = P-224
38 Curve = P-224
46 Curve = P-224
54 Curve = P-224
62 Curve = P-224
70 Curve = P-224
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DVOPInstructions.td41 class VOP_Pseudo <string opName, string suffix, VOPProfile P, dag outs, dag ins,
53 VOPProfile Pfl = P;
84 class VOP3_Pseudo <string opName, VOPProfile P, list<dag> pattern = [],
86 VOP_Pseudo <opName, "_e64", P, P.Outs64,
88 P.InsVOP3OpSel,
89 !if(!and(isVOP3P, P.IsPacked), P.InsVOP3P, P.Ins64)),
93 let IsPacked = P.IsPacked;
96 P.AsmVOP3OpSel,
97 !if(!and(isVOP3P, P.IsPacked), P.AsmVOP3P, P.Asm64));
118 let FPClamp = P.HasFPClamp;
[all …]
/external/clang/test/SemaCXX/
Dwarn-cast-align.cpp4 void test0(char *P) { in test0() argument
7 a = (char*) P; in test0()
8 a = static_cast<char*>(P); in test0()
9 a = reinterpret_cast<char*>(P); in test0()
11 a = CharPtr(P); in test0()
13 …b = (short*) P; // expected-warning {{cast from 'char *' to 'short *' increases required alignment… in test0()
14 b = reinterpret_cast<short*>(P); in test0()
16 …b = ShortPtr(P); // expected-warning {{cast from 'char *' to 'ShortPtr' (aka 'short *') increases … in test0()
18 …c = (int*) P; // expected-warning {{cast from 'char *' to 'int *' increases required alignment fro… in test0()
19 c = reinterpret_cast<int*>(P); in test0()
[all …]

12345678910>>...180