/third_party/libxml2/ |
D | backport-malloc-fail-Fix-memory-leak-after-calling-xmlXPathNodeSetMerge.patch | 126 * Returns @set1 once extended or NULL in case of error. 128 + * Frees @set1 in case of error. 131 xmlXPathNodeSetMergeAndClear(xmlNodeSetPtr set1, xmlNodeSetPtr set2) 132 @@ -3989,7 +3973,6 @@ xmlXPathNodeSetMergeAndClear(xmlNodeSetPtr set1, xmlNodeSetPtr set2) 140 @@ -4003,7 +3986,7 @@ xmlXPathNodeSetMergeAndClear(xmlNodeSetPtr set1, xmlNodeSetPtr set2) 142 if (set1->nodeTab == NULL) { 147 memset(set1->nodeTab, 0, 149 @@ -4013,24 +3996,29 @@ xmlXPathNodeSetMergeAndClear(xmlNodeSetPtr set1, xmlNodeSetPtr set2) 151 if (set1->nodeMax >= XPATH_MAX_NODESET_LENGTH) { 157 set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr)); [all …]
|
/third_party/gn/src/gn/ |
D | pointer_set_unittest.cc | 38 TestPointerSet set1(kFullList.begin(), kFullList.end()); in TEST() local 39 TestPointerSet set2(set1); in TEST() 40 set1.clear(); in TEST() 41 EXPECT_TRUE(set1.empty()); in TEST() 50 TestPointerSet set1(kFullList.begin(), kFullList.end()); in TEST() local 51 TestPointerSet set2(std::move(set1)); in TEST() 52 EXPECT_TRUE(set1.empty()); in TEST() 125 TestPointerSet set1(kFullList.begin(), kFullList.end()); in TEST() local 128 set1.insert(set2); in TEST() 129 EXPECT_EQ(3u, set1.size()); in TEST() [all …]
|
/third_party/toybox/toys/pending/ |
D | tr.c | 36 static void map_translation(char *set1 , char *set2) in map_translation() argument 41 for (; i; i--, k++) TT.map[set1[k]] = set1[k]|0x100; //set delete bit in map_translation() 45 TT.map[set1[k]] = TT.map[set1[k]]|0x200; in map_translation() 51 TT.map[set1[i]] = ((TT.map[set1[i]] & 0xFF00) | set2[k]); in map_translation() 211 static void print_map(char *set1, char *set2) in print_map() argument 247 char *set1, *set2 = NULL; in tr_main() local 252 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main() 253 if (toys.optflags & FLAG_c) do_complement(&set1); in tr_main() 258 map_translation(set1, set2); in tr_main() 260 print_map(set1, set2); in tr_main() [all …]
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
D | CMakeLists.txt | 21 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid 11 26 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec384 31 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec512 39 COMMAND lws-crypto-cose-sign -k set1.cks 46 COMMAND lws-crypto-cose-sign -k set1.cks 53 COMMAND lws-crypto-cose-sign -k set1.cks --cose-sign 79 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid our-secret 84 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-48 89 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-64 94 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid our-secret [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBUnknownFieldSetTest.m | 72 GPBUnknownFieldSet *set1 = [[[GPBUnknownFieldSet alloc] init] autorelease]; 73 XCTAssertTrue([set1 isEqual:set1]); 74 XCTAssertFalse([set1 isEqual:@"foo"]); 76 XCTAssertEqualObjects(set1, set2); 77 XCTAssertEqual([set1 hash], [set2 hash]); 83 [set1 addField:field1]; 84 XCTAssertNotEqualObjects(set1, set2); 88 XCTAssertEqualObjects(set1, set2); 89 XCTAssertEqual([set1 hash], [set2 hash]); 95 [set1 addField:field1]; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | node_hash_set_test.cc | 61 absl::node_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local 62 set1.insert(absl::make_unique<int>(7)); in TEST() 63 set1.insert(absl::make_unique<int>(17)); in TEST() 68 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(7), Pointee(17))); in TEST() 71 set1.merge(set2); in TEST() 73 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(7), Pointee(17), Pointee(19))); in TEST() 76 auto node = set1.extract(absl::make_unique<int>(7)); in TEST() 79 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(17), Pointee(19))); in TEST() 90 node = set1.extract(absl::make_unique<int>(17)); in TEST() 93 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(19))); in TEST()
|
D | flat_hash_set_test.cc | 96 absl::flat_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local 97 set1.insert(absl::make_unique<int>(7)); in TEST() 98 set1.insert(absl::make_unique<int>(17)); in TEST() 103 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(7), Pointee(17))); in TEST() 106 set1.merge(set2); in TEST() 108 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(7), Pointee(17), Pointee(19))); in TEST() 111 auto node = set1.extract(absl::make_unique<int>(7)); in TEST() 114 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(17), Pointee(19))); in TEST() 125 node = set1.extract(absl::make_unique<int>(17)); in TEST() 128 EXPECT_THAT(set1, UnorderedElementsAre(Pointee(19))); in TEST()
|
D | node_hash_map_test.cc | 162 set1, set2; in TEST() local 163 set1.emplace(std::piecewise_construct, std::make_tuple(7), in TEST() 165 set1.emplace(std::piecewise_construct, std::make_tuple(17), in TEST() 177 EXPECT_THAT(set1, UnorderedElementsAre(Elem(7, -7), Elem(17, -17))); in TEST() 183 set1.merge(set2); in TEST() 185 EXPECT_THAT(set1, in TEST() 189 auto node = set1.extract(7); in TEST() 193 EXPECT_THAT(set1, UnorderedElementsAre(Elem(17, -17), Elem(19, -190))); in TEST() 204 node = set1.extract(17); in TEST() 208 EXPECT_THAT(set1, UnorderedElementsAre(Elem(19, -190))); in TEST()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
D | 10-1.c | 20 sigset_t set1, set2; in main() local 23 sigemptyset(&set1); in main() 25 sigaddset(&set1, SIGKILL); in main() 26 sigaddset(&set1, SIGSTOP); in main() 27 sigprocmask_return_val = sigprocmask(SIG_SETMASK, &set1, NULL); in main()
|
D | 6-1.c | 28 sigset_t set1, set2, pending_set; in main() local 30 sigemptyset(&set1); in main() 31 sigaddset(&set1, SIGABRT); in main() 32 sigaddset(&set1, SIGUSR2); in main() 53 if (sigprocmask(SIG_SETMASK, &set1, NULL) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 10-1.c | 21 sigset_t set1, set2; in a_thread_func() local 24 sigemptyset(&set1); in a_thread_func() 26 sigaddset(&set1, SIGKILL); in a_thread_func() 27 sigaddset(&set1, SIGSTOP); in a_thread_func() 28 pthread_sigmask_return_val = pthread_sigmask(SIG_SETMASK, &set1, NULL); in a_thread_func()
|
D | 6-1.c | 45 sigset_t set1, set2, pending_set; in a_thread_func() local 47 sigemptyset(&set1); in a_thread_func() 48 sigaddset(&set1, SIGABRT); in a_thread_func() 49 sigaddset(&set1, SIGALRM); in a_thread_func() 70 if (pthread_sigmask(SIG_SETMASK, &set1, NULL) == -1) { in a_thread_func()
|
/third_party/typescript/tests/baselines/reference/ |
D | computedPropertyNames36_ES6.symbols | 24 set ["set1"](p: Foo2) { } 25 >["set1"] : Symbol(C["set1"], Decl(computedPropertyNames36_ES6.ts, 7, 37)) 26 >"set1" : Symbol(C["set1"], Decl(computedPropertyNames36_ES6.ts, 7, 37))
|
D | computedPropertyNames36_ES5.symbols | 24 set ["set1"](p: Foo2) { } 25 >["set1"] : Symbol(C["set1"], Decl(computedPropertyNames36_ES5.ts, 7, 37)) 26 >"set1" : Symbol(C["set1"], Decl(computedPropertyNames36_ES5.ts, 7, 37))
|
D | computedPropertyNames37_ES6.symbols | 24 set ["set1"](p: Foo2) { } 25 >["set1"] : Symbol(C["set1"], Decl(computedPropertyNames37_ES6.ts, 7, 37)) 26 >"set1" : Symbol(C["set1"], Decl(computedPropertyNames37_ES6.ts, 7, 37))
|
D | computedPropertyNames37_ES5.symbols | 24 set ["set1"](p: Foo2) { } 25 >["set1"] : Symbol(C["set1"], Decl(computedPropertyNames37_ES5.ts, 7, 37)) 26 >"set1" : Symbol(C["set1"], Decl(computedPropertyNames37_ES5.ts, 7, 37))
|
D | computedPropertyNames44_ES6.symbols | 28 set ["set1"](p: Foo) { } 29 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames44_ES6.ts, 8, 19)) 30 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames44_ES6.ts, 8, 19))
|
D | computedPropertyNames43_ES5.symbols | 29 set ["set1"](p: Foo2) { } 30 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames43_ES5.ts, 9, 37)) 31 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames43_ES5.ts, 9, 37))
|
D | computedPropertyNames43_ES6.symbols | 29 set ["set1"](p: Foo2) { } 30 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames43_ES6.ts, 9, 37)) 31 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames43_ES6.ts, 9, 37))
|
D | computedPropertyNames44_ES5.symbols | 28 set ["set1"](p: Foo) { } 29 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames44_ES5.ts, 8, 19)) 30 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames44_ES5.ts, 8, 19))
|
D | computedPropertyNames45_ES6.symbols | 29 set ["set1"](p: Foo) { } 30 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames45_ES6.ts, 9, 22)) 31 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames45_ES6.ts, 9, 22))
|
D | computedPropertyNames45_ES5.symbols | 29 set ["set1"](p: Foo) { } 30 >["set1"] : Symbol(D["set1"], Decl(computedPropertyNames45_ES5.ts, 9, 22)) 31 >"set1" : Symbol(D["set1"], Decl(computedPropertyNames45_ES5.ts, 9, 22))
|
D | computedPropertyNames36_ES5.types | 24 set ["set1"](p: Foo2) { } 25 >["set1"] : Foo2 26 >"set1" : "set1"
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1538 UnicodeSet set1 = new UnicodeSet("[a-b d-g {ch} {zh}]").freeze(); in TestGenerics() local 1549 for (UnicodeSetIterator it = new UnicodeSetIterator(set1); it.next();) { in TestGenerics() 1554 for (String s : set1) { in TestGenerics() 1561 set1.addAllTo(list1); in TestGenerics() 1564 list1 = set1.addAllTo(new ArrayList<String>()); in TestGenerics() 1571 TreeSet sorted1 = set1.addAllTo(new TreeSet<String>()); in TestGenerics() 1576 assertTrue("containsAll", set1.containsAll(list1)); in TestGenerics() 1577 assertTrue("containsAll", set1.containsAll(sorted1)); in TestGenerics() 1578 assertTrue("containsAll", set1.containsAll(list2)); in TestGenerics() 1579 assertTrue("containsAll", set1.containsAll(sorted2)); in TestGenerics() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1524 UnicodeSet set1 = new UnicodeSet("[a-b d-g {ch} {zh}]").freeze(); in TestGenerics() local 1535 for (UnicodeSetIterator it = new UnicodeSetIterator(set1); it.next();) { in TestGenerics() 1540 for (String s : set1) { in TestGenerics() 1547 set1.addAllTo(list1); in TestGenerics() 1550 list1 = set1.addAllTo(new ArrayList<String>()); in TestGenerics() 1557 TreeSet sorted1 = set1.addAllTo(new TreeSet<String>()); in TestGenerics() 1562 assertTrue("containsAll", set1.containsAll(list1)); in TestGenerics() 1563 assertTrue("containsAll", set1.containsAll(sorted1)); in TestGenerics() 1564 assertTrue("containsAll", set1.containsAll(list2)); in TestGenerics() 1565 assertTrue("containsAll", set1.containsAll(sorted2)); in TestGenerics() [all …]
|