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

/macosx-10.9.5/xar-202/xar/lib/
H A Db64.h10 unsigned char* xar_from_base64(const unsigned char* input, size_t inputLength, size_t *outputLength);
H A Db64.c187 unsigned char* xar_from_base64(const unsigned char* input, size_t inputLength, size_t *outputLength) argument
195 output = malloc(3 * (inputLength / 4 + 1));
198 err = raw_base64_decode(input, output, inputLength, outputLength);
/macosx-10.9.5/WebCore-7537.78.1/platform/text/
H A DQuotedPrintable.cpp42 static size_t lengthOfLineEndingAtIndex(const char* input, size_t inputLength, size_t index) argument
44 ASSERT_WITH_SECURITY_IMPLICATION(index < inputLength);
49 if ((index + 1) == inputLength || input[index + 1] != '\n')
62 void quotedPrintableEncode(const char* input, size_t inputLength, Vector<char>& out)
65 out.reserveCapacity(inputLength);
67 for (size_t i = 0; i < inputLength; ++i) {
68 bool isLastCharacter = (i == inputLength - 1);
76 if (!requiresEncoding && (currentCharacter == '\t' || currentCharacter == ' ') && (isLastCharacter || lengthOfLineEndingAtIndex(input, inputLength, i + 1)))
81 size_t lengthOfLineEnding = lengthOfLineEndingAtIndex(input, inputLength, i);
/macosx-10.9.5/ICU-511.35/icuSources/samples/csdet/
H A Dcsdet.c29 int32_t inputLength, match, matchCount = 0; local
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
52 ucsdet_setText(csd, buffer, inputLength, &status);
/macosx-10.9.5/WebCore-7537.78.1/platform/network/
H A DParsedContentType.cpp59 unsigned inputLength = input.length(); local
63 if (tokenEnd >= inputLength)
66 while (tokenEnd < inputLength) {
77 unsigned inputLength = input.length(); local
81 if (quotedStringEnd >= inputLength)
84 if (input[quotedStringEnd++] != '"' || quotedStringEnd >= inputLength)
90 if (quotedStringEnd >= inputLength)
/macosx-10.9.5/WebCore-7537.78.1/platform/text/mac/
H A DTextCodecMac.h50 OSStatus decode(const unsigned char* inputBuffer, int inputBufferLength, int& inputLength,
H A DTextCodecMac.cpp132 OSStatus TextCodecMac::decode(const unsigned char* inputBuffer, int inputBufferLength, int& inputLength, argument
193 inputLength = bytesRead; member in namespace:WebCore
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/utfperf/
H A Dutfperf.cpp86 int32_t inputLength; local
87 UPerfTest::getBuffer(inputLength, status);
124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()),
145 int32_t inputLength; member in class:Command
175 pInLimit=input+inputLength;
210 if(inputLength!=outputLength) {
211 fprintf(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength);
239 pInLimit=input+inputLength;
/macosx-10.9.5/WebCore-7537.78.1/html/
H A DDOMTokenList.cpp198 unsigned inputLength = input.length(); local
200 output.reserveCapacity(inputLength);
204 while (position < inputLength) {
212 while (position < inputLength && isNotHTMLSpace(input[position]))
218 while (position < inputLength && isHTMLSpace(input[position]))
228 if (position < inputLength && !output.isEmpty())
/macosx-10.9.5/CommonCrypto-60049/lib/
H A DcorecryptoSymmetricBridge.c454 static size_t ccpkcs7_padlen(int encrypting, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, size_t inputLength, bool final) argument
459 if(encrypting) retval = cc_round_down_by_blocksize(modeptr, modeObj, inputLength+modeptr->mode_get_block_size(modeObj)); // round up to blocksize
460 else retval = inputLength; // largest would be inputLength - 1 actually.
462 if(encrypting) retval = cc_round_down_by_blocksize(modeptr, modeObj, inputLength); // round down to blocksize
464 if(inputLength && (inputLength % modeptr->mode_get_block_size(modeObj) == 0)) inputLength--;
465 retval = cc_round_down_by_blocksize(modeptr, modeObj, inputLength);
548 static size_t ccctsX_padlen(int encrypting, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, size_t inputLength, boo argument
613 ccnopad_padlen(int encrypting, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, size_t inputLength, bool final) argument
[all...]
H A DCommonCryptor.c291 static inline size_t ccGetPadOutputlen(CCCryptor *cryptor, size_t inputLength, bool final) { argument
292 size_t totalLen = cryptor->bufferPos + inputLength;
640 static inline size_t ccGetOutputLength(CCCryptor *cryptor, size_t inputLength, bool final) { argument
641 if(ccIsStreaming(cryptor)) return inputLength;
642 return ccGetPadOutputlen(cryptor, inputLength, final);
647 size_t inputLength,
653 return ccGetOutputLength(cryptor, inputLength, final);
645 CCCryptorGetOutputLength( CCCryptorRef cryptorRef, size_t inputLength, bool final) argument
H A DcorecryptoSymmetricBridge.h218 typedef size_t (*ccpadlen_p) (int encrypt, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, size_t inputLength, bool final);
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/utrie2perf/
H A Dutrie2perf.cpp55 int32_t inputLength; local
56 UPerfTest::getBuffer(inputLength, status);
57 if(U_SUCCESS(status) && inputLength>0) {
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonCryptoOutputLength.c17 testOutputLength(CCOperation op, CCMode mode, CCAlgorithm alg, size_t keyLength, CCPadding padding, size_t bufferPos, size_t inputLength, bool final, size_t expectedLen)
31 retval = CCCryptorGetOutputLength(cryptorRef, inputLength, final);
34 printf("bufferPos = %lu + inputLength = %lu Got %lu expected %lu\n", bufferPos, inputLength, retval, expectedLen);
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Ddictbe.cpp762 size_t inputLength = rangeEnd - rangeStart; local
764 AutoBuffer<UChar, defaultInputLength> charString(inputLength);
770 utext_extract(text, rangeStart, rangeEnd, charString.elems(), inputLength, &status);
775 UnicodeString inputString(charString.elems(), inputLength);
783 AutoBuffer<int32_t, defaultInputLength> charPositions(inputLength + 1);
803 Normalizer normalizer(charString.elems(), inputLength, norm_mode);
/macosx-10.9.5/WebCore-7537.78.1/Modules/websockets/
H A DWebSocketDeflater.cpp77 static void setStreamParameter(z_stream* stream, const char* inputData, size_t inputLength, char* outputData, size_t outputLength) argument
80 stream->avail_in = inputLength;
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/unisetperf/
H A Dunisetperf.cpp59 int32_t inputLength; local
60 UPerfTest::getBuffer(inputLength, status);
61 if(U_SUCCESS(status) && inputLength>0) {
/macosx-10.9.5/CommonCrypto-60049/include/
H A DCommonCryptor.h513 @param inputLength The length of data which will be provided to
516 output buffer space needed when 'inputLength'
520 'inputLength' bytes are provided to
542 size_t inputLength,
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Plugins/Netscape/mac/
H A DNetscapePluginMac.mm984 ByteCount inputLength = string.length() * sizeof(UniChar);
990 OSStatus status = ConvertFromUnicodeToText(textInfo, inputLength, string.characters(), kNilOptions, 0, 0, 0, 0, maxOutputLength, &inputRead, &outputLength, outputData.data());
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Ddecimfmt.cpp2855 int32_t inputLength = input.length(); local
2882 while (pos < inputLength &&
2917 if (pos < inputLength &&
2945 if (i >= affixLength || pos >= inputLength) {
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dregextst.cpp4308 int32_t inputLength; local
4501 inputLength = matchString.extract(inputChars, inputCapacity, UTF8Converter.getAlias(), status);
4505 inputCapacity = inputLength + 1;
4509 utext_openUTF8(&inputText, inputChars, inputLength, &status);

Completed in 266 milliseconds