Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 152) sorted by relevance

1234567

/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dtransform.ts40 export function transformForModule(code: string, id: string) {
45 ModuleSourceFile.newSourceFile(id, code);
49 let code: string = this.getModuleInfo(id).originalCode;
51 const transformedResult: any = transformJsByBabelPlugin(code);
52 code = transformedResult.code;
55 ModuleSourceFile.newSourceFile(id, code);
73 function transformJsByBabelPlugin(code: string): any {
74 const transformed: any = require('@babel/core').transformSync(code,
/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts51 transform(code: string, id: string) {
52 const magicString = new MagicString(code);
55 code = processSystemApiAndLibso(code, id, useOSFiles);
57 code = processSystemApi(code, id);
58 code = processLibso(code, id, useOSFiles);
62 code: code,
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyResult.java105 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_ets2bundle/compiler/
Duglify-source.js30 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_js2bundle/ace-loader/
Duglify-source.js30 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/smartperf_host/trace_streamer/test/unittest/
Dbinder_filter_test.cpp65 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 …]
Dhtrace_binder_event_test.cpp61 uint32_t code = 0; // not important variable
68 binderEvent->set_code(code);
116 uint32_t code = 0; // not important variable
123 binderEvent->set_code(code);
199 uint32_t code = 0; // not important variable
206 binderEvent->set_code(code);
311 uint32_t code = 0; // not important variable
318 binderEvent->set_code(code);
392 uint32_t code = 0; // not important variable
399 binderEvent->set_code(code);
[all …]
/developtools/profiler/hidebug/test/unittest/js/
DExampleJsunit.test.js135 console.info(error.code);
137 expect(error.code === "401").assertTrue();
153 console.info(error.code);
169 console.info(error.code);
171 expect(error.code === "401").assertTrue();
194 console.info(error.code);
219 console.info(error.code);
221 expect(error.code === "401").assertTrue();
245 console.info(error.code);
247 expect(error.code === "11400101").assertTrue();
/developtools/ace_ets2bundle/compiler/src/fast_build/visual/
Drollup-plugin-visual.ts34 transform(code: string, id: string) {
42 code = processVisual(code, id, logger);
43 const magicString = new MagicString(code);
45 code,
/developtools/ace_ets2bundle/compiler/src/fast_build/ets_ui/
Drollup-plugin-ets-typescript.ts212 async function transform(code: string, id: string) {
226 const newContent: string = jsBundlePreProcess(code, id, this.getModuleInfo(id).isEntry, logger);
240 code: result.outputText,
241 … map: result.sourceMapText ? JSON.parse(result.sourceMapText) : new MagicString(code).generateMap()
275 validateEts(code, id, this.getModuleInfo(id).isEntry, logger, targetSourceFile);
303 code: emitResult.outputText,
305 …map: emitResult.sourceMapText ? JSON.parse(emitResult.sourceMapText) : new MagicString(code).gener…
309 function validateEts(code: string, id: string, isEntry: boolean, logger: any, sourceFile: ts.Source…
313 const log: LogInfo[] = validateUISyntax(code, code, id, fileQuery, sourceFile);
320 function jsBundlePreProcess(code: string, id: string, isEntry: boolean, logger: any): string {
[all …]
/developtools/ace_ets2bundle/compiler/src/
Dprocess_visual.ts80 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/profiler/host/smartperf/trace_streamer/doc/
Ddes_binder.md9 …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/smartperf_host/trace_streamer/doc/
Ddes_binder.md9 …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/host/smartperf/client/client_command/
Dparse_trace.cpp30 double code = -1; in ParseTraceNoh() local
35 return code; in ParseTraceNoh()
37 code = SmartPerf::ParseTrace::ParseNohTrace(fileNamePath, appPid); in ParseTraceNoh()
40 return code * conversion; in ParseTraceNoh()
117 double code = -1; in ParseTraceCold() local
123 code = SmartPerf::ParseTrace::ParseCodeTrace(fileNamePath, appPid); in ParseTraceCold()
126 return code * conversion; in ParseTraceCold()
131 double code = -1; in ParseTraceHot() local
137 code = SmartPerf::ParseTrace::ParseHotTrace(fileNamePath); in ParseTraceHot()
140 return code * conversion; in ParseTraceHot()
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_thread_socket.h82 ErrCode code = SPTask::GetInstance().InitTask(SplitMsg(recvStr)); in DealMsg() local
83 if (code == ErrCode::OK) { in DealMsg()
85 } else if (code == ErrCode::FAILED) { in DealMsg()
90 ErrCode code = SPTask::GetInstance().StartTask(lambdaTask); in DealMsg() local
91 if (code == ErrCode::OK) { in DealMsg()
93 } else if (code == ErrCode::FAILED) { in DealMsg()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
DERROR.java112 ERROR(int code) { in ERROR() argument
113 this.errorCode = code; in ERROR()
/developtools/smartperf_host/trace_streamer/
Dcommit.md3 format-code.sh文件会对如下的文件夹进行格式化:
13 you code does not want to be formatted
/developtools/profiler/host/smartperf/trace_streamer/
Dcommit.md3 format-code.sh文件会对如下的文件夹进行格式化:
13 you code does not want to be formatted
/developtools/smartperf_host/ide/src/trace/component/
DDisassemblingWindow.ts65 lineStruct.code = value.length > 2 ? value[2] : '';
97 <span class="column2" style="width:300px;">${struct!.code}</span></div>`;
104 <span class="column2" style="width:300px;">${struct!.code}</span></div>`;
212 code = ''; property in Disassembling
/developtools/profiler/device/services/plugin_service/test/
DBUILD.gn42 "-Dprivate=public", #allow test code access private members
43 "-Dprotected=public", #allow test code access private members
62 "-Dprivate=public", #allow test code access private members
63 "-Dprotected=public", #allow test code access private members
/developtools/profiler/host/smartperf/ide/src/trace/component/
DDisassemblingWindow.ts65 lineStruct.code = value.length > 2 ? value[2] : '';
97 <span class="column2" style="width:300px;">${struct!.code}</span></div>`;
104 <span class="column2" style="width:300px;">${struct!.code}</span></div>`;
212 code = ''; property in Disassembling
/developtools/smartperf_host/trace_streamer/prebuilts/patch_sqlite/
Dsqlite3build.gn27 "-Wno-unreachable-code-break",
28 "-Wno-unreachable-code",
29 "-Wno-unreachable-code-return",
/developtools/profiler/host/smartperf/trace_streamer/prebuilts/patch_sqlite/
Dsqlite3build.gn27 "-Wno-unreachable-code-break",
28 "-Wno-unreachable-code",
29 "-Wno-unreachable-code-return",
/developtools/ace_ets2bundle/compiler/test/
DREADME.md25 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/
Ddistributedtest.py83 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]

1234567