/napi_generator/examples/napitutorials/entry/src/main/cpp/types/libentry/ |
D | index.d.ts | 28 export const add: (a: number, b: number) => number; 30 export const testNapiStatus: (a: number, b: number) => number; 31 export const testExterrinfo: (a: number, b: string) => number; 41 export const testNapiSetProperty: (a: object, b: any, c: any) => object; 42 export const testNapiGetProperty: (a: object, b: any) => string; 43 export const testNapiHasProperty: (a: object, b: any) => boolean; 44 export const testNapiDeleteProperty: (a: object, b: any) => string; 45 export const testNapiGetNamedProperty: (a: object, b: string) => string; 46 export const testNapiSetNamedProperty: (a: object, b: string, c: any) => object; 47 export const testNapiHasNamedProperty: (a: object, b: string) => string; [all …]
|
/napi_generator/examples/napitutorials/entry/src/main/ets/interface/ |
D | XComponentContext.d.ts | 27 drawPattern(a: number, b: number, c: number): void; 28 play(a: number, b: number, c: number): void; 29 stop(a: number, b: number, c: number): void; 30 getInfo(a: number, b: number, c: number): Promise<FFmpegDes>;
|
D | tctnadatatype.d.ts | 20 testNapiStatus: (a: number, b: number) => number; 21 testExterrinfo: (a: number, b: string) => number;
|
D | tctsample.d.ts | 20 add(a: number, b: number): number;
|
/napi_generator/examples/napitutorials/entry/src/main/js/platform/ |
D | platform.js | 539 value[/^[a-z]+(?: +[a-z]+\b)*/i.exec(product)] || 669 if (name == 'Opera Mini' && /\bOPiOS\b/.test(ua)) { 673 if (name == 'IE' && /\blike iPhone OS\b/.test(ua)) { 686 else if (name == 'Konqueror' && /^Linux\b/i.test(os)) { 691 ((/Chrome/.test(name) && !/\bMobile Safari\b/i.test(ua)) || /\bVita\b/.test(product))) || 707 else if (name == 'UC Browser' && /\bUCWEB\b/.test(ua)) { 720 else if (!name || (data = !/\bMinefield\b/i.test(ua) && /\b(?:Firefox|Safari)\b/.exec(name))) { 728 (product || manufacturer || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(os))) { 748 /\bOpera\b/.test(name) && (/\bOPR\b/.test(ua) ? 'Blink' : 'Presto') || 749 … /\b(?:Midori|Nook|Safari)\b/i.test(ua) && !/^(?:Trident|EdgeHTML)$/.test(layout) && 'WebKit' || [all …]
|
/napi_generator/hdc/api/src/ |
D | scan.js | 28 function union(a, b) { argument 33 b.forEach((n1) => { 39 function intersection(a, b) { argument 42 if (b.has(n1)) {
|
/napi_generator/examples/napitutorials/entry/src/ohosTest/ets/test/JsProperty/ |
D | JsProperty.test.ets | 62 key4: ["a", "b", "c"], 80 key4: ["a", "b", "c"], 104 expect(JSON.stringify(result4)).assertContain('["a","b","c"]'); 119 let result4 = testNapi.testNapiSetProperty(obj4, "key4", ["a","b","c"]); 140 expect(JSON.stringify(result4)).assertContain('"key4":["a","b","c"]'); 152 key4: ["a", "b", "c"], 190 key4: ["a", "b", "c"], 198 …expect(JSON.stringify(result)).assertContain('{"true":1,"key3":false,"key4":["a","b","c"],"key6":{… 202 …expect(JSON.stringify(result2)).assertContain('{"key3":false,"key4":["a","b","c"],"key6":{"key":"v… 206 … expect(JSON.stringify(result3)).assertContain('{"key4":["a","b","c"],"key6":{"key":"value"}}'); [all …]
|
/napi_generator/examples/ts/ |
D | @ohos.mtTest.d.ts | 41 gByClass: (a: A, b: number) => number;
|
/napi_generator/examples/serviceCode/ |
D | NodeISayHello.cpp | 40 uint32_t b = 1014; in sayHello() local 41 info1.toId.emplace(b); in sayHello()
|
/napi_generator/examples/pluginCase/serviceCode/ |
D | NodeISayHello.cpp | 43 uint32_t b = 101; in sayHello() local 44 info1.toId.emplace(b); in sayHello()
|
/napi_generator/examples/ |
D | napitest.cpp | 64 uint32_t b = 1014; in sayHello() local 65 info1.toId.emplace(b); in sayHello()
|
/napi_generator/examples/napitutorials/entry/src/main/ets/pages/javascript/jsproperties/ |
D | napigetpropertynames.ets | 42 …+ ' let obj = { key1: "aa", key2: 1, key3: false, key4: ["a", "b", "c"],key5: function () { conso… 100 key4: ["a", "b", "c"],
|
D | napisetelement.ets | 37 + ' let obj2 = ["a", "b", "c"]' 99 let obj2 = ["a", "b", "c"];
|
D | napigetelement.ets | 37 + ' let obj2 = ["a", "b", "c"]' 99 let obj2 = ["a", "b", "c"];
|
D | napideleteproperty.ets | 47 …+ 'let obj = {key1: "value",true: 1,key3: false,key4: ["a", "b", "c"],key5: function () { return "… 113 key4: ["a", "b", "c"],
|
D | napigetproperty.ets | 47 …+ 'let obj = {key1: "value",true: 1,key3: false,key4: ["a", "b", "c"],key5: function () { return "… 115 key4: ["a", "b", "c"],
|
D | napigetnamedproperty.ets | 47 …+ 'let obj = {key1: "value",key2: 1,key3: false,key4: ["a", "b", "c"],key5: function () { return "… 116 key4: ["a", "b", "c"],
|
D | napisetproperty.ets | 54 + ' const myData4 = testNapi.testNapiSetProperty(obj, "key4", ["a","b","c"]); \n' 119 let ret4 = testNapi.testNapiSetProperty(obj, "key4", ["a","b","c"]);
|
D | napisetnamedproperty.ets | 55 + ' const myData4 = testNapi.testNapiSetNamedProperty(obj, "key4", ["a","b","c"]); \n' 122 let ret4 = testNapi.testNapiSetNamedProperty(obj, "key4", ["a", "b", "c"]);
|
D | napihasproperty.ets | 47 …+ 'let obj = {key1: "value",true: 1,key3: false,key4: ["a", "b", "c"],key5: function () { return "… 118 key4: ["a", "b", "c"],
|
D | napihasnamedproperty.ets | 47 …+ 'let obj = {key1: "value","key2": 1,"key3": false,key4: ["a", "b", "c"],key5: function () { retu… 119 key4: ["a", "b", "c"],
|
/napi_generator/examples/napitutorials/entry/src/main/ets/pages/ncpp/cjsonfuncs/ |
D | cjsonparse.ets | 39 + ' let value3 = "["a","b"]" \n' 100 let value3 = '["a","b"]'
|
/napi_generator/examples/napitutorials/entry/src/ohosTest/ets/test/ |
D | Ability.test.ets | 45 let b = 'b'; 47 expect(a).assertContain(b); 58 let value3 = '["a","b"]'
|
/napi_generator/docs/requirement/ |
D | To-do_list.md | 15 …ByClass: (a: A, b: number, callback: (result: number) => void, c: InterfaceA) => number;<br />}<br…
|
/napi_generator/examples/napitutorials/ |
D | hvigorw.bat | 74 exit /b 1
|