Searched refs:stringRef (Results 1 - 17 of 17) sorted by relevance

/macosx-10.9.5/WebKit2-7537.78.2/Shared/API/c/cf/
H A DWKStringCF.cpp41 CFStringRef WKStringCopyCFString(CFAllocatorRef allocatorRef, WKStringRef stringRef) argument
43 ASSERT(!toImpl(stringRef)->string().isNull());
47 if (toImpl(stringRef)->string().is8Bit())
48 return CFStringCreateWithBytes(allocatorRef, reinterpret_cast<const UInt8*>(toImpl(stringRef)->string().characters8()), toImpl(stringRef)->string().length(), kCFStringEncodingISOLatin1, true);
49 return CFStringCreateWithCharacters(allocatorRef, reinterpret_cast<const UniChar*>(toImpl(stringRef)->string().characters16()), toImpl(stringRef)->string().length());
/macosx-10.9.5/WebKit2-7537.78.2/Shared/API/c/
H A DWKString.cpp45 bool WKStringIsEmpty(WKStringRef stringRef) argument
47 return toImpl(stringRef)->isEmpty();
50 size_t WKStringGetLength(WKStringRef stringRef) argument
52 return toImpl(stringRef)->length();
55 size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) argument
58 return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
61 size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef) argument
63 return toImpl(stringRef)->maximumUTF8CStringSize();
66 size_t WKStringGetUTF8CString(WKStringRef stringRef, char* buffer, size_t bufferSize) argument
68 return toImpl(stringRef)
92 WKStringCopyJSString(WKStringRef stringRef) argument
[all...]
H A DWKSharedAPICast.h185 inline String toWTFString(WKStringRef stringRef) argument
187 if (!stringRef)
189 return toImpl(stringRef)->string();
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/cpp/qt/
H A DWKStringQt.cpp38 QString WKStringCopyQString(WKStringRef stringRef) argument
40 if (!stringRef)
42 const WTF::String& string = toImpl(stringRef)->string();
47 QString adoptToQString(WKStringRef stringRef) argument
49 return WKStringCopyQString(adoptWK(stringRef).get());
/macosx-10.9.5/bless-98/libbless/EFI/
H A DBLCopyEFINVRAMVariableAsString.c46 CFStringRef stringRef; local
86 stringRef = CFStringCreateWithCString(kCFAllocatorDefault, cStr, kCFStringEncodingUTF8);
87 if(stringRef == NULL) {
91 *value = stringRef;
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/cpp/efl/
H A DWKEinaSharedString.cpp60 WKEinaSharedString::WKEinaSharedString(WKAdoptTag adoptTag, WKStringRef stringRef) argument
61 : m_string(fromRefType(stringRef, /*adopt*/ true))
66 WKEinaSharedString::WKEinaSharedString(WKStringRef stringRef) argument
67 : m_string(fromRefType(stringRef))
/macosx-10.9.5/WebKit-7537.78.2/blackberry/Api/
H A DJavaScriptVariant.cpp47 JSStringRef stringRef = JSValueToStringCopy(ctx, value, 0); local
48 if (!stringRef) {
52 size_t bufferSize = JSStringGetMaximumUTF8CStringSize(stringRef);
54 size_t rc = JSStringGetUTF8CString(stringRef, buffer.data(), bufferSize);
56 JSStringRelease(stringRef);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/
H A DTwine.h138 const StringRef *stringRef; member in union:llvm::Twine::Child
284 LHS.stringRef = &Str;
351 RHS.stringRef = &_RHS;
358 LHS.stringRef = &_LHS;
433 case StringRefKind: return *LHS.stringRef;
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecItem.cpp639 CFStringRef stringRef; local
646 stringRef = (CFStringRef) kSecAttrKeyClassPublic;
649 stringRef = (CFStringRef) kSecAttrKeyClassPrivate;
652 stringRef = (CFStringRef) kSecAttrKeyClassSymmetric;
655 stringRef = CFStringCreateWithFormat(allocator, NULL, CFSTR("%d"), keyRecordValue);
658 if (stringRef) {
659 if (retainString) CFRetain(stringRef);
660 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), stringRef);
661 CFRelease(stringRef);
670 stringRef
722 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)list.attr[i].data, list.attr[i].length, kCFStringEncodingUTF8, FALSE); local
925 CFStringRef stringRef; local
1008 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)attribute->data, attribute->length, kCFStringEncodingUTF8, FALSE); local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecItem.cpp639 CFStringRef stringRef; local
646 stringRef = (CFStringRef) kSecAttrKeyClassPublic;
649 stringRef = (CFStringRef) kSecAttrKeyClassPrivate;
652 stringRef = (CFStringRef) kSecAttrKeyClassSymmetric;
655 stringRef = CFStringCreateWithFormat(allocator, NULL, CFSTR("%d"), keyRecordValue);
658 if (stringRef) {
659 if (retainString) CFRetain(stringRef);
660 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), stringRef);
661 CFRelease(stringRef);
670 stringRef
722 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)list.attr[i].data, list.attr[i].length, kCFStringEncodingUTF8, FALSE); local
925 CFStringRef stringRef; local
1008 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)attribute->data, attribute->length, kCFStringEncodingUTF8, FALSE); local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecItem.cpp639 CFStringRef stringRef; local
646 stringRef = (CFStringRef) kSecAttrKeyClassPublic;
649 stringRef = (CFStringRef) kSecAttrKeyClassPrivate;
652 stringRef = (CFStringRef) kSecAttrKeyClassSymmetric;
655 stringRef = CFStringCreateWithFormat(allocator, NULL, CFSTR("%d"), keyRecordValue);
658 if (stringRef) {
659 if (retainString) CFRetain(stringRef);
660 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), stringRef);
661 CFRelease(stringRef);
670 stringRef
722 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)list.attr[i].data, list.attr[i].length, kCFStringEncodingUTF8, FALSE); local
925 CFStringRef stringRef; local
1008 CFStringRef stringRef = CFStringCreateWithBytes(allocator, (UInt8*)attribute->data, attribute->length, kCFStringEncodingUTF8, FALSE); local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DTwine.cpp73 OS << *Ptr.stringRef;
123 << Ptr.stringRef << "\"";
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/
H A Dacsp.c610 CFStringRef stringRef; local
642 stringRef = CFArrayGetValueAtIndex(addrArrayRef, i);
644 CFStringGetCString(stringRef, addrStr, STR_BUFSIZE, kCFStringEncodingUTF8);
646 stringRef = CFArrayGetValueAtIndex(maskArrayRef, i);
648 CFStringGetCString(stringRef, maskStr, STR_BUFSIZE, kCFStringEncodingUTF8);
650 stringRef = CFArrayGetValueAtIndex(typeArrayRef, i);
651 if (CFStringCompare(stringRef, kRASValIPv4OfferedRouteTypesPrivate, 0) == kCFCompareEqualTo)
653 else if(CFStringCompare(stringRef, kRASValIPv4OfferedRouteTypesPublic, 0) == kCFCompareEqualTo)
698 CFStringRef stringRef; local
728 stringRef
779 CFStringRef stringRef; local
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSValueRef.cpp401 RefPtr<OpaqueJSString> stringRef(OpaqueJSString::create(jsValue.toString(exec)->value(exec)));
406 stringRef.clear();
408 return stringRef.release().leakRef();
/macosx-10.9.5/IOFireWireFamily-455.4.0/IOFireWireLib.CFPlugInProj/
H A DIOFireWireLibConfigDirectory.cpp327 UserObjectHandle stringRef ; local
337 stringRef = (UserObjectHandle) outputVal[0];
341 result = mUserClient.CreateCFStringWithOSStringRef(stringRef, stringLen, value) ;
/macosx-10.9.5/WebCore-7537.78.1/bridge/qt/
H A Dqt_runtime.cpp196 static QString toString(JSStringRef stringRef) argument
198 return QString(reinterpret_cast<const QChar*>(JSStringGetCharactersPtr(stringRef)), JSStringGetLength(stringRef));
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/
H A Dwebdav_network.c916 CFStringRef stringRef; local
922 stringRef = CFStringCreateWithCString(kCFAllocatorDefault, node_path, kCFStringEncodingUTF8);
923 require_string(stringRef != NULL, CFStringCreateWithCString, "name was not legal UTF8");
927 escapedPathRef = CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, stringRef, NULL, CFSTR(";?"), kCFStringEncodingUTF8);
945 escapedPathRef = CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, stringRef, NULL, CFSTR(":;?"), kCFStringEncodingUTF8);
963 CFRelease(stringRef);

Completed in 217 milliseconds