Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 43) 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/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/adb/
Dadb_utils_test.cpp90 const std::string q = R"('\'')"; local
91 EXPECT_EQ(wrap(q), escape_arg("'"));
92 EXPECT_EQ(wrap(q + q), escape_arg("''"));
93 EXPECT_EQ(wrap(q + "abc" + q), escape_arg("'abc'"));
94 EXPECT_EQ(wrap(q + "abc"), escape_arg("'abc"));
95 EXPECT_EQ(wrap("abc" + q), escape_arg("abc'"));
96 EXPECT_EQ(wrap("abc" + q + "def"), escape_arg("abc'def"));
97 EXPECT_EQ(wrap("a" + q + "b" + q + "c"), escape_arg("a'b'c"));
98 EXPECT_EQ(wrap("a" + q + "bcde" + q + "f"), escape_arg("a'bcde'f"));
/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.bp2 name: "q-gsi_avbpubkey",
4 "q-gsi.avbpubkey",
DAndroid.mk7 LOCAL_MODULE := q-gsi.avbpubkey
22 LOCAL_MODULE := q-developer-gsi.avbpubkey
/system/core/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/extras/simpleperf/
Dutils_test.cpp22 static bool ModulesMatch(const char* p, const char* q) { in ModulesMatch() argument
23 if (p == nullptr && q == nullptr) { in ModulesMatch()
26 if (p != nullptr && q != nullptr) { in ModulesMatch()
27 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.h271 std::string toString(const MQDescriptor<T, flavor> &q) { in toString() argument
280 + toString(q.grantors().size()) + " grantor(s), " in toString()
281 + "size = " + toString(q.getSize()) in toString()
282 + ", .handle = " + toString(q.handle()) in toString()
283 + ", .quantum = " + toString(q.getQuantum()) + "}"; in toString()
/system/timezone/apex/
Dcom.android.tzdata.pem36 q+x6vfYpPKxWLm0106ceYo4CD7iOYM9DDwMGWEoY1hURPmJsLUdZxAhjOsw8TMQl
40 q/FBAoIBABe5ivl3ypNlvQGXJBuVA/PFm6SNk2eEwgTZc66fuW3jgjH4/Ga+4MlR
/system/core/adb/fastdeploy/testdata/
Drotating_cube-metadata-release.data9 q��p���{2���٫���Q�
/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.c206 int u,k,q1,q; in kf_bfly_generic() local
225 for (q=1;q<p;++q ) { in kf_bfly_generic()
228 C_MUL(t,scratch[q] , twiddles[twidx] ); in kf_bfly_generic()
/system/core/logcat/
Dlogcat.cpp808 const char* q = strpbrk(p, " \t\n\r"); in Run() local
809 if (!q) q = p + strlen(p); in Run()
810 forceFilters = std::string(p, q); in Run()
826 q = strpbrk(p, " \t\n\r"); in Run()
827 int len = q ? q - p : strlen(p); in Run()
/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
/system/core/libutils/
DUnicode.cpp259 char16_t *q = dst; in strcpy16() local
264 *q++ = ch = *p++; in strcpy16()
/system/apex/apexd/
DAndroid.bp230 cmd: "unzip -q $(in) -d $(genDir) && " +
246 cmd: "unzip -q $(in) -d $(genDir) && " +

12