Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_service.cc330 Status CacheService::ToggleWriteMode(bool on_off) { in ToggleWriteMode() argument
337 if (st_ == CacheServiceState::kNone && !on_off) { in ToggleWriteMode()
339 cp_->SetLocking(on_off); in ToggleWriteMode()
341 } else if (st_ == CacheServiceState::kNoLocking && on_off) { in ToggleWriteMode()
343 cp_->SetLocking(on_off); in ToggleWriteMode()
Dcache_pool.h144 void SetLocking(bool on_off) { tree_->SetLocking(on_off); } in SetLocking() argument
Dcache_service.h125 Status ToggleWriteMode(bool on_off);
Dcache_request.h457 explicit ToggleWriteModeRequest(connection_id_type connection_id, bool on_off) in ToggleWriteModeRequest() argument
460 rq_.add_buf_data(on_off ? "on" : "off"); in ToggleWriteModeRequest()
Dcache_server.cc685 bool on_off = false; in ToggleWriteMode() local
687 on_off = true; in ToggleWriteMode()
689 on_off = false; in ToggleWriteMode()
693 RETURN_IF_NOT_OK(cs->ToggleWriteMode(on_off)); in ToggleWriteMode()
/third_party/boost/boost/test/
Ddebug.hpp118 void BOOST_TEST_DECL detect_memory_leaks( bool on_off, unit_test::const_string report_file = unit_t…
/third_party/libsnd/src/
Dfile_io.c524 psf_use_rsrc (SF_PRIVATE *psf, int on_off) in psf_use_rsrc() argument
526 if (on_off) in psf_use_rsrc()
747 psf_use_rsrc (SF_PRIVATE *psf, int on_off) in psf_use_rsrc() argument
749 if (on_off) in psf_use_rsrc()
Dcommon.h864 void psf_use_rsrc (SF_PRIVATE *psf, int on_off) ;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dbtree.h146 void SetLocking(bool on_off) { in SetLocking() argument
148 acquire_lock_ = on_off; in SetLocking()
/third_party/boost/boost/test/impl/
Ddebug.ipp995 detect_memory_leaks( bool on_off, unit_test::const_string report_file )
997 boost::ignore_unused( on_off );
1002 if( !on_off )
/third_party/toybox/toys/pending/
Dip.c557 struct arglist on_off[] = { {"on", 0}, {"off", 1}, {NULL,-1}}; in vlan_parse_opt() local
582 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt()