Home
last modified time | relevance | path

Searched refs:global_context (Results 1 – 11 of 11) sorted by relevance

/third_party/benchmark/test/
Dbenchmark_gtest.cc11 extern std::map<std::string, std::string>* global_context;
137 EXPECT_THAT(global_context, nullptr); in TEST()
142 EXPECT_THAT(*global_context, in TEST()
146 delete global_context; in TEST()
147 global_context = nullptr; in TEST()
151 EXPECT_THAT(global_context, nullptr); in TEST()
156 EXPECT_THAT(*global_context, in TEST()
159 delete global_context; in TEST()
160 global_context = nullptr; in TEST()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.h50 struct global_context;
52 extern void segment_init(struct global_context *);
53 extern void segment_cleanup(struct global_context *);
Dmemtoy.h42 typedef struct global_context { struct
Dsegment.c83 void segment_init(struct global_context *gcp) in segment_init()
202 void segment_cleanup(struct global_context *gcp) in segment_cleanup()
/third_party/benchmark/src/
Dreporter.cc29 extern std::map<std::string, std::string> *global_context;
70 if (internal::global_context != nullptr) { in PrintBasicContext()
71 for (const auto &kv : *internal::global_context) { in PrintBasicContext()
Dbenchmark.cc129 std::map<std::string, std::string>* global_context = nullptr; variable
520 if (internal::global_context == nullptr) { in AddCustomContext()
521 internal::global_context = new std::map<std::string, std::string>(); in AddCustomContext()
523 if (!internal::global_context->emplace(key, value).second) { in AddCustomContext()
616 void Shutdown() { delete internal::global_context; } in Shutdown()
Djson_reporter.cc32 extern std::map<std::string, std::string>* global_context;
187 if (internal::global_context != nullptr) { in ReportContext()
188 for (const auto& kv : *internal::global_context) { in ReportContext()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
DCMakeLists.txt11 global_context.cc
/third_party/cef/tests/ceftests/
Drequest_context_unittest.cc812 MethodTestHandler(bool global_context, Method method) in MethodTestHandler() argument
813 : global_context_(global_context), method_(method) {} in MethodTestHandler()
/third_party/mindspore/mindspore/lite/minddata/
DCMakeLists.txt132 ${MINDDATA_DIR}/core/global_context.cc
344 ${MINDDATA_DIR}/core/global_context.cc
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/
Ddependencies.txt1global_context.cc", "include/api/context.h", "mindspore/ccsrc/minddata/dataset/engine/ir/cache/pre…