/system/chre/util/tests/ |
D | array_queue_test.cc | 60 ArrayQueue<int, 4> q; in TEST() local 61 EXPECT_TRUE(q.empty()); in TEST() 62 EXPECT_EQ(0, q.size()); in TEST() 66 ArrayQueue<int, 3> q; in TEST() local 67 EXPECT_TRUE(q.push(1)); in TEST() 68 EXPECT_TRUE(q.push(2)); in TEST() 69 q.pop(); in TEST() 70 EXPECT_TRUE(q.push(3)); in TEST() 74 ArrayQueue<int, 3> q; in TEST() local 75 EXPECT_TRUE(q.push(0)); in TEST() [all …]
|
D | priority_queue_test.cc | 59 PriorityQueue<int> q; in TEST() local 60 EXPECT_TRUE(q.empty()); in TEST() 61 EXPECT_EQ(0, q.size()); in TEST() 62 EXPECT_EQ(0, q.capacity()); in TEST() 66 PriorityQueue<int> q; in TEST() local 68 EXPECT_TRUE(q.push(0)); in TEST() 69 EXPECT_TRUE(q.push(2)); in TEST() 70 EXPECT_TRUE(q.push(3)); in TEST() 71 EXPECT_TRUE(q.push(1)); in TEST() 72 q.pop(); in TEST() [all …]
|
D | atomic_spsc_queue_test.cc | 62 AtomicSpscQueue<int, 4> q; in TEST() local 63 EXPECT_EQ(4, q.capacity()); in TEST() 64 EXPECT_TRUE(q.consumer().empty()); in TEST() 65 EXPECT_EQ(0, q.consumer().size()); in TEST() 66 EXPECT_EQ(0, q.producer().size()); in TEST() 67 EXPECT_EQ(0, q.size()); in TEST() 71 AtomicSpscQueue<int, 3> q; in TEST() local 72 q.producer().push(1); in TEST() 73 q.producer().push(2); in TEST() 74 EXPECT_EQ(q.consumer().front(), 1); in TEST() [all …]
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 99 char *q = tmp; in dispatchCommand() local 110 if (q >= qlimit) in dispatchCommand() 112 *q++ = '\\'; in dispatchCommand() 120 if (q >= qlimit) in dispatchCommand() 122 *q++ = '"'; in dispatchCommand() 124 if (q >= qlimit) in dispatchCommand() 126 *q++ = '\\'; in dispatchCommand() 145 if (q >= qlimit) in dispatchCommand() 147 *q = *p++; in dispatchCommand() 148 if (!quote && *q == ' ') { in dispatchCommand() [all …]
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 87 char* q; in set_sched_policy() local 92 for (q = p; *q != ')'; q++) in set_sched_policy() 95 strncpy(thread_name, p, (q - p)); in set_sched_policy()
|
/system/extras/simpleperf/ |
D | kallsyms_test.cpp | 27 static bool ModulesMatch(const char* p, const char* q) { in ModulesMatch() argument 28 if (p == nullptr && q == nullptr) { in ModulesMatch() 31 if (p != nullptr && q != nullptr) { in ModulesMatch() 32 return strcmp(p, q) == 0; in ModulesMatch()
|
/system/core/fastboot/ |
D | vendor_boot_img_utils.cpp | 220 const uint32_t q = round_up(hdr->dtb_size, hdr->page_size); in replace_default_vendor_ramdisk() local 248 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() 259 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + new_r); !res.ok()) in replace_default_vendor_ramdisk() 314 const uint32_t q = round_up(hdr->dtb_size, hdr->page_size); in replace_vendor_ramdisk_fragment() local 318 uint64_t total_size = (uint64_t)o + p + q + r + s; in replace_vendor_ramdisk_fragment() 324 (uint64_t)o + p + q + r) { in replace_vendor_ramdisk_fragment() 330 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment() 347 vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment() 372 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment() 395 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + r); !res.ok()) in replace_vendor_ramdisk_fragment()
|
D | vendor_boot_img_utils_test.cpp | 298 auto q = round_up(hdr->dtb_size, hdr->page_size); in TEST_P() local 301 EXPECT_THAT(new_content.substr(o + p, q), IsPadded(env->dtb_content)); in TEST_P() 309 auto entry = reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(&new_content[o + p + q]); in TEST_P() 317 EXPECT_THAT(new_content.substr(o + p + q + r, s), IsPadded(env->bootconfig_content)); in TEST_P() 387 auto q = round_up(hdr->dtb_size, hdr->page_size); in TEST_P() local 392 EXPECT_THAT(new_content.substr(o + p, q), IsPadded(env->dtb_content)); in TEST_P() 399 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(&new_content[o + p + q]); in TEST_P() 406 &new_content[o + p + q + hdr->vendor_ramdisk_table_entry_size]); in TEST_P() 412 EXPECT_THAT(new_content.substr(o + p + q + r, s), IsPadded(env->bootconfig_content)); in TEST_P()
|
/system/libhidl/base/ |
D | TaskRunner.cpp | 52 std::thread{[q = mQueue] { in push() 56 while (!!(nextTask = q->wait_pop())) { in push()
|
/system/libziparchive/cli-tests/ |
D | unzip.test | 57 command: unzip -q $FILES/example.zip d1/d2/a.txt && cat d1/d2/a.txt 64 command: unzip -q $FILES/example.zip 77 command: unzip -q -o $FILES/example.zip d1/d2/a.txt && cat d1/d2/a.txt 85 command: unzip -q -n $FILES/example.zip d1/d2/a.txt && cat d1/d2/a.txt 93 command: unzip -q -d will-be-created $FILES/example.zip d1/d2/a.txt 101 command: unzip -q -d oh-no/will-not-be-created $FILES/example.zip d1/d2/a.txt 2> stderr ; echo $? >… 105 after: grep -q "oh-no/will-not-be-created" stderr 106 after: grep -q "No such file or directory" stderr 113 command: unzip -q -d dir $FILES/example.zip d1/d2/a.txt && cat dir/d1/d2/a.txt 128 command: unzip -q $FILES/example.zip -x d1/d2/a.txt d1/d2/b.txt d1/d2/empty.txt d1/d2/x.txt && cat … [all …]
|
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 198 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() argument 207 + toString(q.grantors().size()) + " grantor(s), " in toString() 208 + "size = " + toString(q.getSize()) in toString() 209 + ", .handle = " + toString(q.handle()) in toString() 210 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
|
/system/chre/util/include/chre/util/system/ |
D | atomic_spsc_queue.h | 168 Producer(AtomicSpscQueue<ElementType, kCapacity> &q) : mQueue(q) {} in Producer() argument 278 Consumer(AtomicSpscQueue<ElementType, kCapacity> &q) : mQueue(q) {} in Consumer() argument
|
/system/tools/aidl/tests/ |
D | aidl_test_client_ndk_parcelables.cpp | 149 FixedSizeArrayExample q; in TEST_F() local 150 EXPECT_EQ(OK, q.readFromParcel(parcel)); in TEST_F() 151 EXPECT_EQ(p, q); in TEST_F() 175 FixedSizeArrayExample q; in TEST_F() local 176 EXPECT_EQ(OK, q.readFromParcel(parcel)); in TEST_F() 177 EXPECT_EQ(p, q); in TEST_F()
|
D | aidl_test_client_parcelables.cpp | 605 FixedSizeArrayExample q; in TEST_F() local 606 EXPECT_EQ(OK, q.readFromParcel(&parcel)); in TEST_F() 607 EXPECT_EQ(p, q); in TEST_F() 629 FixedSizeArrayExample q; in TEST_F() local 630 EXPECT_EQ(OK, q.readFromParcel(&parcel)); in TEST_F() 631 EXPECT_EQ(p, q); in TEST_F()
|
/system/libfmq/include/fmq/ |
D | AidlMQDescriptorShim.h | 251 std::string toString(const AidlMQDescriptorShim<T, flavor>& q) { in toString() argument 259 os += " {" + toString(q.grantors().size()) + " grantor(s), " + in toString() 260 "size = " + toString(q.getSize()) + ", .handle = " + toString(q.handle()) + in toString() 261 ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
|
/system/timezone/apex/ |
D | com.android.tzdata.pem | 36 q+x6vfYpPKxWLm0106ceYo4CD7iOYM9DDwMGWEoY1hURPmJsLUdZxAhjOsw8TMQl 40 q/FBAoIBABe5ivl3ypNlvQGXJBuVA/PFm6SNk2eEwgTZc66fuW3jgjH4/Ga+4MlR
|
/system/chre/external/kiss_fft/ |
D | kissfft.hh | 263 int u,k,q1,q; in kf_bfly_generic() local 281 for (q=1;q<p;++q ) { in kf_bfly_generic() 284 C_MUL(t,scratchbuf[q] , twiddles[twidx] ); in kf_bfly_generic()
|
D | kiss_fft.c | 214 int u,k,q1,q; in kf_bfly_generic() local 233 for (q=1;q<p;++q ) { in kf_bfly_generic() 236 C_MUL(t,scratch[q] , twiddles[twidx] ); in kf_bfly_generic()
|
/system/apex/apexd/ |
D | Android.bp | 297 cmd: "unzip -q $(in) -d $(genDir) && " + 317 cmd: "unzip -q $(in) -d $(genDir) && " + 336 cmd: "unzip -q $(in) -d $(genDir) && " + 355 cmd: "unzip -q $(in) -d $(genDir) && " + 370 cmd: "unzip -q $(in) -d $(genDir) apex_payload.img && " + 381 cmd: "unzip -q $(in) -d $(genDir) apex_payload.img && " + 392 cmd: "unzip -q $(in) -d $(genDir) apex_payload.img && " + 408 cmd: "unzip -q $(in) -d $(genDir) && " + 428 cmd: "unzip -q $(in) -d $(genDir) && " + 449 cmd: "unzip -q $(in) -d $(genDir) && " + [all …]
|
/system/core/libutils/binder/ |
D | Errors_test.cpp | 48 status_t q = f(false, &val); in TEST() local 49 EXPECT_EQ(PERMISSION_DENIED, q); in TEST()
|
/system/core/rootdir/avb/ |
D | Android.mk | 21 LOCAL_MODULE := q-developer-gsi.avbpubkey
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 77 cmd: "unzip -q $(in) -d $(genDir) && " + // unzip input 92 cmd: "unzip -q $(in) -d $(genDir) && rm $(genDir)/original_apex && " + 106 cmd: "unzip -q $(in) -d $(genDir) && " + 121 cmd: "unzip -q $(in) -d $(genDir) && echo '' > $(genDir)/original_apex && " + 139 cmd: "mkdir $(genDir)/tempdir && unzip -q $(in) -d $(genDir)/tempdir && " + 159 cmd: "unzip -q $(in) -d $(genDir) && " + // unzip input 176 cmd: "unzip -q $(in) -d $(genDir) && " +
|
/system/apex/tests/testdata/apkinapex/com.android.apex.system_ext.test/ |
D | com.android.apex.system_ext.test.pem | 24 VhjDGqSZYneJT+4YvTL3/sfy9OX80yURnG6+q/8VsodUbeXy/Bqfmf5eqtzOA1tP
|
/system/tools/mkbootimg/gki/testdata/ |
D | testkey_rsa4096.pem | 14 n7k2UBAia8xSoWCR6BbRuHeV5oA+PLGeOpE7QaSfonB+yc+cy0x3Or3ssfqEsu/q
|
/system/core/fs_mgr/libfs_avb/tests/data/ |
D | testkey_rsa4096.pem | 14 n7k2UBAia8xSoWCR6BbRuHeV5oA+PLGeOpE7QaSfonB+yc+cy0x3Or3ssfqEsu/q
|