Lines Matching refs:path

24848     var path = [];
24850 path.unshift(candidate);
24853 return path;
32951 function getModuleNameFromPath(path) { argument
32953 if (path[0] === '@') {
32954 return path.substring(0, path.indexOf('/', path.indexOf('/') + 1));
32956 return path.substring(0, path.indexOf('/'));
35117 if (uri.path === '') {
35121 if (uri.path.endsWith('.scss') || uri.path.endsWith('.css')) {
35125 if (uri.path.endsWith('/')) {
35127 uri.with({ path: uri.path + 'index.scss' }).toString(),
35128 uri.with({ path: uri.path + '_index.scss' }).toString()
35132 var pathFragments = uri.path.split('/');
35134 var pathWithoutBasename = uri.path.slice(0, -basename.length);
35137 if (uri.path.endsWith('.scss')) {
35141 return [uri.with({ path: uri.path + '.scss' }).toString()];
35146 return uri.with({ path: pathWithoutBasename + newBasename }).toString();
35826 function isAbsolutePath(path) { argument
35827 return path.charCodeAt(0) === Slash;
35854 function resolvePath(uriString, path) { argument
35855 if (isAbsolutePath(path)) {
35857 var parts = path.split('/');
35858 return uri.with({ path: normalizePath(parts) }).toString();
35860 return joinPath(uriString, path);
35891 var parts = uri.path.split('/');
35893 var path = paths_1[_a];
35894 parts.push.apply(parts, path.split('/'));
35896 return uri.with({ path: normalizePath(parts) }).toString();
36359 …ing: {scheme: \"\", authority: \"" + ret.authority + "\", path: \"" + ret.path + "\", query: \"" +…
36371 if (ret.path) {
36373 if (!_singleSlashStart.test(ret.path)) {
36378 if (_doubleSlashStart.test(ret.path)) {
36395 function _referenceResolution(scheme, path) { argument
36404 if (!path) {
36405 path = _slash;
36407 else if (path[0] !== _slash) {
36408 path = _slash + path;
36412 return path;
36437 function URI(schemeOrData, authority, path, query, fragment, _strict) { argument
36442 this.path = schemeOrData.path || _empty;
36452 this.path = _referenceResolution(this.scheme, path || _empty);
36467 && typeof thing.path === 'string'
36514 …var scheme = change.scheme, authority = change.authority, path = change.path, query = change.query…
36527 if (path === undefined) {
36528 path = this.path;
36530 else if (path === null) {
36531 path = _empty;
36547 && path === this.path
36552 return new _URI(scheme, authority, path, query, fragment);
36590 URI.file = function (path) { argument
36596 path = path.replace(/\\/g, _slash);
36600 if (path[0] === _slash && path[1] === _slash) {
36601 var idx = path.indexOf(_slash, 2);
36603 authority = path.substring(2);
36604 path = _slash;
36607 authority = path.substring(2, idx);
36608 path = path.substring(idx) || _slash;
36611 return new _URI('file', authority, path, _empty, _empty);
36614 …return new _URI(components.scheme, components.authority, components.path, components.query, compon…
36717 if (this.path) {
36718 res.path = this.path;
36809 function encodeURIComponentMinimal(path) { argument
36811 for (var pos = 0; pos < path.length; pos++) {
36812 var code = path.charCodeAt(pos);
36815 res = path.substr(0, pos);
36821 res += path[pos];
36825 return res !== undefined ? res : path;
36832 if (uri.authority && uri.path.length > 1 && uri.scheme === 'file') {
36834 value = "//" + uri.authority + uri.path;
36836 else if (uri.path.charCodeAt(0) === 47 /* Slash */
36837 …&& (uri.path.charCodeAt(1) >= 65 /* A */ && uri.path.charCodeAt(1) <= 90 /* Z */ || uri.path.charC…
36838 && uri.path.charCodeAt(2) === 58 /* Colon */) {
36841 value = uri.path[1].toLowerCase() + uri.path.substr(2);
36844 value = uri.path.substr(1);
36849 value = uri.path;
36864 …var scheme = uri.scheme, authority = uri.authority, path = uri.path, query = uri.query, fragment =…
36902 if (path) {
36904 …if (path.length >= 3 && path.charCodeAt(0) === 47 /* Slash */ && path.charCodeAt(2) === 58 /* Colo…
36905 var code = path.charCodeAt(1);
36907path = "/" + String.fromCharCode(code + 32) + ":" + path.substr(3); // "/c:".length === 3
36910 else if (path.length >= 2 && path.charCodeAt(1) === 58 /* Colon */) {
36911 var code = path.charCodeAt(0);
36913 path = String.fromCharCode(code + 32) + ":" + path.substr(2); // "/c:".length === 3
36917 res += encoder(path, true);