Searched refs:getLength (Results 1 - 25 of 27) sorted by relevance

12

/darwin-on-arm/xnu/libkern/c++/Tests/TestSerialization/test2/
H A Dtest2_main.cpp142 IOLog("serialized object's length = %d, capacity = %d\n", s->getLength(), s->getCapacity());
158 s2->getLength(), s2->getCapacity());
/darwin-on-arm/xnu/iokit/bsddev/
H A DDINetBootHook.cpp231 if (!data || (data->getLength() != sizeof(uint64_t)))
239 if (!data || (data->getLength() == 0) ||
240 ((data->getLength() & (sizeof(IOAddressRange)-1)) != 0))
248 extentCount = extentData->getLength() / sizeof(IOAddressRange);
H A DIOKitBSDInit.cpp636 *packet_length = data->getLength();
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMultiMemoryDescriptor.cpp124 _length += descriptors[index]->getLength();
230 if ( offset < _descriptors[index]->getLength() )
234 offset -= _descriptors[index]->getLength();
H A DIODeviceTreeSupport.cpp263 propSize = propObj->getLength();
304 defaultSize = defaultObj->getLength();
432 && (4 == data->getLength())) {
447 && (sizeof(UInt32) <= (len = data->getLength()))) {
509 if( data && (data->getLength() >= (acells * sizeof(UInt32))))
537 endMap = map + (data->getLength() / sizeof(UInt32));
539 if( data && (data->getLength() >= ((acells + icells) * sizeof(UInt32))))
676 localEnd = localBits + (local->getLength() / sizeof(UInt32));
790 lastName = names + data->getLength();
793 lastName = names + string->getLength()
[all...]
H A DIONVRAM.cpp347 tmpString->getLength());
852 tmpDataLength = tmpString->getLength();
1089 propNameLength = propSymbol->getLength();
1107 if (tmpString != 0) propDataLength = tmpString->getLength();
1114 propDataLength = tmpData->getLength();
1213 bootCommandDataLength = bootCommand->getLength();
1233 bootArgsDataLength = bootArgs->getLength();
1362 nameLength = name->getLength();
1363 dataLength = value->getLength();
1450 endPtr = wherePtr + value->getLength();
[all...]
H A DIOPlatformExpert.cpp700 len = ((OSData *)inObj)->getLength();
865 *len = data->getLength();
944 if ( data1 && data1->getLength( ) == 8 )
949 if ( data2 && data2->getLength( ) == 4 )
957 SHA1Update( &context, data1->getBytesNoCopy( ), data1->getLength( ) );
958 SHA1Update( &context, data2->getBytesNoCopy( ), data2->getLength( ) );
976 if ( data && data->getLength( ) == 16 )
984 SHA1Update( &context, data->getBytesNoCopy( ), data->getLength( ) );
1004 if ( data && data->getLength( ) == sizeof( uuid_t ) )
1321 serialNumberSize = myProperty->getLength();
[all...]
H A DIOSubMemoryDescriptor.cpp64 if( parent && ((offset + length) > parent->getLength()))
H A DIOInterleavedMemoryDescriptor.cpp134 if ( (offset + length) > descriptor->getLength() )
H A DIOMemoryCursor.cpp128 IOByteCount inDescriptorLength = inDescriptor->getLength();
H A DIORegistryEntry.cpp903 len = plane->nameKey->getLength();
911 aliasLen = alias->getLength();
955 len = plane->nameKey->getLength() + 1;
958 compLen = alias->getLength();
1135 || (bestKey->getLength() > key->getLength()))
1605 keysuffix = key->getLength();
H A DIOHibernateIO.cpp251 remaining = length = min(length, md->getLength() - offset);
289 remaining = length = min(length, md->getLength() - offset);
640 vars->bufferSize = ioBuffer->getLength() >> 1;
782 if ((extentsData->getLength() >= sizeof(IOPolledFileExtent)))
1415 loadOptionHeader.FilePathLength = data->getLength();
2146 count = vars->fileExtents->getLength() / sizeof(IOPolledFileExtent);
2180 count = vars->fileExtents->getLength();
2285 count = vars->previewBuffer->getLength();
2566 count = vars->fileExtents->getLength();
H A DIOUserClient.cpp2208 len = data->getLength();
2212 len = str->getLength() + 1;
2270 len = s->getLength();
2312 len = s->getLength();
2343 len = s->getLength();
2914 len = serialize->getLength();
2920 len = data->getLength();
4161 size = s->getLength();
4283 ? args->structureInputDescriptor->getLength() : args->structureInputSize)))
4297 ? args->structureOutputDescriptor->getLength()
[all...]
H A DIOMemoryDescriptor.cpp170 (((osd)->getLength() - ((char *) getIOPLList(d) - (char *) d)) / sizeof(ioPLBlock))
981 * getLength:
985 IOByteCount IOMemoryDescriptor::getLength() const function in class:IOMemoryDescriptor
1742 data->fLength = getLength();
1981 remaining = length = min(length, getLength() - offset);
2865 if( (_offset + fLength) > _memory->getLength())
3506 IOByteCount IOMemoryMap::getLength()
3678 0, getLength() ));
3686 0, getLength() ));
3719 length = getLength();
[all...]
H A DIOPMrootDomain.cpp1375 (data->getLength() == sizeof(IOPMCalendarStruct)))
1558 count = aggressivesData->getLength() / sizeof(AggressivesRecord);
1659 count = aggressivesData->getLength() / sizeof(AggressivesRecord);
1735 count = aggressivesData->getLength() / sizeof(AggressivesRecord);
3851 if (!policyData || (policyData->getLength() <= sizeof(IOPMSystemSleepPolicyTable)))
3859 if (((policyData->getLength() - sizeof(IOPMSystemSleepPolicyTable)) !=
/darwin-on-arm/xnu/iokit/Tests/
H A DTestContainers.cpp142 TEST_ASSERT('d', "1b", !test1->getLength());
147 TEST_ASSERT('d', "1g", !test1->getLength());
159 TEST_ASSERT('d', "2b", !test1->getLength());
162 TEST_ASSERT('d', "2e", test1->getLength() == DATA_SIZE_1);
187 TEST_ASSERT('d', "3b", test1->getLength() == sizeof(testData));
192 TEST_ASSERT('d', "3g", test1->getLength() == sizeof(testData));
208 TEST_ASSERT('d', "4b", !test1->getLength());
267 TEST_ASSERT('s', "1d", strlen(testC00) == test1->getLength());
/darwin-on-arm/xnu/libkern/c++/Tests/TestSerialization/test1/
H A Dtest1_main.cpp83 IOLog("serialized object's length = %d, capacity = %d\n", s->getLength(), s->getCapacity());
/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSSerialize.h275 virtual unsigned int getLength() const;
H A DOSString.h269 * @function getLength
277 virtual unsigned int getLength() const;
H A DOSData.h379 * @function getLength
387 virtual unsigned int getLength() const;
/darwin-on-arm/xnu/libkern/c++/
H A DOSString.cpp174 unsigned int OSString::getLength() const { return length - 1; } function in class:OSString
232 unsigned int dataLen = obj->getLength ();;
H A DOSSerialize.cpp190 unsigned int OSSerialize::getLength() const { return length; } function in class:OSSerialize
H A DOSData.cpp209 unsigned int OSData::getLength() const { return length; } function in class:OSData
359 stringLen = obj->getLength ();
H A DOSKext.cpp1998 if (bundleID->getLength() >= KMOD_MAX_NAME) {
2274 mkextLength = mkextData->getLength();
2353 mkextLength = mkextData->getLength();
2681 mkextLength = mkextData->getLength();
3406 logInfoLength = serializer->getLength();
3500 thisKext->linkedExecutable->getLength();
3817 if (extractedExecutable && extractedExecutable->getLength()) {
3959 *loadSize = linkedExecutable->getLength();
4975 kxlddeps[i].kext_size = interfaceTarget->getLength();
4979 kxlddeps[i].interface_size = dependency->linkedExecutable->getLength();
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryDescriptor.h459 /*! @function getLength
464 virtual IOByteCount getLength() const;
696 /*! @function getLength
701 virtual IOByteCount getLength();
997 return (getLength());

Completed in 207 milliseconds

12