/macosx-10.9.5/llvmCore-3425.0.33/unittests/ADT/ |
H A D | SmallStringTest.cpp | 29 StringType theString; member in class:__anon10732::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.9.5/Security-55471.14.18/libsecurity_transform/lib/ |
H A D | c++utils.cpp | 5 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 D | c++utils.h | 7 std::string StringFromCFString(CFStringRef theString); 8 CFStringRef CFStringFromString(std::string theString);
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFString.h | 242 CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString); 258 CFMutableStringRef CFStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFStringRef theString); 274 CFIndex CFStringGetLength(CFStringRef theString); 282 UniChar CFStringGetCharacterAtIndex(CFStringRef theString, CFIndex idx); 285 void CFStringGetCharacters(CFStringRef theString, CFRange range, UniChar *buffer); 299 Boolean CFStringGetPascalString(CFStringRef theString, StringPtr buffer, CFIndex bufferSize, CFStringEncoding encoding); 302 Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding); 310 ConstStringPtr CFStringGetPascalStringPtr(CFStringRef theString, CFStringEncoding encoding); /* May return NULL at any time; be prepared for NULL */ 313 const char *CFStringGetCStringPtr(CFStringRef theString, CFStringEncoding encoding); /* May return NULL at any time; be prepared for NULL */ 316 const UniChar *CFStringGetCharactersPtr(CFStringRef theString); /* Ma 798 CFStringRef theString; member in struct:__anon534 [all...] |
H A D | CFCharacterSet.h | 145 @param theString The CFString which should be used to specify 152 CFCharacterSetRef CFCharacterSetCreateWithCharactersInString(CFAllocatorRef alloc, CFStringRef theString); 343 @param theString The string to add to the character set. 348 void CFCharacterSetAddCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString); 356 @param theString The string to remove from the character set. 361 void CFCharacterSetRemoveCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
|
H A D | CFPriv.h | 326 CFStringGetCharacters(buf->theString, CFRangeMake(location, length), buf->buffer); 361 CFStringGetCharacters(buf->theString, CFRangeMake(location, length), outBuf); 372 else CFStringGetCharacters((buf)->theString, CFRangeMake((buf)->rangeToBuffer.location + desiredRange.location, desiredRange.length), outBuf); 385 CFMutableStringRef theString; member in struct:__anon481 393 buf->theString = CFStringCreateMutable(alloc, 0); 402 CFStringAppendCharacters(buf->theString, buf->buffer, buf->bufferIndex); 405 CFStringAppend(buf->theString, appendedString); 409 CFStringAppendCharacters(buf->theString, buf->buffer, buf->bufferIndex); 422 CFStringAppendCharacters(buf->theString, buf->buffer, buf->bufferIndex); 425 CFStringAppendCharacters(buf->theString, char [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/textutil/ |
H A D | expander.tcl | 873 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.9.5/AppleUSBIrDA-145.2.4/IrDA/IAS/ |
H A D | IrIASService.h | 89 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 D | IrIASService.cpp | 659 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 D | IrIASServer.cpp | 357 //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.9.5/tcl-102/tcl_ext/tclae/tclae/generic/ |
H A D | osxMacTcl.c | 67 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.9.5/BerkeleyDB-21/db/examples_cxx/getting_started/ |
H A D | excxx_example_database_load.cpp | 115 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 D | gettingStartedCommon.hpp | 119 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.9.5/tcl-102/tcl_ext/memchan/memchan/tools/ |
H A D | expand | 438 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.9.5/tcl-102/tcl_ext/trf/trf/tools/ |
H A D | expand | 438 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.9.5/tcl-102/tcl_ext/quicktimetcl/quicktimetcl/ |
H A D | osxMacTcl.c | 64 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.9.5/tcl-102/tcl_ext/tclapplescript/tclapplescript/ |
H A D | osxMacTcl.c | 65 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.9.5/smb-697.95.1/smbutil/ |
H A D | dfs.c | 56 fprintfCFString(CFStringRef theString, const char *preStr, Boolean newLn) argument 60 if (theString == NULL) { 63 CFStringGetCString(theString, prntstr, 1024, kCFStringEncodingUTF8);
|
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/ |
H A D | SecRecoveryPassword.c | 108 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.9.5/Security-55471.14.18/libsecurity_keychain/Security/ |
H A D | SecRecoveryPassword.c | 108 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.9.5/Security-55471.14.18/libsecurity_keychain/lib/ |
H A D | SecRecoveryPassword.c | 108 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.9.5/ICU-511.35/icuSources/i18n/ |
H A D | strmatch.cpp | 25 StringMatcher::StringMatcher(const UnicodeString& theString, argument 35 theString.extractBetween(start, limit, pattern);
|
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/ |
H A D | webdav_authcache.c | 77 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.9.5/SecurityTool-55115/ |
H A D | createFVMaster.c | 78 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.9.5/ppp-727.90.1/Helpers/vpnd/ |
H A D | ipsec_utils.c | 3425 CFStringRef theString = NULL; local 3428 theString = CFStringCreateWithCString(NULL, str_buf, kCFStringEncodingUTF8); 3429 if (theString == NULL) 3431 theLength = CFStringGetLength(theString); 3433 if (find_injection(theString, CFSTR("include "), theLength)) 3435 if (find_injection(theString, CFSTR("privsep "), theLength)) 3437 if (find_injection(theString, CFSTR("path "), theLength)) 3439 if (find_injection(theString, CFSTR("timer "), theLength)) 3441 if (find_injection(theString, CFSTR("listen "), theLength)) 3443 if (find_injection(theString, CFST [all...] |