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

/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOSubMemoryDescriptor.cpp115 IOByteCount actualLength; local
125 address = _parent->getPhysicalSegment( offset + _start, &actualLength, options );
128 *length = min( _length - offset, actualLength );
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
79 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength);
H A DItem.h72 // Return true if we got the attribute, false if we only got the actualLength.
73 void getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength);
74 void getClass(SecKeychainAttribute &attr, UInt32 *actualLength);
117 void getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength);
H A DSecKeychainItem.cpp311 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength) argument
314 /* The caller either needs to specify data and maxLength or an actualLength, so we return either the data itself or the actual length of the data or both. */
315 if (!((data && maxLength) || actualLength))
320 if (actualLength)
321 *actualLength = (UInt32)aData.length();
375 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength) argument
378 ItemImpl::required(itemRef)->getAttribute(RequiredParam(attribute), actualLength); local
H A DItem.cpp572 ItemImpl::getClass(SecKeychainAttribute &attr, UInt32 *actualLength) argument
575 if (actualLength)
576 *actualLength = sizeof(SecItemClass);
1010 ItemImpl::getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength) argument
1014 return getClass(attr, actualLength);
1021 getAttributeFrom(data, attr, actualLength);
1033 getAttributeFrom(&dbAttributes.at(0), attr, actualLength);
1037 ItemImpl::getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength) argument
1119 if (actualLength)
1120 *actualLength
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
79 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength);
H A DItem.h72 // Return true if we got the attribute, false if we only got the actualLength.
73 void getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength);
74 void getClass(SecKeychainAttribute &attr, UInt32 *actualLength);
117 void getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength);
H A DSecKeychainItem.cpp311 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength) argument
314 /* The caller either needs to specify data and maxLength or an actualLength, so we return either the data itself or the actual length of the data or both. */
315 if (!((data && maxLength) || actualLength))
320 if (actualLength)
321 *actualLength = (UInt32)aData.length();
375 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength) argument
378 ItemImpl::required(itemRef)->getAttribute(RequiredParam(attribute), actualLength); local
H A DItem.cpp572 ItemImpl::getClass(SecKeychainAttribute &attr, UInt32 *actualLength) argument
575 if (actualLength)
576 *actualLength = sizeof(SecItemClass);
1010 ItemImpl::getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength) argument
1014 return getClass(attr, actualLength);
1021 getAttributeFrom(data, attr, actualLength);
1033 getAttributeFrom(&dbAttributes.at(0), attr, actualLength);
1037 ItemImpl::getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength) argument
1119 if (actualLength)
1120 *actualLength
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
79 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength);
H A DItem.h72 // Return true if we got the attribute, false if we only got the actualLength.
73 void getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength);
74 void getClass(SecKeychainAttribute &attr, UInt32 *actualLength);
117 void getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength);
H A DSecKeychainItem.cpp311 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength) argument
314 /* The caller either needs to specify data and maxLength or an actualLength, so we return either the data itself or the actual length of the data or both. */
315 if (!((data && maxLength) || actualLength))
320 if (actualLength)
321 *actualLength = (UInt32)aData.length();
375 OSStatus SecKeychainItemGetAttribute(SecKeychainItemRef itemRef, SecKeychainAttribute* attribute, UInt32* actualLength) argument
378 ItemImpl::required(itemRef)->getAttribute(RequiredParam(attribute), actualLength); local
H A DItem.cpp572 ItemImpl::getClass(SecKeychainAttribute &attr, UInt32 *actualLength) argument
575 if (actualLength)
576 *actualLength = sizeof(SecItemClass);
1010 ItemImpl::getAttribute(SecKeychainAttribute& attr, UInt32 *actualLength) argument
1014 return getClass(attr, actualLength);
1021 getAttributeFrom(data, attr, actualLength);
1033 getAttributeFrom(&dbAttributes.at(0), attr, actualLength);
1037 ItemImpl::getAttributeFrom(CssmDbAttributeData *data, SecKeychainAttribute &attr, UInt32 *actualLength) argument
1119 if (actualLength)
1120 *actualLength
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DSSLRecordInternal.c50 size_t *actualLength,
56 *actualLength = 0;
60 *actualLength = dataLength;
70 size_t *actualLength,
76 *actualLength = 0;
80 *actualLength = dataLength;
49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DSSLRecordInternal.c50 size_t *actualLength,
56 *actualLength = 0;
60 *actualLength = dataLength;
70 size_t *actualLength,
76 *actualLength = 0;
80 *actualLength = dataLength;
49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DSSLRecordInternal.c50 size_t *actualLength,
56 *actualLength = 0;
60 *actualLength = dataLength;
70 size_t *actualLength,
76 *actualLength = 0;
80 *actualLength = dataLength;
49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dutrie2.cpp133 int32_t actualLength; local
182 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2;
184 actualLength+=tempTrie.dataLength*2;
186 actualLength+=tempTrie.dataLength*4;
188 if(length<actualLength) {
201 trie->length=actualLength;
229 *pActualLength=actualLength;
H A Dutrie.cpp936 int32_t actualLength, latin1Length, i, limit; local
954 actualLength=trie->indexLength*2;
956 actualLength+=trie->dataLength*2;
958 actualLength+=trie->dataLength*4;
962 if(length<actualLength) {
964 return actualLength;
1041 return actualLength;
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dspooftest.c183 int32_t actualLength = 0; local
203 sc2 = uspoof_openFromSerialized(buf, serializedSize+10, &actualLength, &status);
206 TEST_ASSERT_EQ(serializedSize, actualLength);
/macosx-10.10.1/IOGraphics-485/IONDRVSupport/
H A DIONDRVFramebuffer.cpp3574 IOByteCount actualLength = *length; local
3590 if (actualLength > kDDCBlockSize)
3591 actualLength = kDDCBlockSize;
3592 bcopy( ddcRec.ddcBlockData, data, actualLength);
3593 *length = actualLength;
3596 && (actualLength >= sizeof(EDID)))
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSCore/
H A DDNSCommon.c2442 mDNSu16 actualLength; local
2485 // (actualLength can be less than rdlength when domain name compression is used)
2486 actualLength = (mDNSu16)(endofrdata - ptr - 10);
2487 ptr[8] = (mDNSu8)(actualLength >> 8);
2488 ptr[9] = (mDNSu8)(actualLength & 0xFF);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_transform/
H A Dcustom.mm2009 NSNumber *actualLength = (NSNumber*)SecTransformGetAttribute(digest, kSecDigestLengthAttribute);
2010 STAssertTrue([actualLength intValue] != 0, @"Got zero length back");
2011 STAssertNotNil(actualLength, @"Expected to get a length");
2012 STAssertEqualObjects(actualLength, [digests objectForKey:digestType], @"Expected lengths to match for %@", digestType);
2021 STAssertEquals([actualLength intValue], (int)[output length], @"Actual output not expected length");

Completed in 162 milliseconds