HomeSort by relevance Sort by last modified time
    Searched defs:water (Results 1 - 6 of 6) sorted by null

  /hardware/bsp/intel/peripheral/libupm/examples/java/
GroveWaterSample.java 38 // Instantiate a Grove Water sensor on digital pin D2
39 upm_grovewater.GroveWater water = new upm_grovewater.GroveWater(2); local
42 boolean val = water.isWet();
  /hardware/bsp/intel/peripheral/libupm/examples/c++/
grovewater.cxx 46 // Instantiate a Grove Water sensor on digital pin D2
47 upm::GroveWater* water = new upm::GroveWater(2); local
51 bool val = water->isWet();
63 delete water;
  /external/google-breakpad/src/testing/gtest/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
99 Water* water = new Water; local
106 Water* water = new Water; local
    [all...]
  /external/protobuf/gtest/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
93 << "Leaked " << difference << " unit(s) of Water!";
100 Water* water = new Water; local
107 Water* water = new Water; local
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
99 Water* water = new Water; local
106 Water* water = new Water; local
    [all...]
  /ndk/sources/third_party/googletest/googletest/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
99 Water* water = new Water; local
106 Water* water = new Water; local
    [all...]

Completed in 277 milliseconds