Searched refs:strLen (Results 1 - 25 of 54) sorted by last modified time

123

/macosx-10.9.5/CF-855.17/
H A DCFBundle_InfoPlist.c266 CFIndex strLen = CFStringGetLength(fullKey);
272 platformRange.length = ((tildeRange.location != kCFNotFound) ? tildeRange.location : strLen) - platformRange.location;
276 productRange.length = strLen - productRange.location;
653 CFIndex strLen, startOfExtension; local
660 strLen = CFStringGetLength(urlStr);
661 if (strLen > CFMaxPathSize) strLen = CFMaxPathSize;
662 CFStringGetCharacters(urlStr, CFRangeMake(0, strLen), buff);
664 startOfExtension = _CFStartOfPathExtension(buff, strLen);
665 if ((strLen
[all...]
H A DCFFileUtilities.c262 CFIndex strLen = CFStringGetLength(dirPathStr); local
265 CFStringGetCharacters(dirPathStr, CFRangeMake(0, strLen), (UniChar *)pathBuf);
266 pathBuf[strLen] = 0;
H A DCFPlatform.c698 CFIndex strLen = CFStringGetLength(cfStr); local
701 wchar_t *wideBuf = (wchar_t *)malloc((strLen + 1) * sizeof(wchar_t));
704 CFStringGetCharacters(cfStr, CFRangeMake(0, strLen), (UniChar *)wideBuf);
705 wideBuf[strLen] = 0;
708 if (resultLen) *resultLen = strLen;
716 CFIndex strLen = CFStringGetLength(cfStr); local
720 CFStringGetBytes(cfStr, CFRangeMake(0, strLen), kCFStringEncodingUTF8, 0, false, (uint8_t *)dstbuf, dstBufSize, &bytesUsed);
951 CFIndex strLen = CFStringGetLength(volNameStr);
952 if (strLen == 0) {
975 wchar_t *theVolumeName = (wchar_t *)malloc((strLen
[all...]
H A DCFUtilities.c525 CFIndex strLen = CFStringGetLength(str); local
527 CFIndex bufSize = sizeof(UniChar *) * (CFStringGetMaximumSizeForEncoding(strLen, kCFStringEncodingUnicode) + 2);
530 CFStringGetCharacters(str, CFRangeMake(0, strLen), ptr);
531 ptr[strLen] = L'\n';
532 ptr[strLen+1] = 0;
/macosx-10.9.5/WebCore-7537.78.1/platform/
H A DKURL.cpp1482 static void appendEncodedHostname(UCharBuffer& buffer, const UChar* str, unsigned strLen) argument
1488 if (strLen > hostnameBufferLength || charactersAreAllASCII(str, strLen)) {
1489 buffer.append(str, strLen);
1496 int32_t numCharactersConverted = uidna_IDNToASCII(str, strLen, hostnameBuffer,
1503 static void findHostnamesInMailToURL(const UChar* str, int strLen, Vector<pair<int, int> >& nameRanges) argument
1514 int hostnameOrStringStart = findFirstOf(str, strLen, p, "\"@?");
1526 int hostnameEnd = findFirstOf(str, strLen, p, ">,?");
1529 hostnameEnd = strLen;
1544 int escapedCharacterOrStringEnd = findFirstOf(str, strLen,
1566 findHostnameInHierarchicalURL(const UChar* str, int strLen, int& startOffset, int& endOffset) argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/
H A DStringMap.h115 explicit StringMapEntry(unsigned strLen) argument
116 : StringMapEntryBase(strLen), second() {}
117 StringMapEntry(unsigned strLen, const ValueTy &V) argument
118 : StringMapEntryBase(strLen), second(V) {}
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/
H A Dcldrtest.c1086 int32_t strLen; local
1144 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf,
1148 if (strLen == 0) {
1157 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) {
H A Dcapitst.c1660 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { argument
1666 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0);
1670 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1691 int32_t strLen = 0; local
1693 strLen = u_unescape(cString, uString, 256);
1698 doOverrunTest(coll, uString, strLen);
1702 doOverrunTest(coll, uString, strLen);
1706 doOverrunTest(coll, uString, strLen);
1712 doOverrunTest(coll, uString, strLen);
H A Dcreststn.c685 int32_t strLen =0; local
686 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status);
700 if(strLen != len ){
701 log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen);
704 if(u_strlen(str) != strLen || str[strLen]!= 0 ){
707 if(u_strncmp(str, buffer,strLen)!=0){
722 int32_t strLen =0; local
723 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status);
738 if(strLen !
2112 int32_t strLen = 0, seqLen = 0;/*, binLen = 0, binSeqLen = 0;*/ local
[all...]
H A Dcitertst.c1417 int strLen = u_unescape(src[count], str, 20); local
1420 ucol_setText(iter, str, strLen, &status);
/macosx-10.9.5/ppp-727.90.1/Helpers/vpnd/
H A Dipsec_utils.c3405 find_injection(CFStringRef str, CFStringRef invalidStr, CFIndex strLen) argument
3412 searchRange.length = strLen - searchRange.location;
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_x509_tp/lib/
H A DtpPolicies.cpp732 unsigned strLen,
742 if(cp[strLen - 1] == '\0') {
744 strLen--;
749 const char *lastChar = cp + strLen;
775 strLen -= digLen;
730 tpCompIpAddrStr( const char *str, unsigned strLen, const CSSM_DATA *numeric) argument
H A DcertGroupUtils.cpp200 unsigned strLen)
202 for(unsigned i=0; i<strLen; i++) {
198 tpToLower( char *str, unsigned strLen) argument
/macosx-10.9.5/WebCore-7537.78.1/platform/network/blackberry/rss/
H A DRSSFilterStream.cpp139 static RSSFilterStream::ResourceType RSSTypeFromContent(const char* str, int strLen) argument
147 if (!pos || (pos - str >= strLen)) {
190 if (!pos || (pos - str >= strLen)) {
205 if (!pos || (pos - str >= strLen)) {
/macosx-10.9.5/Security-55471.14.18/include/security_pkcs12/
H A Dpkcs12Utils.cpp136 CFIndex strLen = CFStringGetLength(cfStr); local
137 if(strLen == 0) {
141 coder.allocItem(*rtn, strLen + 1);
142 if(!CFStringGetCString(cfStr, (char *)rtn->Data,strLen + 1,
H A Dpkcs12SafeBag.cpp209 unsigned long strLen = mFriendlyName.Length / 2; local
210 UniChar *uc = (UniChar *)malloc(strLen * sizeof(UniChar));
218 CFStringRef cstr = CFStringCreateWithCharacters(NULL, uc, strLen);
/macosx-10.9.5/Security-55471.14.18/libsecurity_pkcs12/lib/
H A Dpkcs12Utils.cpp136 CFIndex strLen = CFStringGetLength(cfStr); local
137 if(strLen == 0) {
141 coder.allocItem(*rtn, strLen + 1);
142 if(!CFStringGetCString(cfStr, (char *)rtn->Data,strLen + 1,
H A Dpkcs12SafeBag.cpp209 unsigned long strLen = mFriendlyName.Length / 2; local
210 UniChar *uc = (UniChar *)malloc(strLen * sizeof(UniChar));
218 CFStringRef cstr = CFStringCreateWithCharacters(NULL, uc, strLen);
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Duspoof_conf.cpp333 int32_t strLen = s->fStr->length(); local
335 U_ASSERT(strLen >= previousStringLength);
336 if (strLen == 1) {
342 if ((strLen > previousStringLength) && (previousStringLength >= 4)) {
349 previousStringLength = strLen;
H A Ddtfmtsym.cpp1255 int32_t strLen = 0; local
1260 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status);
1262 (*(field)+i)->setTo(TRUE, resStr, strLen);
1273 initField(UnicodeString **field, int32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &status) { argument
1281 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1);
1295 int32_t strLen = 0; local
1296 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status);
1298 field[index].setTo(TRUE, resStr, strLen);
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dutext.cpp1184 int32_t strLen = ut->b; local
1186 if (strLen < 0) {
1187 strLen = 0x7fffffff;
1220 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c);
1235 if (srcIx>=strLen) {
/macosx-10.9.5/Security-55471.14.18/include/security_ocspd/
H A DocspdUtils.cpp155 uint32 strLen = 0; local
211 strLen++;
216 if(str[strLen - 1] == 'Z') {
218 strLen--;
222 absTime = parseGenTime(str, strLen);
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/lib/
H A DopensshCoding.cpp181 unsigned strLen)
183 appendUint32(cfOut, (uint32_t)strLen);
184 CFDataAppendBytes(cfOut, (UInt8 *)str, strLen);
178 appendString( CFMutableDataRef cfOut, const char *str, unsigned strLen) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_x509_cl/lib/
H A DclNameUtils.cpp162 int &strLen) // IN/OUT
166 char *pEos = pCh + strLen - 1;
168 if(strLen == 0) {
217 strLen = (int)(pD - strPtr);
160 CL_normalizeString( char *strPtr, int &strLen) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_ocspd/common/
H A DocspdUtils.cpp155 uint32 strLen = 0; local
211 strLen++;
216 if(str[strLen - 1] == 'Z') {
218 strLen--;
222 absTime = parseGenTime(str, strLen);

Completed in 298 milliseconds

123