Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 1208) sorted by relevance

12345678910>>...49

/external/chromium-trace/catapult/systrace/systrace/test_data/
Datrace_procfs_dump1 proc/1/task/1
2 /proc/10/task/10
3 /proc/100/task/100
4 /proc/101/task/101
5 /proc/102/task/102
6 /proc/103/task/103
7 /proc/104/task/104
8 /proc/105/task/105
9 /proc/106/task/106
10 /proc/1068/task/1068
[all …]
/external/tensorflow/tensorflow/core/platform/
Dsubprocess_test.cc27 tensorflow::SubProcess proc; in TEST_F() local
28 proc.SetProgram("/bin/cat", {"cat", "/dev/null"}); in TEST_F()
29 EXPECT_TRUE(proc.Start()); in TEST_F()
30 EXPECT_TRUE(proc.Wait()); in TEST_F()
34 tensorflow::SubProcess proc; in TEST_F() local
35 proc.SetProgram("/bin/cat", {"cat", "/dev/null"}); in TEST_F()
36 proc.SetChannelAction(CHAN_STDOUT, ACTION_PIPE); in TEST_F()
37 proc.SetChannelAction(CHAN_STDERR, ACTION_PIPE); in TEST_F()
38 EXPECT_TRUE(proc.Start()); in TEST_F()
41 int status = proc.Communicate(nullptr, &out, &err); in TEST_F()
[all …]
/external/syzkaller/syz-fuzzer/
Dproc.go53 proc := &Proc{
63 return proc, nil
66 func (proc *Proc) loop() {
68 if proc.fuzzer.config.Flags&ipc.FlagSignal == 0 {
74 item := proc.fuzzer.workQueue.dequeue()
78 proc.triageInput(item)
80 proc.execute(proc.execOpts, item.p, item.flags, StatCandidate)
82 proc.smashInput(item)
89 ct := proc.fuzzer.choiceTable
90 corpus := proc.fuzzer.corpusSnapshot()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_proc.cc24 Processor *proc = new(mem) Processor; in ProcCreate() local
25 proc->thr = nullptr; in ProcCreate()
27 AllocatorProcStart(proc); in ProcCreate()
30 proc->dd_pt = ctx->dd->CreatePhysicalThread(); in ProcCreate()
31 return proc; in ProcCreate()
34 void ProcDestroy(Processor *proc) { in ProcDestroy() argument
35 CHECK_EQ(proc->thr, nullptr); in ProcDestroy()
37 AllocatorProcFinish(proc); in ProcDestroy()
39 ctx->clock_alloc.FlushCache(&proc->clock_cache); in ProcDestroy()
40 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
[all …]
Dtsan_sync.cc39 void SyncVar::Reset(Processor *proc) { in Reset() argument
50 if (proc == 0) { in Reset()
54 clock.Reset(&proc->clock_cache); in Reset()
55 read_clock.Reset(&proc->clock_cache); in Reset()
64 u32 idx = block_alloc_.Alloc(&thr->proc()->block_cache); in AllocBlock()
74 uptr MetaMap::FreeBlock(Processor *proc, uptr p) { in FreeBlock() argument
79 FreeRange(proc, p, sz); in FreeBlock()
83 bool MetaMap::FreeRange(Processor *proc, uptr p, uptr sz) { in FreeRange() argument
99 block_alloc_.Free(&proc->block_cache, idx & ~kFlagMask); in FreeRange()
105 s->Reset(proc); in FreeRange()
[all …]
Dtsan_mman.cc68 Processor *proc; member
72 , proc(ProcCreate()) { in GlobalProc()
84 if (thr->proc()) in ScopedGlobalProcessor()
101 ProcWire(gp->proc, thr); in ScopedGlobalProcessor()
107 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor()
109 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor()
121 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument
122 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart()
123 internal_allocator()->InitCache(&proc->internal_alloc_cache); in AllocatorProcStart()
126 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument
[all …]
/external/toybox/tests/
Dpgrep.test15 proc=$!
19 proc_parent=`cat /proc/${proc}/stat | cut -d' ' -f4`
23 testing "pattern" "pgrep yes" "$proc\n" "" ""
24 testing "wildCardPattern" "pgrep ^y.*s$" "$proc\n" "" ""
25 testing "-l pattern" "pgrep -l yes" "$proc yes\n" "" ""
26 testing "-f pattern" "pgrep -f yes" "$proc\n" "" ""
27 testing "-n pattern" "pgrep -n yes" "$proc\n" "" ""
28 testing "-o pattern" "pgrep -o yes" "$proc\n" "" ""
29 testing "-s" "pgrep -s $session_id yes" "$proc\n" "" ""
30 testing "-P" "pgrep -P $proc_parent yes" "$proc\n" "" ""
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_subprocess.py107 proc = await asyncio.create_subprocess_exec(
114 proc.stdin.write(data)
115 await proc.stdin.drain()
116 proc.stdin.close()
119 data = await proc.stdout.read()
120 exitcode = await proc.wait()
133 proc = await asyncio.create_subprocess_exec(
138 stdout, stderr = await proc.communicate(data)
139 return proc.returncode, stdout
150 proc = self.loop.run_until_complete(create)
[all …]
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/oboe/src/aaudio/
DAAudioLoader.cpp152 static void AAudioLoader_check(void *proc, const char *functionName) { in AAudioLoader_check() argument
153 if (proc == nullptr) { in AAudioLoader_check()
161 signature_PC_I proc = (signature_PC_I) dlsym(mLibHandle, functionName); in load_PC_I() local
162 AAudioLoader_check((void *)proc, functionName); in load_PC_I()
163 return proc; in load_PC_I()
167 signature_V_PBI proc = (signature_V_PBI) dlsym(mLibHandle, functionName); in load_V_PBI() local
168 AAudioLoader_check((void *)proc, functionName); in load_V_PBI()
169 return proc; in load_V_PBI()
173 signature_I_PSI proc = (signature_I_PSI) dlsym(mLibHandle, functionName); in load_I_PSI() local
174 AAudioLoader_check((void *)proc, functionName); in load_I_PSI()
[all …]
/external/autotest/venv/lucifer/
Dleasing_unittest.py55 lease_proc.proc.send_signal(signal.SIGINT)
56 lease_proc.proc.wait()
114 with _abort_socket(tmpdir, 123) as proc:
119 proc.wait()
120 assert proc.returncode == 0
127 with _abort_socket(tmpdir, 123) as proc:
128 proc.terminate()
129 proc.wait()
179 stdout=subprocess32.PIPE) as proc:
181 proc.stdout.readline()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmodule.cpp38 _serializer<T>::proc(os, x); in _proc()
45 _serializer<T>::proc(is, x); in _proc()
52 _serializer<T>::proc(is, x); in _proc()
60 _serializer<T>::proc(sz, x); in _proc()
68 proc(std::ostream &os, const T &x) { in proc() function
73 proc(std::istream &is, T &x) { in proc() function
78 proc(module::size_t &sz, const T &x) { in proc() function
89 proc(std::ostream &os, const std::vector<T> &v) { in proc() function
97 proc(std::istream &is, std::vector<T> &v) { in proc() function
105 proc(module::size_t &sz, const std::vector<T> &v) { in proc() function
[all …]
/external/skqp/src/codec/
DSkSwizzler.cpp742 template <SkSwizzler::RowProc proc>
758 proc(dst32, (const uint8_t*)src16, width, bpp, deltaSrc, 0, ctable); in SkipLeadingGrayAlphaZerosThen()
761 template <SkSwizzler::RowProc proc>
777 proc(dst32, (const uint8_t*)src32, dstWidth, bpp, deltaSrc, 0, ctable); in SkipLeading8888ZerosThen()
782 RowProc proc = nullptr; in MakeSimple() local
785 proc = &sample1; in MakeSimple()
788 proc = &sample2; in MakeSimple()
792 proc = &sample4; in MakeSimple()
795 proc = &sample6; in MakeSimple()
798 proc = &sample8; in MakeSimple()
[all …]
/external/skia/src/codec/
DSkSwizzler.cpp742 template <SkSwizzler::RowProc proc>
758 proc(dst32, (const uint8_t*)src16, width, bpp, deltaSrc, 0, ctable); in SkipLeadingGrayAlphaZerosThen()
761 template <SkSwizzler::RowProc proc>
777 proc(dst32, (const uint8_t*)src32, dstWidth, bpp, deltaSrc, 0, ctable); in SkipLeading8888ZerosThen()
782 RowProc proc = nullptr; in MakeSimple() local
785 proc = &sample1; in MakeSimple()
788 proc = &sample2; in MakeSimple()
792 proc = &sample4; in MakeSimple()
795 proc = &sample6; in MakeSimple()
798 proc = &sample8; in MakeSimple()
[all …]
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py27 def kill_on_error(proc): argument
29 with proc:
31 yield proc
33 proc.kill()
93 for proc in processes:
94 proc.wait()
104 proc = self.new_sleep_process()
105 wait_func(proc.pid)
107 proc.wait()
138 proc = self.subprocess(code, str(wr), pass_fds=[wr])
[all …]
/external/strace/tests/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() argument
110 snprintf(path, sizeof(path), "%s.%d", prefix, proc); in open_file()
155 int proc; in main() local
156 for (proc = 0; proc < num_procs; ++proc) { in main()
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
201 for (proc = 0; proc < num_procs; ++proc) { in main()
205 perror_msg_and_fail("wait %d", proc); in main()
/external/strace/tests-mx32/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() argument
110 snprintf(path, sizeof(path), "%s.%d", prefix, proc); in open_file()
155 int proc; in main() local
156 for (proc = 0; proc < num_procs; ++proc) { in main()
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
201 for (proc = 0; proc < num_procs; ++proc) { in main()
205 perror_msg_and_fail("wait %d", proc); in main()
/external/strace/tests-m32/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() argument
110 snprintf(path, sizeof(path), "%s.%d", prefix, proc); in open_file()
155 int proc; in main() local
156 for (proc = 0; proc < num_procs; ++proc) { in main()
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
201 for (proc = 0; proc < num_procs; ++proc) { in main()
205 perror_msg_and_fail("wait %d", proc); in main()
/external/libvpx/libvpx/build/make/
Dads2gas.pl205 my $proc;
207 $proc = $1;
208 push(@proc_stack, $proc) if ($proc);
213 my $proc;
215 $proc = pop(@proc_stack);
216 $_ = "\t.size $proc, .-$proc".$_ if ($proc and $elf);
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp31 const GrCCCoverageProcessor& proc = args.fGP.cast<GrCCCoverageProcessor>(); in onEmitCode() local
34 SkASSERT(1 == proc.numVertexAttributes()); in onEmitCode()
35 gpArgs->fPositionVar = proc.fVertexAttribute.asShaderVar(); in onEmitCode()
39 this->emitGeometryShader(proc, varyingHandler, args.fGeomBuilder, args.fRTAdjustName); in onEmitCode()
40 varyingHandler->emitAttributes(proc); in onEmitCode()
45 fShader->emitFragmentCode(proc, args.fFragBuilder, args.fOutputColor, args.fOutputCoverage); in onEmitCode()
48 void emitGeometryShader(const GrCCCoverageProcessor& proc, in emitGeometryShader() argument
51 int numInputPoints = proc.numInputPoints(); in emitGeometryShader()
54 int inputWidth = (4 == numInputPoints || proc.hasInputWeight()) ? 4 : 3; in emitGeometryShader()
61 Shader::CalcWind(proc, g, "pts", wind.c_str()); in emitGeometryShader()
[all …]
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp31 const GrCCCoverageProcessor& proc = args.fGP.cast<GrCCCoverageProcessor>(); in onEmitCode() local
34 SkASSERT(1 == proc.numVertexAttributes()); in onEmitCode()
35 gpArgs->fPositionVar = proc.fVertexAttribute.asShaderVar(); in onEmitCode()
39 this->emitGeometryShader(proc, varyingHandler, args.fGeomBuilder, args.fRTAdjustName); in onEmitCode()
40 varyingHandler->emitAttributes(proc); in onEmitCode()
45 fShader->emitFragmentCode(proc, args.fFragBuilder, args.fOutputColor, args.fOutputCoverage); in onEmitCode()
48 void emitGeometryShader(const GrCCCoverageProcessor& proc, in emitGeometryShader() argument
51 int numInputPoints = proc.numInputPoints(); in emitGeometryShader()
54 int inputWidth = (4 == numInputPoints || proc.hasInputWeight()) ? 4 : 3; in emitGeometryShader()
61 Shader::CalcWind(proc, g, "pts", wind.c_str()); in emitGeometryShader()
[all …]
DGrCCPathProcessor.cpp106 const GrCCPathProcessor& proc = primProc.cast<GrCCPathProcessor>(); in setData() local
107 pdman.set2f(fAtlasAdjustUniform, 1.0f / proc.atlasSize().fWidth, in setData()
108 1.0f / proc.atlasSize().fHeight); in setData()
109 this->setTransformDataHelper(proc.localMatrix(), pdman, &transformIter); in setData()
148 const GrCCPathProcessor& proc = args.fGP.cast<GrCCPathProcessor>(); in onEmitCode() local
157 varyingHandler->emitAttributes(proc); in onEmitCode()
162 varyingHandler->addPassThroughAttribute(proc.getInstanceAttrib(InstanceAttribs::kColor), in onEmitCode()
174 v->codeAppendf("float2x2 N = float2x2(%s.xy, %s.zw);", proc.getEdgeNormsAttrib().name(), in onEmitCode()
175 proc.getEdgeNormsAttrib().name()); in onEmitCode()
180 proc.getInstanceAttrib(InstanceAttribs::kDevBounds).name()); in onEmitCode()
[all …]
/external/libopus/celt/arm/
Darm2gnu.pl161 my $proc;
163 $proc = $1;
165 if ($proc)
167 $prefix = $prefix.sprintf("\t.type\t%s, %%function", $proc) unless ($apple);
172 push(@proc_stack, $proc);
183 my $proc;
185 $proc = pop(@proc_stack);
186 $_ = "\t.size $proc, .-$proc".$_ if ($proc && !$apple);
/external/ltp/testcases/kdump/lib/
Dtest.sh39 echo c >/proc/sysrq-trigger
45 echo 0 >/proc/crasher
51 echo 1 >/proc/crasher
57 echo 1 >/proc/sys/kernel/panic_on_oops
58 echo 2 >/proc/crasher
65 echo 3 >/proc/crasher
81 echo 1 >/proc/sys/kernel/panic_on_oops
97 echo 1 >/proc/sys/kernel/panic_on_oops
113 echo 1 >/proc/sys/kernel/panic_on_oops
129 echo 1 >/proc/sys/kernel/panic_on_oops
[all …]
/external/ltp/testcases/kernel/controllers/
Dtest_controllers.sh40 if [ -f /proc/cgroups ]
42 CPU_CONTROLLER=`grep -w cpu /proc/cgroups | cut -f1`;
43 CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`;
44 MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`;
45 MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`;
46 IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`;
47 IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`;
48 FREEZER=`grep -w freezer /proc/cgroups | cut -f1`;
49 FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`;
50 CPUACCOUNT_CONTROLLER=`grep -w cpuacct /proc/cgroups | cut -f1`
[all …]
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java46 Process proc = Runtime.getRuntime().exec(cmd); in test_isUp() local
47 proc.waitFor(); in test_isUp()
51 proc = Runtime.getRuntime().exec(cmd); in test_isUp()
52 proc.waitFor(); in test_isUp()
70 Process proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast() local
71 proc.waitFor(); in test_supportsMulticast()
77 proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast()
78 proc.waitFor(); in test_supportsMulticast()
100 Process proc = Runtime.getRuntime().exec(cmd); in test_getHardwareAddress() local
101 proc.waitFor(); in test_getHardwareAddress()
[all …]

12345678910>>...49