OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EventCollector
(Results
1 - 12
of
12
) sorted by null
/external/tensorflow/tensorflow/core/platform/default/
tracing_impl.h
41
inline bool
EventCollector
::IsEnabled() { return false; }
tracing.cc
33
void
EventCollector
::SetCurrentThreadName(const char*) {}
/external/tensorflow/tensorflow/core/platform/
tracing.cc
48
std::array<const
EventCollector
*, GetNumEventCategories()>
49
EventCollector
::instances_;
52
const
EventCollector
* collector) {
53
EventCollector
::instances_[static_cast<unsigned>(category)] = collector;
tracing.h
50
class
EventCollector
{
52
virtual ~
EventCollector
() {}
63
friend void SetEventCollector(EventCategory, const
EventCollector
*);
64
friend const
EventCollector
* GetEventCollector(EventCategory);
66
static std::array<const
EventCollector
*, GetNumEventCategories()> instances_;
69
// Not thread safe. Only call while
EventCollector
::IsEnabled returns false.
70
void SetEventCollector(EventCategory category, const
EventCollector
* collector);
73
//
EventCollector
::IsEnabled(), otherwise returns null.
74
inline const
EventCollector
* GetEventCollector(EventCategory category) {
75
if (
EventCollector
::IsEnabled())
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_sgmllib.py
8
class
EventCollector
(sgmllib.SGMLParser):
62
class CDATAEventCollector(
EventCollector
):
68
class HTMLEntityCollector(
EventCollector
):
76
return
EventCollector
.convert_charref(self, name)
80
EventCollector
.convert_codepoint(self, codepoint)
84
return
EventCollector
.convert_entityref(self, name)
101
collector =
EventCollector
127
parser =
EventCollector
()
test_htmlparser.py
9
class
EventCollector
(HTMLParser.HTMLParser):
66
class EventCollectorExtra(
EventCollector
):
69
EventCollector
.handle_starttag(self, tag, attrs)
75
def _run_check(self, source, expected_events, collector=
EventCollector
):
/external/python/cpython2/Lib/test/
test_sgmllib.py
8
class
EventCollector
(sgmllib.SGMLParser):
62
class CDATAEventCollector(
EventCollector
):
68
class HTMLEntityCollector(
EventCollector
):
76
return
EventCollector
.convert_charref(self, name)
80
EventCollector
.convert_codepoint(self, codepoint)
84
return
EventCollector
.convert_entityref(self, name)
101
collector =
EventCollector
127
parser =
EventCollector
()
test_htmlparser.py
9
class
EventCollector
(HTMLParser.HTMLParser):
66
class EventCollectorExtra(
EventCollector
):
69
EventCollector
.handle_starttag(self, tag, attrs)
75
def _run_check(self, source, expected_events, collector=
EventCollector
):
375
class Collector(
EventCollector
):
/external/python/cpython3/Lib/test/
test_htmlparser.py
8
class
EventCollector
(html.parser.HTMLParser):
65
class EventCollectorExtra(
EventCollector
):
68
EventCollector
.handle_starttag(self, tag, attrs)
72
class EventCollectorCharrefs(
EventCollector
):
84
return
EventCollector
(convert_charrefs=False)
301
class Collector(
EventCollector
):
635
parser =
EventCollector
(convert_charrefs=True)
/external/tensorflow/tensorflow/core/common_runtime/
process_util.cc
110
if (!tracing::
EventCollector
::IsEnabled()) {
executor.cc
[
all
...]
/external/tensorflow/tensorflow/core/lib/core/
threadpool.cc
67
if (tracing::
EventCollector
::IsEnabled()) {
Completed in 2088 milliseconds