Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/external/syzkaller/vendor/golang.org/x/net/http2/
Dwritesched.go31 Push(wr FrameWriteRequest)
36 Pop() (wr FrameWriteRequest, ok bool)
65 func (wr FrameWriteRequest) StreamID() uint32 {
66 if wr.stream == nil {
67 if se, ok := wr.write.(StreamError); ok {
76 return wr.stream.id
81 func (wr FrameWriteRequest) DataSize() int {
82 if wd, ok := wr.write.(*writeData); ok {
98 func (wr FrameWriteRequest) Consume(n int32) (FrameWriteRequest, FrameWriteRequest, int) {
102 wd, ok := wr.write.(*writeData)
[all …]
Dwritesched_random.go46 func (ws *randomWriteScheduler) Push(wr FrameWriteRequest) {
47 id := wr.StreamID()
49 ws.zero.push(wr)
57 q.push(wr)
67 if wr, ok := q.consume(math.MaxInt32); ok {
68 return wr, true
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer_unittest.cc37 bool TryWrite(SharedRingBuffer* wr, const char* src, size_t size) { in TryWrite() argument
40 auto lock = wr->AcquireLock(ScopedSpinlock::Mode::Try); in TryWrite()
43 buf = wr->BeginWrite(lock, size); in TryWrite()
48 wr->EndWrite(std::move(buf)); in TryWrite()
52 void StructuredTest(SharedRingBuffer* wr, SharedRingBuffer* rd) { in StructuredTest() argument
53 ASSERT_TRUE(wr); in StructuredTest()
54 ASSERT_TRUE(wr->is_valid()); in StructuredTest()
55 ASSERT_TRUE(wr->size() == rd->size()); in StructuredTest()
56 const size_t buf_size = wr->size(); in StructuredTest()
59 ASSERT_TRUE(TryWrite(wr, "foo", 4)); in StructuredTest()
[all …]
/external/iproute2/lib/
Djson_writer.c304 json_writer_t *wr = jsonw_new(stdout); in main() local
306 jsonw_start_object(wr); in main()
307 jsonw_pretty(wr, true); in main()
308 jsonw_name(wr, "Vyatta"); in main()
309 jsonw_start_object(wr); in main()
310 jsonw_string_field(wr, "url", "http://vyatta.com"); in main()
311 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
312 jsonw_float_field(wr, "stock", 8.16); in main()
314 jsonw_name(wr, "ARGV"); in main()
315 jsonw_start_array(wr); in main()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/lib/
Dgm107.asm14 sched (st 0xd wr 0x0 wt 0x3f) (st 0x1 wt 0x1) (st 0x6)
18 sched (st 0x1) (st 0xf wr 0x0) (st 0x6 wr 0x0 wt 0x1)
22 sched (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1)
26 sched (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1)
30 sched (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1) (st 0x6 wr 0x0 wt 0x1)
34 sched (st 0x6) (st 0x6 wr 0x0 rd 0x1 wt 0x1) (st 0xf wr 0x0 rd 0x1 wt 0x2)
38 sched (st 0x6 wr 0x0 wt 0x3) (st 0xd wt 0x1) (st 0x1)
58 sched (st 0xd wt 0x3f) (st 0x1) (st 0x1 wr 0x0)
62 sched (st 0xf wr 0x1) (st 0xd wr 0x1 wt 0x2) (st 0x1 wt 0x2)
66 sched (st 0x6) (st 0x1) (st 0xf wr 0x1)
[all …]
/external/python/cpython2/Lib/
Dweakref.py56 def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref): argument
60 self._pending_removals.append(wr.key)
64 _atomic_removal(self.data, wr.key)
129 for key, wr in self.data.items():
130 o = wr()
142 for key, wr in self.data.items():
143 o = wr()
152 wr = self.data[key]
156 o = wr()
167 for key, wr in self.data.items():
[all …]
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c42 static void child(int size, int wr) in child() argument
44 volatile uint8_t *addr = &var[32 + wr]; in child()
121 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
134 child(wr_size, wr); in run_test()
213 int wr, wp, size; in main() local
223 for (wr = 0; wr <= 32; wr = wr + size) { in main()
224 for (wp = wr - size; wp <= wr + size; wp = wp + size) { in main()
225 result = run_test(size, MIN(size, 8), wr, wp); in main()
226 if ((result && wr == wp) || in main()
227 (!result && wr != wp)) in main()
[all …]
/external/skqp/tests/
DWindowRectanglesTest.cpp27 GrWindowRectangles wr; in DEF_TEST() local
29 REPORTER_ASSERT(reporter, wr.count() == i); in DEF_TEST()
30 REPORTER_ASSERT(reporter, !memcmp(wr.data(), windowData, i * sizeof(SkIRect))); in DEF_TEST()
32 GrWindowRectangles wr2(wr); in DEF_TEST()
33 REPORTER_ASSERT(reporter, wr2 == wr); in DEF_TEST()
34 REPORTER_ASSERT(reporter, wr2.count() == wr.count()); in DEF_TEST()
35 REPORTER_ASSERT(reporter, !memcmp(wr2.data(), wr.data(), i * sizeof(SkIRect))); in DEF_TEST()
37 wr.addWindow(windowData[i]); in DEF_TEST()
40 SkASSERT(wr.count() == GrWindowRectangles::kMaxWindows - 1); in DEF_TEST()
42 GrWindowRectangles A(wr), B(wr); in DEF_TEST()
[all …]
/external/skia/tests/
DWindowRectanglesTest.cpp27 GrWindowRectangles wr; in DEF_TEST() local
29 REPORTER_ASSERT(reporter, wr.count() == i); in DEF_TEST()
30 REPORTER_ASSERT(reporter, !memcmp(wr.data(), windowData, i * sizeof(SkIRect))); in DEF_TEST()
32 GrWindowRectangles wr2(wr); in DEF_TEST()
33 REPORTER_ASSERT(reporter, wr2 == wr); in DEF_TEST()
34 REPORTER_ASSERT(reporter, wr2.count() == wr.count()); in DEF_TEST()
35 REPORTER_ASSERT(reporter, !memcmp(wr2.data(), wr.data(), i * sizeof(SkIRect))); in DEF_TEST()
37 wr.addWindow(windowData[i]); in DEF_TEST()
40 SkASSERT(wr.count() == GrWindowRectangles::kMaxWindows - 1); in DEF_TEST()
42 GrWindowRectangles A(wr), B(wr); in DEF_TEST()
[all …]
/external/python/cpython3/Lib/test/
Dtest_selectors.py53 rd, wr = socketpair()
55 self.addCleanup(wr.close)
56 return rd, wr
62 rd, wr = self.make_socketpair()
88 rd, wr = self.make_socketpair()
102 rd, wr = self.make_socketpair()
103 r, w = rd.fileno(), wr.fileno()
107 wr.close()
115 rd, wr = self.make_socketpair()
116 r, w = rd.fileno(), wr.fileno()
[all …]
Dtest_finalization.py155 wr = weakref.ref(s)
160 self.assertIs(wr(), None)
169 wr = weakref.ref(s)
174 self.assertIsNot(wr(), None)
179 self.assertIs(wr(), None)
244 wr = weakref.ref(s)
249 self.assertIs(wr(), None)
259 wr = weakref.ref(s)
265 self.assertIs(wr(), None)
272 self.assertIs(wr(), None)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/
Dsparc-special-registers.s10 ! CHECK: wr %i0, 5, %y ! encoding: [0x81,0x86,0x20,0x05]
11 wr %i0, 5, %y
13 ! CHECK: wr %i0, %i1, %asr15 ! encoding: [0x9f,0x86,0x00,0x19]
14 wr %i0, %i1, %asr15
28 ! CHECK: wr %i0, 5, %psr ! encoding: [0x81,0x8e,0x20,0x05]
29 wr %i0, 5, %psr
31 ! CHECK: wr %i0, 5, %wim ! encoding: [0x81,0x96,0x20,0x05]
32 wr %i0, 5, %wim
34 ! CHECK: wr %i0, 5, %tbr ! encoding: [0x81,0x9e,0x20,0x05]
35 wr %i0, 5, %tbr
[all …]
Dsparc-synthetic-instructions.s124 ! CHECK: wr %g0, %i0, %y ! encoding: [0x81,0x80,0x00,0x18]
126 ! CHECK: wr %g0, 5, %y ! encoding: [0x81,0x80,0x20,0x05]
128 ! CHECK: wr %g0, %i0, %asr15 ! encoding: [0x9f,0x80,0x00,0x18]
130 ! CHECK: wr %g0, 5, %asr15 ! encoding: [0x9f,0x80,0x20,0x05]
132 ! CHECK: wr %g0, %i0, %psr ! encoding: [0x81,0x88,0x00,0x18]
134 ! CHECK: wr %g0, 5, %psr ! encoding: [0x81,0x88,0x20,0x05]
136 ! CHECK: wr %g0, %i0, %wim ! encoding: [0x81,0x90,0x00,0x18]
138 ! CHECK: wr %g0, 5, %wim ! encoding: [0x81,0x90,0x20,0x05]
140 ! CHECK: wr %g0, %i0, %tbr ! encoding: [0x81,0x98,0x00,0x18]
142 ! CHECK: wr %g0, 5, %tbr ! encoding: [0x81,0x98,0x20,0x05]
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-special-registers.s10 ! CHECK: wr %i0, 5, %y ! encoding: [0x81,0x86,0x20,0x05]
11 wr %i0, 5, %y
13 ! CHECK: wr %i0, %i1, %asr15 ! encoding: [0x9f,0x86,0x00,0x19]
14 wr %i0, %i1, %asr15
28 ! CHECK: wr %i0, 5, %psr ! encoding: [0x81,0x8e,0x20,0x05]
29 wr %i0, 5, %psr
31 ! CHECK: wr %i0, 5, %wim ! encoding: [0x81,0x96,0x20,0x05]
32 wr %i0, 5, %wim
34 ! CHECK: wr %i0, 5, %tbr ! encoding: [0x81,0x9e,0x20,0x05]
35 wr %i0, 5, %tbr
[all …]
Dsparc-synthetic-instructions.s124 ! CHECK: wr %g0, %i0, %y ! encoding: [0x81,0x80,0x00,0x18]
126 ! CHECK: wr %g0, 5, %y ! encoding: [0x81,0x80,0x20,0x05]
128 ! CHECK: wr %g0, %i0, %asr15 ! encoding: [0x9f,0x80,0x00,0x18]
130 ! CHECK: wr %g0, 5, %asr15 ! encoding: [0x9f,0x80,0x20,0x05]
132 ! CHECK: wr %g0, %i0, %psr ! encoding: [0x81,0x88,0x00,0x18]
134 ! CHECK: wr %g0, 5, %psr ! encoding: [0x81,0x88,0x20,0x05]
136 ! CHECK: wr %g0, %i0, %wim ! encoding: [0x81,0x90,0x00,0x18]
138 ! CHECK: wr %g0, 5, %wim ! encoding: [0x81,0x90,0x20,0x05]
140 ! CHECK: wr %g0, %i0, %tbr ! encoding: [0x81,0x98,0x00,0x18]
142 ! CHECK: wr %g0, 5, %tbr ! encoding: [0x81,0x98,0x20,0x05]
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dcomplex_fft.c32 int16_t wr, wi; in WebRtcSpl_ComplexFFT() local
61 wr = kSinTable1024[j + 256]; in WebRtcSpl_ComplexFFT()
68 tr32 = (wr * frfi[2 * j] - wi * frfi[2 * j + 1]) >> 15; in WebRtcSpl_ComplexFFT()
70 ti32 = (wr * frfi[2 * j + 1] + wi * frfi[2 * j]) >> 15; in WebRtcSpl_ComplexFFT()
101 wr = kSinTable1024[j + 256]; in WebRtcSpl_ComplexFFT()
107 "r"((int32_t)wr), "r"((int32_t)wi)); in WebRtcSpl_ComplexFFT()
129 tr32 = wr * frfi[2 * j] - wi * frfi[2 * j + 1] + CFFTRND; in WebRtcSpl_ComplexFFT()
131 ti32 = wr * frfi[2 * j + 1] + wi * frfi[2 * j] + CFFTRND; in WebRtcSpl_ComplexFFT()
162 int16_t wr, wi; in WebRtcSpl_ComplexIFFT() local
212 wr = kSinTable1024[j + 256]; in WebRtcSpl_ComplexIFFT()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dfpextend_x86.ll7 %wr = fadd x86_fp80 %wa, %wb
8 %r = fptrunc x86_fp80 %wr to double
18 %wr = fsub x86_fp80 %wa, %wb
19 %r = fptrunc x86_fp80 %wr to double
29 %wr = fmul x86_fp80 %wa, %wb
30 %r = fptrunc x86_fp80 %wr to double
40 %wr = fmul x86_fp80 %wa, %wb
41 %r = fptrunc x86_fp80 %wr to double
51 %wr = fdiv x86_fp80 %wa, %wb
52 %r = fptrunc x86_fp80 %wr to double
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dfpextend_x86.ll7 %wr = fadd x86_fp80 %wa, %wb
8 %r = fptrunc x86_fp80 %wr to double
18 %wr = fsub x86_fp80 %wa, %wb
19 %r = fptrunc x86_fp80 %wr to double
29 %wr = fmul x86_fp80 %wa, %wb
30 %r = fptrunc x86_fp80 %wr to double
40 %wr = fmul x86_fp80 %wa, %wb
41 %r = fptrunc x86_fp80 %wr to double
51 %wr = fdiv x86_fp80 %wa, %wb
52 %r = fptrunc x86_fp80 %wr to double
/external/python/cpython3/Lib/
Dweakref.py109 def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref): argument
113 self._pending_removals.append(wr.key)
117 _atomic_removal(d, wr.key)
175 for key, wr in self.data.items():
176 o = wr()
189 for key, wr in self.data.items():
190 o = wr()
199 wr = self.data[key]
203 o = wr()
214 for k, wr in self.data.items():
[all …]
/external/strace/tests-mx32/
Dioctl_mtd.c179 TAIL_ALLOC_OBJECT_CONST_PTR(struct mtd_write_req, wr); in main()
180 fill_memory(wr, sizeof(*wr)); in main()
181 wr->mode = MTD_OPS_PLACE_OOB; in main()
182 ioctl(-1, MEMWRITE, wr); in main()
186 (unsigned long long) wr->start, in main()
187 (unsigned long long) wr->len, in main()
188 (unsigned long long) wr->ooblen, in main()
189 (unsigned long long) wr->usr_data, in main()
190 (unsigned long long) wr->usr_oob); in main()
/external/strace/tests/
Dioctl_mtd.c179 TAIL_ALLOC_OBJECT_CONST_PTR(struct mtd_write_req, wr); in main()
180 fill_memory(wr, sizeof(*wr)); in main()
181 wr->mode = MTD_OPS_PLACE_OOB; in main()
182 ioctl(-1, MEMWRITE, wr); in main()
186 (unsigned long long) wr->start, in main()
187 (unsigned long long) wr->len, in main()
188 (unsigned long long) wr->ooblen, in main()
189 (unsigned long long) wr->usr_data, in main()
190 (unsigned long long) wr->usr_oob); in main()
/external/strace/tests-m32/
Dioctl_mtd.c179 TAIL_ALLOC_OBJECT_CONST_PTR(struct mtd_write_req, wr); in main()
180 fill_memory(wr, sizeof(*wr)); in main()
181 wr->mode = MTD_OPS_PLACE_OOB; in main()
182 ioctl(-1, MEMWRITE, wr); in main()
186 (unsigned long long) wr->start, in main()
187 (unsigned long long) wr->len, in main()
188 (unsigned long long) wr->ooblen, in main()
189 (unsigned long long) wr->usr_data, in main()
190 (unsigned long long) wr->usr_oob); in main()
/external/llvm/test/MC/Disassembler/Sparc/
Dsparc-special-registers.txt3 # CHECK: wr %g1, -2, %y
12 # CHECK: wr %i0, 5, %y
15 # CHECK: wr %i0, %i1, %asr15
27 # CHECK: wr %i0, 5, %psr
30 # CHECK: wr %i0, 5, %wim
33 # CHECK: wr %i0, 5, %tbr
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Disassembler/Sparc/
Dsparc-special-registers.txt3 # CHECK: wr %g1, -2, %y
12 # CHECK: wr %i0, 5, %y
15 # CHECK: wr %i0, %i1, %asr15
27 # CHECK: wr %i0, 5, %psr
30 # CHECK: wr %i0, 5, %wim
33 # CHECK: wr %i0, 5, %tbr
/external/cldr/tools/java/org/unicode/cldr/util/
DFileCopier.java69 public static void copy(Reader rdr, Writer wr) throws IOException { in copy() argument
70 PrintWriter pw = new PrintWriter(wr); in copy()
77 wr.flush(); in copy()
89 …public static void copyAndReplace(Reader rdr, Writer wr, Map<String, String> replacements) throws … in copyAndReplace() argument
91 copy(rdr, wr); in copyAndReplace()
94 PrintWriter pw = new PrintWriter(wr); in copyAndReplace()
120 Writer wr = new FileWriter(Paths.get(targetDirectory, newName).toFile());) { in copy()
121 copy(new InputStreamReader(is), wr); in copy()

12345678910>>...17