Home
last modified time | relevance | path

Searched full:message (Results 1 – 25 of 1252) sorted by relevance

12345678910>>...51

/arkcompiler/ets_frontend/ets2panda/util/diagnostic/
Dsyntax.yaml17 message: "Missing type annotation for property '{}'."
21 message: "Files '{}' and '{}' are in the same folder, but have different package names."
25 message: "Package module cannot import from a file in it's own package."
29 message: "Ambient class declarations must have a body."
33 message: "export default is not allowed to export multiple specifiers."
37 message: "Unable to merge namespaces '{}', because their modifiers are different."
41message: "Annotation conflict! Multiple namespace declarations for '{}' cannot each have annotatio…
45 message: "Invalid node number in format expression."
49 message: "Invalid node type in format expression."
53 message: "There is no any node to insert at the placeholder position."
[all …]
Dsemantic.yaml17 message: Return type of async function must be 'Promise'.
21 message: Type '{}' has no call signatures.
25 message: Annotation '@Retention' can only be applied to annotation declarations.
29message: Invalid value for 'policy' field. The policy must be one of the following:'SOURCE', 'CLAS…
33message: Annotations without 'SOURCE' cannot be used on lambda expressions, local declarations, or…
37 message: Only standard annotations are allowed to be applied on annotations.
41 message: Cannot use array creation expression with type parameter.
45 message: "An expression of type 'void' cannot be tested for truthiness"
49 message: "Value is possibly nullish."
53 message: "Illegal unary operator."
[all …]
Dfatal.yaml17 message: .
21 message: "Failed to open file: {}"
25 message: "No files to compile"
29 message: "Failed to load plugin {}"
33 message: "When compiling with --debugger-eval-mode single input file must be provided"
37 message: "When compiling in project mode --output key is not needed"
41 message: "--module is not supported for this extension."
45 message: "--dump-ets-src-* option is valid only with ETS extension"
49 message: "Error: only '--extension=ets' is supported for project compilation mode."
53message: "Unknown extension of sourcefile, set the '--extension' option or change the file extensi…
[all …]
Dwarning.yaml17 message: "Suggest 'final' modifier for class."
21 message: "Suggest 'final' modifier for method."
25 message: "Prohibit top-level statements."
29 message: "Boost Equality Statement. Change sides of binary expression."
33 message: "Duplicated export aliases for '{}'."
37 message: "Replace asynchronous function with coroutine."
41 message: "Replace the lambda function with a regular function."
45 message: "Implicit Boxing to {}{}."
49 message: "Implicit Unboxing to {}{}."
53 message: "Type alias generic parameter '{}' is not used in type annotation"
[all …]
Darktsconfig_error.yaml17 message: Can't resolve config path {}
21 message: Encountered cyclic import in 'extends' field
25 message: Failed to parse base config {}
29 message: Invalid value for '{}' with key '{}'
33 message: Substitutions for pattern '{}' shouldn't be an empty array
37 message: Invalid '{}' value for dynamic path with key '{}'. Should be one of {}
41 message: Interoperability with language '{}' is not supported
45 message: Invalid {} value for '{}' with key '{}'
49 message: Duplicated dynamic path '{}' for key '{}'
53 message: The '{}' must have {} type
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/CompilerErrorsTemporary/
Dsyntax.yml17 message: "Missing type annotation for the property '{}'." // AVK: English fixed
21message: "Files '{}' and '{}' in the same folder refer to different packages." // AVK: AVK text fi…
25 message: "Package module cannot import from a file in its own package." // AVK: English fixed
29message: "Ambient class declarations must have a body." // AVK: '{' ambientClassBodyDeclaration* '…
33message: "export default is not allowed to export multiple specifiers." // AVK: term specifier is …
37message: "Unable to merge namespaces '{}', because their modifiers are different." // AVK: what is…
41message: "Namespace multiple declarations for '{}' have different annotations. There must be only …
45message: "Invalid node number in format expression." // AVK: there are no nodes in the ArkTS langu…
49message: "Invalid node type in format expression." // AVK: there are no nodes in the ArkTS languag…
53message: "There is no any node to insert at the placeholder position." // AVK: there are no nodes …
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/error/BuiltinError/ets_to_ts/
Dbuiltinerror.ets28 function GetRangeError(message: string): RangeError {
29 return new RangeError(message);
31 function GetReferenceError(message: string): ReferenceError {
32 return new ReferenceError(message);
34 function GetSyntaxError(message: string): SyntaxError {
35 return new SyntaxError(message);
37 function GetURIError(message: string): URIError {
38 return new URIError(message);
40 function GetTypeError(message: string): TypeError {
41 return new TypeError(message);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DErrors.ets22 constructor(message?: String, options?: ErrorOptions) {
23 super("AssertionError", message, options)
24 console.log(message ?? "Assertion failed.");
32 constructor(message?: String, options?: ErrorOptions) {
33 super("DivideByZeroError", message, options)
41 constructor(message?: String, options?: ErrorOptions) {
42 super("NullPointerError", message, options)
50 constructor(message?: String, options?: ErrorOptions) {
51 super("UncaughtExceptionError", message, options)
59 constructor(message?: String, options?: ErrorOptions) {
[all …]
DRuntimeLinkerErrors.ets19 constructor(name: String, message: String | undefined, options: ErrorOptions | undefined) {
20 super(name, message, options)
23 constructor(message?: String, options?: ErrorOptions) {
24 super("LinkerError", message, options)
29 constructor(message?: String, options?: ErrorOptions) {
30 super("LinkerVerificationError", message, options)
35 constructor(message?: String, options?: ErrorOptions) {
36 super("LinkerUnresolvedClassError", message, options)
41 constructor(message?: String, options?: ErrorOptions) {
42 super("LinkerUnresolvedFieldError", message, options)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DErrorCodeTest.ets25 let message = 'message'
31 assertEQ(err.message, '');
36 throw new Error(message);
39 assertEQ(err.message, message);
44 throw new Error(message, new ErrorOptions(cause));
47 assertEQ(err.message, message);
54 let message = 'message'
60 assertEQ(err.message, '');
65 throw new Error(code, message);
68 assertEQ(err.message, message);
[all …]
/arkcompiler/toolchain/websocket/test/
Dframe_builder_test.cpp24 // final message, ping-frame opcode
45 auto message = frameBuilder.Build(); variable
49 ASSERT_EQ(message.size(), EXPECTED_MESSAGE_SIZE);
50 ASSERT_EQ(message[0], PING_EXPECTED_FIRST_BYTE);
52 ASSERT_EQ(message[1], 0);
58 auto message = frameBuilder variable
65 ASSERT_EQ(message.size(), EXPECTED_MESSAGE_SIZE);
66 ASSERT_EQ(message[0], PING_EXPECTED_FIRST_BYTE);
68 ASSERT_EQ(message[1], static_cast<char>(SHORT_MSG_SIZE));
69 for (size_t i = HEADER_LENGTH; i < message.size(); ++i) {
[all …]
/arkcompiler/runtime_core/static_core/verification/
Dmessages.yaml23 message: ( type is '${type}' )
29 message: ( constructor is '${constructor}' )
34 message: ( constructor is array constructor )
40 message: ( field is '${field}' )
46 message: Field is '${field}'.
52 message: ( method is '${method}' )
58 message: result = '${result}'
64 message: ${prefix} { ${registers} }
70 message: >
77 message: Verification of method '${method}'.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DError.ets39 * Constructs a new error instance with provided message and cause
41 * @param message message of the error
45 constructor(message?: String, options?: ErrorOptions) {
46 this("Error", 0 as number, message, options)
50 * Constructs a new error instance with provided code, message and cause
54 * @param message message of the error
58 constructor(code: number, message?: String, options?: ErrorOptions) {
59 this("Error", code, message, options)
63 * Constructs a new error instance with provided message, options and name
67 * @param message message of the error
[all …]
DErrors.ets22 constructor(message?: String, options?: ErrorOptions) {
23 super("EvalError", message, options)
26 static $_invoke(message?: String, options?: ErrorOptions): EvalError {
27 return new EvalError(message, options)
35 constructor(message?: String, options?: ErrorOptions) {
36 super("TypeError", message, options)
39 static $_invoke(message?: String, options?: ErrorOptions): TypeError {
40 return new TypeError(message, options)
48 constructor(message?: String, options?: ErrorOptions) {
49 super("ReferenceError", message, options)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule92.ets.migrate.ets19 let logToConsole: (message: String) => void = (message: String): void => {
20 console.log(message);
31 let logToConsole: (message: string) => void = (message: string): void => {
32 console.log(message)
42 let NestedTwo: (message: String) => void = (message: String): void => {
43 let NestedThree: (message: String) => void = (message: String): void => {
51 let NestedTwo: (message: String) => void = (message: String): void => {
55 let NestedTooToo: (message: String) => void = (message: String): void => {
61 let NestedTwo: (message: String) => void = (message: String): void => {
62 let NestedThree: (message: String) => void = (message: String): void => {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DLogger.ts17 trace: (message: string) => void;
18 debug: (message: string) => void;
19 info: (message: string) => void;
20 warn: (message: string) => void;
21 error: (message: string) => void;
29 static trace(message: string): void {
30 this.getInstance().trace(message);
33 static debug(message: string): void {
34 this.getInstance().debug(message);
37 static info(message: string): void {
[all …]
/arkcompiler/runtime_core/cmake/
DDefinitions.cmake44 message(FATAL_ERROR "Platform ${CMAKE_SYSTEM_NAME} is not supported")
67 message(FATAL_ERROR "Only one PANDA_TARGET_ARM32_ABI_* should be set.
72 message(FATAL_ERROR "PANDA_TARGET_ARM32_ABI_* is not set")
75 message(FATAL_ERROR "Processor ${CMAKE_SYSTEM_PROCESSOR} is not supported")
83 message(FATAL_ERROR "Unknown bitness of the target platform")
87 message(STATUS "Track internal allocations")
125 message(FATAL_ERROR "PGO supported only for aarch64")
146 message(FATAL_ERROR "MOBILE_NATIVE_LIBS_SOURCE_PATH is not set")
222 message(FATAL_ERROR "PANDA_RELEASE_BUILD must be run with the Release build type only!")
294 message(STATUS "set ${PANDA_HOST_TOOLS_TARGET_ARCH}")
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/utils/logger/
DLogger.ts17 doTrace(message: string): void;
18 doDebug(message: string): void;
19 doInfo(message: string): void;
20 doWarn(message: string): void;
21 doError(message: string): void;
40 static [LogLevel.TRACE](message: string): void {
41 this.getInstance().doTrace(message);
44 static [LogLevel.DEBUG](message: string): void {
45 this.getInstance().doDebug(message);
48 static [LogLevel.INFO](message: string): void {
[all …]
DSilentLogger.ts24 private log(level: string, message: string): void {
26 logMessages.push(`[${level}] ${message}`);
28 doTrace(message: string): void {
29 this.log('TRACE', message);
31 doDebug(message: string): void {
32 this.log('DEBUG', message);
34 doInfo(message: string): void {
35 this.log('INFO', message);
37 doWarn(message: string): void {
38 this.log('WARN', message);
[all …]
/arkcompiler/runtime_core/static_core/dprof/libdprof/dprof/ipc/
Dipc_message.cpp21 bool SendMessage(int fd, const Message &message) in SendMessage() argument
23 Message::Id messageId = message.GetId(); in SendMessage()
25 PLOG(ERROR, DPROF) << "Cannot send message id"; in SendMessage()
29 uint32_t size = message.GetSize(); in SendMessage()
35 if (size != 0 && !SendAll(fd, message.GetData(), message.GetSize())) { in SendMessage()
36 PLOG(ERROR, DPROF) << "Cannot send message data, size=" << message.GetSize(); in SendMessage()
43 int RecvMessage(int fd, Message &message) in RecvMessage() argument
47 Message::Id messageId; in RecvMessage()
64 if (size > Message::MAX_DATA_SIZE) { in RecvMessage()
72 LOG(ERROR, DPROF) << "Canot get message data"; in RecvMessage()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/annotation_tests/
DAnnotationForTupleType.ets17 @interface Message{
33 let tuple: @Message [@Message @Anno1 Int, @Message @Anno2() String, @Message Object, @Message MyCla…
34 let tuple2: readonly @Message [@Message @Anno1 Int, @Message @Anno2() String, @Message Object, @Mes…
/arkcompiler/toolchain/websocket/
Dframe_builder.cpp51 std::string message; in Build() local
52 PushFullHeader(message, 0); in Build()
53 PushPayload(message); in Build()
54 return message; in Build()
57 void ServerFrameBuilder::PushFullHeader(std::string& message, size_t additionalReservedMem) const in PushFullHeader() argument
73 message.reserve(headerBytes + payloadBytes + additionalReservedMem); in PushFullHeader()
74 PushHeader(message, payloadLenField); in PushFullHeader()
75 PushPayloadLength(message, payloadLenField); in PushFullHeader()
78 void ServerFrameBuilder::PushHeader(std::string& message, uint8_t payloadLenField) const in PushHeader() argument
84 message.push_back(byte); in PushHeader()
[all …]
/arkcompiler/runtime_core/static_core/cmake/
DDefinitions.cmake53 message(FATAL_ERROR "Platform ${CMAKE_SYSTEM_NAME} is not supported")
76 message(FATAL_ERROR "Only one PANDA_TARGET_ARM32_ABI_* should be set.
81 message(FATAL_ERROR "PANDA_TARGET_ARM32_ABI_* is not set")
84 message(FATAL_ERROR "Processor ${CMAKE_SYSTEM_PROCESSOR} is not supported")
92 message(FATAL_ERROR "Unknown bitness of the target platform")
96 message(STATUS "Track internal allocations")
151 message(FATAL_ERROR "PGO supported only for Android aarch64")
172 message(FATAL_ERROR "MOBILE_NATIVE_LIBS_SOURCE_PATH is not set")
268 message(FATAL_ERROR "PANDA_PRODUCT_BUILD must be run with the Release build type only!")
272 message(FATAL_ERROR "PANDA_WITH_HIDDEN_SYMBOLS must be run with PANDA_PRODUCT_BUILD only!")
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/error/BuiltinError/ts_to_ets/
Dtest_builtinerror.ets32 function CheckCatchRangeError(fn: JSValue, message: string): boolean {
34 let ranErr = new RangeError(message);
41 (err as RangeError).message == ranErr.message &&
47 function CheckCatchReferenceError(fn: JSValue, message: string): boolean {
49 let ranErr = new ReferenceError(message);
56 (err as ReferenceError).message == ranErr.message &&
62 function CheckCatchSyntaxError(fn: JSValue, message: string): boolean {
64 let synErr = new SyntaxError(message);
71 (err as SyntaxError).message == synErr.message &&
77 function CheckCatchURIError(fn: JSValue, message: string): boolean {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/selectors/
Dlogs.test.ts35 compileOut: [{ message: 'compile output log', isRead: true }],
36 compileErr: [{ message: 'compile error log', isRead: false }],
37 runOut: [{ message: 'run output log', isRead: true }],
38 runErr: [{ message: 'run error log', isRead: false }],
39 disasmOut: [{ message: 'disassembly output log', isRead: true }],
40 disasmErr: [{ message: 'disassembly error log', isRead: false }],
41 verifierOut: [{ message: 'verifier output log', isRead: true }],
42 verifierErr: [{ message: 'verifier error log', isRead: false }],
43 out: [{ message: 'general output log', isRead: true }],
44 err: [{ message: 'general error log', isRead: false }],
[all …]

12345678910>>...51