Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 48) 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, uint32_t keyLength) { in ECC_Double() argument
53 multiprecision_init(q->z, keyLength); 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, uint32_t keyLength) { 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, uint32_t keyLength);
63 #define ECC_PointMult(q, p, n, keyLength) \ argument
64 ECC_PointMult_Bin_NAF(q, p, n, keyLength)
/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/libpixelflinger/
Dfixed.cpp60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() argument
64 shift += 16-q; in gglRecipQ()
173 uint32_t q = 0; in gglDivQ() local
184 q <<= 8; in gglDivQ()
185 if (n>=0) q |= 128; in gglDivQ()
188 if (n>=0) q |= 64; in gglDivQ()
191 if (n>=0) q |= 32; in gglDivQ()
194 if (n>=0) q |= 16; in gglDivQ()
197 if (n>=0) q |= 8; in gglDivQ()
200 if (n>=0) q |= 4; in gglDivQ()
[all …]
/system/netd/resolv/
DDnsTlsQueryMap.cpp41 Query q = { .newId = static_cast<uint16_t>(newId), .query = query }; in recordQuery() local
44 std::tie(it, inserted) = mQueries.emplace(newId, q); in recordQuery()
49 return std::make_unique<QueryFuture>(q, it->second.result.get_future()); in recordQuery()
107 for (auto& q : mQueries) { in getAll() local
108 queries.push_back(q.second.query); in getAll()
120 for (auto& q : mQueries) { in clear() local
121 expire(&q.second); in clear()
DDnsTlsTransport.cpp53 bool DnsTlsTransport::sendQuery(const DnsTlsQueryMap::Query q) { in sendQuery() argument
55 bool sent = mSocket->query(q.newId, netdutils::drop(q.query, 2)); in sendQuery()
57 mQueries.markTried(q.newId); in sendQuery()
69 for(auto& q : queries) { in doConnect() local
70 if (!sendQuery(q)) { in doConnect()
Dgetaddrinfo.cpp1383 res_target q = {}; in dns_getaddrinfo() local
1392 q.name = name; in dns_getaddrinfo()
1393 q.qclass = C_IN; in dns_getaddrinfo()
1394 q.answer = buf->buf; in dns_getaddrinfo()
1395 q.anslen = sizeof(buf->buf); in dns_getaddrinfo()
1402 q.qtype = T_AAAA; in dns_getaddrinfo()
1404 q.next = &q2; in dns_getaddrinfo()
1412 q.qtype = T_A; in dns_getaddrinfo()
1419 q.name = name; in dns_getaddrinfo()
1420 q.qclass = C_IN; in dns_getaddrinfo()
[all …]
DDnsTlsSocket.cpp337 std::deque<std::vector<uint8_t>> q; in loop() local
353 if (!q.empty()) { in loop()
392 mQueue.swap(q); in loop()
399 if (!sendQuery(q.front())) { in loop()
402 q.pop_front(); in loop()
DDnsTlsTransport.h87 bool sendQuery(const DnsTlsQueryMap::Query q) REQUIRES(mLock);
/system/core/libprocessgroup/
Dsched_policy.cpp103 char* q; in set_sched_policy() local
108 for (q = p; *q != ')'; q++) in set_sched_policy()
111 strncpy(thread_name, p, (q - p)); in set_sched_policy()
/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/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/tools/aidl/build/
Daidl_interface.go659 "C++ backend not enabled in the imported AIDL interface %q", anImport)
664 "NDK backend not enabled in the imported AIDL interface %q", anImport)
/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/rootdir/avb/
DAndroid.mk7 LOCAL_MODULE := q-gsi.avbpubkey
/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/logcat/
Dlogcat.cpp1200 const char* q = strpbrk(p, " \t\n\r"); in __logcat() local
1201 if (!q) q = p + strlen(p); in __logcat()
1202 forceFilters = std::string(p, q); in __logcat()
1219 q = strpbrk(p, " \t\n\r"); in __logcat()
1220 int len = q ? q - p : strlen(p); in __logcat()

12