/external/python/google-api-python-client/scripts/ |
D | changesummary_test.py | 26 from changesummary import ChangeType 108 df[df["Key"] == "schemas.FileList"].ChangeType.iloc[0], ChangeType.ADDED 134 df[df["Key"] == "schemas.Task"].ChangeType.iloc[0], ChangeType.DELETED 149 self.assertEqual(len(df[df["ChangeType"] == ChangeType.CHANGED]), 1) 150 self.assertEqual(len(df[df["ChangeType"] == ChangeType.ADDED]), 1) 151 self.assertEqual(len(df[df["ChangeType"] == ChangeType.DELETED]), 2) 159 self.assertEqual(df[df["Key"] == key].ChangeType.iloc[0], ChangeType.DELETED)
|
D | changesummary.py | 41 class ChangeType(IntEnum): class 271 ChangeType.DELETED, 272 np.where(added_condition, ChangeType.ADDED, ChangeType.CHANGED), 371 filter_features = (dataframe["ChangeType"] == ChangeType.DELETED) | ( 372 dataframe["ChangeType"] == ChangeType.ADDED 428 lastType = ChangeType.UNKNOWN 474 lastType = ChangeType.UNKNOWN 479 if currentType == ChangeType.DELETED: 481 elif currentType == ChangeType.ADDED:
|
D | buildprbody.py | 20 from changesummary import ChangeType 73 dataframe["IsStable"] & (dataframe["ChangeType"] == ChangeType.DELETED) 83 & (dataframe["ChangeType"] == ChangeType.DELETED)
|
D | buildprbody_test.py | 24 from changesummary import ChangeType
|
/external/cronet/net/android/javatests/src/org/chromium/net/ |
D | NetworkChangeNotifierTest.java | 354 private static enum ChangeType { NONE, CONNECT, SOON_TO_DISCONNECT, DISCONNECT, PURGE_LIST } enum in NetworkChangeNotifierTest 359 final ChangeType mChangeType; 367 ChangeInfo(ChangeType changeType, long netId) { in ChangeInfo() 390 mChanges.add(new ChangeInfo(ChangeType.CONNECT, netId)); in onNetworkConnect() 396 mChanges.add(new ChangeInfo(ChangeType.SOON_TO_DISCONNECT, netId)); in onNetworkSoonToDisconnect() 402 mChanges.add(new ChangeInfo(ChangeType.DISCONNECT, netId)); in onNetworkDisconnect() 409 mChanges.add(new ChangeInfo(ChangeType.PURGE_LIST, activeNetIds[0])); in purgeActiveNetworkList() 411 mChanges.add(new ChangeInfo(ChangeType.PURGE_LIST, NetId.INVALID)); in purgeActiveNetworkList() 416 public void assertLastChange(ChangeType type, int netId) throws Exception { in assertLastChange() 982 observer.assertLastChange(ChangeType.PURGE_LIST, NetId.INVALID); in testNetworkCallbacks() [all …]
|
/external/cronet/net/cert/ |
D | caching_cert_verifier_unittest.cc | 210 enum class ChangeType { enum 218 : public testing::TestWithParam<ChangeType> { 227 ChangeType change_type() const { return GetParam(); } in change_type() 231 case ChangeType::kSetConfig: in DoCacheClearingAction() 234 case ChangeType::kCertVerifierChanged: in DoCacheClearingAction() 237 case ChangeType::kCertDBChanged: in DoCacheClearingAction() 354 testing::Values(ChangeType::kSetConfig, 355 ChangeType::kCertVerifierChanged, 356 ChangeType::kCertDBChanged));
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | ChartDelta.java | 228 private enum ChangeType { enum in ChartDelta 230 public static ChangeType get(String oldValue, String currentValue) { in get() 238 private Counter<ChangeType> counter = new Counter<>(); 239 private Map<String, Counter<ChangeType>> fileCounters = new TreeMap<>(); 245 private void addChange(String file, ChangeType changeType, int count) { in addChange() 247 Counter<ChangeType> fileCounter = fileCounters.get(file); in addChange() 258 for (ChangeType item : ChangeType.values()) { in showTotals() 259 pw.print("\t" + (item == ChangeType.same ? "total" : item.toString())); in showTotals() 264 for (Entry<String, Counter<ChangeType>> entry : fileCounters.entrySet()) { in showTotals() 276 private void showTotal(PrintWriter pw, String title2, Counter<ChangeType> counter2) { in showTotal() [all …]
|
/external/openscreen/discovery/mdns/ |
D | mdns_record_changed_callback.h | 25 enum ChangeType { kStartQuery, kStopQuery }; enum 30 ChangeType change_type;
|
/external/cronet/base/metrics/ |
D | persistent_memory_allocator.h | 465 bool ChangeType(Reference ref, 563 if (!ChangeType(ref, kTypeIdTransitioning, from_type_id, clear)) in New() 571 ChangeType(ref, T::kPersistentTypeId, kTypeIdTransitioning, false); in New() 586 if (!ChangeType(ref, kTypeIdTransitioning, T::kPersistentTypeId, false)) in Delete() 592 bool success = ChangeType(ref, new_type, kTypeIdTransitioning, false); in Delete()
|
D | persistent_memory_allocator_unittest.cc | 227 allocator_->ChangeType(block2, 3, 2, false); in TEST_F() 638 local.ChangeType(r456, 654, 456, false); in TEST() 714 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 119, 911, false)); in TEST() 719 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 191, 119, true)); in TEST() 743 local.ChangeType(r456, 654, 456, false); in TEST()
|
D | persistent_memory_allocator.cc | 556 bool PersistentMemoryAllocator::ChangeType(Reference ref, in ChangeType() function in base::PersistentMemoryAllocator 1223 allocator_->ChangeType(ref, 0, type_, /*clear=*/false); in Get()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 453 bool ChangeType(Reference ref, 551 if (!ChangeType(ref, kTypeIdTransitioning, from_type_id, clear)) in New() 559 ChangeType(ref, T::kPersistentTypeId, kTypeIdTransitioning, false); in New() 574 if (!ChangeType(ref, kTypeIdTransitioning, T::kPersistentTypeId, false)) in Delete() 580 bool success = ChangeType(ref, new_type, kTypeIdTransitioning, false); in Delete()
|
D | persistent_memory_allocator_unittest.cc | 223 allocator_->ChangeType(block2, 3, 2, false); in TEST_F() 630 local.ChangeType(r456, 654, 456, false); in TEST() 708 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 119, 911, false)); in TEST() 713 ASSERT_TRUE(shalloc3.ChangeType(data_ref, 191, 119, true)); in TEST() 738 local.ChangeType(r456, 654, 456, false); in TEST()
|
D | persistent_memory_allocator.cc | 554 bool PersistentMemoryAllocator::ChangeType(Reference ref, in ChangeType() function in base::PersistentMemoryAllocator 1189 allocator_->ChangeType(ref, 0, type_, /*clear=*/false); in Get()
|
/external/cronet/net/spdy/ |
D | spdy_session_pool_unittest.cc | 915 enum class ChangeType { enum 924 public ::testing::WithParamInterface<ChangeType> { 929 if (GetParam() == ChangeType::kIpAddress) { in SetUp() 936 case ChangeType::kIpAddress: in SimulateChange() 939 case ChangeType::kSSLConfig: in SimulateChange() 942 case ChangeType::kCertDatabase: in SimulateChange() 952 case ChangeType::kCertVerifier: in SimulateChange() 960 case ChangeType::kIpAddress: in ExpectedNetError() 962 case ChangeType::kSSLConfig: in ExpectedNetError() 964 case ChangeType::kCertDatabase: in ExpectedNetError() [all …]
|
/external/cronet/net/android/ |
D | network_change_notifier_android_unittest.cc | 27 enum ChangeType { enum 138 void ExpectChange(ChangeType change, handles::NetworkHandle network) { in ExpectChange() 173 ChangeType last_change_type_; 242 void FakeNetworkChange(ChangeType change, in FakeNetworkChange()
|
/external/gptfdisk/ |
D | gptcurses.h | 107 void ChangeType(int partNum);
|
D | gptpart.h | 98 void ChangeType(void); // Change the type code
|
D | gptcurses.cc | 375 void GPTDataCurses::ChangeType(int partNum) { in ChangeType() function in GPTDataCurses 473 ChangeType(partNum); in MakeNewPart() 734 ChangeType(currentSpace->partNum); in Dispatch()
|
D | gpttext.cc | 255 partitions[partNum].ChangeType(); in CreatePartition() 287 partitions[partNum].ChangeType(); in ChangePartType()
|
D | gptpart.cc | 433 void GPTPart::ChangeType(void) { function in GPTPart
|
/external/libchrome/base/debug/ |
D | activity_tracker_unittest.cc | 573 global->allocator()->ChangeType( in TEST_F() 576 global->allocator()->ChangeType( in TEST_F() 579 global->allocator()->ChangeType( in TEST_F()
|
D | activity_tracker.cc | 85 if (allocator->ChangeType(ref, to_type, from_type, /*clear=*/false)) in AllocateFrom() 201 if (allocator_->ChangeType(cached, object_type_, object_free_type_, false)) in GetObjectReference() 219 if (allocator_->ChangeType(found, object_type_, object_free_type_, false)) in GetObjectReference() 241 bool success = allocator_->ChangeType(ref, object_free_type_, object_type_, in ReleaseObjectReference() 1591 allocator_->ChangeType(ref, ~type, type, /*clear=*/true); in CleanupAfterProcess()
|
/external/go-cmp/cmp/internal/teststructs/ |
D | project1.go | 259 ChangeType []pb.SummerType member
|
/external/python/google-api-python-client/scripts/test_resources/buildprbody_resources/ |
D | allapis.dataframe | 1 ,Key,Added,Deleted,Name,Version,ChangeType,Count,IsStable,IsFeature,IsFeatureAggregate,Summary
|