/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | shell.py | 104 def __init__(self, timeout: Optional[float] = None) -> None: 105 self._timeout = timeout 115 timeout: Optional[float] = None, 151 def __init__(self, timeout: Optional[float] = None) -> None: 152 super().__init__(timeout=timeout) 157 timeout: Optional[float] = None, 160 cmd, measure_time=measure_time, timeout=timeout, cwd=cwd) 185 timeout [all...] |
H A D | platform.py | 42 self.__sh = ShellUnix(args.timeout) 50 timeout=args.timeout, 54 timeout=args.timeout,
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/ |
H A D | test_timeout.py | 26 @mark.timeout(seconds=0.01) 32 @mark.timeout(seconds=0.02) 37 @mark.timeout(seconds=0.02)
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
H A D | options_ark_aot.py | 33 "timeout": self.timeout, 43 @value(yaml_path="ark_aot.timeout", cli_name="paoc_timeout", cast_to_type=_to_int) 44 def timeout(self) -> int: member in ArkAotOptions 56 f'--paoc-timeout={self.timeout}' if self.timeout != ArkAotOptions.__DEFAULT_TIMEOUT else '',
|
H A D | options_verifier.py | 33 "timeout": self.timeout, 43 @value(yaml_path="verifier.timeout", cli_name="verifier_timeout", cast_to_type=_to_int) 44 def timeout(self) -> int: member in VerifierOptions 55 f'--verifier-timeout={self.timeout}' if self.timeout != VerifierOptions.__DEFAULT_TIMEOUT else '',
|
H A D | options_ark.py | 33 "timeout": self.timeout, 40 @value(yaml_path="ark.timeout", cli_name="timeout", cast_to_type=_to_int) 41 def timeout(self) -> int: member in ArkOptions 59 f'--timeout={self.timeout}' if self.timeout != ArkOptions.__DEFAULT_TIMEOUT else '',
|
H A D | options_es2panda.py | 33 "timeout": self.timeout, 43 @value(yaml_path="es2panda.timeout", cli_name="es2panda_timeout", cast_to_type=_to_int) 44 def timeout(self) -> int: member in Es2PandaOptions 79 f'--es2panda-timeout={self.timeout}' if self.timeout != Es2PandaOptions.__DEFAULT_TIMEOUT else '',
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
H A D | test_file_based.py | 55 return int(self.test_env.config.ark.timeout) 81 output, error = process.communicate(timeout=gdb_timeout) 122 output, error = process.communicate(timeout=params.timeout) 128 self.log_cmd(f"Failed by timeout after {params.timeout} sec\n{timeout_info}") 167 timeout=self.test_env.config.es2panda.timeout, 202 timeout=self.ark_timeout, 228 timeout [all...] |
/arkcompiler/toolchain/websocket/ |
H A D | websocket_base.cpp | 318 struct timeval timeout = {static_cast<time_t>(timeoutLimit), 0}; in SetWebSocketTimeOut() local 320 reinterpret_cast<char *>(&timeout), sizeof(timeout)) != SOCKET_SUCCESS) { in SetWebSocketTimeOut() 325 reinterpret_cast<char *>(&timeout), sizeof(timeout)) != SOCKET_SUCCESS) { in SetWebSocketTimeOut() 337 struct timeval timeout = {static_cast<time_t>(timeoutLimit), 0}; in SetWebSocketTimeOut() local 338 if (setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout)) != SOCKET_SUCCESS) { in SetWebSocketTimeOut() 342 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout)) ! in SetWebSocketTimeOut() [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_shared_memory.cpp | 34 bool EtsSharedMemory::Waiter::Wait(std::optional<uint64_t> timeout) in Wait() argument 37 if (timeout.has_value()) { in Wait() 38 auto ms = timeout.value(); in Wait() 149 std::optional<uint64_t> timeout) in Wait() 175 timedOut = waiter.Wait(timeout); in Wait() 193 std::optional<uint64_t> timeout) in WaitI32() 195 return Wait<int32_t, uint32_t>(this, byteOffset, expectedValue, timeout); in WaitI32() 199 std::optional<uint64_t> timeout) in WaitI64() 201 return Wait<int64_t, uint64_t>(this, byteOffset, expectedValue, timeout); in WaitI64() 148 Wait(EtsSharedMemory *mem, uint32_t byteOffset, IntegerType expectedValue, std::optional<uint64_t> timeout) Wait() argument 192 WaitI32(uint32_t byteOffset, int32_t expectedValue, std::optional<uint64_t> timeout) WaitI32() argument 198 WaitI64(uint32_t byteOffset, int64_t expectedValue, std::optional<uint64_t> timeout) WaitI64() argument
|
H A D | ets_shared_memory.h | 90 WaitResult WaitI32(uint32_t offset, int32_t expectedValue, std::optional<uint64_t> timeout); 92 WaitResult WaitI64(uint32_t offset, int64_t expectedValue, std::optional<uint64_t> timeout); 100 bool Wait(std::optional<uint64_t> timeout);
|
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/ |
H A D | run_javar8.py | 47 raise argparse.ArgumentTypeError("%s is an invalid timeout value" % value) 60 parser.add_argument('--timeout', type=check_timeout, dest='timeout', default=180, 123 subprocess.run(cmd_java2class, timeout=self.args.timeout) 124 subprocess.run(cmd_class2jar, timeout=self.args.timeout) 125 subprocess.run(cmd_jar2dex, timeout=self.args.timeout)
|
H A D | run_java.py | 39 raise argparse.ArgumentTypeError("%s is an invalid timeout value" % value) 50 parser.add_argument('--timeout', type=check_timeout, dest='timeout', default=180, 100 subprocess.run(cmd_java2class, timeout=self.args.timeout) 109 subprocess.run(cmd_class2dex, timeout=self.args.timeout)
|
/arkcompiler/ets_frontend/test/scripts/utils/flash_image/ |
H A D | burn_image.py | 63 timeout = 300 65 if timeout < 0: 75 timeout -= 5
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | global_object_lock.cpp | 37 bool GlobalObjectLock::TimedWait(uint64_t timeout) const in TimedWait() 40 g_cv.TimedWait(&g_mtx, timeout); in TimedWait()
|
H A D | monitor_object_lock.cpp | 38 bool ObjectLock::TimedWait(uint64_t timeout) in TimedWait() argument 40 Monitor::State state = Monitor::Wait(objHandler_.GetPtr(), ThreadStatus::IS_TIMED_WAITING, timeout, 0); in TimedWait()
|
H A D | global_object_lock.h | 28 bool TimedWait(uint64_t timeout) const;
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | mtmanaged_thread.h | 212 bool TimedWaitWithLockHeld(ThreadStatus waitStatus, uint64_t timeout, uint64_t nanos, bool isAbsolute = false) 220 bool res = TimedWaitWithLockHeldInternal(timeout, nanos, isAbsolute); in REQUIRES() 228 bool TimedWait(ThreadStatus waitStatus, uint64_t timeout, uint64_t nanos = 0, bool isAbsolute = false) in TimedWait() argument 241 res = TimedWaitWithLockHeldInternal(timeout, nanos, isAbsolute); in TimedWait() 337 bool TimedWaitWithLockHeldInternal(uint64_t timeout, uint64_t nanos, bool isAbsolute = false) REQUIRES(condLock_) in REQUIRES() 340 return condVar_.TimedWait(&condLock_, timeout, nanos, isAbsolute); in REQUIRES()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | trio_tracer.py | 79 def before_io_wait(self, timeout): 82 if timeout: 83 self._log(f". waiting for I/O for up to {timeout} seconds") 89 def after_io_wait(self, timeout):
|
/arkcompiler/toolchain/build/compile_script/ |
H A D | ark.py | 209 "Add --gn-args=\"run_with_qemu=true\" timeout=\"1200\"\ 333 enable_litecg, args_to_cmd, timeout, ignore_list: Optional[str] = None): 337 f"--timeout {timeout}", 389 timeout): 394 f" --timeout {timeout}" \ 407 test262_cmd = "cd arkcompiler/ets_frontend && python3 test262/run_test262.py {0} --timeout {3}" \ 416 " --ark-frontend=es2panda".format(args_to_test262_cmd, out_path, x64_out_path, timeout) 420 f" --timeout {timeou [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
H A D | test_sts_ts_subset.py | 138 timeout=self.test_env.config.es2panda.timeout, 156 timeout=self.test_env.config.es2panda.timeout,
|
H A D | test_ets.py | 85 return self.metadata.timeout if self.metadata.timeout else super().ark_timeout 249 timeout=self.test_env.config.es2panda.timeout, 287 timeout=self.test_env.config.verifier.timeout,
|
/arkcompiler/ets_runtime/test/ |
H A D | run_ts_test262.py | 119 process.communicate(timeout=5000) 126 out, err = process.communicate(timeout=5000) 140 process.communicate(timeout=5000) 146 out, err = process.communicate(timeout=5000) 151 out, err = process.communicate(timeout=5000)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | paoc.py | 100 timeout: Optional[float] = None) -> ShellResult: 102 timeout=timeout)
|
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/ |
H A D | size_compare.py | 105 raise argparse.ArgumentTypeError("%s is an invalid timeout value" % value) 123 parser.add_argument('--timeout', type=check_timeout, dest='timeout', default=180, 256 subprocess.run(cmd, timeout=self.args.timeout) 291 if self.args.timeout: 292 cmd.extend(['--timeout', str(self.args.timeout)]) 328 if self.args.timeout: 329 cmd.extend(['--timeout', st [all...] |