/external/webkit/Source/WebCore/platform/image-decoders/cg/ |
ImageDecoderCG.cpp | 45 m_bytes = getPtrAsPixelData(m_backingStore.get()); 56 m_backingStore.adoptCF(CFDataCreateMutableCopy(kCFAllocatorDefault, 0, other.m_backingStore.get())); 57 m_bytes = getPtrAsPixelData(m_backingStore.get()); 72 m_bytes = reinterpret_cast<PixelData*>(CFDataGetMutableBytePtr(m_backingStore.get())); 86 return CGColorSpaceCreateWithICCProfile(data.get()); 88 RetainPtr<CGDataProviderRef> profileDataProvider(AdoptCF, CGDataProviderCreateWithCFData(data.get())); 90 return CGColorSpaceCreateICCBased(3, ranges, profileDataProvider.get(), deviceRGBColorSpaceRef()); 97 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(m_backingStore.get())); 101 return CGImageCreate(width(), height(), 8, 32, width() * sizeof(PixelData), colorSpace.get(), 102 alphaInfo | kCGBitmapByteOrder32Host, dataProvider.get(), 0, /*shouldInterpolate=*/true, kCGRenderingIntentDefault) [all...] |
/external/webkit/Tools/DumpRenderTree/cf/ |
WebArchiveDumpSupport.cpp | 75 CFDictionarySetValue(resource, CFSTR("WebResourceData"), dataAsString.get()); 118 RetainPtr<CFMutableStringRef> urlString(AdoptCF, CFStringCreateMutableCopy(kCFAllocatorDefault, 0, CFURLGetString(CFURLResponseGetURL(response.get())))); 119 normalizeWebResourceURL(urlString.get()); 120 CFDictionarySetValue(responseDictionary.get(), CFSTR("URL"), urlString.get()); 122 RetainPtr<CFMutableStringRef> mimeTypeString(AdoptCF, CFStringCreateMutableCopy(kCFAllocatorDefault, 0, CFURLResponseGetMIMEType(response.get()))); 123 convertMIMEType(mimeTypeString.get()); 124 CFDictionarySetValue(responseDictionary.get(), CFSTR("MIMEType"), mimeTypeString.get()); 126 CFStringRef textEncodingName = CFURLResponseGetTextEncodingName(response.get()); [all...] |
/external/webkit/Source/WebKit2/UIProcess/cf/ |
WebPreferencesCF.cpp | 48 RetainPtr<CFPropertyListRef> value(AdoptCF, CFPreferencesCopyAppValue(makeKey(identifier, baseKey).get(), kCFPreferencesCurrentApplication)); 51 if (CFGetTypeID(value.get()) != CFStringGetTypeID()) 54 store.setStringValueForKey(baseKey, (CFStringRef)value.get()); 59 RetainPtr<CFPropertyListRef> value(AdoptCF, CFPreferencesCopyAppValue(makeKey(identifier, baseKey).get(), kCFPreferencesCurrentApplication)); 62 if (CFGetTypeID(value.get()) != CFBooleanGetTypeID()) 65 store.setBoolValueForKey(baseKey, CFBooleanGetValue((CFBooleanRef)value.get()) ? true : false); 70 RetainPtr<CFPropertyListRef> value(AdoptCF, CFPreferencesCopyAppValue(makeKey(identifier, baseKey).get(), kCFPreferencesCurrentApplication)); 73 if (CFGetTypeID(value.get()) != CFNumberGetTypeID()) 76 if (!CFNumberGetValue((CFNumberRef)value.get(), kCFNumberSInt32Type, &intValue)) 84 RetainPtr<CFPropertyListRef> value(AdoptCF, CFPreferencesCopyAppValue(makeKey(identifier, baseKey).get(), kCFPreferencesCurrentApplication)) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 88 assertTrue("Clear didn't clear bit " + i, !eightbs.get(i)); 103 assertFalse("Failed to clear bit", eightbs.get(7)); 107 assertTrue("Clear cleared incorrect bits", eightbs.get(i)); 110 assertFalse("Failed to clear bit", eightbs.get(165)); 167 assertFalse("Shouldn't have flipped bit " + i, bs.get(i)); 177 assertTrue("Shouldn't have cleared bit " + i, bs.get(i)); 180 assertFalse("Failed to clear bit " + i, bs.get(i)); 183 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i)); 191 assertFalse("Failed to clear bit " + i, bs.get(i)); 194 assertFalse("Shouldn't have flipped bit " + i, bs.get(i)) [all...] |
/external/clang/test/SemaCXX/ |
rval-references-examples.cpp | 104 template<typename T> T get(); 107 forward(F0(), get<A&>(), get<A const&>(), get<A>(), get<const A>(), 108 get<A&&>(), get<const A&&>()); 109 forward(F0(), get<A&>(), get<A const&>(), get<A>(), get<const A>(), // expected-note{{in instantiation of function template specialization 'perf (…) [all...] |
/external/webkit/Source/WebCore/platform/network/cf/ |
SocketStreamHandleCFNet.cpp | 90 CFReadStreamSetClient(m_readStream.get(), static_cast<CFOptionFlags>(-1), readStreamCallback, &clientContext); 91 CFWriteStreamSetClient(m_writeStream.get(), static_cast<CFOptionFlags>(-1), writeStreamCallback, &clientContext); 94 CFReadStreamScheduleWithRunLoop(m_readStream.get(), loaderRunLoop(), kCFRunLoopDefaultMode); 95 CFWriteStreamScheduleWithRunLoop(m_writeStream.get(), loaderRunLoop(), kCFRunLoopDefaultMode); 97 CFReadStreamScheduleWithRunLoop(m_readStream.get(), CFRunLoopGetCurrent(), kCFRunLoopCommonModes); 98 CFWriteStreamScheduleWithRunLoop(m_writeStream.get(), CFRunLoopGetCurrent(), kCFRunLoopCommonModes); 101 CFReadStreamOpen(m_readStream.get()); 102 CFWriteStreamOpen(m_writeStream.get()); 146 m_pacRunLoopSource.adoptCF(CFNetworkExecuteProxyAutoConfigurationURL(pacFileURL, m_httpsURL.get(), pacExecutionCallback, &clientContext)); 148 CFRunLoopAddSource(loaderRunLoop(), m_pacRunLoopSource.get(), kCFRunLoopDefaultMode) [all...] |
ResourceResponseCFNet.cpp | 56 m_cfResponse.adoptCF(CFURLResponseCreate(0, url.get(), mimeType.get(), m_expectedContentLength, textEncodingName.get(), kCFURLCacheStorageAllowed)); 59 return m_cfResponse.get(); 84 ASSERT(!m_cfResponse.get()); 89 m_url = CFURLResponseGetURL(m_cfResponse.get()); 90 m_mimeType = CFURLResponseGetMIMEType(m_cfResponse.get()); 91 m_expectedContentLength = CFURLResponseGetExpectedContentLength(m_cfResponse.get()); 92 m_textEncodingName = CFURLResponseGetTextEncodingName(m_cfResponse.get()); 99 m_lastModifiedDate = toTimeT(CFURLResponseGetLastModifiedDate(m_cfResponse.get())); [all...] |
ResourceRequestCFNet.cpp | 89 return m_cfRequest.get(); 96 CFIndex oldHeaderFieldCount = CFDictionaryGetCount(oldHeaderFields.get()); 99 CFDictionaryGetKeysAndValues(oldHeaderFields.get(), reinterpret_cast<const void**>(&oldHeaderFieldNames[0]), 0); 121 cfRequest = CFURLRequestCreateMutableCopy(0, m_cfRequest.get()); 122 CFURLRequestSetURL(cfRequest, url.get()); 123 CFURLRequestSetMainDocumentURL(cfRequest, firstPartyForCookies.get()); 127 cfRequest = CFURLRequestCreateMutable(0, url.get(), (CFURLRequestCachePolicy)cachePolicy(), timeoutInterval(), firstPartyForCookies.get()); 131 CFURLRequestSetHTTPRequestMethod(cfRequest, requestMethod.get()); 141 CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding(encodingName.get()); [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCAAnimationWin.cpp | 155 CACFAnimationSetKeyPath(m_animation.get(), s.get()); 212 return m_animation.get(); 217 return CACFAnimationGetKeyPath(m_animation.get()); 222 return CACFAnimationGetBeginTime(m_animation.get()); 227 CACFAnimationSetBeginTime(m_animation.get(), value); 232 return CACFAnimationGetDuration(m_animation.get()); 237 CACFAnimationSetDuration(m_animation.get(), value); 242 return CACFAnimationGetSpeed(m_animation.get()); 247 CACFAnimationSetSpeed(m_animation.get(), value) [all...] |
/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/ |
NullCipherSpiTest.java | 127 inbuf.get(); 128 inbuf.get(); 129 inbuf.get(); 130 inbuf.get(); 134 assertEquals("incorrect outbuf", i + 4, outbuf.get(i)); 139 inbuf.get(); 140 inbuf.get(); 141 inbuf.get(); 142 inbuf.get(); 172 inbuf.get(); [all...] |
/external/llvm/unittests/VMCore/ |
MetadataTest.cpp | 33 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); 35 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3)); 45 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); 46 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3)); 54 MDString *s = MDString::get(Context, StringRef(str, 13)); 67 MDString *s = MDString::get(Context, StringRef(str+0, 5)); 81 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); 82 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3)); 83 ConstantInt *CI = ConstantInt::get(getGlobalContext(), APInt(8, 0)); 90 MDNode *n1 = MDNode::get(Context, V) [all...] |
/external/webkit/Source/WebKit2/Shared/mac/ |
CoreAnimationRenderer.mm | 52 [m_renderer.get() setLayer:layer]; 54 WKCARendererAddChangeNotificationObserver(m_renderer.get(), rendererDidChange, this); 64 [m_renderer.get() setBounds:bounds]; 68 [[m_renderer.get() layer] setFrame:bounds]; 74 [m_renderer.get() beginFrameAtTime:frameTime timeStamp:timeStamp]; 75 [m_renderer.get() render]; 76 nextFrameTime = [m_renderer.get() nextFrameTime]; 77 [m_renderer.get() endFrame]; 84 WKCARendererRemoveChangeNotificationObserver(m_renderer.get(), rendererDidChange, this);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectInputStreamGetFieldTest.java | 32 * {@code ObjectInputStream.GetField}. The only way to get an implementation is 128 fields.get("noValue", false); 130 "argument in get(String, boolean)."); 134 fields.get("noValue", (byte) 0); 136 "argument in get(String, byte)."); 140 fields.get("noValue", (char) 0); 142 "argument in get(String, char)."); 146 fields.get("noValue", 0.0); 148 "argument in get(String, double)."); 152 fields.get("noValue", 0.0f) [all...] |
/external/chromium/net/base/ |
network_change_notifier_mac.cc | 32 CFArrayAppendValue(notification_keys.get(), key.get()); 35 CFArrayAppendValue(notification_keys.get(), key.get()); 38 CFArrayAppendValue(notification_keys.get(), key.get()); 42 store, notification_keys.get(), NULL);
|
/external/webkit/Source/WebCore/bindings/v8/ |
V8IsolatedContext.cpp | 58 if (m_context->get().IsEmpty()) 62 v8::Context::Scope contextScope(m_context->get()); 64 getGlobalObject(m_context->get())->SetPointerInInternalField(V8DOMWindow::enteredIsolatedWorldIndex, this); 66 V8DOMWindowShell::installHiddenObjectPrototype(m_context->get()); 68 proxy->windowShell()->installDOMWindow(m_context->get(), proxy->frame()->domWindow()); 76 m_context->get()->UseDefaultSecurityToken(); 83 m_context->get().MakeWeak(this, &contextWeakReferenceCallback);
|
/external/webkit/Source/WebCore/platform/text/cf/ |
HyphenationCF.cpp | 45 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 52 RetainPtr<CFLocaleRef> locale(AdoptCF, CFLocaleCreate(kCFAllocatorDefault, cfLocaleIdentifier.get())); 54 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 65 return cfLocaleCache().get(localeIdentifier); 72 RetainPtr<CFLocaleRef> locale = cfLocaleCache().get(localeIdentifier); 75 CFIndex result = CFStringGetHyphenationLocationBeforeIndex(string.get(), beforeIndex, CFRangeMake(0, length), 0, locale.get(), 0);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
WorkQueueItemMac.mm | 43 RetainPtr<CFStringRef> urlCF(AdoptCF, JSStringCopyCFString(kCFAllocatorDefault, m_url.get())); 44 NSString *urlNS = (NSString *)urlCF.get(); 45 RetainPtr<CFStringRef> targetCF(AdoptCF, JSStringCopyCFString(kCFAllocatorDefault, m_target.get())); 46 NSString *targetNS = (NSString *)targetCF.get(); 59 RetainPtr<CFStringRef> contentCF(AdoptCF, JSStringCopyCFString(kCFAllocatorDefault, m_content.get())); 60 RetainPtr<CFStringRef> baseURLCF(AdoptCF, JSStringCopyCFString(kCFAllocatorDefault, m_baseURL.get())); 63 RetainPtr<CFStringRef> unreachableURLCF(AdoptCF, JSStringCopyCFString(kCFAllocatorDefault, m_unreachableURL.get())); 64 [mainFrame loadAlternateHTMLString:(NSString *)contentCF.get() baseURL:[NSURL URLWithString:(NSString *)baseURLCF.get()] forUnreachableURL:[NSURL URLWithString:(NSString *)unreachableURLCF.get()]]; [all...] |
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
CanHandleRequest.cpp | 59 setInjectedBundleClient(context.get()); 61 _WKContextRegisterURLSchemeAsEmptyDocument(context.get(), Util::toWK("emptyscheme").get()); 63 PlatformWebView webView(context.get()); 65 WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple", "html")).get()); 67 WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("CheckCanHandleRequest").get(), 0);
|
/external/chromium/base/json/ |
json_reader_unittest.cc | 19 ASSERT_TRUE(root.get()); 24 ASSERT_FALSE(root.get()); 28 ASSERT_TRUE(root.get()); 33 ASSERT_TRUE(root.get()); 36 ASSERT_TRUE(root.get()); 39 ASSERT_TRUE(root.get()); 43 ASSERT_TRUE(root.get()); 51 ASSERT_TRUE(root.get()); 59 ASSERT_FALSE(root.get()); 61 ASSERT_FALSE(root.get()); [all...] |
/external/chromium/chrome/browser/ |
cookies_tree_model_unittest.cc | 37 new MockBrowsingDataDatabaseHelper(profile_.get()); 39 new MockBrowsingDataLocalStorageHelper(profile_.get()); 41 new MockBrowsingDataLocalStorageHelper(profile_.get()); 43 new MockBrowsingDataAppCacheHelper(profile_.get()); 45 new MockBrowsingDataIndexedDBHelper(profile_.get()); 92 // Get the cookie names in the cookie list, as a comma seperated string. 164 // Get the nodes names displayed in the view (if we had one) in the order 242 GetDisplayedCookies(cookies_model.get())); 244 GetDisplayedDatabases(cookies_model.get())); 246 GetDisplayedLocalStorages(cookies_model.get())); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form12x.java | 55 return regs.get(sz - 2).regString() + ", " + 56 regs.get(sz - 1).regString(); 85 rs1 = regs.get(0); 86 rs2 = regs.get(1); 94 rs1 = regs.get(1); 95 rs2 = regs.get(2); 96 if (rs1.getReg() != regs.get(0).getReg()) { 129 makeByte(regs.get(sz - 2).getReg(), 130 regs.get(sz - 1).getReg())));
|
/external/antlr/src/org/antlr/runtime/misc/ |
DoubleKeyMap.java | 13 Map<Key2, Value> data2 = data.get(k1); 20 prev = data2.get(k2); 26 public Value get(Key1 k1, Key2 k2) { method in class:DoubleKeyMap 27 Map<Key2, Value> data2 = data.get(k1); 29 return data2.get(k2); 32 public Map<Key2, Value> get(Key1 k1) { return data.get(k1); } method in class:DoubleKeyMap 34 /** Get all values associated with primary key */ 36 Map<Key2, Value> data2 = data.get(k1); 41 /** get all primary keys * [all...] |
/external/chromium/crypto/ |
signature_verifier_openssl.cc | 44 if (!algorithm.get()) 47 const EVP_MD* digest = EVP_get_digestbyobj(algorithm.get()->algorithm); 56 if (!bio.get()) 59 verify_context_->public_key.reset(d2i_PUBKEY_bio(bio.get(), NULL)); 60 if (!verify_context_->public_key.get()) 64 int rv = EVP_VerifyInit_ex(verify_context_->ctx.get(), digest, NULL); 72 int rv = EVP_VerifyUpdate(verify_context_->ctx.get(), 80 int rv = EVP_VerifyFinal(verify_context_->ctx.get(), 82 verify_context_->public_key.get());
|
/external/chromium/webkit/glue/ |
webvideoframe_impl.cc | 19 return wrapped_frame->video_frame_.get(); 51 if (video_frame_.get()) 57 if (video_frame_.get()) 63 if (video_frame_.get()) 69 if (video_frame_.get()) 75 if (video_frame_.get()) 81 if (video_frame_.get()) 87 if (video_frame_.get()) 93 if (video_frame_.get())
|
/external/webkit/Source/WebCore/inspector/ |
WorkerInspectorController.cpp | 77 , m_debuggerAgent(WorkerDebuggerAgent::create(m_instrumentingAgents.get(), m_state.get(), workerContext, m_injectedScriptManager.get())) 79 , m_runtimeAgent(adoptPtr(new WorkerRuntimeAgent(m_injectedScriptManager.get(), workerContext))) 90 , m_debuggerAgent.get() 122 m_debuggerAgent.get(), 129 m_runtimeAgent.get(), 133 m_injectedScriptManager->injectedScriptHost()->setFrontend(m_frontend.get()); 135 m_debuggerAgent->setFrontend(m_frontend.get());
|