Searched refs:category (Results 1 - 16 of 16) sorted by relevance

/fuchsia/zircon/system/utest/fbl/
H A Dforward_tests.cpp11 static int category(const int& arg) { return CAT_LVALUE; } function
13 static int category(int&& arg) { return CAT_RVALUE; } function
18 return category(t);
24 return category(fbl::move(t));
30 return category(fbl::forward<T>(t));
36 return category(fbl::forward<T&>(t));
40 A(int&& n) : category(CAT_RVALUE) {}
41 A(int& n) : category(CAT_LVALUE) {}
42 int category; member in struct:A
85 EXPECT_EQ(CAT_RVALUE, a1.category);
[all...]
/fuchsia/zircon/system/ulib/trace/include/trace/
H A Dhandler.h27 // Called by the trace engine to ask whether the specified category is enabled.
33 // |category| is the name of the category.
36 virtual bool IsCategoryEnabled(const char* category) { return true; } argument
66 static bool CallIsCategoryEnabled(trace_handler_t* handler, const char* category);
/fuchsia/zircon/system/ulib/trace/
H A Dhandler.cpp20 bool TraceHandler::CallIsCategoryEnabled(trace_handler_t* handler, const char* category) { argument
21 return static_cast<TraceHandler*>(handler)->IsCategoryEnabled(category);
/fuchsia/zircon/system/host/abigen/
H A Dgenerator.cpp106 for (const auto& category : category_map_) {
107 os << "\n#define HAVE_SYSCALL_CATEGORY_" << category.first << " 1\n";
108 os << "SYSCALL_CATEGORY_BEGIN(" << category.first << ")\n";
110 for (auto sc : category.second)
113 os << "SYSCALL_CATEGORY_END(" << category.first << ")\n";
/fuchsia/zircon/system/ulib/trace-engine/include/trace-engine/
H A Dhandler.h41 // Called by the trace engine to ask whether the specified category is enabled.
48 // |category| is the name of the category.
51 bool (*is_category_enabled)(trace_handler_t* handler, const char* category);
/fuchsia/zircon/system/uapp/trace-benchmark/
H A Dhandler.h92 bool IsCategoryEnabled(const char* category) override {
93 // Any category beginning with "+" is enabled.
94 return category[0] == '+';
/fuchsia/zircon/make/
H A Dabigen.mk19 AG_KERNEL_CATEGORY := $(AG_ZIRCON)/syscall-category.inc
43 -category $(AG_KERNEL_CATEGORY) \
/fuchsia/zircon/kernel/lib/vdso/
H A Dvdso.cpp187 // For each category, define a function blacklist_<category> to blacklist
188 // all the syscalls in that category. These functions can be used in
189 // VDso::CreateVariant (below) to blacklist a category of syscalls for
191 #define SYSCALL_CATEGORY_BEGIN(category) \
192 void blacklist_##category##_syscalls(VDsoDynSymWindow& dynsym_window, \
196 #define SYSCALL_CATEGORY_END(category) \
198 #include <zircon/syscall-category.inc>
275 // VMO. A variant can blacklist some system calls, by syscall category.
/fuchsia/zircon/system/ulib/trace-reader/
H A Dreader.cpp221 fbl::String category; local
226 !DecodeStringRef(record, category_ref, &category) ||
237 timestamp, process_thread, fbl::move(category), fbl::move(name),
247 timestamp, process_thread, fbl::move(category), fbl::move(name),
253 timestamp, process_thread, fbl::move(category), fbl::move(name),
259 timestamp, process_thread, fbl::move(category), fbl::move(name),
268 timestamp, process_thread, fbl::move(category), fbl::move(name),
277 timestamp, process_thread, fbl::move(category), fbl::move(name),
286 timestamp, process_thread, fbl::move(category), fbl::move(name),
295 timestamp, process_thread, fbl::move(category), fb
[all...]
H A Drecords.cpp440 return fbl::StringPrintf("Event(ts: %" PRIu64 ", pt: %s, category: \"%s\", name: \"%s\", %s, %s)",
442 event_.category.c_str(), event_.name.c_str(),
/fuchsia/zircon/system/ulib/trace-provider/
H A Dhandler_impl.h36 bool IsCategoryEnabled(const char* category) override;
H A Dhandler_impl.cpp206 bool TraceHandlerImpl::IsCategoryEnabled(const char* category) { argument
211 return enabled_category_set_.find(category) != enabled_category_set_.end();
/fuchsia/zircon/system/utest/trace/
H A Dfixture.cpp166 bool IsCategoryEnabled(const char* category) override {
168 return category[0] == '+';
/fuchsia/zircon/system/utest/trace-reader/
H A Drecords_tests.cpp627 "category", "name", fbl::move(args),
634 EXPECT_TRUE(r.GetEvent().category == "category");
649 EXPECT_TRUE(m.GetEvent().category == "category");
664 EXPECT_TRUE(r.GetEvent().category == "category");
673 EXPECT_STR_EQ("Event(ts: 123, pt: 4/5, category: \"category\", name: \"name\", "
/fuchsia/zircon/system/ulib/trace-reader/include/trace-reader/
H A Drecords.h502 fbl::String category; member in struct:trace::final::Event
/fuchsia/zircon/system/ulib/trace-engine/
H A Dcontext_api.cpp436 bool CheckCategory(trace_context_t* context, const char* category) { argument
437 return context->handler()->ops->is_category_enabled(context->handler(), category);
515 return false; // category disabled
549 return false; // category disabled

Completed in 122 milliseconds