/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_auto_ptr.h | 54 _Tp* __px = this->get(); 60 _Tp* __pt = this->get(); 66 _Tp* get() const _STLP_NOTHROW 75 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 76 return get(); 80 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 81 return *get(); 107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } 119 { return auto_ptr_ref<_Tp1>(*this, this->get()); } 124 { return auto_ptr_ref<_Tp>(*this, this->get()); } [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_auto_ptr.h | 54 _Tp* __px = this->get(); 60 _Tp* __pt = this->get(); 66 _Tp* get() const _STLP_NOTHROW 75 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 76 return get(); 80 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 81 return *get(); 107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } 119 { return auto_ptr_ref<_Tp1>(*this, this->get()); } 124 { return auto_ptr_ref<_Tp>(*this, this->get()); } [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_auto_ptr.h | 54 _Tp* __px = this->get(); 60 _Tp* __pt = this->get(); 66 _Tp* get() const _STLP_NOTHROW 75 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 76 return get(); 80 _STLP_VERBOSE_ASSERT(get() != 0, _StlMsg_AUTO_PTR_NULL) 81 return *get(); 107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } 119 { return auto_ptr_ref<_Tp1>(*this, this->get()); } 124 { return auto_ptr_ref<_Tp>(*this, this->get()); } [all...] |
/external/chromium/chrome/browser/profiles/ |
profile_impl.cc | 301 OnPrefsLoaded(prefs_.get(), true); 436 extension_prefs_.get(), 519 if (PathService::Get(chrome::DIR_RESOURCES, &path)) { 564 if (!ntp_resource_cache_.get()) 566 return ntp_resource_cache_.get(); 596 if (download_manager_.get()) { 613 if (password_store_.get()) 622 if (web_data_service_.get()) 625 if (top_sites_.get()) 628 if (history_service_.get()) [all...] |
/external/chromium/net/base/ |
gzip_filter.cc | 29 inflateEnd(zlib_stream_.get()); 39 if (!zlib_stream_.get()) 41 memset(zlib_stream_.get(), 0, sizeof(z_stream)); 46 if (inflateInit(zlib_stream_.get()) != Z_OK) 56 if (!gzip_header_.get()) 58 if (inflateInit2(zlib_stream_.get(), -MAX_WBITS) != Z_OK) 98 // a partial header. Return now to get more data. 212 zlib_stream_.get()->next_in = bit_cast<Bytef*>(next_stream_data_); 213 zlib_stream_.get()->avail_in = stream_data_len_; 214 zlib_stream_.get()->next_out = bit_cast<Bytef*>(dest_buffer) [all...] |
/external/chromium/net/websockets/ |
websocket_throttle_unittest.cc | 88 new SocketStream(GURL("ws://host1/"), w1.get())); 89 w1->InitSocketStream(s1.get()); 108 new SocketStream(GURL("ws://host2/"), w2.get())); 109 w2->InitSocketStream(s2.get()); 127 new SocketStream(GURL("ws://host3/"), w3.get())); 128 w3->InitSocketStream(s3.get()); 146 new SocketStream(GURL("ws://host4/"), w4.get())); 147 w4->InitSocketStream(s4.get()); 164 new SocketStream(GURL("ws://host5/"), w5.get())); 165 w5->InitSocketStream(s5.get()); [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
PopupMenuGtk.cpp | 53 g_signal_handlers_disconnect_matched(m_popup.get(), G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, this); 64 g_signal_connect(m_popup.get(), "unmap", G_CALLBACK(PopupMenuGtk::menuUnmapped), this); 65 g_signal_connect(m_popup.get(), "key-press-event", G_CALLBACK(PopupMenuGtk::keyPressEventCallback), this); 67 gtk_container_foreach(GTK_CONTAINER(m_popup.get()), reinterpret_cast<GtkCallback>(menuRemoveItem), this); 92 gtk_menu_shell_append(GTK_MENU_SHELL(m_popup.get()), item); 96 gtk_menu_set_active(m_popup.get(), index); 101 gtk_widget_set_size_request(GTK_WIDGET(m_popup.get()), -1, -1); 103 gtk_widget_size_request(GTK_WIDGET(m_popup.get()), &requisition); 105 gtk_widget_get_preferred_size(GTK_WIDGET(m_popup.get()), &requisition, 0); 108 gtk_widget_set_size_request(GTK_WIDGET(m_popup.get()), std::max(rect.width(), requisition.width), -1) [all...] |
/external/webkit/Source/WebKit2/UIProcess/cf/ |
WebPageProxyCF.cpp | 58 values[numValues] = sessionHistoryDictionary.get(); 70 values[numValues] = provisionalURLString.get(); 84 if (!CFWriteStreamOpen(writeStream.get())) 87 if (!CFPropertyListWriteToStream(stateDictionary.get(), writeStream.get(), kCFPropertyListBinaryFormat_v1_0, 0)) 90 RetainPtr<CFDataRef> stateCFData(AdoptCF, (CFDataRef)CFWriteStreamCopyProperty(writeStream.get(), kCFStreamPropertyDataWritten)); 92 CFIndex length = CFDataGetLength(stateCFData.get()); 102 CFDataGetBytes(stateCFData.get(), CFRangeMake(0, length), stateVector.data() + sizeof(UInt32)); 123 RetainPtr<CFPropertyListRef> propertyList(AdoptCF, CFPropertyListCreateFromXMLData(0, data.get(), kCFPropertyListImmutable, &propertyListError)); 133 if (CFGetTypeID(propertyList.get()) != CFDictionaryGetTypeID()) [all...] |
/external/chromium/base/memory/ |
weak_ptr_unittest.cc | 47 EXPECT_EQ(&data, ptr.get()); 60 EXPECT_TRUE(ptr.get() == NULL); 66 EXPECT_TRUE(ptr.get() == NULL); 76 EXPECT_EQ(&data, a.get()); 77 EXPECT_EQ(&data, b.get()); 79 EXPECT_TRUE(a.get() == NULL); 80 EXPECT_TRUE(b.get() == NULL); 88 EXPECT_EQ(ptr.get(), &data); 94 EXPECT_EQ(&f, ptr.get()); 101 EXPECT_EQ(&data, ptr.get()); [all...] |
/external/chromium/chrome/browser/policy/ |
cloud_policy_subsystem.cc | 62 cloud_policy_cache_->set_policy_notifier(notifier_.get()); 66 new DeviceTokenFetcher(device_management_service_.get(), 67 cloud_policy_cache_.get(), 68 notifier_.get())); 71 new CloudPolicyController(device_management_service_.get(), 72 cloud_policy_cache_.get(), 73 device_token_fetcher_.get(), 75 notifier_.get())); 90 cloud_policy_controller_.get()) { 101 if (device_management_service_.get()) [all...] |
/external/skia/src/pdf/ |
SkPDFPage.cpp | 31 if (fContentStream.get() == NULL) { 32 insert("Resources", fDevice->getResourceDict().get()); 33 insert("MediaBox", fDevice->getMediaBox().get()); 37 fContentStream = new SkPDFStream(content.get()); 39 insert("Contents", new SkPDFObjRef(fContentStream.get()))->unref(); 41 catalog->addObject(fContentStream.get(), firstPage); 46 SkASSERT(fContentStream.get() != NULL); 47 catalog->setFileOffset(fContentStream.get(), fileOffset); 52 SkASSERT(fContentStream.get() != NULL); 107 curNodes[i]->insert(parentName.get(), newNodeRef.get()) [all...] |
/external/webkit/Source/WebCore/editing/ |
InsertLineBreakCommand.cpp | 118 insertNodeAt(nodeToInsert.get(), pos); 123 VisiblePosition endingPosition(positionBeforeNode(nodeToInsert.get())); 126 insertNodeAt(nodeToInsert.get(), pos); 129 if (!isStartOfParagraph(positionBeforeNode(nodeToInsert.get()))) 130 insertNodeBefore(nodeToInsert->cloneNode(false).get(), nodeToInsert.get()); 132 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM)); 136 insertNodeAt(nodeToInsert.get(), pos); 137 setEndingSelection(VisibleSelection(positionInParentAfterNode(nodeToInsert.get()), DOWNSTREAM)); 157 insertNodeAt(nbspNode.get(), positionBeforeTextNode) [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ImageMac.mm | 76 return m_tiffRep.get(); 97 RetainPtr<CGImageDestinationRef> destination(AdoptCF, CGImageDestinationCreateWithData(data.get(), CFSTR("public.tiff"), numValidFrames, 0)); 103 CGImageDestinationAddImage(destination.get(), images[i], 0); 105 CGImageDestinationFinalize(destination.get()); 108 return m_tiffRep.get(); 114 return m_nsImage.get(); 121 return m_nsImage.get();
|
/external/webkit/Source/WebKit/android/jni/ |
CookieManager.cpp | 47 bool regularAcceptCookies = WebCookieJar::get(false)->allowCookies(); 48 ASSERT(regularAcceptCookies == WebCookieJar::get(true)->allowCookies()); 63 std::string cookies = WebCookieJar::get(privateBrowsing)->cookieStore()->GetCookieMonster()->GetCookiesWithOptions(gurl, options); 75 return WebCookieJar::get(privateBrowsing)->getNumCookiesInDatabase() > 0; 86 WebCookieJar::get(false)->cookieStore()->GetCookieMonster()->DeleteAll(true); 92 WebCookieJar::get(true)->cookieStore()->GetCookieMonster()->DeleteAll(true); 96 WebCookieJar::get(true)->cookieStore()->GetCookieMonster()->FlushStore(NULL); 104 WebCookieJar::get(false)->cookieStore()->GetCookieMonster()->GetAllCookies(); 105 WebCookieJar::get(true)->cookieStore()->GetCookieMonster()->GetAllCookies(); 124 removeSessionCookies(WebCookieJar::get(false)) [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
SocketStreamHandle.cpp | 94 ASSERT(m_socket.get()); 101 ASSERT(m_socket.get()); 128 if (m_handle && m_socket.get()) { 129 ASSERT(socketHandle == m_socket.get()); 144 if (m_handle && m_socket.get()) { 145 ASSERT(socketHandle == m_socket.get()); 155 if (m_handle && m_socket.get()) { 156 ASSERT(socketHandle == m_socket.get()); 165 if (m_handle && m_socket.get()) { 166 ASSERT(socketHandle == m_socket.get()); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
NetworkState.java | 84 } else if (mStateDepository.get(0) != mTransitionTarget) { 86 mStateDepository.get(0)); 87 mReason = mTransitionTarget + " is expected, but it is " + mStateDepository.get(0); 107 if (mStateDepository.get(0) != State.CONNECTED) { 109 mStateDepository.get(0) + "."; 112 State lastState = mStateDepository.get(mStateDepository.size() - 1); 118 State preState = mStateDepository.get(i-1); 119 State curState = mStateDepository.get(i); 139 if (mStateDepository.get(0) != State.DISCONNECTED) { 141 mStateDepository.get(0) + "." [all...] |
/sdk/chimpchat/test/com/android/chimpchat/adb/ |
LinearInterpolatorTest.java | 65 assertEquals(new Point(STEP_POINTS.get(x), 100), points.get(x)); 79 assertEquals(new Point(REVERSE_STEP_POINTS.get(x), 100), points.get(x)); 93 assertEquals(new Point(100, REVERSE_STEP_POINTS.get(x)), points.get(x)); 107 assertEquals(new Point(100, STEP_POINTS.get(x)), points.get(x)); 121 assertEquals(new Point(STEP_POINTS.get(x), STEP_POINTS.get(x)), points.get(x)) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
ListIntSet.java | 71 while (j < szOther && o.ints.get(j) < ints.get(i)) { 72 add(o.ints.get(j++)); 77 while (i < szThis && o.ints.get(j) >= ints.get(i)) { 83 add(o.ints.get(j++)); 123 return ints.get(idx++);
|
/dalvik/dx/src/com/android/dx/util/ |
ListIntSet.java | 71 while (j < szOther && o.ints.get(j) < ints.get(i)) { 72 add(o.ints.get(j++)); 77 while (i < szThis && o.ints.get(j) >= ints.get(i)) { 83 add(o.ints.get(j++)); 123 return ints.get(idx++);
|
/external/antlr/src/org/antlr/runtime/ |
CommonTokenStream.java | 68 while ( tokens.get(p).getChannel()!=channel ) { 86 return tokens.get(i); 103 return tokens.get(i); 111 while ( tokens.get(i).getChannel()!=channel ) { // also stops at EOF (it's onchannel) 119 while ( i>=0 && ((Token)tokens.get(i)).getChannel()!=channel ) { 129 while ( tokens.get(i).getChannel()!=channel ) { 141 Token t = tokens.get(i);
|
/external/chromium/chrome/browser/prefs/ |
pref_service_mock_builder.cc | 109 new PrefService(managed_platform_prefs_.get(), 110 managed_cloud_prefs_.get(), 111 extension_prefs_.get(), 112 command_line_prefs_.get(), 113 user_prefs_.get(), 114 recommended_platform_prefs_.get(), 115 recommended_cloud_prefs_.get(),
|
/external/chromium/chrome/browser/ui/views/ |
find_bar_host_uitest.cc | 34 ASSERT_TRUE(tabA.get()); 39 ASSERT_TRUE(browser.get() != NULL); 43 EXPECT_TRUE(WaitForBookmarkBarVisibilityChange(browser.get(), true)); 47 EXPECT_TRUE(WaitForFindWindowVisibilityChange(browser.get(), true)); 56 ASSERT_TRUE(tabB.get()); 70 EXPECT_TRUE(WaitForBookmarkBarVisibilityChange(browser.get(), false)); 78 ASSERT_TRUE(tabC.get());
|
/external/webkit/Source/WebCore/platform/win/ |
LocalizedStringsWin.cpp | 57 RetainPtr<CFURLRef> dllURL(AdoptCF, CFURLCreateWithFileSystemPath(0, dllPath.get(), kCFURLWindowsPathStyle, false)); 58 RetainPtr<CFURLRef> dllDirectoryURL(AdoptCF, CFURLCreateCopyDeletingLastPathComponent(0, dllURL.get())); 59 RetainPtr<CFURLRef> resourcesDirectoryURL(AdoptCF, CFURLCreateCopyAppendingPathComponent(0, dllDirectoryURL.get(), CFSTR("WebKit.resources"), true)); 61 return CFBundleCreate(0, resourcesDirectoryURL.get()); 81 RetainPtr<CFStringRef> result(AdoptCF, CFCopyLocalizedStringWithDefaultValue(keyString.get(), 0, webKitBundle(), notFound, 0)); 82 ASSERT_WITH_MESSAGE(result.get() != notFound, "could not find localizable string %s in bundle", key); 84 return result.get();
|
/external/webkit/Source/WebKit2/Shared/cg/ |
ShareableBitmapCG.cpp | 55 m_size.width(), m_size.height(), 8, m_size.width() * 4, colorSpace.get(), 59 CGContextTranslateCTM(bitmapContext.get(), 0, m_size.height()); 60 CGContextScaleCTM(bitmapContext.get(), 1, -1); 62 return adoptPtr(new GraphicsContext(bitmapContext.get())); 67 paintImage(context.platformContext(), makeCGImageCopy().get(), dstPoint, srcRect); 83 RetainPtr<CGImageRef> image(AdoptCF, CGImageCreate(m_size.width(), m_size.height(), 8, 32, m_size.width() * 4, colorSpace.get(), bitmapInfo(m_flags), dataProvider.get(), 0, false, kCGRenderingIntentDefault));
|
/external/webkit/Tools/WebKitTestRunner/ |
StringFunctions.h | 54 return toWK(string.get()); 64 return toJS(string.get()); 71 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); 72 return std::string(buffer.get(), stringLength - 1); 77 return toSTD(string.get()); 92 return out << stringRef.get(); 105 return out << urlRef.get();
|