Home
last modified time | relevance | path

Searched refs:MyData (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/samples/cpp/
Dfilestorage.cpp28 struct MyData struct
30 MyData() : in MyData() argument
34 explicit MyData(int) : in MyData() argument
55 static void write(FileStorage& fs, const std::string&, const MyData& x){ in write() argument
58 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ in read()
65 static ostream& operator<<(ostream& out, const MyData& m){ in operator <<()
101 MyData m(1); in main()
140 MyData m; in main()
164 MyData m; in main()
178 MyData m(1); in main()
/external/opencv3/samples/cpp/tutorial_code/core/file_input_output/
Dfile_input_output.cpp21 class MyData class
24 MyData() : A(0), X(0), id() in MyData() function in MyData
26 … explicit MyData(int) : A(97), X(CV_PI), id("mydata1234") // explicit to avoid implicit conversion in MyData() function in MyData
45 static void write(FileStorage& fs, const std::string&, const MyData& x) in write()
49 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ in read()
57 static ostream& operator<<(ostream& out, const MyData& m) in operator <<()
77 MyData m(1); in main()
132 MyData m; in main()
/external/opencv3/doc/tutorials/core/file_input_output_with_xml_yml/
Dfile_input_output_with_xml_yml.markdown123 class MyData
126 MyData() : A(0), X(0), id() {}
151 void write(FileStorage& fs, const std::string&, const MyData& x)
156 void read(const FileNode& node, MyData& x, const MyData& default_value = MyData())
171 MyData m(1);
172 fs << "MyData" << m; // your own data structures
173 fs["MyData"] >> m; // Read your own structure_
200 MyData =
231 <MyData>
234 <id>mydata1234</id></MyData>
[all …]
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc1997 class MyData : public ConvertableToTraceFormat { class
1999 MyData() {} in MyData() function in base::trace_event::MyData
2006 ~MyData() override {} in ~MyData()
2007 DISALLOW_COPY_AND_ASSIGN(MyData);
2014 scoped_refptr<ConvertableToTraceFormat> data(new MyData()); in TEST_F()
2015 scoped_refptr<ConvertableToTraceFormat> data1(new MyData()); in TEST_F()
2016 scoped_refptr<ConvertableToTraceFormat> data2(new MyData()); in TEST_F()
2023 scoped_refptr<ConvertableToTraceFormat> convertData1(new MyData()); in TEST_F()
2024 scoped_refptr<ConvertableToTraceFormat> convertData2(new MyData()); in TEST_F()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp1522 class MyData { class
1535 void lockData (MyData *d) __attribute__((exclusive_lock_function(d->mu)));
1536 void unlockData(MyData *d) __attribute__((unlock_function(d->mu)));
1542 void foo(MyData* d) __attribute__((exclusive_locks_required(d->mu))) { } in foo()
1544 void bar1(MyData* d) { in bar1()
1550 void bar2(MyData* d) { in bar2()
1557 void bar3(MyData* d1, MyData* d2) { in bar3()
1564 void bar4(MyData* d1, MyData* d2) { in bar4()