Home
last modified time | relevance | path

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

12345678910>>...35

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DErrors.sts23 constructor(message: String) {
24 this(message, undefined)
27 constructor(message?: String, options?: ErrorOptions) {
28 super("AssertionError", message, options)
29 console.log(message!);
37 constructor(message?: String, options?: ErrorOptions) {
38 super("DivideByZeroError", message, options)
46 constructor(message?: String, options?: ErrorOptions) {
47 super("NullPointerError", message, options)
55 constructor(message?: String, options?: ErrorOptions) {
[all …]
DException.sts24 message: String;
34 this.message = "";
40 * Constructs a new exception instance with provided message
42 * @param msg message of the exception
45 this.message = msg;
51 * Constructs a new exception instance with provided message and cause
53 * @param msg message of the exception
58 this.message = msg;
65 * Result includes exception message and the stacktrace
72 if (this.message != "") {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DErrors.sts22 constructor(message?: String, options?: ErrorOptions) {
23 super("EvalError", message, options)
26 static invoke(message?: String, options?: ErrorOptions): EvalError {
27 return new EvalError(message, options)
30 static invoke(message: String): EvalError {
31 return new EvalError(message)
39 constructor(message?: String, options?: ErrorOptions) {
40 super("TypeError", message, options)
43 static invoke(message?: String, options?: ErrorOptions): TypeError {
44 return new TypeError(message, options)
[all …]
DError.sts32 message: String
38 * Constructs a new error instance with provided message and cause
40 * @param message message of the error
44 constructor(message?: String, options?: ErrorOptions) {
45 this("Error", message, options)
50 * Constructs a new error instance with provided message, options and name
54 * @param message message of the error
58 constructor(name: String, message: String | undefined, options: ErrorOptions | undefined) {
59 this.message = (message == undefined) ? "" : message
65 static invoke(message?: String, options?: ErrorOptions): Error {
[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/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/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 …]
DConsoleLogger.ts41 doTrace(message: string): void {
43 getLogger().trace(message);
46 doDebug(message: string): void {
48 getLogger().debug(message);
51 doInfo(message: string): void {
53 getLogger().info(message);
56 doWarn(message: string): void {
58 getLogger().warn(message);
61 doError(message: string): void {
63 getLogger().error(message);
/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 …]
Dipc_message.h25 class Message {
36 Message() = default;
37 DEFAULT_MOVE_SEMANTIC(Message);
40 Message(Id id, T &&data) : id_(id), data_(std::forward<T>(data)) in Message() function
44 ~Message() = default;
65 NO_COPY_SEMANTIC(Message);
68 bool SendMessage(int fd, const Message &message);
69 int RecvMessage(int fd, Message &message);
/arkcompiler/runtime_core/static_core/cmake/
DDefinitions.cmake52 message(FATAL_ERROR "Platform ${CMAKE_SYSTEM_NAME} is not supported")
75 message(FATAL_ERROR "Only one PANDA_TARGET_ARM32_ABI_* should be set.
80 message(FATAL_ERROR "PANDA_TARGET_ARM32_ABI_* is not set")
83 message(FATAL_ERROR "Processor ${CMAKE_SYSTEM_PROCESSOR} is not supported")
91 message(FATAL_ERROR "Unknown bitness of the target platform")
95 message(STATUS "Track internal allocations")
150 message(FATAL_ERROR "PGO supported only for Android aarch64")
171 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/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/plugins/ets/tests/ets_func_tests/escompat/
DErrorsTest.sts22 suite.addTest("Create an Error object with a message", testCreateError)
24 suite.addTest("Validate the message of the caught Error", testErrorMessage)
28 suite.addTest("Validate the message of the AggregateError", testAggregateErrorMessage)
29 suite.addTest("EvalError with message and options", testEvalError)
30 suite.addTest("RangeError with message and options", testRangeError)
31 suite.addTest("ReferenceError with message and options", testReferenceError)
32 suite.addTest("SyntaxError with message and options", testSyntaxError)
33 suite.addTest("TypeError with message and options", testTypeError)
34 suite.addTest("URIError with message and options", testURIError)
46 errSc.message == err.message &&
[all …]
DArrayBufferViewTest.sts22 static assertEquals(expected: number, actual: number, message: string): void {
23 …if (expected != actual) throw new EsAssertionError(`${message} - expected: ${expected} but was ${a…
26 static assertSame(expected: Object, actual: Object, message: string): void {
27 if (expected !== actual) throw new EsAssertionError(message)
31 static assertTrue(condition: boolean, message: string): void {
32 if (!condition) throw new EsAssertionError(message)
35 static assertFalse(condition: boolean, message: string): void {
36 if (condition) throw new EsAssertionError(message)
60 function runTest(test: () => int, message: String) {
64 if (testResult == RESULT_SUCCESS) console.println("PASSED: " + message)
[all …]
/arkcompiler/runtime_core/static_core/pandastdlib/
Dpandastdlib.pa31 panda.String message
36 panda.String message
41 panda.String message
46 panda.String message
51 panda.String message
56 panda.String message
61 panda.String message
66 panda.String message
71 panda.String message
76 panda.String message
[all …]
/arkcompiler/runtime_core/pandastdlib/
Dpandastdlib.pa29 panda.String message
34 panda.String message
39 panda.String message
44 panda.String message
49 panda.String message
54 panda.String message
59 panda.String message
64 panda.String message
69 panda.String message
74 panda.String message
[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 out: [{ message: 'general output log', isRead: true }],
42 err: [{ message: 'general error log', isRead: false }],
49 .toEqual([{ message: 'compile output log', isRead: true }]);
54 .toEqual([{ message: 'compile error log', isRead: false }]);
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/cli/
DLoggerImpl.ts20 trace(message: string): void {
22 Logger.getLogger().trace(message);
25 debug(message: string): void {
27 Logger.getLogger().debug(message);
30 info(message: string): void {
32 Logger.getLogger().info(message);
35 warn(message: string): void {
37 Logger.getLogger().warn(message);
40 error(message: string): void {
42 Logger.getLogger().error(message);
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule92.sts19 function logToConsole(message: String): void {
20 console.log(message)
31 let logToConsole: (message: string) => void = (message: string): void => {
32 console.log(message)
42 function NestedTwo(message: String): void {
43 function NestedThree(message: String): void {
51 function NestedTwo(message: String): void {
55 function NestedTooToo(message: String): void {
61 function NestedTwo(message: String): void {
62 function NestedThree(message: String): void {
[all …]
Drule92.ts.autofix.json27 …placementText": "let logToConsole: (message: String) => void = (message: String): void => {\n c…
44 …lacementText": "let NestedTwo: (message: String) => void = (message: String): void => {\n funct…
61 …"replacementText": "let NestedThree: (message: String) => void = (message: String): void => {\n …
78 …"replacementText": "let NestedTwo: (message: String) => void = (message: String): void => {\n c…
95 …"replacementText": "let NestedTooToo: (message: String) => void = (message: String): void => {\n …
112message: String) => void = (message: String): void => {\n function NestedThree(message: String)…
129 …"replacementText": "let NestedThree: (message: String) => void = (message: String): void => {\n …
146 …"replacementText": "let NestedThreeToo: (message: String) => void = (message: String): void => {\n…
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dlogger.py58 file_formatter = logging.Formatter('%(asctime)s - %(name)s - %(message)s')
60 console_formatter = logging.Formatter('%(message)s')
73 def all(logger: logging.Logger, message: str) -> None:
77 logger.debug(message)
80 def short(logger: logging.Logger, message: str) -> None:
84 logger.info(message)
87 def summary(logger: logging.Logger, message: str) -> None:
91 logger.log(SUMMARY_LOG_LEVEL, message)
94 def default(logger: logging.Logger, message: str) -> None:
98 logger.log(NONE_LOG_LEVEL, message)
[all …]
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md7 message Test // message为关键字,作用为定义一种消息类型
26 message Test
38 message Test
43 message TestArr
73 |message | object of class | 自定义的消息类型
99 message Test // message为关键字,作用为定义一种消息类型
113 message Test // message为关键字,作用为定义一种消息类型
121 message 包含许多可选字段,并且最多只能同时设置其中一个字段,则可以使用 oneof 功能强制执行此行为并节省内存
142 message DebuginfoIns {
193 message Value {
[all …]
/arkcompiler/ets_frontend/merge_abc/protos/
Dmeta.proto22 message Metadata {
24 message Attributes {
31 message AnnotationMetadata {
36 message ItemMetadata {
41 message RecordMetadata {
45 message FieldMetadata {
51 message FunctionMetadata {
55 message ParamMetadata {

12345678910>>...35