Home
last modified time | relevance | path

Searched refs:Query (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/external/libchrome/base/test/
Dtrace_event_analyzer.h210 class Query {
212 Query(const Query& query);
214 ~Query();
220 static Query String(const std::string& str);
223 static Query Double(double num);
224 static Query Int(int32_t num);
225 static Query Uint(uint32_t num);
228 static Query Bool(bool boolean);
231 static Query Phase(char phase);
235 static Query Pattern(const std::string& pattern);
[all …]
Dtrace_event_analyzer_unittest.cc89 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
159 Query event_pid = Query::EventPidIs(event.thread.process_id); in TEST_F()
160 Query event_tid = Query::EventTidIs(event.thread.thread_id); in TEST_F()
161 Query event_time = Query::EventTimeIs(event.timestamp); in TEST_F()
162 Query event_duration = Query::EventDurationIs(duration); in TEST_F()
163 Query event_phase = Query::EventPhaseIs(event.phase); in TEST_F()
164 Query event_category = Query::EventCategoryIs(event.category); in TEST_F()
165 Query event_name = Query::EventNameIs(event.name); in TEST_F()
166 Query event_id = Query::EventIdIs(event.id); in TEST_F()
167 Query event_has_arg1 = Query::EventHasNumberArg("num"); in TEST_F()
[all …]
Dtrace_event_analyzer.cc233 QueryNode::QueryNode(const Query& query) : query_(query) { in QueryNode()
240 Query::Query(TraceEventMember member) in Query() function in trace_analyzer::Query
248 Query::Query(TraceEventMember member, const std::string& arg_name) in Query() function in trace_analyzer::Query
257 Query::Query(const Query& query) = default;
259 Query::~Query() = default;
261 Query Query::String(const std::string& str) { in String()
262 return Query(str); in String()
265 Query Query::Double(double num) { in Double()
266 return Query(num); in Double()
269 Query Query::Int(int32_t num) { in Int()
[all …]
/external/perfetto/src/protozero/filtering/
Dfilter_bytecode_parser_unittest.cc45 EXPECT_FALSE(parser.Query(42, 42).allowed); in TEST()
48 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
49 EXPECT_FALSE(parser.Query(0, 0xffffffff).allowed); in TEST()
50 EXPECT_FALSE(parser.Query(1, 0).allowed); in TEST()
51 EXPECT_FALSE(parser.Query(0, 1).allowed); in TEST()
52 EXPECT_FALSE(parser.Query(1, 1).allowed); in TEST()
53 EXPECT_FALSE(parser.Query(42, 42).allowed); in TEST()
62 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
63 EXPECT_FALSE(parser.Query(0, 1).allowed); in TEST()
64 EXPECT_TRUE(parser.Query(0, 2).allowed); in TEST()
[all …]
Dfilter_bytecode_generator_unittest.cc44 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
45 EXPECT_TRUE(parser.Query(0, 1).allowed); in TEST()
46 EXPECT_FALSE(parser.Query(0, 126).allowed); in TEST()
47 EXPECT_TRUE(parser.Query(0, 127).allowed); in TEST()
48 EXPECT_TRUE(parser.Query(0, 128).allowed); in TEST()
49 EXPECT_FALSE(parser.Query(0, 129).allowed); in TEST()
50 EXPECT_TRUE(parser.Query(0, 1000).allowed); in TEST()
51 EXPECT_FALSE(parser.Query(0, 1001).allowed); in TEST()
67 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
68 EXPECT_TRUE(parser.Query(0, 1).allowed); in TEST()
[all …]
Dfilter_util_unittest.cc49 EXPECT_TRUE(fbp.Query(0, 13).allowed); in TEST()
50 EXPECT_TRUE(fbp.Query(0, 13).simple_field()); in TEST()
51 EXPECT_TRUE(fbp.Query(0, 5).allowed); in TEST()
52 EXPECT_TRUE(fbp.Query(0, 5).simple_field()); in TEST()
53 EXPECT_TRUE(fbp.Query(0, 71).allowed); in TEST()
54 EXPECT_TRUE(fbp.Query(0, 71).simple_field()); in TEST()
55 EXPECT_FALSE(fbp.Query(0, 1).allowed); in TEST()
56 EXPECT_FALSE(fbp.Query(0, 12).allowed); in TEST()
57 EXPECT_FALSE(fbp.Query(0, 70).allowed); in TEST()
77 EXPECT_TRUE(fbp.Query(0, 1).allowed); in TEST()
[all …]
Dfilter_bytecode_parser_fuzzer.cc64 parser.Query(msg_index, 0); in FuzzBytecodeParser()
65 parser.Query(msg_index, 1); in FuzzBytecodeParser()
66 parser.Query(msg_index, 127); in FuzzBytecodeParser()
67 parser.Query(msg_index, 128); in FuzzBytecodeParser()
68 parser.Query(msg_index, 129); in FuzzBytecodeParser()
69 parser.Query(msg_index, 65536); in FuzzBytecodeParser()
70 parser.Query(msg_index, 65536); in FuzzBytecodeParser()
71 parser.Query(msg_index, 1u << 28); in FuzzBytecodeParser()
72 parser.Query(msg_index, 1u << 31); in FuzzBytecodeParser()
81 parser.Query(msg_index, field_id); in FuzzBytecodeParser()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs() argument
37 return [=](const LegalityQuery &Query) { in typeInSet() argument
38 return llvm::is_contained(Types, Query.Types[TypeIdx]); in typeInSet()
46 return [=](const LegalityQuery &Query) { in typePairInSet() argument
47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
56 return [=](const LegalityQuery &Query) { in typePairAndMemDescInSet() argument
57 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemDescInSet()
58 Query.MMODescrs[MMOIdx].SizeInBits, in typePairAndMemDescInSet()
59 Query.MMODescrs[MMOIdx].AlignInBits}; in typePairAndMemDescInSet()
69 return [=](const LegalityQuery &Query) { in isScalar() argument
[all …]
DLegalizeMutations.cpp19 [=](const LegalityQuery &Query) { return std::make_pair(TypeIdx, Ty); }; in changeTo() argument
24 return [=](const LegalityQuery &Query) { in changeTo() argument
25 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]); in changeTo()
31 return [=](const LegalityQuery &Query) { in changeElementTo() argument
32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
33 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementTo()
40 return [=](const LegalityQuery &Query) { in changeElementTo() argument
41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
48 return [=](const LegalityQuery &Query) { in changeElementSizeTo() argument
49 const LLT OldTy = Query.Types[TypeIdx]; in changeElementSizeTo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs() argument
37 return [=](const LegalityQuery &Query) { in typeInSet() argument
38 return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end(); in typeInSet()
46 return [=](const LegalityQuery &Query) { in typePairInSet() argument
47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
56 return [=](const LegalityQuery &Query) { in typePairAndMemDescInSet() argument
57 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemDescInSet()
58 Query.MMODescrs[MMOIdx].SizeInBits, in typePairAndMemDescInSet()
59 Query.MMODescrs[MMOIdx].AlignInBits}; in typePairAndMemDescInSet()
69 return [=](const LegalityQuery &Query) { in isScalar() argument
[all …]
DLegalizeMutations.cpp19 [=](const LegalityQuery &Query) { return std::make_pair(TypeIdx, Ty); }; in changeTo() argument
24 return [=](const LegalityQuery &Query) { in changeTo() argument
25 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]); in changeTo()
31 return [=](const LegalityQuery &Query) { in changeElementTo() argument
32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
33 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementTo()
40 return [=](const LegalityQuery &Query) { in changeElementTo() argument
41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
48 return [=](const LegalityQuery &Query) { in widenScalarOrEltToNextPow2() argument
49 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextPow2()
[all …]
/external/llvm-project/clang-tools-extra/clang-query/
DQuery.h39 struct Query : llvm::RefCountedBase<Query> { struct
40 Query(QueryKind Kind) : Kind(Kind) {} in Query() argument
41 virtual ~Query();
52 typedef llvm::IntrusiveRefCntPtr<Query> QueryRef; argument
55 struct InvalidQuery : Query {
56 InvalidQuery(const Twine &ErrStr) : Query(QK_Invalid), ErrStr(ErrStr.str()) {} in InvalidQuery()
61 static bool classof(const Query *Q) { return Q->Kind == QK_Invalid; } in classof()
65 struct NoOpQuery : Query {
66 NoOpQuery() : Query(QK_NoOp) {} in NoOpQuery()
69 static bool classof(const Query *Q) { return Q->Kind == QK_NoOp; } in classof()
[all …]
/external/angle/src/libANGLE/
DQuery.cpp16 Query::Query(rx::GLImplFactory *factory, QueryType type, QueryID id) in Query() function in gl::Query
20 Query::~Query() in ~Query()
25 void Query::onDestroy(const Context *context) in onDestroy()
31 void Query::setLabel(const Context *context, const std::string &label) in setLabel()
36 const std::string &Query::getLabel() const in getLabel()
41 angle::Result Query::begin(const Context *context) in begin()
46 angle::Result Query::end(const Context *context) in end()
51 angle::Result Query::queryCounter(const Context *context) in queryCounter()
56 angle::Result Query::getResult(const Context *context, GLint *params) in getResult()
61 angle::Result Query::getResult(const Context *context, GLuint *params) in getResult()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64LegalizerInfo.cpp85 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
86 return Query.Types[0].isVector() && in AArch64LegalizerInfo()
87 (Query.Types[0].getElementType() != s64 || in AArch64LegalizerInfo()
88 Query.Types[0].getNumElements() != 2); in AArch64LegalizerInfo()
90 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
91 LLT EltTy = Query.Types[0].getElementType(); in AArch64LegalizerInfo()
110 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
111 return Query.Opcode == G_MUL && Query.Types[0] == v2s64; in AArch64LegalizerInfo()
122 .customIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
123 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp66 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
67 return Query.Types[0].isVector() && in AArch64LegalizerInfo()
68 (Query.Types[0].getElementType() != s64 || in AArch64LegalizerInfo()
69 Query.Types[0].getNumElements() != 2); in AArch64LegalizerInfo()
71 [=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
72 LLT EltTy = Query.Types[0].getElementType(); in AArch64LegalizerInfo()
121 .customIf([=](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
122 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo()
123 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo()
160 [=, &ST](const LegalityQuery &Query) { in AArch64LegalizerInfo() argument
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DQuery.cpp25 Query::Query(GLuint name, GLenum type) : NamedObject(name) in Query() function in es2::Query
33 Query::~Query() in ~Query()
38 void Query::begin() in begin()
42 sw::Query::Type type; in begin()
47 type = sw::Query::FRAGMENTS_PASSED; in begin()
50 type = sw::Query::TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN; in begin()
57 mQuery = new sw::Query(type); in begin()
83 void Query::end() in end()
111 GLuint Query::getResult() in getResult()
124 GLboolean Query::isResultAvailable() in isResultAvailable()
[all …]
/external/swiftshader/src/Vulkan/
DVkQueryPool.cpp23 Query::Query(VkQueryType type) in Query() function in vk::Query
30 void Query::reset() in reset()
38 void Query::start() in start()
45 void Query::finish() in finish()
55 Query::Data Query::getData() const in getData()
63 VkQueryType Query::getType() const in getType()
68 void Query::wait() in wait()
73 void Query::set(int64_t v) in set()
78 void Query::add(int64_t v) in add()
84 : pool(reinterpret_cast<Query *>(mem)) in QueryPool()
[all …]
/external/perfetto/src/trace_processor/
Dtrace_database_integrationtest.cc62 Iterator Query(const std::string& query) { in Query() function in perfetto::trace_processor::__anon50a7ad9e0111::TraceProcessorIntegrationTest
76 auto it = Query( in TEST_F()
89 auto it = Query("select start_ts, end_ts from trace_bounds"); in TEST_F()
104 auto it = Query("select start_ts, end_ts from trace_bounds"); in TEST_F()
114 auto it = Query("select HASH()"); in TEST_F()
118 it = Query("select HASH('test')"); in TEST_F()
122 it = Query("select HASH('test', 1)"); in TEST_F()
133 auto it = Query("select DEMANGLE('_Znwm')"); in TEST_F()
137 it = Query("select DEMANGLE('_ZN3art6Thread14CreateCallbackEPv')"); in TEST_F()
142 it = Query("select DEMANGLE('test')"); in TEST_F()
[all …]
/external/mesa3d/src/mesa/main/
Dcondrender.c46 assert(ctx->Query.CondRenderMode == GL_NONE); in begin_conditional_render()
99 ctx->Query.CondRenderQuery = q; in begin_conditional_render()
100 ctx->Query.CondRenderMode = mode; in begin_conditional_render()
127 if (!ctx->Extensions.NV_conditional_render || ctx->Query.CondRenderQuery) { in _mesa_BeginConditionalRender()
142 ctx->Driver.EndConditionalRender(ctx, ctx->Query.CondRenderQuery); in end_conditional_render()
144 ctx->Query.CondRenderQuery = NULL; in end_conditional_render()
145 ctx->Query.CondRenderMode = GL_NONE; in end_conditional_render()
162 if (!ctx->Extensions.NV_conditional_render || !ctx->Query.CondRenderQuery) { in _mesa_EndConditionalRender()
186 struct gl_query_object *q = ctx->Query.CondRenderQuery; in _mesa_check_conditional_render()
193 switch (ctx->Query.CondRenderMode) { in _mesa_check_conditional_render()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp38 CheckTy0Ty1MemSizeAlign(const LegalityQuery &Query, in CheckTy0Ty1MemSizeAlign() argument
40 unsigned QueryMemSize = Query.MMODescrs[0].SizeInBits; in CheckTy0Ty1MemSizeAlign()
47 if (Val.ValTy != Query.Types[0]) in CheckTy0Ty1MemSizeAlign()
49 if (Val.PtrTy != Query.Types[1]) in CheckTy0Ty1MemSizeAlign()
54 isUnalignedMemmoryAccess(QueryMemSize, Query.MMODescrs[0].AlignInBits)) in CheckTy0Ty1MemSizeAlign()
61 static bool CheckTyN(unsigned N, const LegalityQuery &Query, in CheckTyN() argument
64 if (Val == Query.Types[N]) in CheckTyN()
82 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument
83 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo()
85 if (ST.hasMSA() && CheckTyN(0, Query, {v16s8, v8s16, v4s32, v2s64})) in MipsLegalizerInfo()
[all …]
/external/marisa-trie/include/marisa/
Dquery.h8 class Query {
10 Query() : ptr_(NULL), length_(0), id_(0) {} in Query() function
11 Query(const Query &query) in Query() function
14 Query &operator=(const Query &query) {
55 Query().swap(*this); in clear()
57 void swap(Query &rhs) { in swap()
/external/libchrome/base/trace_event/
Dblame_context_unittest.cc65 using trace_analyzer::Query; in TEST_F()
76 Query q = Query::EventPhaseIs(TRACE_EVENT_PHASE_ENTER_CONTEXT) || in TEST_F()
77 Query::EventPhaseIs(TRACE_EVENT_PHASE_LEAVE_CONTEXT); in TEST_F()
94 using trace_analyzer::Query; in TEST_F()
109 Query q = Query::EventPhaseIs(TRACE_EVENT_PHASE_ENTER_CONTEXT) || in TEST_F()
110 Query::EventPhaseIs(TRACE_EVENT_PHASE_LEAVE_CONTEXT); in TEST_F()
126 using trace_analyzer::Query; in TEST_F()
138 Query q = Query::EventPhaseIs(TRACE_EVENT_PHASE_SNAPSHOT_OBJECT); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp28 CheckTy0Ty1MemSizeAlign(const LegalityQuery &Query, in CheckTy0Ty1MemSizeAlign() argument
31 if (Val.ValTy != Query.Types[0]) in CheckTy0Ty1MemSizeAlign()
33 if (Val.PtrTy != Query.Types[1]) in CheckTy0Ty1MemSizeAlign()
35 if (Val.MemSize != Query.MMODescrs[0].SizeInBits) in CheckTy0Ty1MemSizeAlign()
38 Query.MMODescrs[0].SizeInBits % Query.MMODescrs[0].AlignInBits != 0) in CheckTy0Ty1MemSizeAlign()
45 static bool CheckTyN(unsigned N, const LegalityQuery &Query, in CheckTyN() argument
48 if (Val == Query.Types[N]) in CheckTyN()
66 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo() argument
67 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo()
69 if (ST.hasMSA() && CheckTyN(0, Query, {v16s8, v8s16, v4s32, v2s64})) in MipsLegalizerInfo()
[all …]
/external/ltp/testcases/network/stress/multicast/query-flood/
D00_Descriptions.txt3 group on a single socket, then receiving a large number of General Query
8 Address Specific Query
13 Address and Source Specific Query
18 Query
23 Multicast Address Specific Query
28 Multicast Address and Source Specific Query
32 group on a single socket, then receiving a large number of General Query
37 Address Specific Query
42 Address and Source Specific Query
47 Query
[all …]
/external/perfetto/src/trace_processor/sqlite/
Dspan_join_operator_table.h142 class Query {
162 Query(SpanJoinOperatorTable*, const TableDefinition*, sqlite3* db);
163 virtual ~Query();
165 Query(Query&&) noexcept = default;
166 Query& operator=(Query&&) = default;
240 Query(Query&) = delete;
241 Query& operator=(const Query&) = delete;
343 Query* FindEarliestFinishQuery();
345 Query t1_;
346 Query t2_;
[all …]

12345678910>>...21