/macosx-10.9.5/Heimdal-323.92.1/lib/asn1/ |
H A D | der_free.c | 96 k->length = 0; 104 k->length = 0; 119 k->length = 0; 127 k->length = 0; 135 k->length = 0; 143 k->length = 0;
|
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/mech/ |
H A D | gss_import_sec_context.c | 52 len = interprocess_token->length; 55 mech_oid.length = (p[0] << 8) | p[1]; 56 if (len < mech_oid.length + 2) 59 buf.length = len - 2 - mech_oid.length; 60 buf.value = p + 2 + mech_oid.length;
|
/macosx-10.9.5/ICU-511.35/icuSources/common/ |
H A D | ubidiln.c | 42 * Only if the length of the text is zero, then levels==dirProps==NULL. 62 * length is <2, then this uses more memory. 67 * if it is less than length, then there is an implicit trailing run 99 int32_t start=pBiDi->length; 104 Setting trailingWSStart to pBidi->length will avoid changing the 109 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */ 132 int32_t length; local 138 RETURN_VOID_IF_BAD_RANGE(limit, 0, pParaBiDi->length+1, *pErrorCode); 153 length=pLineBiDi->length 266 int32_t start, length; local 524 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; local 567 int32_t length=pBiDi->length, limit; local 714 prepareReorder(const UBiDiLevel *levels, int32_t length, int32_t *indexMap, UBiDiLevel *pMinLevel, UBiDiLevel *pMaxLevel) argument 754 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) argument 817 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) argument 899 int32_t i, visualStart=0, offset, length; local 926 int32_t i, length, insertRemove; local 946 int32_t i, j, start, limit, length, insertRemove; local 1014 int32_t visualStart=0, length; local 1041 int32_t controlFound=0, insertRemove, length; local 1153 int32_t length, insertRemove; local 1176 int32_t length, insertRemove; local 1283 int32_t insertRemove, length, i, j, k, m; local 1323 ubidi_invertMap(const int32_t *srcMap, int32_t *destMap, int32_t length) argument [all...] |
H A D | ucnvdisp.c | 40 int32_t length; local 60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); 68 u_memcpy(displayName, name, uprv_min(length, displayNameCapacity)*U_SIZEOF_UCHAR); 71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); 72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity)); 74 return u_terminateUChars(displayName, displayNameCapacity, length, pErrorCode);
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_2/RegExp/ |
H A D | octal-003.js | 51 str_regexp + ".exec(" + str_pattern +").length", 52 matches_array.length, 53 regexp.exec(pattern).length ); 70 var limit = matches_array.length > regexp.exec(pattern).length 71 ? matches_array.length 72 : regexp.exec(pattern).length;
|
/macosx-10.9.5/OpenSSH-186/osslshim/heimdal-asn1/ |
H A D | asn1-common.h | 36 size_t length; member in struct:heim_base_data 42 size_t length; member in struct:heim_integer 55 size_t length; member in struct:heim_bmp_string 60 size_t length; member in struct:heim_universal_string 67 size_t length; member in struct:heim_oid 72 size_t length; member in struct:heim_bit_string
|
H A D | asn1-der_free.c | 118 k->length = 0; 126 k->length = 0; 141 k->length = 0; 149 k->length = 0; 157 k->length = 0; 165 k->length = 0;
|
/macosx-10.9.5/Security-55471.14.18/include/securityd_client/ |
H A D | dictionary.cpp | 48 void* clonedData = (void*) new unsigned char [value.length ()]; 51 memcpy (clonedData, value.data (), value.length ()); 52 return CssmData (clonedData, value.length ()); 73 uint32 length = GetUInt32(finger); local 76 mValue = CloneData (CssmData (finger, length)); 90 // export the data in the format name length data 91 size_t outSize = 2 * sizeof (uint32) + mValue.length (); 105 // export the length 107 intBuffer = (uint32)mValue.length (); 116 memcpy (finger, mValue.data (), mValue.length ()); 156 uint32 length = 0; local 277 uint32 length = 0; local [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurityd/lib/ |
H A D | dictionary.cpp | 48 void* clonedData = (void*) new unsigned char [value.length ()]; 51 memcpy (clonedData, value.data (), value.length ()); 52 return CssmData (clonedData, value.length ()); 73 uint32 length = GetUInt32(finger); local 76 mValue = CloneData (CssmData (finger, length)); 90 // export the data in the format name length data 91 size_t outSize = 2 * sizeof (uint32) + mValue.length (); 105 // export the length 107 intBuffer = (uint32)mValue.length (); 116 memcpy (finger, mValue.data (), mValue.length ()); 156 uint32 length = 0; local 277 uint32 length = 0; local [all...] |
/macosx-10.9.5/WebCore-7537.78.1/editing/mac/ |
H A D | TextAlternativeWithRange.mm | 41 NSUInteger length = [string length]; 50 } while (effectiveRange.location < length);
|
/macosx-10.9.5/WebCore-7537.78.1/fileapi/ |
H A D | AsyncFileStream.h | 53 void openForRead(const String& path, long long offset, long long length); 56 void read(char* buffer, int length); 57 void write(const KURL& blobURL, long long position, int length); 74 void openForReadOnFileThread(const String& path, long long offset, long long length); 77 void readOnFileThread(char* buffer, int length); 78 void writeOnFileThread(const KURL& blobURL, long long position, int length);
|
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/ |
H A D | DOMSyntaxHighlighter.js | 57 for (var i = lines[0].length ? 0 : 1; i < lines.length; ++i) { 75 } while (column < line.length) 77 if (plainTextStart < line.length) { 78 var plainText = line.substring(plainTextStart, line.length); 81 if (i < lines.length - 1)
|
/macosx-10.9.5/WebCore-7537.78.1/loader/appcache/ |
H A D | ApplicationCacheResource.cpp | 57 m_estimatedSizeInStorage += (it->key.length() + it->value.length() + 2) * sizeof(UChar); 59 m_estimatedSizeInStorage += url().string().length() * sizeof(UChar); 61 m_estimatedSizeInStorage += response().url().string().length() * sizeof(UChar); 63 m_estimatedSizeInStorage += response().mimeType().length() * sizeof(UChar); 64 m_estimatedSizeInStorage += response().textEncodingName().length() * sizeof(UChar);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/ |
H A D | WebNSAttributedStringExtras.mm | 48 attachmentCharString = [[NSString alloc] initWithCharacters:chars length:1]; 53 if (attachmentRange.location != NSNotFound && attachmentRange.length > 0) { 56 while (attachmentRange.location != NSNotFound && attachmentRange.length > 0) {
|
/macosx-10.9.5/WebCore-7537.78.1/platform/text/ |
H A D | TextBoundaries.cpp | 39 int endOfFirstWordBoundaryContext(const UChar* characters, int length) argument 41 for (int i = 0; i < length; ) { 44 U16_NEXT(characters, i, length, ch); 48 return length; 51 int startOfLastWordBoundaryContext(const UChar* characters, int length) argument 53 for (int i = length; i > 0; ) {
|
H A D | TextBreakIterator.cpp | 29 unsigned stringLength = s.length(); 50 unsigned stringLength = s.length(); 71 TextBreakIterator* acquireLineBreakIterator(const LChar* string, int length, const AtomicString& locale, const UChar* priorContext, unsigned priorContextLength) argument 73 Vector<UChar> utf16string(length); 74 for (int i = 0; i < length; ++i) 76 return acquireLineBreakIterator(utf16string.data(), length, locale, priorContext, priorContextLength);
|
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/ |
H A D | sockchild.c | 56 apr_size_t length = STRLEN; local 60 rv = apr_socket_recv(sock, datarecv, &length); 70 exit((int)length); 73 apr_size_t length = strlen(DATASTR); local 74 apr_socket_send(sock, DATASTR, &length); 77 exit((int)length);
|
/macosx-10.9.5/apr-30/apr/apr/test/ |
H A D | sockchild.c | 56 apr_size_t length = STRLEN; local 60 rv = apr_socket_recv(sock, datarecv, &length); 70 exit((int)length); 73 apr_size_t length = strlen(DATASTR); local 74 apr_socket_send(sock, DATASTR, &length); 77 exit((int)length);
|
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/ |
H A D | sampleconv.c | 42 CURLcode my_conv_from_ascii_to_ebcdic(char *buffer, size_t length) argument 45 size_t bytes = length; 56 CURLcode my_conv_from_ebcdic_to_ascii(char *buffer, size_t length) argument 59 size_t bytes = length; 70 CURLcode my_conv_from_utf8_to_ebcdic(char *buffer, size_t length) argument 73 size_t bytes = length;
|
/macosx-10.9.5/hfs-226.1.1/fsck_hfs/dfalib/ |
H A D | SKeyCompare.c | 47 UInt8 length, length2; local 50 length = *(str1++); 53 if (length == length2) 55 else if (length < length2) 60 length = length2; 63 while (length--) 126 // Also, we can't pre-compute the number of characters to compare; the string length might 254 if ( searchKey->nodeName.length == 0 || trialKey->nodeName.length == 0 ) 255 result = searchKey->nodeName.length 296 int length; local 477 int length; local [all...] |
/macosx-10.9.5/ncurses-42/ncurses/ncurses/widechar/ |
H A D | lib_unget_wch.c | 45 * Wrapper for wcrtomb() which obtains the length needed for the given 72 size_t length; local 78 length = _nc_wcrtomb(0, wch, &state); 80 if (length != (size_t) (-1) 81 && length != 0) { 84 if ((string = (char *) malloc(length)) != 0) { 88 for (n = (int) (length - 1); n >= 0; --n) {
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/krb4_sources/ |
H A D | mk_auth.c | 99 tmp = krb_put_int(ticket->length, p, rem, 4); 105 if (rem < ticket->length) 107 memcpy(p, ticket->dat, ticket->length); 108 p += ticket->length; 109 rem -= ticket->length; 110 buf->length = p - buf->dat;
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/ |
H A D | ofb64ede.c | 65 /* crypto/des/ofb64ede.c */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@mincom.oz.au).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@mincom.oz.au)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@mincom.oz.au)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#include "des_locl.h"
/* The input and output encrypted as though 64bit ofb mode is being
* used. The extra state information to record how much of the
* 64bit block we have used is contained in *num;
*/
void des_ede3_ofb64_encrypt(in, out, length, k1,k2,k3, ivec, num)
register unsigned char *in;
register unsigned char *out;
long length;
des_key_schedule k1,k2,k3;
des_cblock (*ivec);
int *num;
{
register DES_LONG v0,v1;
register int n= *num;
register long l=length;
des_cblock d;
register char *dp;
DES_LONG ti[2];
unsigned char *iv;
int save=0;
iv=(unsigned char *)ivec;
c2l(iv,v0);
c2l(iv,v1);
ti[0]=v0;
ti[1]=v1;
dp=(char *)d;
l2c(v0,dp);
l2c(v1,dp);
while (l--)
{
if (n == 0)
{
ti[0]=v0;
ti[1]=v1;
des_encrypt3((DES_LONG *)ti,k1,k2,k3);
v0=ti[0];
v1=ti[1];
dp=(char *)d;
l2c(v0,dp);
l2c(v1,dp);
save++;
}
*(out++)= *(in++)^d[n];
n=(n+1)&0x07;
}
if (save)
{
/* v0=ti[0];
v1=ti[1];*/
iv=(unsigned char *)ivec;
l2c(v0,iv);
l2c(v1,iv);
}
v0=v1=ti[0]=ti[1]=0;
*num=n;
}
#ifdef undef /* MACRO */
void des_ede2_ofb64_encrypt(in, out, length, k1,k2, ivec, num)
register unsigned char *in;
register unsigned char *out;
long length;
des_key_schedule k1,k2;
des_cblock (*ivec);
int *num;
{
des_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num);
}
#endif
|
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOPMPowerSourceList.cpp | 42 length = 0; 69 length++; 104 return length; 122 length--; 130 length--; 154 length--;
|
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/ |
H A D | tclStringObj.c | 85 * mallocs. To optimize string length and indexing operations, this 119 Tcl_Panic("max length for a Tcl unicode value (%d chars) exceeded", \ 222 * initializes it from the byte pointer and length arguments. 232 * copy of the length bytes starting at "bytes". If "length" is 245 Tcl_NewStringObj(bytes, length) 246 CONST char *bytes; /* Points to the first of the length bytes 248 int length; /* The number of bytes to copy from "bytes" 253 return Tcl_DbNewStringObj(bytes, length, "unknown", 0); 259 Tcl_NewStringObj(bytes, length) 1200 int length, numChars, allOneByteChars; local [all...] |