/packages/apps/Camera2/src/com/android/camera/data/ |
D | NewestFirstComparator.java | 58 int cmp = compareDate(d1PrimaryDate, d2PrimaryDate); in compare() local 59 if (cmp == 0) { in compare() 60 cmp = compareDate(d1Data.getLastModifiedDate(), in compare() 63 if (cmp == 0) { in compare() 64 cmp = d1Data.getTitle().compareTo(d2Data.getTitle()); in compare() 66 return cmp; in compare()
|
/packages/providers/MediaProvider/jni/ |
D | node-inl.h | 477 int cmp = strcasecmp(lhs->name_.c_str(), rhs->name_.c_str()); in operator() local 478 if (cmp != 0) { in operator() 479 return cmp < 0; in operator() 485 int cmp = strcasecmp(lhs->name_.c_str(), rhs.first.c_str()); in operator() local 486 if (cmp != 0) { in operator() 487 return cmp < 0; in operator() 493 int cmp = strcasecmp(lhs.first.c_str(), rhs->name_.c_str()); in operator() local 494 if (cmp != 0) { in operator() 495 return cmp < 0; in operator()
|
D | node_test.cpp | 46 node::NodeCompare cmp; member in NodeTest 409 ASSERT_FALSE(cmp.operator()(node_a.get(), node_a.get())); in TEST_F() 410 ASSERT_FALSE(cmp.operator()(node_b.get(), node_b.get())); in TEST_F() 411 ASSERT_FALSE(cmp.operator()(node_c.get(), node_c.get())); in TEST_F() 414 ASSERT_TRUE(cmp.operator()(lhs_node, rhs_node)); in TEST_F() 415 ASSERT_FALSE(cmp.operator()(rhs_node, lhs_node)); in TEST_F() 423 ASSERT_TRUE(cmp.operator()(std::make_pair("A", 0), node_a.get())); in TEST_F() 424 ASSERT_TRUE(cmp.operator()(node_a.get(), in TEST_F() 426 ASSERT_TRUE(cmp.operator()(std::make_pair("A", std::numeric_limits<uintptr_t>::max()), in TEST_F()
|
/packages/apps/Car/Radio/src/com/android/car/radio/bands/ |
D | RegionConfig.java | 64 Comparator<BandDescriptor> cmp = (BandDescriptor a, BandDescriptor b) -> in RegionConfig() local 66 Collections.sort(mAmConfig, cmp); in RegionConfig() 67 Collections.sort(mFmConfig, cmp); in RegionConfig()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | strtod.h | 211 int cmp = CheckWithinHalfULP(a.Value(), dInt, dExp); in StrtodBigInteger() local 212 if (cmp < 0) in StrtodBigInteger() 214 else if (cmp == 0) { in StrtodBigInteger()
|
D | biginteger.h | 187 int cmp = Compare(rhs); in Difference() local 188 RAPIDJSON_ASSERT(cmp != 0); in Difference() 191 if (cmp < 0) { a = &rhs; b = this; ret = true; } in Difference()
|
/packages/modules/NeuralNetworks/common/ |
D | Types.cpp | 93 constexpr auto cmp = [](const auto& performance, auto type) { return performance.type < type; }; in lookup() local 94 const auto it = std::lower_bound(mSorted.begin(), mSorted.end(), operandType, cmp); in lookup()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/ |
D | TestHarness.h | 249 const std::map<int, std::vector<T>>& test, std::function<void(T, T)> cmp) { in compare_() argument 250 for_each<T>(golden, test, [&cmp](int index, const std::vector<T>& g, const std::vector<T>& t) { in compare_() 254 cmp(g[i], t[i]); in compare_()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestUnknownDimensions.cpp | 99 std::function<void(T, T)> cmp) { in CompareGeneric() argument 103 cmp(golden[i], test[i]); in CompareGeneric()
|
/packages/modules/Virtualization/authfs/src/ |
D | common.rs | 45 let chunk_data_size = std::cmp::min( in next()
|
D | fusefs.rs | 150 let size_to_read = std::cmp::min(size as usize, remaining as usize); in read_chunks()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | generate_api.sh | 46 ${DRYRUN} cmp -s ${out} ${TEMPFILE} || {
|
/packages/modules/Virtualization/authfs/src/file/ |
D | local_file.rs | 17 use std::cmp::min;
|
D | remote_file.rs | 17 use std::cmp::min;
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/ |
D | test.py | 89 return filecmp.cmp(actual, expect, False)
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | main.rs | 30 use std::cmp::min;
|
/packages/modules/Virtualization/zipfuse/src/ |
D | main.rs | 262 let end = std::cmp::min(end, ofb.buf.len()); in read()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 336 const StatsCmp cmp) { in expectStatsFromGetResolverInfo() argument 375 switch (cmp) { in expectStatsFromGetResolverInfo() 389 ADD_FAILURE() << "Unknown comparator " << static_cast<int>(cmp); in expectStatsFromGetResolverInfo()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | fi_wordlist.combined.gz |
|