Searched refs:maxLength (Results 1 - 25 of 72) sorted by relevance

123

/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_transform/lib/
H A Dc++utils.cpp7 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.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Modules/
H A D_Foundation_string.m4 * -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.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Modules/
H A D_Foundation_string.m4 * -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.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Modules/
H A D_Foundation_string.m4 * -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.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Ddenseranges.cpp28 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:__anon1261::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.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Ddebugging_internal.cpp39 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(message), kCFStringEncodingUTF8) + 1; local
40 char buffer[maxLength];
H A Ddebugsupport.h54 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.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Ddebugging_internal.cpp39 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(message), kCFStringEncodingUTF8) + 1; local
40 char buffer[maxLength];
H A Ddebugsupport.h54 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.10.1/libxml2-26/libxml2/test/schemas/
H A Dinclude1_0.inc6 <xsd:maxLength value="10" />
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ddictionarydata.h71 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 Ddictionarydata.cpp43 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument
69 if (numChars >= maxLength) {
107 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument
133 if (numChars >= maxLength) {
/macosx-10.10.1/Heimdal-398.1.2/lib/wind/
H A Dgen-normalize.py61 maxLength = 0 variable
63 maxLength = max(maxLength, len(v[0].split())) variable
96 ''' % maxLength)
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/platform/
H A DApplePlatformExpert.h82 virtual bool getMachineName(char *name, int maxLength);
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOPlatformExpert.h50 extern boolean_t PEGetMachineName( char * name, int maxLength );
51 extern boolean_t PEGetModelName( char * name, int maxLength );
146 virtual bool getModelName( char * name, int maxLength );
147 virtual bool getMachineName( char * name, int maxLength );
234 virtual bool getModelName( char * name, int maxLength );
235 virtual bool getMachineName( char * name, int maxLength );
/macosx-10.10.1/JavaScriptCore-7600.1.17/inspector/
H A DInjectedScriptSource.js904 const maxLength = 100;
909 if (value.length > maxLength) {
910 value = this._abbreviateString(value, maxLength, true);
935 description = this._abbreviateString(/** @type {string} */ (injectedScript._describe(value)), maxLength, subtype === "regexp");
962 * @param {number} maxLength
966 _abbreviateString: function(string, maxLength, middle)
968 if (string.length <= maxLength)
971 var leftHalf = maxLength >> 1;
972 var rightHalf = maxLength - leftHalf - 1;
975 return string.substr(0, maxLength)
[all...]
/macosx-10.10.1/OpenSSL098-52/src/MacOS/GetHTTPS.src/
H A DCPStringUtils.hpp44 OSErr AppendCStrToHandle(const char *theCString,Handle theHandle,long *currentLength = nil,long *maxLength = nil);
45 OSErr AppendCharsToHandle(const char *theChars,const int numChars,Handle theHandle,long *currentLength = nil,long *maxLength = nil);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecKeychainItemPriv.h77 OSStatus SecKeychainItemGetData(SecKeychainItemRef itemRef, UInt32 maxLength, void* data, UInt32* actualLength);
/macosx-10.10.1/vim-55/runtime/autoload/xml/
H A Dxsd.vim65 \ ['annotation', 'simpleType', 'minExclusive', 'maxExclusive', 'minInclusive', 'maxInclusive', 'totalDigits', 'fractionDigits', 'length', 'minLength', 'maxLength', 'enumeration', 'whiteSpace', 'pattern'],
91 \ 'maxLength' : [
/macosx-10.10.1/JavaScriptCore-7600.1.17/
H A DKeywordLookupGenerator.py176 def maxLength(self): member in class:Trie
179 l = trie.maxLength()
190 print("static const int maxTokenLength = %d;" % (self.maxLength() + 1))
/macosx-10.10.1/WTF-7600.1.24/wtf/text/
H A DStringView.h123 unsigned maxLength = this->length() - start; local
125 if (length >= maxLength) {
128 length = maxLength;
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Base/
H A DUtilities.js449 value: function(maxLength)
451 if (this.length <= maxLength)
453 var leftHalf = maxLength >> 1;
454 var rightHalf = maxLength - leftHalf - 1;
461 value: function(maxLength)
463 if (this.length <= maxLength)
465 return this.substr(0, maxLength - 1) + "\u2026";
/macosx-10.10.1/tcl-105/tk/tk/macosx/
H A DtkMacOSXFont.c709 * span that extends from 0 to maxLength. *lengthPtr is filled with the
728 int maxLength, /* If >= 0, maxLength specifies the longest
744 maxLength, flags, lengthPtr);
763 * fit into the span that extends from 0 to maxLength. *lengthPtr is
782 int maxLength, /* If >= 0, maxLength specifies the longest
797 * maxLength. TK_ISOLATE_END means that the
818 (maxLength == 0 && !(flags & TK_AT_LEAST_ONE))) {
824 if (rangeStart == 0 && maxLength
710 Tk_MeasureChars( Tk_Font tkfont, const char *source, int numBytes, int maxLength, int flags, int *lengthPtr) argument
761 TkpMeasureCharsInContext( Tk_Font tkfont, const char * source, int numBytes, int rangeStart, int rangeLength, int maxLength, int flags, int *lengthPtr) argument
[all...]

Completed in 370 milliseconds

123