Home
last modified time | relevance | path

Searched refs:dict2 (Results 1 – 3 of 3) sorted by relevance

/xnu-8019.80.24/iokit/Tests/ !
H A DTestCollections.cpp514 OSDictionary *dict1, *dict2; in testDictionary() local
675 dict2 = 0; in testDictionary()
690 dict2 = OSDictionary::withDictionary(dict1, numSymbols - 1); in testDictionary()
691 TEST_ASSERT('D', "4b", !dict2); in testDictionary()
692 dict2 = OSDictionary::withDictionary(dict1, numSymbols); in testDictionary()
694 TEST_ASSERT('D', "4e", dict2); in testDictionary()
695 if (dict2) { in testDictionary()
698 TEST_ASSERT('D', "4f", numSymbols == (int) dict2->getCount()); in testDictionary()
706 replacedObject = dict2->setObject(str, str); in testDictionary()
719 count1 += (str == dict2->__takeObject(sym)); in testDictionary()
[all …]
H A DTests.cpp770 OSSharedPtr<OSDictionary> dict2 = OSConstPtrCast<OSDictionary>(dict); in OSConstPtrCastTests() local
771 assert(dict2 == dict); in OSConstPtrCastTests()
775 OSSharedPtr<OSDictionary const> dict2 = OSConstPtrCast<OSDictionary const>(dict); in OSConstPtrCastTests() local
776 assert(dict2 == dict); in OSConstPtrCastTests()
780 OSSharedPtr<OSDictionary> dict2 = OSConstPtrCast<OSDictionary>(dict); in OSConstPtrCastTests() local
781 assert(dict2 == nullptr); in OSConstPtrCastTests()
785 OSSharedPtr<OSDictionary const> dict2 = OSConstPtrCast<OSDictionary const>(dict); in OSConstPtrCastTests() local
786 assert(dict2 == nullptr); in OSConstPtrCastTests()
793 OSSharedPtr<OSDictionary> dict2 = OSConstPtrCast<OSDictionary>(os::move(dict)); in OSConstPtrCastTests() local
795 assert(dict2 == oldDict); in OSConstPtrCastTests()
[all …]
/xnu-8019.80.24/libkdd/tests/ !
H A DTests.swift618 guard let dict2 = try? self.parseBuffer(buffer2) in testNested() variable
621 …XCTAssert(dict2.value(forKeyPath:"kcdata_crashinfo.kcdata_crashinfo.crashed_threadid") as? Int == … in testNested()
1300 guard let dict2 = opt_dict2 in testSampleStackshot() variable
1303 XCTAssertEqual(dict, dict2 as! NSDictionary); in testSampleStackshot()