Home
last modified time | relevance | path

Searched refs:fileHandle (Results 1 – 12 of 12) sorted by relevance

/plugin/diagramsnet/lib/js/diagramly/
H A DLocalFile.js11 LocalFile = function(ui, data, title, temp, fileHandle, desc) argument
17 this.fileHandle = fileHandle;
32 …return this.fileHandle != null && !this.invalidFileHandle && DrawioFile.prototype.isAutosave.apply…
41 return this.fileHandle != null;
134 if (this.fileHandle == null)
140 this.ui.loadFileSystemEntry(this.fileHandle, success, error);
154 this.fileHandle = null;
183 if (this.fileHandle != null)
205 this.fileHandle.createWritable().then(mxUtils.bind(this, function(writable)
207 this.fileHandle.getFile().then(mxUtils.bind(this, function(newDesc)
[all …]
H A DApp.js2263 !this.editor.isChromelessView() && file.fileHandle == null)
3764 App.prototype.loadFileSystemEntry = function(fileHandle, success, error) argument
3773 fileHandle.getFile().then(mxUtils.bind(this, function(file)
3790 success(new LocalFile(this, data, file.name, null, fileHandle, file));
3886 if (fileHandle != null)
3888 fileHandle.getFile().then(mxUtils.bind(this, function(desc)
3890 success(fileHandle, desc);
4441 this.showSaveFilePicker(mxUtils.bind(this, function(fileHandle, desc) argument
4444 file.fileHandle = fileHandle;
4500 file.fileHandle = fileHandle;
[all …]
H A DMenus.js2732 if (file.constructor == LocalFile && file.fileHandle != null)
2734 editorUi.showSaveFilePicker(mxUtils.bind(editorUi, function(fileHandle, desc) argument
2737 file.fileHandle = fileHandle;
3868 file.fileHandle != null))
H A DEditorUi.js11137 EditorUi.prototype.openFileHandle = function(data, name, file, temp, fileHandle) argument
11285 fileHandle = null;
11292 this.openLocalFile(data, name, temp, fileHandle, (fileHandle != null) ? file : null);
11347 EditorUi.prototype.openLocalFile = function(data, name, temp, fileHandle, desc) argument
11368 this.defaultFilename, temp, fileHandle, desc));
11375 (mxClient.IS_CHROMEAPP || EditorUi.isElectronApp || fileHandle != null)))
11379 else if ((mxClient.IS_CHROMEAPP || EditorUi.isElectronApp || fileHandle != null) &&
/plugin/quickstats/GEOIP/vendor/maxmind-db/reader/src/MaxMind/Db/
H A DReader.php26 private $fileHandle; variable in MaxMind\\Db\\Reader
56 $this->fileHandle = @fopen($database, 'rb');
57 if ($this->fileHandle === false) {
70 $metadataDecoder = new Decoder($this->fileHandle, $start);
74 $this->fileHandle,
129 if (!\is_resource($this->fileHandle)) {
214 $bytes = Util::read($this->fileHandle, $baseOffset + $index * 3, 3);
263 $handle = $this->fileHandle;
304 if (!\is_resource($this->fileHandle)) {
321 if (!\is_resource($this->fileHandle)) {
[all …]
/plugin/combo/
H A Dcli.php306 $fileHandle = null;
308 $fileHandle = @fopen($output, 'w');
309 if (!$fileHandle) $this->fatal("Failed to open $output");
324 if (!empty($fileHandle)) {
343 fwrite($fileHandle, implode(",", $header) . PHP_EOL);
380 if (!empty($fileHandle)) {
400 fwrite($fileHandle, implode(",", $row) . PHP_EOL);
404 if (!empty($fileHandle)) {
405 fclose($fileHandle);
/plugin/jplayer/vendor/symfony/process/Pipes/
H A DWindowsPipes.php145 foreach ($this->fileHandles as $type => $fileHandle) {
146 $data = stream_get_contents($fileHandle, -1, $this->readBytes[$type]);
153 ftruncate($fileHandle, 0);
154 fclose($fileHandle);
/plugin/combo/vendor/symfony/process/Pipes/
H A DWindowsPipes.php155 foreach ($this->fileHandles as $type => $fileHandle) {
156 $data = stream_get_contents($fileHandle, -1, $this->readBytes[$type]);
163 ftruncate($fileHandle, 0);
164 fclose($fileHandle);
/plugin/rrdgraph/
H A Dhelper.php171 private $fileHandle; variable in rrdgraph_image_info
191 $this->fileHandle = fopen($fileName . ".lock", "w+");
192 flock($this->fileHandle, LOCK_SH);
199 fclose($this->fileHandle);
232 flock($this->fileHandle, LOCK_EX);
/plugin/diagramsnet/lib/js/
H A Dviewer.min.js3082fileHandle=g;this.desc=p};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=func…
3084 …pe.getLatestVersion=function(b,c){null==this.fileHandle?b(null):this.ui.loadFileSystemEntry(this.f…
3085fileHandle=null);this.title=b;g||this.updateFileData();var p=this.ui.useCanvasForExport&&/(\.png)$…
3086fileHandle.createWritable().then(mxUtils.bind(this,function(b){this.fileHandle.getFile().then(mxUt…
H A Dapp.min.js10042fileHandle=g;this.desc=k};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=func…
10044 …pe.getLatestVersion=function(b,e){null==this.fileHandle?b(null):this.ui.loadFileSystemEntry(this.f…
10045fileHandle=null);this.title=b;g||this.updateFileData();var k=this.ui.useCanvasForExport&&/(\.png)$…
10046fileHandle.createWritable().then(mxUtils.bind(this,function(b){this.fileHandle.getFile().then(mxUt…
11613 …mEmpty()||null!=urlParams.url||this.editor.isChromelessView()||null!=b.fileHandle){if(b.isModified…
11678 …eHandle||null==this.mode)if(null!=d&&d.constructor==LocalFile&&null!=d.fileHandle)this.showSaveFil…
11679 function(b,e){d.invalidFileHandle=null;d.fileHandle=b;d.title=e.name;d.desc=e;this.save(e.name,c)})…
11680 …eFileSupport?this.showSaveFilePicker(mxUtils.bind(this,function(b,e){d.fileHandle=b;d.mode=App.MOD…
11881 …ructor==LocalFile&&null!=b.fileHandle)c.showSaveFilePicker(mxUtils.bind(c,function(d,e){b.invalidF…
11919 …PP||EditorUi.isElectronApp||null==e||e.constructor==LocalFile&&null==e.fileHandle||(b.addSeparator…
H A Dviewer-static.min.js3082fileHandle=g;this.desc=p};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=func…
3084 …pe.getLatestVersion=function(b,c){null==this.fileHandle?b(null):this.ui.loadFileSystemEntry(this.f…
3085fileHandle=null);this.title=b;g||this.updateFileData();var p=this.ui.useCanvasForExport&&/(\.png)$…
3086fileHandle.createWritable().then(mxUtils.bind(this,function(b){this.fileHandle.getFile().then(mxUt…