/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
D | transform.ts | 44 export function transformForModule(code: string, id: string) { 51 ModuleSourceFile.newSourceFile(id, code); 55 let code: string = this.getModuleInfo(id).originalCode; 58 const transformedResult: object = transformJsByBabelPlugin(code, eventTransformForModule); 59 code = transformedResult.code; 66 ModuleSourceFile.newSourceFile(id, code); 90 function transformJsByBabelPlugin(code: string, parentEvent: Object): Object { 92 const transformed: Object = require('@babel/core').transformSync(code,
|
/developtools/packing_tool/adapter/ohos/ |
D | ScanErrorEnum.java | 60 public final int code; field in ScanErrorEnum 67 ScanErrorEnum(int code, String msg) { in ScanErrorEnum() argument 68 this.code = code; in ScanErrorEnum() 78 return "code:" + this.code + " error:" + this.msg; in toString()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
D | VerifyResult.java | 105 private int code; field in VerifyResult 135 public VerifyResult(boolean isResult, int code, String message) { in VerifyResult() argument 137 this.code = code; in VerifyResult() 150 return code; in getCode() 153 public void setCode(int code) { in setCode() argument 154 this.code = code; in setCode()
|
/developtools/ace_js2bundle/ace-loader/ |
D | uglify-source.js | 30 const code = fs.readFileSync(filePath, 'utf-8') 31 uglifyCode(code,filePath) 41 function uglifyCode(code, outPath) { argument 42 const uglifyCode = uglifyJS.minify(code).code
|
/developtools/ace_ets2bundle/compiler/ |
D | uglify-source.js | 30 const code = fs.readFileSync(filePath, 'utf-8'); 31 uglifyCode(code, filePath); 41 function uglifyCode(code, outPath) { argument 42 const uglifyCode = uglifyJS.minify(code).code;
|
/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/ |
D | rollup-plugin-system-api.ts | 54 transform(code: string, id: string) { 55 const magicString = new MagicString(code); 58 code = processSystemApiAndLibso(code, id, useOSFiles); 63 code = processSystemApi(code, id); 64 code = processLibso(code, id, useOSFiles); 69 code: code,
|
/developtools/profiler/hidebug/test/unittest/js/ |
D | ExampleJsunit.test.js | 133 console.info(error.code); 135 expect(error.code === "401").assertTrue(); 151 console.info(error.code); 167 console.info(error.code); 169 expect(error.code === "401").assertTrue(); 192 console.info(error.code); 217 console.info(error.code); 219 expect(error.code === "401").assertTrue(); 243 console.info(error.code); 245 expect(error.code === "11400101").assertTrue(); [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
D | binder_filter_test.cpp | 65 int32_t code = 0; // not important variable 67 flags, code); // start binder 90 int32_t code = 0; // not importent variable 92 flags, code); // start binder 134 int32_t code = 0; // not importent variable 137 code); // start binder 172 int32_t code = 0; // not importent variable 175 code); // start binder 201 int32_t code = 0; // not importent variable 203 flags, code); // start binder [all …]
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
D | check_import_modules.test.ts | 54 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 55 ModuleSourceFile.newSourceFile(moduleId, code); 76 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 77 ModuleSourceFile.newSourceFile(moduleId, code); 98 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 99 ModuleSourceFile.newSourceFile(moduleId, code); 120 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 121 ModuleSourceFile.newSourceFile(moduleId, code);
|
/developtools/ace_ets2bundle/compiler/src/fast_build/visual/ |
D | rollup-plugin-visual.ts | 34 transform(code: string, id: string) { 42 code = processVisual(code, id, logger); 43 const magicString = new MagicString(code); 45 code,
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
D | module_source_file.test.ts | 79 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 80 const moduleSource = new ModuleSourceFile(moduleId, code); 123 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 124 const moduleSource = new ModuleSourceFile(moduleId, code); 168 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 169 const moduleSource = new ModuleSourceFile(moduleId, code); 213 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 214 const moduleSource = new ModuleSourceFile(moduleId, code); 256 const code: string = fs.readFileSync(moduleId, 'utf-8'); constant 257 const moduleSource = new ModuleSourceFile(moduleId, code); [all …]
|
/developtools/profiler/host/smartperf/client/client_command/include/ |
D | sp_thread_socket.h | 103 ErrCode code = SPTask::GetInstance().InitTask(SplitMsg(recvStr)); in DealMsg() local 104 LOGI("init::%s", (code == ErrCode::OK) ? "True" : "False"); in DealMsg() 105 spSocket.Send(std::string("init::") + ((code == ErrCode::OK) ? "True" : "False")); in DealMsg() 115 ErrCode code = SPTask::GetInstance().StartTask(lambdaTask); in DealMsg() local 116 LOGI("start:::%s", (code == ErrCode::OK) ? "True" : "False"); in DealMsg() 117 if (code == ErrCode::OK) { in DealMsg() 120 } else if (code == ErrCode::FAILED) { in DealMsg() 125 ErrCode code = SPTask::GetInstance().StartTask(lambdaTask); in DealMsg() local 126 LOGI("start::%s", (code == ErrCode::OK) ? "True" : "False"); in DealMsg() 127 if (code == ErrCode::OK) { in DealMsg() [all …]
|
/developtools/ace_ets2bundle/compiler/src/ |
D | process_visual.ts | 80 export function visualTransform(code: string, id: string, logger: any): string { 85 return code; 88 const content: string | null = getParsedContent(code, path.normalize(id), log); 90 return code; 95 generateSourceMapForNewAndOriEtsFile(path.normalize(id), code); 101 let code: string | null = getParsedContent(content, resourcePath, log); 102 if (!code) { 105 const result: ReplaceResult = sourceReplace(code, resourcePath); 106 code = result.content; 108 const resultLog: LogInfo[] = validateUISyntax(source, code, resourcePath, resourceQuery); [all …]
|
/developtools/smartperf_host/trace_streamer/doc/ |
D | des_binder.md | 9 …on: transaction=25155526 dest_node=25155471 dest_proc=506 dest_thread=0 reply=0 flags=0x10 code=0x9 18 …tion=25155529 dest_node=25155527 dest_proc=1592 dest_thread=2267 reply=0 flags=0x10 code=0x5f474854 23 …nsaction: transaction=25155530 dest_node=0 dest_proc=506 dest_thread=537 reply=1 flags=0x8 code=0x0 33 …transaction=25155532 dest_node=25155527 dest_proc=1592 dest_thread=2267 reply=0 flags=0x10 code=0x2 42 …nsaction: transaction=25155533 dest_node=0 dest_proc=506 dest_thread=537 reply=1 flags=0x0 code=0x0 51 …action: transaction=25155534 dest_node=0 dest_proc=1592 dest_thread=2267 reply=1 flags=0x0 code=0x0
|
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
D | native_memory_profiler_sa_stub.cpp | 24 int32_t NativeMemoryProfilerSaStub::OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParc… in OnRemoteRequest() argument 33 switch (code) { in OnRemoteRequest() 47 PROFILER_LOG_ERROR(LOG_CORE, "Unknown code:%u", code); in OnRemoteRequest() 48 return IPCObjectStub::OnRemoteRequest(code, data, reply, options); in OnRemoteRequest()
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | parse_trace.cpp | 31 double code = -1; in ParseTraceNoh() local 42 return code; in ParseTraceNoh() 44 code = SmartPerf::ParseTrace::ParseNohTrace(fileNamePath, appPid); in ParseTraceNoh() 47 return code * conversion; in ParseTraceNoh() 126 double code = -1; in ParseTraceCold() local 138 code = SmartPerf::ParseTrace::ParseCodeTrace(fileNamePath, appPid); in ParseTraceCold() 142 return code * conversion; in ParseTraceCold() 147 double code = -1; in ParseTraceHot() local 159 code = SmartPerf::ParseTrace::ParseHotTrace(fileNamePath); in ParseTraceHot() 163 return code * conversion; in ParseTraceHot()
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ets_ui/ |
D | rollup-plugin-ets-typescript.ts | 292 async function transform(code: string, id: string) { 307 const newContent: string = jsBundlePreProcess(code, id, this.getModuleInfo(id).isEntry, logger); 321 code: result.outputText, 322 … map: result.sourceMapText ? JSON.parse(result.sourceMapText) : new MagicString(code).generateMap() 368 validateEts(code, id, this.getModuleInfo(id).isEntry, logger, targetSourceFile); 411 code: emitResult.outputText, 413 …map: emitResult.sourceMapText ? JSON.parse(emitResult.sourceMapText) : new MagicString(code).gener… 417 function validateEts(code: string, id: string, isEntry: boolean, logger: any, sourceFile: ts.Source… 421 const log: LogInfo[] = validateUISyntax(code, code, id, fileQuery, sourceFile); 428 function jsBundlePreProcess(code: string, id: string, isEntry: boolean, logger: any): string { [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/ |
D | ERROR.java | 120 ERROR(int code) { in ERROR() argument 121 this.errorCode = code; in ERROR()
|
/developtools/smartperf_host/trace_streamer/ |
D | commit.md | 3 format-code.sh文件会对如下的文件夹进行格式化: 13 you code does not want to be formatted
|
/developtools/smartperf_host/ide/src/hdc/ |
D | HdcDeviceManager.ts | 195 let code = undefined; 204 code = this.ctrlKey[keyboardEvent.key]; 205 if (!code) { 208 const dataArray = new Uint8Array(code); 220 code = this.escapeCharacterDict[cmd]; 221 if (code) { 222 const dataArray = new Uint8Array(code);
|
/developtools/profiler/device/services/plugin_service/test/ |
D | BUILD.gn | 38 "-Dprivate=public", #allow test code access private members 39 "-Dprotected=public", #allow test code access private members 58 "-Dprivate=public", #allow test code access private members 59 "-Dprotected=public", #allow test code access private members
|
/developtools/smartperf_host/trace_streamer/prebuilts/patch_sqlite/ |
D | sqlite3build.gn | 27 "-Wno-unreachable-code-break", 28 "-Wno-unreachable-code", 29 "-Wno-unreachable-code-return",
|
/developtools/ace_ets2bundle/compiler/test/ |
D | README.md | 25 Write source code in variable 'source', and write expected code in variable 'expectResult': 27 // source code 29 // expected code
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/resource/ |
D | distributedtest.py | 83 code = pytesseract.image_to_string(image, config=tessdata_dir_config) 84 return code 118 code = orc(f"{args.path}\\pin_code.jpeg") 119 pin_code = re.findall("[0-9]{6}", code)[0]
|
/developtools/ace_js2bundle/ace-loader/src/ |
D | manage-bundle-workers.js | 56 cluster.on("exit", (worker, code, signal) => { 57 if (code === FAIL) {
|