Searched refs:DATA_SIZE_1 (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10/xnu-2782.1.97/iokit/Tests/
H A DTestContainers.cpp116 #define DATA_SIZE_1 256 macro
129 test1 = OSData::withCapacity(DATA_SIZE_1);
139 test1 = OSData::withCapacity(DATA_SIZE_1);
143 TEST_ASSERT('d', "1c", test1->getCapacity() == DATA_SIZE_1);
145 TEST_ASSERT('d', "1e", !test1->getBytesNoCopy(10, DATA_SIZE_1 - 10));
148 TEST_ASSERT('d', "1h", test1->getCapacity() == DATA_SIZE_1);
156 test1 = OSData::withCapacity(DATA_SIZE_1);
161 TEST_ASSERT('d', "2d", test1->appendBytes(testData, DATA_SIZE_1));
162 TEST_ASSERT('d', "2e", test1->getLength() == DATA_SIZE_1);
165 for (i = 0; cp && i < (DATA_SIZE_1/sizeo
244 #undef DATA_SIZE_1 macro
[all...]

Completed in 107 milliseconds