Searched refs:StatWatcher (Results 1 – 12 of 12) sorted by relevance
/third_party/node/src/ |
D | node_stat_watcher.cc | 45 void StatWatcher::Initialize(Environment* env, Local<Object> target) { in Initialize() 48 Local<FunctionTemplate> t = env->NewFunctionTemplate(StatWatcher::New); in Initialize() 50 StatWatcher::kInternalFieldCount); in Initialize() 53 env->SetProtoMethod(t, "start", StatWatcher::Start); in Initialize() 59 StatWatcher::StatWatcher(fs::BindingData* binding_data, in StatWatcher() function in node::StatWatcher 72 void StatWatcher::Callback(uv_fs_poll_t* handle, in Callback() 76 StatWatcher* wrap = ContainerOf(&StatWatcher::watcher_, handle); in Callback() 91 void StatWatcher::New(const FunctionCallbackInfo<Value>& args) { in New() 95 new StatWatcher(binding_data, args.This(), args[0]->IsTrue()); in New() 99 void StatWatcher::Start(const FunctionCallbackInfo<Value>& args) { in Start() [all …]
|
D | node_stat_watcher.h | 39 class StatWatcher : public HandleWrap { 44 StatWatcher(fs::BindingData* binding_data, 52 SET_MEMORY_INFO_NAME(StatWatcher) 53 SET_SELF_SIZE(StatWatcher)
|
D | README.md | 857 void StatWatcher::Callback(uv_fs_poll_t* handle, 861 // Get the StatWatcher instance associated with this call from libuv, 862 // StatWatcher is a subclass of AsyncWrap. 863 StatWatcher* wrap = ContainerOf(&StatWatcher::watcher_, handle);
|
D | node_file.cc | 2468 StatWatcher::Initialize(env, target); in Initialize()
|
/third_party/node/lib/internal/fs/ |
D | watchers.js | 20 StatWatcher: _StatWatcher 67 function StatWatcher(bigint) { class 76 ObjectSetPrototypeOf(StatWatcher.prototype, EventEmitter.prototype); 77 ObjectSetPrototypeOf(StatWatcher, EventEmitter); 98 StatWatcher.prototype[kFSStatWatcherStart] = function(filename, 132 StatWatcher.prototype.start = () => {}; 138 StatWatcher.prototype.stop = function() { 151 StatWatcher.prototype[kFSStatWatcherAddOrCleanRef] = function(operate) { 168 StatWatcher.prototype.ref = function() { 177 StatWatcher.prototype.unref = function() { [all …]
|
/third_party/node/test/sequential/ |
D | test-async-wrap-getasyncid.js | 153 const StatWatcher = binding.StatWatcher; constant 154 testInitialized(new StatWatcher(), 'StatWatcher');
|
/third_party/node/tools/doc/ |
D | type-parser.mjs | 95 'fs.StatWatcher': 'fs.html#fs_class_fs_statwatcher',
|
/third_party/node/doc/api/ |
D | fs.md | 3685 * Returns: {fs.StatWatcher} 5413 ### Class: `fs.StatWatcher` 5422 A successful call to `fs.watchFile()` method will return a new {fs.StatWatcher} 5432 * Returns: {fs.StatWatcher} 5435 {fs.StatWatcher} is active. Calling `watcher.ref()` multiple times will have 5438 By default, all {fs.StatWatcher} objects are "ref'ed", making it normally 5449 * Returns: {fs.StatWatcher} 5451 When called, the active {fs.StatWatcher} object will not require the Node.js 5453 event loop running, the process may exit before the {fs.StatWatcher} object's
|
/third_party/node/lib/ |
D | fs.js | 1641 stat = new watchers.StatWatcher(options.bigint);
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V9.md | 1287 …github.com/nodejs/node/commit/d879b63077)] - **src**: make FSEventWrap/StatWatcher::Start more rob…
|
D | CHANGELOG_V8.md | 758 …github.com/nodejs/node/commit/7fa97d4f09)] - **src**: make FSEventWrap/StatWatcher::Start more rob…
|
D | CHANGELOG_V10.md | 3134 …ttps://github.com/nodejs/node/commit/740d9f1a0e)] - **lib,src**: make `StatWatcher` a `HandleWrap`…
|