/macosx-10.10/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonCryptoOutputLength.c | 17 testOutputLength(CCOperation op, CCMode mode, CCAlgorithm alg, size_t keyLength, CCPadding padding, size_t bufferPos, size_t inputLength, bool final, size_t expectedLen) 29 status = CCCryptorUpdate(cryptorRef, dataIn, bufferPos, dataOut, MAXOUT, &moved); 34 printf("bufferPos = %lu + inputLength = %lu Got %lu expected %lu\n", bufferPos, inputLength, retval, expectedLen); 59 for(size_t bufferPos=0; bufferPos<kCCBlockSizeAES128; bufferPos++) { 60 testOutputLength(kCCEncrypt, kCCModeCTR, kCCAlgorithmAES128, kCCKeySizeAES128, ccNoPadding, bufferPos, i, false, i); 66 for(size_t bufferPos=0; bufferPos<kCCBlockSizeAES12 [all...] |
/macosx-10.10/CommonCrypto-60061/libcn/ |
H A D | CommonBuffering.c | 18 retval->bufferPos = 0; 57 if(sizeFunc(ctx, bufRef->bufferPos + inLen) > outputAvailable) return kCNBufferTooSmall; 59 if(bufRef->bufferPos > 0) { 60 inputUsing = CC_XMIN(blocksize - bufRef->bufferPos, inputLen); 61 CC_XMEMCPY(&bufRef->buf[bufRef->bufferPos], in, inputUsing); 62 bufRef->bufferPos += inputUsing; 63 if(bufRef->bufferPos < blocksize) { 69 bufRef->bufferPos = 0; 84 bufRef->bufferPos = inputLen; 98 if(bufRef->bufferPos > [all...] |
H A D | CommonBufferingPriv.h | 32 size_t bufferPos; member in struct:CNBuffer_t
|
H A D | CommonBaseXX.c | 407 retval = encodeLen(coderRef, inLen + coderRef->base256buffer->bufferPos) + 1; 409 retval = decodeLen(coderRef, inLen + coderRef->baseXXbuffer->bufferPos); 483 if((encodeLen(coderRef, coderRef->baseXXbuffer->bufferPos)+1) > *outLen) {
|
/macosx-10.10/Security-57031.1.35/certificates/ota_cert_tool/ios_ota_cert_tool/ |
H A D | CommonBuffering.c | 18 retval->bufferPos = 0; 57 if(sizeFunc(ctx, bufRef->bufferPos + inLen) > outputAvailable) return kCNBufferTooSmall; 59 if(bufRef->bufferPos > 0) { 60 inputUsing = CC_XMIN(blocksize - bufRef->bufferPos, inputLen); 61 CC_XMEMCPY(&bufRef->buf[bufRef->bufferPos], in, inputUsing); 62 bufRef->bufferPos += inputUsing; 63 if(bufRef->bufferPos < blocksize) { 69 bufRef->bufferPos = 0; 84 bufRef->bufferPos = inputLen; 98 if(bufRef->bufferPos > [all...] |
H A D | CommonBufferingPriv.h | 32 size_t bufferPos; member in struct:CNBuffer_t
|
/macosx-10.10/ICU-531.30/icuSources/common/ |
H A D | normlzr.cpp | 36 buffer(), bufferPos(0) 45 buffer(), bufferPos(0) 54 buffer(), bufferPos(0) 63 buffer(copy.buffer), bufferPos(copy.bufferPos) 100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 111 bufferPos==that.bufferPos && 249 if(bufferPos<buffer.length() || nextNormalize()) { 250 return buffer.char32At(bufferPos); [all...] |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 220 ++(bufferPos); \ 242 uint16_t token, tokenCount=*tokens++, bufferPos=0; local 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 299 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 322 return bufferPos; 779 uint16_t i, factor, bufferPos=0; local 820 WRITE_CHAR(buffer, bufferLength, bufferPos, 854 uint16_t bufferPos=0; local [all...] |
/macosx-10.10/xnu-2782.1.97/libkern/c++/ |
H A D | OSSerializeBinary.cpp | 280 size_t bufferPos; local 291 bufferPos = sizeof(kOSSerializeBinarySignature); 292 next = (typeof(next)) (((uintptr_t) buffer) + bufferPos); 310 bufferPos += sizeof(*next); 311 if (!(ok = (bufferPos <= bufferSize))) break; 345 bufferPos += sizeof(long long); 346 if (bufferPos > bufferSize) break; 355 bufferPos += (wordLen * sizeof(uint32_t)); 356 if (bufferPos > bufferSize) break; 363 bufferPos [all...] |
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptor.c | 171 ref->bufferPos = 0; 275 ref->bufferPos = 0; 284 if(cryptor->padptr->encrypt_pad(cryptor->ctx[cryptor->op], cryptor->modeDesc, cryptor->symMode[cryptor->op], cryptor->buffptr, cryptor->bufferPos, buf, moved)) return kCCAlignmentError; 289 if(cryptor->padptr->decrypt_pad(cryptor->ctx[cryptor->op], cryptor->modeDesc, cryptor->symMode[cryptor->op], cryptor->buffptr, cryptor->bufferPos, buf, moved)) return kCCAlignmentError; 298 size_t totalLen = cryptor->bufferPos + inputLength; 315 CC_XMEMCPY((char *) cryptor->buffptr + cryptor->bufferPos, dataIn, dataInLength); 316 cryptor->bufferPos += dataInLength; 542 size_t dataCount = cryptor->bufferPos + dataInLength; 550 if(reserve == 0 && cryptor->bufferPos == 0 && (dataInLength % blocksize) == 0) { // No Padding, not buffering, even blocks 576 if(cryptor->bufferPos [all...] |
H A D | CommonCryptorPriv.h | 75 size_t bufferPos; member in struct:_CCCryptor
|
/macosx-10.10/WebCore-7600.1.25/plugins/ |
H A D | PluginDatabase.cpp | 558 char* bufferPos = fileContents.data() + 1; local 565 while (bufferPos < end) { 571 if (!(readUTF8String(path, bufferPos, end) 572 && readTime(lastModified, bufferPos, end) 573 && readUTF8String(name, bufferPos, end) 574 && readUTF8String(desc, bufferPos, end) 575 && readUTF8String(mimeDesc, bufferPos, end))) {
|
/macosx-10.10/WebCore-7600.1.25/platform/ |
H A D | URL.cpp | 474 char* bufferPos = parseBuffer.data(); local 475 char* bufferStart = bufferPos; 484 *bufferPos++ = *baseStringStart++; 485 char* bufferPathStart = bufferPos; 497 *bufferPos++ = '/'; 499 bufferPos += copyPathRemovingDots(bufferPos, baseStringStart, 0, baseStringEnd - baseStringStart); 506 if (relStringPos[0] == '.' && bufferPos[-1] == '/') { 521 if (bufferPos > bufferPathStart + 1) 522 bufferPos [all...] |
/macosx-10.10/IOKitUser-1050.1.21/ |
H A D | IOCFSerialize.c | 1153 size_t bufferPos; local 1166 bufferPos = sizeof(kOSSerializeBinarySignature); 1185 bufferPos += sizeof(*next); 1186 if (!(ok = (bufferPos <= bufferSize))) break; 1222 bufferPos += sizeof(long long); 1223 if (bufferPos > bufferSize) break; 1238 bufferPos += (wordLen * sizeof(uint32_t)); 1239 if (bufferPos > bufferSize) break; 1251 bufferPos += (wordLen * sizeof(uint32_t)); 1252 if (bufferPos > bufferSiz [all...] |
/macosx-10.10/ICU-531.30/icuSources/common/unicode/ |
H A D | normlzr.h | 757 int32_t bufferPos; member in class:Normalizer
|