Home
last modified time | relevance | path

Searched refs:url (Results 1 – 19 of 19) sorted by relevance

/interface/sdk-js/build-tools/collect_application_api/src/
Dcollect_import_name.js29 function collectApi(url) { argument
30 const applicationUrl = path.resolve(__dirname, url);
37 applicationFiles.forEach(url => {
38 if (/\.ets/.test(path.basename(url)) || /\.ts/.test(path.basename(url))) {
39 const content = fs.readFileSync(url, 'utf-8');
40 const fileName = path.basename(url).replace(/\.d.ts$/g, 'ts');
46 transformers: { before: [callback(url)] }
52 function getImportFileName(url) { argument
69 fileName: path.basename(url),
75 fileName: path.basename(url),
[all …]
/interface/sdk-js/build-tools/api_check_plugin/src/
Dapi_check_plugin.js28 function checkAPICodeStyle(url) { argument
29 if (fs.existsSync(url)) {
30 const mdApiFiles = getMdFiles(url);
35 function getMdFiles(url) { argument
36 const content = fs.readFileSync(url, "utf-8");
91 function scanEntry(url) { argument
93 checkAPICodeStyle(url);
Dutils.js32 function removeDir(url) { argument
33 let statObj = fs.statSync(url);
35 let dirs = fs.readdirSync(url);
36 dirs = dirs.map(dir => path.join(url, dir));
40 fs.rmdirSync(url);
42 fs.unlinkSync(url);
/interface/sdk-js/build-tools/
Ddelete_systemapi_plugin.js23 function collectDeclaration(url) { argument
25 const utPath = path.resolve(__dirname, url);
35 utFiles.forEach((url) => {
36 if (/\.json/.test(url) || /index\-full\.d\.ts/.test(url) || /common\.d\.ts/.test(url)) {
37 const content = fs.readFileSync(url, 'utf-8');
38 writeFile(url, content);
39 } else if (/\.d\.ts/.test(url)) {
40 const content = fs.readFileSync(url, 'utf-8');
41 const fileName = path.basename(url).replace(/.d.ts/g, '.ts');
47 transformers: { before: [callback(url)] }
[all …]
/interface/sdk-js/api/
D@ohos.url.d.ts22 declare namespace url { namespace
349 constructor(url: string, base?: string | URL);
367 static parseURL(url: string, base?: string | URL): URL;
483 export default url;
D@ohos.net.webSocket.d.ts59 connect(url: string, callback: AsyncCallback<boolean>): void;
60 connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
61 connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
D@ohos.net.http.d.ts120 request(url: string, callback: AsyncCallback<HttpResponse>): void;
121 request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
122 request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
D@system.request.d.ts148 url: string; property
218 url: string; property
D@system.fetch.d.ts54 url: string;
D@ohos.web.webview.d.ts352 static getCookie(url: string): string;
365 static setCookie(url: string, value: string): void;
693 loadUrl(url: string | Resource, headers?: Array<WebHeader>): void;
D@ohos.request.d.ts378 url: string;
898 url: string; property
D@ohos.router.d.ts67 url: string; property
D@ohos.multimedia.media.d.ts385 url ?: string; property
2013 url: string; property
2494 url: string; property
2619 url: string; property
D@ohos.telephony.sms.d.ts698 url: string; property
/interface/sdk-js/build-tools/api_check_plugin/test/
Dtest.js18 function checkEntryLocalText(url) { argument
22 result = scanEntry(url);
/interface/sdk-js/api/@internal/component/ets/
Dweb.d.ts1231 loadUrl(options: { url: string | Resource, headers?: Array<Header> });
1560 onPageEnd(callback: (event?: { url: string }) => void): WebAttribute;
1568 onPageBegin(callback: (event?: { url: string }) => void): WebAttribute;
1616 …onAlert(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebAtt…
1624 …onBeforeUnload(callback: (event?: { url: string, message: string, result: JsResult }) => boolean):…
1632 …onConfirm(callback: (event?: { url: string, message: string, result: JsResult }) => boolean): WebA…
1640 …onPrompt(callback: (event?: {url: string, message: string, value: string, result: JsResult }) => b…
1673 …onDownloadStart(callback: (event?: { url: string, userAgent: string, contentDisposition: string, m…
1682 …onRefreshAccessedHistory(callback: (event?: { url: string, isRefreshed: boolean }) => void): WebAt…
1745 onResourceLoad(callback: (event: {url: string}) => void): WebAttribute;
[all …]
/interface/sdk-js/build-tools/api_check_plugin/
Dentry.js19 function checkEntry(url) { argument
/interface/sdk-js/api/common/full/
Dfeatureability.d.ts274 url?: string; property
/interface/sdk-js/build-tools/api_check_plugin/plugin/
Ddictionaries.txt65239 url