/external/chromium_org/chrome/browser/install_verification/win/ |
loaded_modules_snapshot_unittest.cc | 18 std::vector<HMODULE> snapshot; local 20 ASSERT_TRUE(GetLoadedModulesSnapshot(&snapshot)); 21 size_t original_snapshot_size = snapshot.size(); 23 snapshot.clear(); 33 ASSERT_TRUE(GetLoadedModulesSnapshot(&snapshot)); 34 ASSERT_GT(snapshot.size(), original_snapshot_size); 35 ASSERT_NE(snapshot.end(), 36 std::find(snapshot.begin(), snapshot.end(), new_dll));
|
module_list_unittest.cc | 17 std::vector<HMODULE> snapshot; local 18 ASSERT_TRUE(GetLoadedModulesSnapshot(&snapshot)); 20 ModuleList::FromLoadedModuleSnapshot(snapshot)); 25 snapshot.clear(); 36 // Verify that there is an increase in the snapshot size. 37 ASSERT_TRUE(GetLoadedModulesSnapshot(&snapshot)); 38 module_list = ModuleList::FromLoadedModuleSnapshot(snapshot); 49 // List the modules from the stale snapshot (including a dangling HMODULE to 51 module_list = ModuleList::FromLoadedModuleSnapshot(snapshot);
|
module_verification_common.cc | 21 std::vector<HMODULE> snapshot; local 22 if (!GetLoadedModulesSnapshot(&snapshot)) 25 ModuleList::FromLoadedModuleSnapshot(snapshot)->GetModuleInfoSet(
|
module_verification_test.cc | 21 std::vector<HMODULE> snapshot; local 22 if (!GetLoadedModulesSnapshot(&snapshot)) 24 ModuleList::FromLoadedModuleSnapshot(snapshot)->GetModuleInfoSet(
|
/external/chromium_org/tools/telemetry/telemetry/core/heap/ |
model.py | 8 """ The heap snapshot model is a set of LiveHeapObjects. The LiveHeapObjects 15 raise ValueError("Cannot import snapshot data") namespace
|
/frameworks/base/services/java/com/android/server/am/ |
CoreSettingsObserver.java | 82 private void populateCoreSettings(Bundle snapshot) { 91 snapshot.putString(setting, value); 95 snapshot.putInt(setting, value); 99 snapshot.putFloat(setting, value); 103 snapshot.putLong(setting, value);
|
/external/chromium/chrome/browser/ |
process_info_snapshot_mac_unittest.cc | 27 ProcessInfoSnapshot snapshot; local 28 ASSERT_TRUE(snapshot.Sample(pid_list)); 31 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); 42 EXPECT_TRUE(snapshot.GetCommittedKBytesOfPID(1, &usage)); 44 EXPECT_TRUE(snapshot.GetWorkingSetKBytesOfPID(1, &ws_usage)); 47 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 50 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 53 snapshot.Reset(); 54 EXPECT_FALSE(snapshot.GetProcInfo(1, &proc_info)); 68 ProcessInfoSnapshot snapshot; local 124 ProcessInfoSnapshot snapshot; local [all...] |
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
processes_and_threads.cc | 17 HANDLE snapshot = ::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL); local 18 if (INVALID_HANDLE_VALUE == snapshot) { 27 BOOL result = ::Process32First(snapshot, &process_entry); 45 result = ::Process32Next(snapshot, &process_entry); 54 ::CloseHandle(snapshot); 61 HANDLE snapshot = ::CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, NULL); local 62 if (INVALID_HANDLE_VALUE == snapshot) { 71 BOOL result = ::Thread32First(snapshot, &thread_entry); 89 result = Thread32Next(snapshot, &thread_entry); 101 ::CloseHandle(snapshot); [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
ListenerLeakTest.cpp | 64 const v8::HeapSnapshot* snapshot = profiler->TakeHeapSnapshot(v8::String::NewFromUtf8(isolate, "")); local 65 if (!snapshot) 68 for (int i = 0; i < snapshot->GetNodesCount(); ++i) { 69 const v8::HeapGraphNode* node = snapshot->GetNode(i);
|
/external/chromium_org/v8/src/ |
heap-snapshot-generator-inl.h | 31 #include "heap-snapshot-generator.h" 38 return &snapshot()->entries()[from_index_]; 42 HeapSnapshot* HeapGraphEdge::snapshot() const { function in class:v8::internal::HeapGraphEdge 43 return to_entry_->snapshot();
|
/external/chromium/chrome/browser/sync/engine/ |
all_status.cc | 48 const sessions::SyncSessionSnapshot* snapshot = event.snapshot; local 49 status.unsynced_count += static_cast<int>(snapshot->unsynced_count); 50 status.conflicting_count += snapshot->errors.num_conflicting_commits; 53 status.conflicting_count += snapshot->num_conflicting_updates; 55 status.syncing |= snapshot->syncer_status.syncing; 56 status.syncing = snapshot->has_more_to_sync && snapshot->is_silenced; 57 status.initial_sync_ended |= snapshot->is_share_usable; 58 status.syncer_stuck |= snapshot->syncer_status.syncer_stuck [all...] |
syncer_types.h | 109 const sessions::SyncSessionSnapshot* snapshot; member in struct:browser_sync::SyncEngineEvent
|
/external/chromium_org/chrome/browser/ |
process_info_snapshot_mac_unittest.cc | 29 ProcessInfoSnapshot snapshot; local 30 ASSERT_TRUE(snapshot.Sample(pid_list)); 33 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); 44 EXPECT_TRUE(snapshot.GetCommittedKBytesOfPID(1, &usage)); 46 EXPECT_TRUE(snapshot.GetWorkingSetKBytesOfPID(1, &ws_usage)); 49 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 52 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 55 snapshot.Reset(); 56 EXPECT_FALSE(snapshot.GetProcInfo(1, &proc_info)); 70 ProcessInfoSnapshot snapshot; local 128 ProcessInfoSnapshot snapshot; local [all...] |
/external/chromium_org/sync/engine/ |
sync_engine_event.h | 42 // the listeners to figure out the action to take using the snapshot sent. 60 sessions::SyncSessionSnapshot snapshot; member in struct:syncer::SyncEngineEvent
|
all_status.cc | 40 const sessions::SyncSessionSnapshot& snapshot = event.snapshot; local 41 status.encryption_conflicts = snapshot.num_encryption_conflicts(); 42 status.hierarchy_conflicts = snapshot.num_hierarchy_conflicts(); 43 status.server_conflicts = snapshot.num_server_conflicts(); 45 snapshot.model_neutral_state().num_successful_commits; 53 status.updates_available += snapshot.num_server_changes_remaining(); 55 snapshot.model_neutral_state().sync_protocol_error; 57 status.num_entries_by_type = snapshot.num_entries_by_type(); 59 snapshot.num_to_delete_entries_by_type() [all...] |
/libcore/luni/src/main/java/libcore/util/ |
BasicLruCache.java | 113 public synchronized final Map<K, V> snapshot() { method in class:BasicLruCache
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouteControllerDialog.java | 43 * 1. Shows thumbnail/snapshot of the current item 77 mThumbnail = (ImageView)v.findViewById(R.id.snapshot); 109 Bitmap snapshot = mPlayer.getSnapshot(); local 110 if (mPlayer.isRemotePlayback() && !trackInfo.isEmpty() && snapshot != null) { 112 mThumbnail.setImageBitmap(snapshot);
|
/external/chromium/base/metrics/ |
histogram_unittest.cc | 340 Histogram::SampleSet snapshot; local 341 histogram->SnapshotSample(&snapshot); 343 EXPECT_EQ(0, histogram->FindCorruption(snapshot)); // No default corruption. 344 EXPECT_EQ(2, snapshot.redundant_count()); 346 snapshot.counts_[3] += 100; // Sample count won't match redundant count. 347 EXPECT_EQ(Histogram::COUNT_LOW_ERROR, histogram->FindCorruption(snapshot)); 348 snapshot.counts_[2] -= 200; 349 EXPECT_EQ(Histogram::COUNT_HIGH_ERROR, histogram->FindCorruption(snapshot)); 352 snapshot.counts_[1] += 100; 353 EXPECT_EQ(0, histogram->FindCorruption(snapshot)); 360 Histogram::SampleSet snapshot; local [all...] |
/external/chromium_org/base/metrics/ |
statistics_recorder_unittest.cc | 159 StatisticsRecorder::Histograms snapshot; local 160 StatisticsRecorder::GetSnapshot("Test", &snapshot); 161 EXPECT_EQ(3u, snapshot.size()); 163 snapshot.clear(); 164 StatisticsRecorder::GetSnapshot("1", &snapshot); 165 EXPECT_EQ(1u, snapshot.size()); 167 snapshot.clear(); 168 StatisticsRecorder::GetSnapshot("hello", &snapshot); 169 EXPECT_EQ(0u, snapshot.size());
|
histogram_unittest.cc | 317 scoped_ptr<SampleVector> snapshot = histogram->SnapshotSampleVector(); local 319 histogram->FindCorruption(*snapshot)); 320 EXPECT_EQ(2, snapshot->redundant_count()); 321 EXPECT_EQ(2, snapshot->TotalCount()); 323 snapshot->counts_[3] += 100; // Sample count won't match redundant count. 325 histogram->FindCorruption(*snapshot)); 326 snapshot->counts_[2] -= 200; 328 histogram->FindCorruption(*snapshot)); 331 snapshot->counts_[1] += 100; 333 histogram->FindCorruption(*snapshot)); 340 scoped_ptr<SampleVector> snapshot = histogram->SnapshotSampleVector(); local [all...] |
sparse_histogram.cc | 56 scoped_ptr<SampleMap> snapshot(new SampleMap()); 59 snapshot->Add(samples_); 60 return snapshot.PassAs<HistogramSamples>(); 118 scoped_ptr<HistogramSamples> snapshot = SnapshotSamples(); local 119 Count total_count = snapshot->TotalCount(); 131 scoped_ptr<SampleCountIterator> it = snapshot->Iterator(); 147 it = snapshot->Iterator();
|
statistics_recorder.cc | 137 Histograms snapshot; 138 GetSnapshot(query, &snapshot); 139 for (Histograms::iterator it = snapshot.begin(); 140 it != snapshot.end(); 157 Histograms snapshot; local 158 GetSnapshot(query, &snapshot); 159 for (Histograms::iterator it = snapshot.begin(); 160 it != snapshot.end(); 179 Histograms snapshot; local 180 GetSnapshot(query, &snapshot); [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
heap_snapshot_taker_unittest.cc | 98 scoped_ptr<base::Value> snapshot; local 99 Status status = taker.TakeSnapshot(&snapshot); 101 ASSERT_TRUE(GetSnapshotAsValue()->Equals(snapshot.get())); 109 scoped_ptr<base::Value> snapshot; local 110 Status status = taker.TakeSnapshot(&snapshot); 112 ASSERT_FALSE(snapshot.get()); 120 scoped_ptr<base::Value> snapshot; local 121 Status status = taker.TakeSnapshot(&snapshot); 123 ASSERT_FALSE(snapshot.get()); 131 scoped_ptr<base::Value> snapshot; local 142 scoped_ptr<base::Value> snapshot; local 174 scoped_ptr<base::Value> snapshot; local 206 scoped_ptr<base::Value> snapshot; local 217 scoped_ptr<base::Value> snapshot; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
options.h | 17 class Snapshot; 154 // If "snapshot" is non-NULL, read as of the supplied snapshot 156 // not have been released). If "snapshot" is NULL, use an impliicit 157 // snapshot of the state at the beginning of this read operation. 159 const Snapshot* snapshot; member in struct:leveldb::ReadOptions 164 snapshot(NULL) {
|
/frameworks/base/core/tests/coretests/src/android/os/ |
PerformanceCollectorTest.java | 51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); local 52 assertNotNull(snapshot); 53 assertEquals(2, snapshot.size()); 60 Bundle snapshot = mPerfCollector.endSnapshot(); local 62 verifySnapshotBundle(snapshot); 111 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); local 112 assertNotNull(snapshot); 113 assertEquals(2, snapshot.size()); 348 * by staggering calls to snapshot and timing functions. 399 private void verifySnapshotBundle(Bundle snapshot) { [all...] |