Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 47) sorted by relevance

12

/system/chre/util/tests/
Dpriority_queue_test.cc43 PriorityQueue<int> q; in TEST() local
44 EXPECT_TRUE(q.empty()); in TEST()
45 EXPECT_EQ(0, q.size()); in TEST()
46 EXPECT_EQ(0, q.capacity()); in TEST()
50 PriorityQueue<int> q; in TEST() local
52 EXPECT_TRUE(q.push(0)); in TEST()
53 EXPECT_TRUE(q.push(2)); in TEST()
54 EXPECT_TRUE(q.push(3)); in TEST()
55 EXPECT_TRUE(q.push(1)); in TEST()
56 q.pop(); in TEST()
[all …]
Darray_queue_test.cc41 ArrayQueue<int, 4> q; in TEST() local
42 EXPECT_TRUE(q.empty()); in TEST()
43 EXPECT_EQ(0, q.size()); in TEST()
47 ArrayQueue<int, 3> q; in TEST() local
48 EXPECT_TRUE(q.push(1)); in TEST()
49 EXPECT_TRUE(q.push(2)); in TEST()
50 q.pop(); in TEST()
51 EXPECT_TRUE(q.push(3)); in TEST()
55 ArrayQueue<int, 3> q; in TEST() local
56 EXPECT_TRUE(q.push(0)); in TEST()
[all …]
/system/bt/gd/common/
Dmulti_priority_queue_test.cc27 common::MultiPriorityQueue<int, 2> q; in TEST() local
28 ASSERT_TRUE(q.empty()); in TEST()
29 q.push(0); in TEST()
30 q.push(1, 0); in TEST()
31 q.push(2); in TEST()
32 ASSERT_EQ(q.size(), 3); in TEST()
34 ASSERT_EQ(q.front(), i); in TEST()
35 q.pop(); in TEST()
37 ASSERT_TRUE(q.empty()); in TEST()
41 common::MultiPriorityQueue<int, 2> q; in TEST() local
[all …]
/system/bt/stack/smp/
Dp_256_ecc_pp.cc34 static void p_256_init_point(Point* q) { memset(q, 0, sizeof(Point)); } in p_256_init_point() argument
36 static void p_256_copy_point(Point* q, Point* p) { in p_256_copy_point() argument
37 memcpy(q, p, sizeof(Point)); in p_256_copy_point()
41 static void ECC_Double(Point* q, Point* p) { in ECC_Double() argument
53 multiprecision_init(q->z); in ECC_Double()
60 x3 = q->x; in ECC_Double()
61 y3 = q->y; in ECC_Double()
62 z3 = q->z; in ECC_Double()
90 static void ECC_Add(Point* r, Point* p, Point* q) { in ECC_Add() argument
106 x2 = q->x; in ECC_Add()
[all …]
Dp_256_ecc_pp.h61 void ECC_PointMult_Bin_NAF(Point* q, Point* p, uint32_t* n);
63 #define ECC_PointMult(q, p, n) ECC_PointMult_Bin_NAF(q, p, n) argument
/system/bt/gd/security/ecc/
Dp_256_ecc_pp.cc37 static void p_256_init_point(Point* q) { in p_256_init_point() argument
38 memset(q, 0, sizeof(Point)); in p_256_init_point()
41 static void p_256_copy_point(Point* q, const Point* p) { in p_256_copy_point() argument
42 memcpy(q, p, sizeof(Point)); in p_256_copy_point()
46 static void ECC_Double(Point* q, const Point* p) { in ECC_Double() argument
58 multiprecision_init(q->z); in ECC_Double()
65 x3 = q->x; in ECC_Double()
66 y3 = q->y; in ECC_Double()
67 z3 = q->z; in ECC_Double()
95 static void ECC_Add(Point* r, Point* p, const Point* q) { in ECC_Add() argument
[all …]
Dp_256_ecc_pp.h70 void ECC_PointMult_Bin_NAF(Point* q, const Point* p, uint32_t* n);
72 #define ECC_PointMult(q, p, n) ECC_PointMult_Bin_NAF(q, p, n) argument
/system/core/libsysutils/src/
DFrameworkListener.cpp99 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/rootdir/avb/
DAndroid.bp6 name: "q-gsi_avbpubkey",
8 "q-gsi.avbpubkey",
DAndroid.mk21 LOCAL_MODULE := q-gsi.avbpubkey
34 LOCAL_MODULE := q-developer-gsi.avbpubkey
/system/extras/simpleperf/
Dkallsyms_test.cpp27 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/libprocessgroup/
Dsched_policy.cpp86 char* q; in set_sched_policy() local
91 for (q = p; *q != ')'; q++) in set_sched_policy()
94 strncpy(thread_name, p, (q - p)); in set_sched_policy()
/system/libhidl/base/
DTaskRunner.cpp52 std::thread{[q = mQueue] { in push()
56 while (!!(nextTask = q->wait_pop())) { in push()
/system/libhidl/base/include/hidl/
DMQDescriptor.h194 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() argument
203 + toString(q.grantors().size()) + " grantor(s), " in toString()
204 + "size = " + toString(q.getSize()) in toString()
205 + ", .handle = " + toString(q.handle()) in toString()
206 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
/system/libziparchive/cli-tests/
Dunzip.test57 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/core/fastboot/
Dvendor_boot_img_utils.cpp216 const uint32_t q = round_up(hdr->dtb_size, hdr->page_size); in replace_default_vendor_ramdisk() local
244 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
255 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + new_r); !res.ok()) in replace_default_vendor_ramdisk()
310 const uint32_t q = round_up(hdr->dtb_size, hdr->page_size); in replace_vendor_ramdisk_fragment() local
320 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
337 vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
362 if (auto res = updater.Copy(q); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
385 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + r); !res.ok()) in replace_vendor_ramdisk_fragment()
Dvendor_boot_img_utils_test.cpp298 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/timezone/apex/
Dcom.android.tzdata.pem36 q+x6vfYpPKxWLm0106ceYo4CD7iOYM9DDwMGWEoY1hURPmJsLUdZxAhjOsw8TMQl
40 q/FBAoIBABe5ivl3ypNlvQGXJBuVA/PFm6SNk2eEwgTZc66fuW3jgjH4/Ga+4MlR
/system/libfmq/include/fmq/
DAidlMQDescriptorShim.h247 std::string toString(const AidlMQDescriptorShim<T, flavor>& q) { in toString() argument
255 os += " {" + toString(q.grantors().size()) + " grantor(s), " + in toString()
256 "size = " + toString(q.getSize()) + ", .handle = " + toString(q.handle()) + in toString()
257 ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
/system/apex/apexd/
DAndroid.bp259 cmd: "unzip -q $(in) -d $(genDir) && " +
275 cmd: "unzip -q $(in) -d $(genDir) && " +
291 cmd: "unzip -q $(in) -d $(genDir) && " +
307 cmd: "unzip -q $(in) -d $(genDir) && " +
322 cmd: "unzip -q $(in) -d $(genDir) apex_payload.img && " +
333 cmd: "unzip -q $(in) -d $(genDir) apex_payload.img && " +
345 cmd: "unzip -q $(in) -d $(genDir) && " +
361 cmd: "unzip -q $(in) -d $(genDir) && " +
378 cmd: "unzip -q $(in) -d $(genDir) && " +
394 cmd: "unzip -q $(in) -d $(genDir) && " +
/system/chre/external/kiss_fft/
Dkissfft.hh263 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()
Dkiss_fft.c214 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/apexd_testdata/
Dcom.android.apex.test_package.postinstall.pem27 UCi7ASNSK0RQRt8Q2Wr54iOn3G7c+x1L4VmrYNFg01Acwog7bVDYRLQx8lemoN/q
Dcom.android.apex.test_package.preinstall.pem29 vx/3OZ9xM9gOSwKCAQEA6LILAugGENQCamyxIP+mtNBcuvtQerIr/q/quT5HKAyU
/system/core/fs_mgr/libfs_avb/tests/data/
Dtestkey_rsa4096.pem14 n7k2UBAia8xSoWCR6BbRuHeV5oA+PLGeOpE7QaSfonB+yc+cy0x3Or3ssfqEsu/q

12