Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/plugin/asciidocjs/node_modules/jake/test/unit/
Dparseargs.js58 let res; variable
63 res = p.parse(z('--tasks=foo --jakefile=asdf'));
64 assert.equal('foo', res.opts.tasks);
65 assert.equal(undefined, res.opts.jakefile);
69 res = p.parse(z('--tasks foo --jakefile=asdf'));
70 assert.equal('foo', res.opts.tasks);
71 assert.equal(undefined, res.opts.jakefile);
75 res = p.parse(z('--tasks --jakefile=asdf'));
76 assert.equal(true, res.opts.tasks);
77 assert.equal(undefined, res.opts.jakefile);
[all …]
/plugin/asciidocjs/node_modules/resolve/test/
Dresolver.js15 resolve('./foo', { basedir: dir }, function (err, res, pkg) { argument
17 t.equal(res, path.join(dir, 'foo.js'));
21 resolve('./foo.js', { basedir: dir }, function (err, res, pkg) { argument
23 t.equal(res, path.join(dir, 'foo.js'));
27 resolve('./foo', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) { argument
29 t.equal(res, path.join(dir, 'foo.js'));
33 … resolve('./foo.js', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) { argument
35 t.equal(res, path.join(dir, 'foo.js'));
39 resolve('./foo', { basedir: dir, filename: path.join(dir, 'baz.js') }, function (err, res) { argument
41 t.equal(res, path.join(dir, 'foo.js'));
[all …]
Dshadowed_core.js8 resolve('util', { basedir: path.join(__dirname, 'shadowed_core') }, function (err, res) { argument
10 t.equal(res, 'util');
17 var res = resolve.sync('util', { basedir: path.join(__dirname, 'shadowed_core') });
19 t.equal(res, 'util');
25 resolve('util/', { basedir: path.join(__dirname, 'shadowed_core') }, function (err, res) { argument
27 t.equal(res, path.join(__dirname, 'shadowed_core/node_modules/util/index.js'));
34 var res = resolve.sync('util/', { basedir: path.join(__dirname, 'shadowed_core') });
36 t.equal(res, path.join(__dirname, 'shadowed_core/node_modules/util/index.js'));
42 … basedir: path.join(__dirname, 'shadowed_core'), includeCoreModules: false }, function (err, res) { argument
44 t.equal(res, path.join(__dirname, 'shadowed_core/node_modules/util/index.js'));
[all …]
Dpathfilter.js20 resolve('deep/ref', { basedir: resolverDir }, function (err, res, pkg) { argument
24 st.equal(res, path.join(resolverDir, 'node_modules/deep/ref.js'));
27 var res = resolve.sync('deep/ref', { basedir: resolverDir });
28 st.equal(res, path.join(resolverDir, 'node_modules/deep/ref.js'));
37 function (err, res, pkg) { argument
41 st.equal(res, path.join(resolverDir, 'node_modules/deep/deeper/ref.js'));
45 var res = resolve.sync(
49 st.equal(res, path.join(resolverDir, 'node_modules/deep/deeper/ref.js'));
57 var res = resolve.sync(
61 st.equal(res, path.join(resolverDir, 'node_modules/deep/alt.js'));
[all …]
Dmodule_dir.js12 resolve('aaa', xopts, function (err, res, pkg) { argument
14 t.equal(res, path.join(dir, '/xmodules/aaa/index.js'));
21 resolve('aaa', yopts, function (err, res, pkg) { argument
23 t.equal(res, path.join(dir, '/ymodules/aaa/index.js'));
34 resolve('aaa', aopts, function (err, res, pkg) { argument
36 t.equal(res, path.join(dir, '/xmodules/aaa/index.js'));
43 resolve('aaa', bopts, function (err, res, pkg) { argument
45 t.equal(res, path.join(dir, '/ymodules/aaa/index.js'));
52 resolve('bbb', copts, function (err, res, pkg) { argument
54 t.equal(res, path.join(dir, '/zmodules/bbb/main.js'));
Dmock.js32 resolve('./baz', opts('/foo/bar'), function (err, res, pkg) { argument
34 t.equal(res, path.resolve('/foo/bar/baz.js'));
38 resolve('./baz.js', opts('/foo/bar'), function (err, res, pkg) { argument
40 t.equal(res, path.resolve('/foo/bar/baz.js'));
44 resolve('baz', opts('/foo/bar'), function (err, res) { argument
49 resolve('../baz', opts('/foo/bar'), function (err, res) { argument
83 resolve('./baz', opts('/foo/bar'), function (err, res, pkg) { argument
85 t.equal(res, path.resolve('/foo/bar/baz.js'));
89 resolve('./baz.js', opts('/foo/bar'), function (err, res, pkg) { argument
91 t.equal(res, path.resolve('/foo/bar/baz.js'));
[all …]
Dnode_path.js29 }, function (err, res) { argument
31 t.equal(res, path.join(__dirname, '/node_path/x/aaa/index.js'), 'aaa resolves');
41 }, function (err, res) { argument
43 t.equal(res, path.join(__dirname, '/node_path/y/bbb/index.js'), 'bbb resolves');
53 }, function (err, res) { argument
55 t.equal(res, path.join(__dirname, '/node_path/x/ccc/index.js'), 'ccc resolves');
65 }, function (err, res) { argument
68 t.equal(res, path.resolve(__dirname, '..', 'node_modules/tap', root), 'tap resolves');
/plugin/sqlite/_test/
DHelperTest.php16 protected $res; variable in dokuwiki\\plugin\\sqlite\\test\\HelperTest
48 $res = $SqliteHelper->query($sql);
49 $this->res = $res;
62 $res = $SqliteHelper->query($sql);
63 $this->res = $res;
150 $this->assertNotEquals(false, $this->res);
153 $SqliteHelper->res_close($this->res);
168 $this->assertEquals($resultassoc, $SqliteHelper->res2arr($this->res, $assoc = true));
184 $this->assertEquals($resultnum, $SqliteHelper->res2arr($this->res, $assoc = false));
195 $this->assertEquals($result0, $SqliteHelper->res2row($this->res));
[all …]
/plugin/sqlite/
Dhelper.php238 public function res_close($res) argument
240 if (!$res) return false;
242 return $res->closeCursor();
251 public function res2arr($res, $assoc = true) argument
253 if (!$res) return [];
258 $this->data = $res->fetchAll($mode);
269 public function res2row($res, $rownum = 0) argument
271 if (!$res) return false;
273 return $res->fetch(\PDO::FETCH_ASSOC);
282 public function res2single($res) argument
[all …]
/plugin/freechat/phpfreechat/src/containers/
Doracle.class.php187 $res = $this->_db->query($sql_count);
188 if (DB::isError($res))
190 error_log("sql_count error $sql_count " . $res->getMessage());
194 $row = $res->fetchRow(DB_FETCHMODE_ASSOC);
203 $res=$this->_db->query($sql_insert);
204 if (DB::isError($res)) { error_log("sql insert error: $sql_insert " . $res->getMessage()); }
212 $res=$this->_db->query($sql_update);
213 if (DB::isError($res))
214 { error_log("sql update error: $sql_update " . $res->getMessage()); }
309 $res = $this->_db->query($sql_count);
[all …]
/plugin/asciidocjs/node_modules/repeat-string/
Dindex.js14 var res = ''; variable
53 res = '';
54 } else if (res.length >= max) {
55 return res.substr(0, max);
58 while (max > res.length && num > 1) {
60 res += str;
67 res += str;
68 res = res.substr(0, max);
69 return res;
/plugin/timetrack/
Dhelper.php67 $res = $sqlite->query("SELECT id FROM user WHERE user = ?", $user);
68 $db_user_id = (int) $sqlite->res2single($res);
69 $sqlite->res_close($res);
74 $res = $sqlite->query("SELECT id FROM user WHERE user = ?", $user);
75 $db_user_id = (int) $sqlite->res2single($res);
76 $sqlite->res_close($res);
91 $res = $sqlite->query("SELECT id FROM page WHERE page = ?", $page);
92 $page_id = (int) $sqlite->res2single($res);
102 $res = $sqlite->query("SELECT id FROM page WHERE page = ?", $page);
103 $page_id = (int) $sqlite->res2single($res);
[all …]
/plugin/flowplayer/
Dsyntax.php37 if (preg_match('/(\d+),(\d+)/', $param, $res)) {
38 $width = intval($res[1]);
39 $height = intval($res[2]);
41 else if (preg_match('/([^:]+):(.*)$/', $param, $res))
42 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = '"'.$res[2].'"';
43 else if (preg_match('/no(\w+)/', $param, $res))
44 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'false';
45 else if (preg_match('/(\w+)/', $param, $res))
46 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'true';
/plugin/combo/ComboStrap/
DSqliteResult.php11 private $res; variable in ComboStrap\\SqliteResult
24 public function __construct(SqliteRequest $sqlite, $res) argument
27 $this->res = $res;
37 return $this->sqlitePlugin->res2arr($this->res);
45 return $this->res->fetchAll(PDO::FETCH_ASSOC);
60 if ($this->res instanceof \PDOStatement) {
61 $this->sqlitePlugin->res_close($this->res);
63 $this->res = null;
81 return $this->sqlitePlugin->countChanges($this->res);
86 return $this->sqlitePlugin->res2single($this->res);
/plugin/translation3/
Daction.php83 $res = array();
86 if(!is_array($res["x$tr"])) $res["x$tr"] = array();
87 $res["x$tr"][] = array($r,$t);
90 ksort($res);
93 foreach($res as $r){
102 $res = array();
105 if(!is_array($res["x$tr"])) $res["x$tr"] = array();
106 $res["x$tr"][] = $r;
109 ksort($res);
112 foreach($res as $r){
/plugin/diagram/syntax/
Dsplitter.php139 $res = array();
143 $res['type'] = 'newline';
146 $res['type'] = 'abbr eval';
151 $res['abbr'] = $regs[1];
152 $res['params'] = $regs[2];
155 $res['abbr'] = $abbr_and_params;
159 $res['type'] = 'command';
161 $res['command'] = trim(substr($match, 1));
165 $res['text'] = $match;
166 return $res;
/plugin/rating/
Dhelper.php64 $res = $sqlite->query($sql, $ID);
65 $current = (int) $sqlite->res2single($res);
66 $sqlite->res_close($res);
69 $res = $sqlite->query($sql, $ID, $this->userID());
70 $self = (int) $sqlite->res2single($res);
71 $sqlite->res_close($res);
96 $res = $sqlite->query($sql, $page);
97 $sqlite->res_close($res);
114 $res = $sqlite->query($sql, $num);
117 $res = $sqlite->query($sql, $lang, $num);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dfetcher.url.class.php180 function _extract_code($res) { argument
187 if (preg_match('/\s(\d+)\s/',$res,$matches)) {
271 $res = $this->_head();
273 if (is_null($res)) { return null; };
274 $this->code = $this->_extract_code($res);
276 return $this->_process_code($res);
287 $res = $this->_head();
289 if (is_null($res)) { return null; };
290 $this->code = $this->_extract_code($res);
292 return $this->_process_code($res);
[all …]
/plugin/asciidocjs/node_modules/clean-css/lib/reader/
Dload-remote-resource.js32 fetch(requestOptions, function (res) { argument
40 if (res.statusCode < 200 || res.statusCode > 399) {
41 return callback(res.statusCode, null);
42 } else if (res.statusCode > 299) {
43 movedUri = url.resolve(uri, res.headers.location);
47 res.on('data', function (chunk) {
50 res.on('end', function () {
55 .on('error', function (res) { argument
61 callback(res.message, null);
/plugin/sequencediagram/bower_components/raphael/dev/
Draphael.vml.js34 var res = Str(path).replace(bites, function (all, command, args) {
37 res = map[command];
40 res += vals + map[command == "m" ? "l" : "L"];
45 return res + vals;
47 return res;
50 res = [];
58 res.push(r);
60 return res.join(S);
151 res = o;
216 addArrow(res, params["arrow-start"]);
[all …]
/plugin/addressbook/
Daction.php38 $res .= '<div class="plugin_addressbook_searchpage">';
39 $res .= '<h2>'.$this->getLang('results msg').':</h2>';
45 …foreach ($list as $l) $res .= $syntax->showcontact($l['id'],($this->getConf('search link target') …
46 …} else $res .= $syntax->buildIndex($list,false,($this->getConf('search link target') != ''? $this-…
50 foreach ($found as $f) $res .= $syntax->showcontact($f['id']);
52 $res .= '</div>';
54 $searchForm->addHTML($res);
77 $res = $sqlite->res2arr($query);
83 return $res;
Dsyntax.php100 $res = $this->saveData($cinfo);
101 if (!$res) {
301 if ($res === false) return false;
388 $res = $sqlite->res2arr($query)[0];
390 return $res;
409 $res = Array();
413 foreach ($keys as $k) $res[$k] = $_REQUEST[$k];
419 $res['photo'] = false;
422 $res['photo'] = false;
425 $res['photo'] = base64_encode($pic);
[all …]
/plugin/git/
Dhelper.php109 $res = $this->loadSqlite();
110 if (!$res)
125 $res = $this->loadSqlite();
126 if (!$res) return;
128 $res = $this->sqlite->query("SELECT status FROM git WHERE repo = 'local'");
129 $rows = $this->sqlite->res2arr($res);
138 $res = $this->loadSqlite();
139 if (!$res) return;
455 $res = $this->loadSqlite();
456 if (!$res) return;
[all …]
/plugin/extendpage/meta/
DAssignments.php61 $res = $this->sqlite->query($sql);
62 $this->patterns = $this->sqlite->res2arr($res);
63 $this->sqlite->res_close($res);
80 $res = $this->sqlite->query($sql);
84 $this->propagatePageAssignments($this->sqlite->res2single($res));
107 $res = $this->sqlite->query($sql, $id);
108 $pagerows = $this->sqlite->res2arr($res);
109 $this->sqlite->res_close($res);
214 $res = $this->sqlite->query($sql, array($page, $pos));
215 $list = $this->sqlite->res2arr($res);
[all …]
/plugin/blogtng/helper/
Dcomments.php88 $res = $this->sqlitehelper->getDB()->query($sql,$args);
89 $res = $this->sqlitehelper->getDB()->res2row($res,0);
90 return (int) $res['val'];
166 $res = $this->sqlitehelper->getDB()->query(
172 $cid = $this->sqlitehelper->getDB()->res2single($res);
240 $res = $this->sqlitehelper->getDB()->query($sql, $comment->getPid());
241 $entry = $this->sqlitehelper->getDB()->res2row($res,0);
283 $res = $this->sqlitehelper->getDB()->query($sql, $comment->Pid());
284 $rows = $this->sqlitehelper->getDB()->res2arr($res);
357 $res = $this->sqlitehelper->getDB()->query($sql,strtolower($mail));
[all …]

12345678910>>...19