/third_party/python/Lib/test/ |
H A D | mp_preload.py | 16 proc = ctx.Process(target=f) 17 proc.start() 18 proc.join()
|
H A D | pythoninfo.py | 388 proc = subprocess.Popen(["gdb", "-nx", "--version"], 392 version = proc.communicate()[0] 393 if proc.returncode: 710 proc = subprocess.Popen(args, 720 stdout = proc.communicate()[0] 721 if proc.returncode: 791 proc = subprocess.Popen(["wmic", "os", "get", "Caption,Version", "/value"], 796 output, stderr = proc.communicate() 797 if proc.returncode: 814 proc [all...] |
H A D | bisect_cmd.py | 61 proc = subprocess.run(cmd, 64 exitcode = proc.returncode 70 tests = proc.stdout.splitlines() 83 proc = subprocess.run(cmd) 84 return proc.returncode
|
/third_party/f2fs-tools/scripts/ |
H A D | spo_test.sh | 19 echo 3 > /proc/sys/vm/drop_caches 20 echo 8 > /proc/sys/kernel/printk 32 echo 3 > /proc/sys/vm/drop_caches 53 echo 8 > /proc/sys/kernel/printk 64 echo b > /proc/sysrq-trigger
|
/third_party/ltp/testcases/kernel/controllers/cpuacct/ |
H A D | cpuacct.sh | 43 local memfree=`awk '/MemAvailable/ {print $2}' /proc/meminfo` 48 memfree=`awk '/MemFree/ {print $2}' /proc/meminfo` 51 memcached=`awk '/MemCached/ {print $2}' /proc/meminfo` 87 if ! grep -q -w cpuacct /proc/cgroups; then 97 mount_point=`grep -w cpuacct /proc/mounts | cut -f 2 | cut -d " " -f2`
|
/third_party/python/Tools/scripts/ |
H A D | smelly.py | 46 proc = subprocess.run(args, stdout=subprocess.PIPE, universal_newlines=True) 47 if proc.returncode: 48 sys.stdout.write(proc.stdout) 49 sys.exit(proc.returncode) 51 stdout = proc.stdout.rstrip()
|
/third_party/skia/tools/ |
H A D | check-headers-self-sufficient | 69 proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, 71 proc.stdin.write('#include "%s"\n#include "%s"\n' % (header, header)) 72 proc.stdin.close() 73 errors = proc.stdout.read().strip() 74 if proc.wait() != 0 or len(errors) > 0:
|
H A D | find_run_binary.py | 27 proc = subprocess.Popen(args, 30 (stdout, stderr) = proc.communicate() 31 if proc.returncode is not 0:
|
/third_party/skia/tools/gpu/dawn/ |
H A D | DawnTestContext.cpp | 63 PROC proc; in getProc() local 64 if ((proc = GetProcAddress(fModule, name))) { in getProc() 65 return (Proc) proc; in getProc() 67 if ((proc = wglGetProcAddress(name))) { in getProc() 68 return (Proc) proc; in getProc()
|
/third_party/mesa3d/src/glx/windows/ |
H A D | windowsgl.c | 267 PFNGLADDSWAPHINTRECTWIN proc = (PFNGLADDSWAPHINTRECTWIN)wglGetProcAddress("glAddSwapHintRectWIN"); in glAddSwapHintRectWIN() local 268 if (proc) in glAddSwapHintRectWIN() 269 proc(x, y, width, height); in glAddSwapHintRectWIN() 284 windows_call_with_context(void (*proc)(HDC, void *), void *args) in windows_call_with_context() argument 325 proc(hdc, args); in windows_call_with_context() 343 const char *(*proc)(int) = dlsym(dlhandle, "glGetString"); in windows_check_render_test() 344 const char *gl_renderer = (const char *)proc(GL_RENDERER); in windows_check_render_test() 371 const char *(*proc)(int) = dlsym(dlhandle, "glGetString"); in windows_extensions_test() 373 r->gl_extensions = strdup(proc(GL_EXTENSIONS)); in windows_extensions_test()
|
/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/ |
H A D | case26_init001.py | 26 proc = subprocess.Popen(shlex.split(command))
28 while proc.poll() is None:
31 proc.kill()
33 return proc.returncode
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_common.h | 67 GetOutputStreamDesc(ID3D12VideoProcessor *proc) in GetOutputStreamDesc() argument 69 return proc->GetOutputStreamDesc(); in GetOutputStreamDesc() 108 GetOutputStreamDesc(ID3D12VideoProcessor *proc) in GetOutputStreamDesc() argument 111 proc->GetOutputStreamDesc(&ret); in GetOutputStreamDesc()
|
/third_party/skia/src/core/ |
H A D | SkTypefaceCache.cpp | 24 sk_sp<SkTypeface> SkTypefaceCache::findByProcAndRef(FindProc proc, void* ctx) const { in findByProcAndRef() argument 26 if (proc(typeface.get(), ctx)) { in findByProcAndRef() 75 sk_sp<SkTypeface> SkTypefaceCache::FindByProcAndRef(FindProc proc, void* ctx) { in FindByProcAndRef() argument 77 return Get().findByProcAndRef(proc, ctx); in FindByProcAndRef()
|
/third_party/skia/third_party/externals/dawn/generator/templates/opengl/ |
H A D | opengl_platform.h | 63 {% for proc in block.procs %} 64 using {{proc.PFNGLPROCNAME()}} = {{proc.return_type}}(KHRONOS_APIENTRY *)( 65 {%- for param in proc.params -%}
|
H A D | OpenGLFunctionsBase.h | 28 {% for proc in block.procs %} 29 {{proc.PFNGLPROCNAME()}} {{proc.ProcName()}} = nullptr;
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/utils/ |
H A D | trace.h | 30 * @param proc The process name for scope tracking. 32 static void Start(const std::string &proc); 41 * @param key The proc what you what appned that counts to trace content 54 ScopedTrace(const std::string &proc) in ScopedTrace() argument 57 Trace::Start(proc); in ScopedTrace()
|
/third_party/node/lib/internal/cluster/ |
H A D | utils.js | 16 function sendHelper(proc, message, handle, cb) { 17 if (!proc.connected) 28 return proc.send(message, handle);
|
/third_party/node/test/parallel/ |
H A D | test-child-process-send-type-error.js | 7 function fail(proc, args) { 9 proc.send.apply(proc, args);
|
H A D | test-cli-eval.js | 164 const proc = child.spawnSync(process.execPath, ['-e', script], options); 165 assert.strictEqual(proc.stderr, ''); 166 assert.strictEqual(proc.stdout, 'start\nbeforeExit\nexit\n'); 177 const proc = child.fork('-e', [script]); 178 proc.on('exit', common.mustCall((exitCode, signalCode) => { 182 proc.on('message', (message) => { 183 if (message === 'pong') proc.send('exit'); 185 proc.send('ping');
|
/third_party/typescript/ |
H A D | compile_typescript.py | 23 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, 27 stdout, stderr = proc.communicate(timeout=120) 28 if proc.returncode != 0:
|
/third_party/littlefs/scripts/ |
H A D | bench.py | 581 proc = sp.Popen(cmd, 592 for line in it.islice(proc.stdout, 1, None): 600 proc.wait() 601 if proc.returncode != 0: 603 for line in proc.stderr: 611 proc = sp.Popen(cmd, 621 for line in it.islice(proc.stdout, 1, None): 630 proc.wait() 631 if proc.returncode != 0: 633 for line in proc [all...] |
/third_party/ltp/testcases/kernel/fs/binfmt_misc/ |
H A D | binfmt_misc_lib.sh | 31 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts) 41 if ! grep -q "binfmt_misc" /proc/filesystems; then 47 # /proc/sys/fs/binfmt_misc on some distros, as below: 48 # cat /proc/mounts | grep binfmt_misc 49 # systemd-1 /proc/sys/fs/binfmt_misc autofs ... 50 # binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc ... 51 mntpoint=$(awk '/ binfmt_misc / { print $2 }' /proc/mounts)
|
/third_party/node/deps/v8/tools/unittests/ |
H A D | predictable_wrapper_test.py | 38 proc = subprocess.Popen(args, stdout=subprocess.PIPE) 39 proc.communicate() 40 return proc.returncode
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_opengl3_loader.h | 428 typedef GL3WglProc (*GL3WGetProcAddressProc)(const char *proc); 432 GL3W_API int imgl3wInit2(GL3WGetProcAddressProc proc); 434 GL3W_API GL3WglProc imgl3wGetProcAddress(const char *proc); 588 static GL3WglProc get_proc(const char *proc) in get_proc() argument 591 res = (GL3WglProc)wgl_get_proc_address(proc); in get_proc() 593 res = (GL3WglProc)GetProcAddress(libgl, proc); in get_proc() 610 static GL3WglProc get_proc(const char *proc) in get_proc() argument 613 *(void **)(&res) = dlsym(libgl, proc); in get_proc() 633 static GL3WglProc get_proc(const char *proc) in get_proc() argument 636 res = glx_get_proc_address((const GLubyte *)proc); in get_proc() 667 imgl3wInit2(GL3WGetProcAddressProc proc) imgl3wInit2() argument 682 imgl3wGetProcAddress(const char *proc) imgl3wGetProcAddress() argument 742 load_procs(GL3WGetProcAddressProc proc) load_procs() argument [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_mruby.cc | 118 mrb_value instantiate_app(mrb_state *mrb, RProc *proc) { in instantiate_app() argument 121 auto res = mrb_top_run(mrb, proc, mrb_top_self(mrb), 0); in instantiate_app() 173 auto proc = mrb_generate_code(mrb, parser); in compile() local 174 if (proc == nullptr) { in compile() 179 return proc; in compile()
|