Searched refs:newLen (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.10.1/ICU-531.30/icuSources/test/perf/usetperf/
H A Dbitset.cpp51 uint32_t newLen = len; local
52 while (newLen < minLen) newLen <<= 1; // grow exponentially
53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD);
58 int32_t* limit = data + newLen;
60 len = newLen;
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/persist/impl/
H A DVisitedObjects.java127 int newLen = oldLen * 2;
129 Object[] newObjects = new Object[newLen];
130 int[] newOffsets = new int[newLen];
/macosx-10.10.1/Security-57031.1.35/SecurityTool/
H A Dkeychain_set_settings.c77 UInt32 newLen = (newPassword) ? strlen(newPassword) : 0; local
110 newLen = strlen(pBuf);
111 memcpy(newBuf, pBuf, newLen);
112 bzero(pBuf, newLen);
118 if (confirmLen == newLen && newBuf &&
119 !memcmp(pBuf, newBuf, newLen)) {
135 result = SecKeychainChangePassword(keychain, oldLen, oldPass, newLen, newPass);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DsslMemory.c97 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
100 /* return _REALLOC(oldPtr, newLen, M_TEMP, M_NOWAIT); */
104 if(newLen>oldLen) {
105 newPtr=sslMalloc(newLen);
135 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
137 return realloc(oldPtr, newLen);
H A DsslMemory.h44 void *sslRealloc(void *oldPtr, size_t oldLen, size_t newLen);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DsslMemory.c97 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
100 /* return _REALLOC(oldPtr, newLen, M_TEMP, M_NOWAIT); */
104 if(newLen>oldLen) {
105 newPtr=sslMalloc(newLen);
135 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
137 return realloc(oldPtr, newLen);
H A DsslMemory.h44 void *sslRealloc(void *oldPtr, size_t oldLen, size_t newLen);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DsslMemory.c97 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
100 /* return _REALLOC(oldPtr, newLen, M_TEMP, M_NOWAIT); */
104 if(newLen>oldLen) {
105 newPtr=sslMalloc(newLen);
135 sslRealloc(void *oldPtr, size_t oldLen, size_t newLen) argument
137 return realloc(oldPtr, newLen);
H A DsslMemory.h44 void *sslRealloc(void *oldPtr, size_t oldLen, size_t newLen);
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/bind/tuple/
H A DTupleOutput.java492 int newLen = PackedInteger.writeInt(getBufferBytes(), oldLen, val);
494 addSize(newLen - oldLen);
508 int newLen = PackedInteger.writeLong(getBufferBytes(), oldLen, val);
510 addSize(newLen - oldLen);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/ascTool/
H A DascTool.cpp220 uint32 newLen = outData.Length + remData.Length; local
222 newLen,
225 outData.Length = newLen;
258 uint32 newLen = outData.Length + remData.Length; local
260 newLen,
263 outData.Length = newLen;
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/cryptTool/
H A DcryptTool.c338 uint32 newLen = outData.Length + remData.Length; local
340 newLen,
343 outData.Length = newLen;
376 uint32 newLen = outData.Length + remData.Length; local
378 newLen,
381 outData.Length = newLen;
/macosx-10.10.1/configd-699.1.5/dnsinfo/
H A Ddnsinfo_create.c83 uint32_t newLen; local
92 newLen = sizeof(dns_attribute_t) + rounded_length;
93 newSize = sizeof(_dns_config_buf_t) + oldLen + newLen;
97 config->n_attribute = htonl(ntohl(config->n_attribute) + newLen);
107 header->length = htonl(newLen);
256 uint32_t newLen; local
266 newLen = sizeof(dns_attribute_t) + rounded_length;
267 newSize = sizeof(_dns_resolver_buf_t) + oldLen + newLen;
271 resolver->n_attribute = htonl(ntohl(resolver->n_attribute) + newLen);
278 header->length = htonl(newLen);
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/Java/
H A DTXTRecord.java106 int newLen, avLen;
113 newLen = avLen + oldBytes.length + 1;
115 fBytes = new byte[ newLen];
118 System.arraycopy( oldBytes, insertion, fBytes, newLen - secondHalfLen, secondHalfLen);
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dreptest.cpp121 void fixStyles(int32_t start, int32_t limit, int32_t newLen) { argument
132 for (int i = 0; i < newLen; ++i) {
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dutransts.c98 int32_t newLen = Xlength(rep) + limit - start + textLength; local
99 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1));
110 int32_t newLen = Xlength(rep) + limit - start; local
111 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1));
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dcssmdata.h307 void *realloc(size_t newLen) argument
310 return referent = CssmData(allocator.realloc<uint8>(referent.data(), newLen), newLen);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_x509_cl/lib/
H A DclNameUtils.cpp269 int newLen = (int)attrVal.item.Length; local
270 CL_normalizeString(strPtr, newLen);
273 attrVal.item.Length = newLen;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dcssmdata.h307 void *realloc(size_t newLen) argument
310 return referent = CssmData(allocator.realloc<uint8>(referent.data(), newLen), newLen);
/macosx-10.10.1/ICU-531.30/icuSources/common/unicode/
H A Duniset.h1506 void ensureCapacity(int32_t newLen, UErrorCode& ec);
1508 void ensureBufferCapacity(int32_t newLen, UErrorCode& ec);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Duniset.cpp1577 void UnicodeSet::ensureCapacity(int32_t newLen, UErrorCode& ec) {
1578 if (newLen <= capacity)
1580 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA));
1587 capacity = newLen + GROW_EXTRA;
1591 void UnicodeSet::ensureBufferCapacity(int32_t newLen, UErrorCode& ec) {
1592 if (buffer != NULL && newLen <= bufferCapacity)
1594 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA));
1601 bufferCapacity = newLen + GROW_EXTRA;
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DKeychains.cpp685 UInt32 oldLen, newLen; local
699 newLen = newPassword[0];
704 newLen = 0;
708 changePassphrase(oldLen, oldPtr, newLen, newPtr);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DKeychains.cpp685 UInt32 oldLen, newLen; local
699 newLen = newPassword[0];
704 newLen = 0;
708 changePassphrase(oldLen, oldPtr, newLen, newPtr);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DKeychains.cpp685 UInt32 oldLen, newLen; local
699 newLen = newPassword[0];
704 newLen = 0;
708 changePassphrase(oldLen, oldPtr, newLen, newPtr);
/macosx-10.10.1/NFS-82/nfsstat/
H A Dnfsstat.c1503 uint oldLen, newLen, tmpLen; local
1508 oldLen = newLen = 0;
1521 if (read_export_stats(&newExportBuf, &newLen) == 0) {
1526 oldLen = newLen;
1528 newLen = tmpLen;
1692 uint oldLen, newLen, tmpLen; local
1697 oldLen = newLen = 0;
1712 if (read_active_user_stats(&newBuf, &newLen) == 0) {
1717 oldLen = newLen;
1719 newLen
[all...]

Completed in 309 milliseconds

12