| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Errors.sts | 26 constructor(message: String) { 27 this(message, undefined) 30 constructor(message?: String, options?: ErrorOptions) { 31 super("AssertionError", message, options) 32 this.tmp_console.log(message!); 40 constructor(message?: String, options?: ErrorOptions) { 41 super("DivideByZeroError", message, options) 49 constructor(message?: String, options?: ErrorOptions) { 50 super("NullPointerError", message, options) 58 constructor(message?: String, options?: ErrorOptions) { [all …]
|
| D | Exception.sts | 24 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/ |
| D | Errors.sts | 22 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 …]
|
| D | Error.sts | 32 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/ |
| D | messages.yaml | 23 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/ |
| D | frame_builder_test.cpp | 24 // 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/lib/ |
| D | Logger.ts | 17 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/ |
| D | Definitions.cmake | 44 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/ |
| D | Logger.ts | 17 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 …]
|
| D | ConsoleLogger.ts | 41 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/cmake/ |
| D | Definitions.cmake | 52 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/runtime_core/static_core/dprof/libdprof/dprof/ipc/ |
| D | ipc_message.cpp | 21 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 …]
|
| D | ipc_message.h | 25 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/toolchain/websocket/ |
| D | frame_builder.cpp | 51 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/tests/tests-u-runner/runner/ |
| D | logger.py | 55 file_formatter = logging.Formatter('%(asctime)s - %(name)s - %(message)s') 57 console_formatter = logging.Formatter('%(message)s') 68 def all(logger: logging.Logger, message: str) -> None: 73 logger.debug(message) 75 print(message) 78 def short(logger: logging.Logger, message: str) -> None: 83 logger.info(message) 85 print(message) 88 def summary(logger: logging.Logger, message: str) -> None: 93 logger.log(SUMMARY_LOG_LEVEL, message) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ErrorsTest.sts | 26 failures += test(testCreateError(), "Create an Error object with a message"); 28 failures += test(testErrorMessage(), "Validate the message of the caught Error"); 31 failures += test(testAggregateErrorMessage(), "Validate the message of the AggregateError"); 32 failures += test(testEvalError(), "EvalError with message and options"); 33 failures += test(testRangeError(), "RangeError with message and options"); 34 failures += test(testReferenceError(), "ReferenceError with message and options"); 35 failures += test(testSyntaxError(), "SyntaxError with message and options"); 36 failures += test(testTypeError(), "TypeError with message and options"); 37 failures += test(testURIError(), "URIError with message and options"); 44 if (errSc.message == err.message && err.message == "Test error") { [all …]
|
| D | ArrayBufferViewTest.sts | 22 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/ |
| D | pandastdlib.pa | 31 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/ |
| D | pandastdlib.pa | 29 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/ets_frontend/ets2panda/linter/src/ |
| D | LoggerImpl.ts | 20 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/ |
| D | rule92.sts | 19 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 …]
|
| D | rule92.ts.autofix.json | 25 …placementText": "let logToConsole: (message: String) => void = (message: String): void => {\n c… 39 …lacementText": "let NestedTwo: (message: String) => void = (message: String): void => {\n funct… 53 …"replacementText": "let NestedThree: (message: String) => void = (message: String): void => {\n … 67 …"replacementText": "let NestedTwo: (message: String) => void = (message: String): void => {\n c… 81 …"replacementText": "let NestedTooToo: (message: String) => void = (message: String): void => {\n … 95 …message: String) => void = (message: String): void => {\n function NestedThree(message: String)… 109 …"replacementText": "let NestedThree: (message: String) => void = (message: String): void => {\n … 123 …"replacementText": "let NestedThreeToo: (message: String) => void = (message: String): void => {\n…
|
| /arkcompiler/ets_frontend/merge_abc/ |
| D | HowToWriteProtoForAssemblyStuff.md | 7 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/toolchain/inspector/ |
| D | connect_inspector.cpp | 47 void OnConnectedMessage(const std::string& message) in OnConnectedMessage() argument 49 if (message.find(CONNECTED_MESSAGE, 0) != std::string::npos) { in OnConnectedMessage() 60 void OnOpenMessage(const std::string& message) in OnOpenMessage() argument 62 if (message.find(OPEN_MESSAGE, 0) != std::string::npos) { in OnOpenMessage() 70 void OnMessage(const std::string& message) in OnMessage() argument 73 if (message.empty()) { in OnMessage() 74 LOGE("message is empty"); in OnMessage() 78 LOGI("ConnectServer OnMessage: %{public}s", message.c_str()); in OnMessage() 80 g_inspector->ideMsgQueue_.push(message); in OnMessage() 81 OnConnectedMessage(message); in OnMessage() [all …]
|
| /arkcompiler/ets_frontend/merge_abc/protos/ |
| D | meta.proto | 22 message Metadata { 24 message Attributes { 31 message AnnotationMetadata { 36 message ItemMetadata { 41 message RecordMetadata { 45 message FieldMetadata { 51 message FunctionMetadata { 55 message ParamMetadata {
|