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

12

/macosx-10.10.1/llvmCore-3425.0.34/unittests/ADT/
H A DSmallStringTest.cpp29 StringType theString; member in class:__anon10536::SmallStringTest
43 assertEmpty(theString);
44 EXPECT_TRUE(theString.rbegin() == theString.rend());
48 theString.assign(3, 'a');
49 EXPECT_EQ(3u, theString.size());
50 EXPECT_STREQ("aaa", theString.c_str());
55 theString.assign(abc.begin(), abc.end());
56 EXPECT_EQ(3u, theString.size());
57 EXPECT_STREQ("abc", theString
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_transform/lib/
H A Dc++utils.cpp5 std::string StringFromCFString(CFStringRef theString) argument
7 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(theString), 0);
24 CFStringGetCString(theString, buffer, maxLength, 0);
33 CFStringRef CFStringFromString(std::string theString) argument
35 return CFStringCreateWithCString(NULL, theString.c_str(), 0);
H A Dc++utils.h7 std::string StringFromCFString(CFStringRef theString);
8 CFStringRef CFStringFromString(std::string theString);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/textutil/
H A Dexpander.tcl873 upvar $string theString
883 set tokenPos [string first $token $theString]
888 set theText $theString
889 set theString ""
893 set theText [string range $theString 0 $newEnd]
894 set theString [string range $theString $newBegin end]
913 upvar $string theString
917 if {[string first [Get lb] $theString] != 0} {
918 error "::expander::GetMacro: assertion failure, next text isn't a command! '$theString'"
[all...]
/macosx-10.10.1/AppleUSBIrDA-145.2.4/IrDA/IAS/
H A DIrIASService.h89 static TIASElement *tIASElement(const UChar* theString, UChar charSet, ULong length); // create with string
97 IrDAErr GetString(UByte **theString, UByte *charSet, ULong *length);
104 Boolean init_with_string(const UChar* theString, UChar charSet, ULong length);
109 Boolean SetString(const UChar* theString, UChar charSet, ULong length);
H A DIrIASService.cpp659 TIASElement * TIASElement::tIASElement(const UChar* theString, UChar charSet, ULong length) argument
665 if (obj && !obj->init_with_string(theString, charSet, length)) {
737 Boolean TIASElement::init_with_string(const UChar* theString, UChar charSet, ULong length) argument
747 return SetString(theString, charSet, length);
798 Boolean TIASElement::SetString(const UChar* theString, const UChar charSet, const ULong len) argument
802 length = (ULong)strlen((const char*)theString);
813 //strcpy((char*)nameOrBytes, (const char*)theString);
814 BlockMove(theString, nameOrBytes, length); // copy the string
859 IrDAErr TIASElement::GetString(UByte **theString, UByte *charSet, ULong *len) argument
864 *theString
[all...]
H A DIrIASServer.cpp357 //UChar theString[kIASMaxClassOrAttrStrLen+1];
406 Boolean TIASServer::GotAValidString(UChar* theString) argument
417 if (fGetPutBuffer->Getn(theString, nameLength) != nameLength) return false;
420 theString[nameLength] = 0;
/macosx-10.10.1/tcl-105/tcl_ext/tclae/tclae/generic/
H A DosxMacTcl.c67 static CFMutableStringRef TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm)
83 CFMutableStringRef theMutableString = CFStringCreateMutableCopy(NULL, 0, theString);
205 CFStringRef theString;
211 theString = CFStringCreateWithCStringNoCopy(NULL, buffer, theEncoding, kCFAllocatorNull);
213 theString = CFStringCreateWithBytes(NULL, (const unsigned char *) buffer, length, theEncoding, FALSE);
215 if(theString) {
216 result = CFStringToDString(interp, theString, dsPtr, compose, toExternal);
217 CFRelease(theString); // bug 671
66 TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm) argument
204 CFStringRef theString; local
/macosx-10.10.1/BerkeleyDB-21/db/examples_cxx/getting_started/
H A Dexcxx_example_database_load.cpp115 getNextPound(std::string &theString, std::string &substring) argument
117 size_t pos = theString.find("#");
118 substring.assign(theString, 0, pos);
119 theString.assign(theString, pos + 1, theString.size());
H A DgettingStartedCommon.hpp119 packString(char *buffer, std::string &theString) argument
121 size_t string_size = theString.size() + 1;
122 memcpy(buffer+bufLen_, theString.c_str(), string_size);
/macosx-10.10.1/tcl-105/tcl_ext/memchan/memchan/tools/
H A Dexpand438 upvar $string theString
448 set tokenPos [string first $token $theString]
453 set theText $theString
454 set theString ""
458 set theText [string range $theString 0 $newEnd]
459 set theString [string range $theString $newBegin end]
467 upvar $string theString
471 if {[string first [lb] $theString] != 0} {
472 error "::expand::GetMacro: assertion failure, next text isn't a command! '$theString'"
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/tools/
H A Dexpand438 upvar $string theString
448 set tokenPos [string first $token $theString]
453 set theText $theString
454 set theString ""
458 set theText [string range $theString 0 $newEnd]
459 set theString [string range $theString $newBegin end]
467 upvar $string theString
471 if {[string first [lb] $theString] != 0} {
472 error "::expand::GetMacro: assertion failure, next text isn't a command! '$theString'"
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/quicktimetcl/quicktimetcl/
H A DosxMacTcl.c64 static CFMutableStringRef TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm)
77 CFMutableStringRef theMutableString = CFStringCreateMutableCopy(NULL, 0, theString);
200 CFStringRef theString;
206 theString = CFStringCreateWithCStringNoCopy(NULL, buffer, theEncoding, kCFAllocatorNull);
208 theString = CFStringCreateWithBytes(NULL, buffer, length, theEncoding, FALSE);
210 if(theString) {
211 result = CFStringToDString(interp, theString, dsPtr, compose, toExternal);
212 CFRelease(theString); // bug 671
63 TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm) argument
199 CFStringRef theString; local
/macosx-10.10.1/tcl-105/tcl_ext/tclapplescript/tclapplescript/
H A DosxMacTcl.c65 static CFMutableStringRef TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm)
78 CFMutableStringRef theMutableString = CFStringCreateMutableCopy(NULL, 0, theString);
200 CFStringRef theString;
206 theString = CFStringCreateWithCStringNoCopy(NULL, buffer, theEncoding, kCFAllocatorNull);
208 theString = CFStringCreateWithBytes(NULL, (const unsigned char *) buffer, length, theEncoding, FALSE);
210 if(theString) {
211 result = CFStringToDString(interp, theString, dsPtr, compose, toExternal);
212 CFRelease(theString); // bug 671
64 TryCFStringNormalize(CFStringRef theString, CFStringNormalizationForm theForm) argument
199 CFStringRef theString; local
/macosx-10.10.1/smb-759.0/smbutil/
H A Ddfs.c56 fprintfCFString(CFStringRef theString, const char *preStr, Boolean newLn) argument
60 if (theString == NULL) {
63 CFStringGetCString(theString, prntstr, 1024, kCFStringEncodingUTF8);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DSecRecoveryPassword.c108 static void secNormalize(CFMutableStringRef theString, CFLocaleRef theLocale) argument
112 CFStringFold(theString, kCFCompareCaseInsensitive | kCFCompareDiacriticInsensitive | kCFCompareWidthInsensitive, theLocale);
113 CFStringNormalize(theString, kCFStringNormalizationFormKC);
114 CFStringTrimWhitespace(theString);
115 while(CFStringFindCharacterFromSet(theString, CFCharacterSetGetPredefined(kCFCharacterSetWhitespace), CFRangeMake(0, CFStringGetLength(theString)), kCFCompareBackwards, &theRange))
116 CFStringDelete(theString, theRange);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecRecoveryPassword.c108 static void secNormalize(CFMutableStringRef theString, CFLocaleRef theLocale) argument
112 CFStringFold(theString, kCFCompareCaseInsensitive | kCFCompareDiacriticInsensitive | kCFCompareWidthInsensitive, theLocale);
113 CFStringNormalize(theString, kCFStringNormalizationFormKC);
114 CFStringTrimWhitespace(theString);
115 while(CFStringFindCharacterFromSet(theString, CFCharacterSetGetPredefined(kCFCharacterSetWhitespace), CFRangeMake(0, CFStringGetLength(theString)), kCFCompareBackwards, &theRange))
116 CFStringDelete(theString, theRange);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecRecoveryPassword.c108 static void secNormalize(CFMutableStringRef theString, CFLocaleRef theLocale) argument
112 CFStringFold(theString, kCFCompareCaseInsensitive | kCFCompareDiacriticInsensitive | kCFCompareWidthInsensitive, theLocale);
113 CFStringNormalize(theString, kCFStringNormalizationFormKC);
114 CFStringTrimWhitespace(theString);
115 while(CFStringFindCharacterFromSet(theString, CFCharacterSetGetPredefined(kCFCharacterSetWhitespace), CFRangeMake(0, CFStringGetLength(theString)), kCFCompareBackwards, &theRange))
116 CFStringDelete(theString, theRange);
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dstrmatch.cpp25 StringMatcher::StringMatcher(const UnicodeString& theString, argument
35 theString.extractBetween(start, limit, pattern);
H A Dreldtfmt.cpp168 const UChar *theString = getStringForDay(dayDiff, len, status); local
169 if(U_SUCCESS(status) && (theString!=NULL)) {
171 relativeDayString.setTo(theString, len);
/macosx-10.10.1/webdavfs-367/mount.tproj/
H A Dwebdav_authcache.c77 char *CopyCFStringToCString(CFStringRef theString);
153 char *CopyCFStringToCString(CFStringRef theString) argument
160 range = CFRangeMake(0, CFStringGetLength(theString));
161 converted = CFStringGetBytes(theString, range, kCFStringEncodingUTF8, 0, false, NULL, 0, &usedBufLen);
165 converted = CFStringGetBytes(theString, range, kCFStringEncodingUTF8, 0, false, (UInt8 *)cstring, usedBufLen, &usedBufLen);
/macosx-10.10.1/Security-57031.1.35/SecurityTool/
H A DcreateFVMaster.c78 static char *secCopyCString(CFStringRef theString);
241 char *secCopyCString(CFStringRef theString) argument
243 CFIndex maxLength = CFStringGetMaximumSizeForEncoding(CFStringGetLength(theString), kCFStringEncodingUTF8) + 1;
245 Boolean converted = CFStringGetCString(theString, buffer, maxLength, kCFStringEncodingUTF8);
/macosx-10.10.1/cups-408/cups/backend/
H A Dusb-darwin.c1754 CFMutableStringRef theString = CFStringCreateMutableCopy(NULL, 0, kvpair); local
1755 CFStringTrimWhitespace(theString);
1756 range = CFStringFind(theString, keys[idxx], kCFCompareCaseInsensitive);
1758 value = CFStringCreateWithSubstring(NULL, theString, CFRangeMake(range.length, CFStringGetLength(theString) - range.length));
1760 CFRelease(theString);
1764 CFStringRef theString = CFStringCreateWithSubstring(NULL, kvpair, CFRangeMake(range.length, CFStringGetLength(kvpair) - range.length)); local
1765 CFMutableStringRef theString2 = CFStringCreateMutableCopy(NULL, 0, theString);
1766 CFRelease(theString);
/macosx-10.10.1/smb-759.0/lib/smb/
H A Dparse_url.c39 static void LogCFString(CFStringRef theString, const char *debugstr, const char * func, int lineNum) argument
43 if (theString == NULL)
45 CFStringGetCString(theString, prntstr, 1024, kCFStringEncodingUTF8);
52 #define DebugLogCFString(theString, debugstr, func, lineNum)
/macosx-10.10.1/ppp-786.1.1/Helpers/vpnd/
H A Dipsec_utils.c3438 CFStringRef theString = NULL; local
3441 theString = CFStringCreateWithCString(NULL, str_buf, kCFStringEncodingUTF8);
3442 if (theString == NULL)
3444 theLength = CFStringGetLength(theString);
3446 if (find_injection(theString, CFSTR("include "), theLength))
3448 if (find_injection(theString, CFSTR("privsep "), theLength))
3450 if (find_injection(theString, CFSTR("path "), theLength))
3452 if (find_injection(theString, CFSTR("timer "), theLength))
3454 if (find_injection(theString, CFSTR("listen "), theLength))
3456 if (find_injection(theString, CFST
[all...]

Completed in 204 milliseconds

12