/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | exec.cpp | 37 pid_t pid = fork(); in Exec() local 38 if (pid == 0) { in Exec() 44 if (pid < 0) { in Exec() 48 pid_t res_pid = PANDA_FAILURE_RETRY(waitpid(pid, &status, 0)); in Exec() 49 if (res_pid != pid) { in Exec()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackinfo.cpp | 222 bool ReadUintptrFromAddr(int pid, uintptr_t addr, uintptr_t &value, bool needCheckRegion) in ReadUintptrFromAddr() argument 224 if (pid == getpid()) { in ReadUintptrFromAddr() 251 *retAddr = PtracePeektext(pid, addr); in ReadUintptrFromAddr() 342 bool StepArkManagedNativeFrame(int pid, uintptr_t *pc, uintptr_t *fp, uintptr_t *sp, in StepArkManagedNativeFrame() argument 352 if (pid == getpid() && JsStackInfo::loader != nullptr && in StepArkManagedNativeFrame() 360 if (!ReadUintptrFromAddr(pid, currentPtr, frameType, true)) { in StepArkManagedNativeFrame() 376 if (!ReadUintptrFromAddr(pid, currentPtr, currentPtr, true)) { in StepArkManagedNativeFrame() 387 if (!ReadUintptrFromAddr(pid, currentPtr, *pc, true)) { in StepArkManagedNativeFrame() 434 bool GetArkJSHeapCrashInfo(int pid, uintptr_t *bytecodePc, uintptr_t *fp, bool outJSInfo, char *out… in GetArkJSHeapCrashInfo() argument 446 if (!ReadUintptrFromAddr(pid, currentPtr, frameType, false)) { in GetArkJSHeapCrashInfo() [all …]
|
D | js_stackinfo.h | 41 int pid, uintptr_t *pc, uintptr_t *fp, uintptr_t *sp, char *buf, size_t buf_sz); 43 int pid, uintptr_t *x20, uintptr_t *fp, int out_js_info, char *buf, size_t buf_sz);
|
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/ |
D | os.cpp | 55 long PtracePeektext(int pid, uintptr_t addr) in PtracePeektext() argument 57 return ptrace(PTRACE_PEEKTEXT, pid, addr, NULL); in PtracePeektext()
|
/arkcompiler/runtime_core/tests/gtest_launcher/ |
D | main.cpp | 43 pid_t pid = fork(); in HandleTimeout() local 44 if (pid != 0) { in HandleTimeout()
|
/arkcompiler/ets_runtime/ecmascript/platform/ |
D | os.h | 27 long PtracePeektext(int pid, uintptr_t addr);
|
/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
D | os.cpp | 49 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext() argument
|
/arkcompiler/toolchain/websocket/test/ |
D | websocket_test.cpp | 335 pid_t pid = fork(); variable 336 if (pid == 0) { 380 } else if (pid > 0) { 426 pid_t pid = fork(); variable 427 if (pid == 0) { 453 } else if (pid > 0) {
|
/arkcompiler/ets_runtime/ecmascript/platform/unix/mac/ |
D | os.cpp | 55 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext() argument
|
/arkcompiler/runtime_core/scripts/ |
D | memusage.py | 218 smaps = read_file('/proc/{}/smaps'.format(args.pid)) 225 smaps = read_file('/proc/{}/smaps'.format(args.pid))
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | cpu_profiler.cpp | 237 …"[{\"args\":{\"data\":{\"frames\":[{\"processId\":" + std::to_string(currentProcessInfo.pid) + "}]" in SetProfileStart() 240 + std::to_string(currentProcessInfo.pid) + ",\"s\":\"t\",\"tid\":" in SetProfileStart() 247 + std::to_string(currentProcessInfo.pid) + ",\"tid\":" in SetProfileStart() 257 currentProcessInfo.pid = getpid(); in GetCurrentProcessInfo()
|
D | cpu_profiler.h | 36 pid_t pid = 0; member
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 650 std::string pid; in OptimizeProgram() local 652 pid = std::to_string(GetCurrentProcessId()); in OptimizeProgram() 654 pid = std::to_string(getpid()); in OptimizeProgram() 657 …std::string tempOutput = panda::os::file::File::GetExtendedFilePath(inputFile + pid + outputSuffix… in OptimizeProgram()
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_test.cpp | 80 int pid = getpid(); in CheckAnonMemoryName() local 82 ss << "/proc/" << pid << "/maps"; in CheckAnonMemoryName()
|
/arkcompiler/ets_frontend/test262/ |
D | eshost.patch | 38 return `f-${now}-${process.pid}-${(Math.random() * 0x100000000 + 1).toString(36)}.js`;
|
D | run_sunspider.py | 154 os.kill(proc.pid, signal.SIGTERM)
|
/arkcompiler/ets_runtime/test/ |
D | runtest.py | 88 os.kill(proc.pid, signal.SIGTERM)
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 211 pid_t pid = getpid(); in CheckSecureMem() local 212 LOG_ECMA(DEBUG) << "Check secure memory in : " << pid << " with mem: " << std::hex << mem; in CheckSecureMem() 213 … if (sprintf_s(procPath, XPM_PROC_LENGTH, "%s%d%s", XPM_PROC_PREFIX, pid, XPM_PROC_SUFFIX) <= 0) { in CheckSecureMem()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …&"checkTypes"===r||(e.performance.mark("beginTracing"),n.writeSync(l,',\n{"pid":1,"tid":1,"ph":"'+… property
|