/macosx-10.9.5/Security-55471.14.18/libsecurity_transform/lib/ |
H A D | c++utils.cpp | 7 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(theString), 0); local 9 if (maxLength <= 0) // roll over? just plain bad? 15 maxLength += 1; 17 char* buffer = new char[maxLength]; 24 CFStringGetCString(theString, buffer, maxLength, 0);
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Modules/ |
H A D | _Foundation_string.m | 4 * -getCString:maxLength:range:remainingRange: [call] 5 * -getCString:maxLength: [call] 22 int maxLength; 26 if (!PyArg_ParseTuple(arguments, "iO", &maxLength, &rangeObj)) { 34 buf = malloc(maxLength+1); 46 @selector(getCString:maxLength:range:remainingRange:), 47 buf, maxLength, aRange, &leftoverRange); 86 int maxLength; 90 if (!PyArg_ParseTuple(arguments, "i", &maxLength)) { 94 buf = malloc(maxLength [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Modules/ |
H A D | _Foundation_string.m | 4 * -getCString:maxLength:range:remainingRange: [call] 5 * -getCString:maxLength: [call] 18 NSUInteger maxLength; 23 if (!PyArg_ParseTuple(arguments, "O" Py_ARG_NSUInteger "OO", &buf1, &maxLength, &rangeObj, &buf2)) { 46 buf = malloc(maxLength+1); 58 @selector(getCString:maxLength:range:remainingRange:), 59 buf, maxLength, aRange, leftoverPtr); 102 NSUInteger maxLength; 107 if (!PyArg_ParseTuple(arguments, "O" Py_ARG_NSUInteger, &py_buf, &maxLength)) { 115 buf = malloc(maxLength [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/ |
H A D | denseranges.cpp | 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} 35 if(i<maxLength) { 36 // The new gap is now one of the maxLength largest. 39 int32_t j= length<maxLength ? length++ : maxLength-1; 78 int32_t maxLength; member in class:__anon1453::LargestGaps 109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; local 110 if(length>=(density*maxLength)/0x100) { 133 // the length of the [minValue..maxValue] range (maxLength). 142 maxLength [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | debugging_internal.cpp | 39 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(message), kCFStringEncodingUTF8) + 1; local 40 char buffer[maxLength];
|
H A D | debugsupport.h | 54 static const int maxLength = 12; member in class:Security::Debug::Name 57 { strncpy(mName, s, maxLength-1); mName[maxLength-1] = '\0'; } 61 intptr_t length = end - start; if (length >= maxLength) length = maxLength - 1; 62 memcpy(mName, start, length); memset(mName + length, 0, maxLength - length); 68 { return memcmp(mName, other.mName, maxLength) < 0; } 71 { return memcmp(mName, other.mName, maxLength) == 0; } 74 char mName[maxLength]; // null terminated for easy printing
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | debugging_internal.cpp | 39 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(message), kCFStringEncodingUTF8) + 1; local 40 char buffer[maxLength];
|
H A D | debugsupport.h | 54 static const int maxLength = 12; member in class:Security::Debug::Name 57 { strncpy(mName, s, maxLength-1); mName[maxLength-1] = '\0'; } 61 intptr_t length = end - start; if (length >= maxLength) length = maxLength - 1; 62 memcpy(mName, start, length); memset(mName + length, 0, maxLength - length); 68 { return memcmp(mName, other.mName, maxLength) < 0; } 71 { return memcmp(mName, other.mName, maxLength) == 0; } 74 char mName[maxLength]; // null terminated for easy printing
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFUnicodePrecomposition.h | 43 CF_EXPORT bool CFUniCharPrecompose(const UTF16Char *characters, CFIndex length, CFIndex *consumedLength, UTF16Char *precomposed, CFIndex maxLength, CFIndex *filledLength);
|
H A D | CFWindowsUtilities.c | 109 void _CFGetFrameworkPath(wchar_t *path, int maxLength) { argument 123 wResult = GetModuleFileNameW(ourModule, path, maxLength); 125 CFAssert1(wResult < maxLength, __kCFLogAssertion, "GetModuleFileName result truncated: %s", path);
|
H A D | CFUnicodeDecomposition.h | 49 CF_EXPORT bool CFUniCharDecompose(const UTF16Char *src, CFIndex length, CFIndex *consumedLength, void *dst, CFIndex maxLength, CFIndex *filledLength, bool needToReorder, uint32_t dstFormat, bool isHFSPlus);
|
H A D | CFUnicodePrecomposition.c | 161 bool CFUniCharPrecompose(const UTF16Char *characters, CFIndex length, CFIndex *consumedLength, UTF16Char *precomposed, CFIndex maxLength, CFIndex *filledLength) { argument 196 if (usedLength > maxLength) break; 202 if (usedLength > maxLength) break; 240 if (usedLength > maxLength) break; 256 if (usedLength > maxLength) break; 263 if (usedLength > maxLength) break; 274 if (usedLength > maxLength) {
|
H A D | CFUnicodeDecomposition.c | 224 bool CFUniCharDecompose(const UTF16Char *src, CFIndex length, CFIndex *consumedLength, void *dst, CFIndex maxLength, CFIndex *filledLength, bool needToReorder, uint32_t dstFormat, bool isHFSPlus) { argument 241 if (!__CFProcessReorderBuffer(decompBuffer, decompBufferLen, &dst, maxLength, &usedLength, dstFormat)) break; 247 if (maxLength > 0) { 248 if (usedLength >= maxLength) break; 287 if (!__CFProcessReorderBuffer(decompBuffer, decompBufferLen, &dst, maxLength, &usedLength, dstFormat)) break; 300 if (!CFUniCharFillDestinationBuffer(decompBuffer, decompBufferLen, &dst, maxLength, &usedLength, dstFormat)) break; 311 if ((decompBufferLen > 0) && __CFProcessReorderBuffer(decompBuffer, decompBufferLen, &dst, maxLength, &usedLength, dstFormat)) length -= segmentLength;
|
H A D | CFFileUtilities.c | 103 CF_PRIVATE Boolean _CFReadBytesFromPathAndGetFD(CFAllocatorRef alloc, const char *path, void **bytes, CFIndex *length, CFIndex maxLength, int extraOpenFlags, int *fd) { // maxLength is the number of bytes desired, or 0 if the whole file is desired regardless of length. argument 137 if ((maxLength >= statBuf.st_size) || (maxLength == 0)) { 140 desiredLength = maxLength; 158 CF_PRIVATE Boolean _CFReadBytesFromPath(CFAllocatorRef alloc, const char *path, void **bytes, CFIndex *length, CFIndex maxLength, int extraOpenFlags) { argument 160 Boolean result = _CFReadBytesFromPathAndGetFD(alloc, path, bytes, length, maxLength, extraOpenFlags, &fd); 166 CF_PRIVATE Boolean _CFReadBytesFromFile(CFAllocatorRef alloc, CFURLRef url, void **bytes, CFIndex *length, CFIndex maxLength, int extraOpenFlags) { argument 167 // maxLength is the number of bytes desired, or 0 if the whole file is desired regardless of length. 173 return _CFReadBytesFromPath(alloc, (const char *)path, bytes, length, maxLength, extraOpenFlag 707 _CFAppendTrailingPathSlash(UniChar *unichars, CFIndex *length, CFIndex maxLength) argument 763 _CFAppendPathComponent(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *component, CFIndex componentLength) argument 830 _CFAppendPathExtension(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *extension, CFIndex extensionLength) argument [all...] |
/macosx-10.9.5/WebCore-7537.78.1/editing/ |
H A D | SurroundingText.h | 44 SurroundingText(const VisiblePosition&, unsigned maxLength);
|
H A D | SurroundingText.cpp | 43 SurroundingText::SurroundingText(const VisiblePosition& visiblePosition, unsigned maxLength) argument 49 const unsigned halfMaxLength = maxLength / 2; 52 forwardIterator.advance(maxLength - halfMaxLength);
|
/macosx-10.9.5/libxml2-26/libxml2/test/schemas/ |
H A D | include1_0.inc | 6 <xsd:maxLength value="10" />
|
/macosx-10.9.5/ICU-511.35/icuSources/common/ |
H A D | dictionarydata.h | 71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
|
H A D | dictionarydata.cpp | 38 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument 64 if (numChars >= maxLength) { 102 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument 128 if (numChars >= maxLength) {
|
/macosx-10.9.5/Heimdal-323.92.1/lib/wind/ |
H A D | gen-normalize.py | 61 maxLength = 0 variable 63 maxLength = max(maxLength, len(v[0].split())) variable 96 ''' % maxLength)
|
/macosx-10.9.5/xnu-2422.115.4/iokit/IOKit/platform/ |
H A D | ApplePlatformExpert.h | 82 virtual bool getMachineName(char *name, int maxLength);
|
/macosx-10.9.5/xnu-2422.115.4/iokit/IOKit/ |
H A D | IOPlatformExpert.h | 50 extern boolean_t PEGetMachineName( char * name, int maxLength ); 51 extern boolean_t PEGetModelName( char * name, int maxLength ); 143 virtual bool getModelName( char * name, int maxLength ); 144 virtual bool getMachineName( char * name, int maxLength ); 226 virtual bool getModelName( char * name, int maxLength ); 227 virtual bool getMachineName( char * name, int maxLength );
|
/macosx-10.9.5/WebCore-7537.78.1/html/ |
H A D | HTMLTextAreaElement.h | 48 virtual int maxLength() const; 72 static String sanitizeUserInputValue(const String&, unsigned maxLength);
|
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/ |
H A D | Linkifier.js | 126 * @param {number=} maxLength 128 WebInspector.Linkifier.DefaultFormatter = function(maxLength) 130 this._maxLength = maxLength;
|
/macosx-10.9.5/WebCore-7537.78.1/Modules/websockets/ |
H A D | WebSocketDeflater.cpp | 90 size_t maxLength = deflateBound(m_stream.get(), length); 92 m_buffer.grow(writePosition + maxLength); 93 setStreamParameter(m_stream.get(), data, length, m_buffer.data() + writePosition, maxLength); 98 m_buffer.shrink(writePosition + maxLength - m_stream->avail_out);
|