Home
last modified time | relevance | path

Searched refs:RW (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/external/rust/crates/tokio/src/io/util/
Dbuf_stream.rs19 pub struct BufStream<RW> {
21 inner: BufReader<BufWriter<RW>>,
25 impl<RW: AsyncRead + AsyncWrite> BufStream<RW> {
29 pub fn new(stream: RW) -> BufStream<RW> { in new() argument
42 stream: RW, in with_capacity() argument
43 ) -> BufStream<RW> { in with_capacity() argument
55 pub fn get_ref(&self) -> &RW { in get_ref() argument
62 pub fn get_mut(&mut self) -> &mut RW { in get_mut() argument
69 pub fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut RW> { in get_pin_mut() argument
76 pub fn into_inner(self) -> RW { in into_inner() argument
[all …]
/external/llvm-project/lld/test/ELF/
Dgnustack.s8 # RUN: llvm-readobj --program-headers -S %t | FileCheck --check-prefix=RW %s
11 # RUN: llvm-readobj --program-headers -S %t | FileCheck --check-prefix=RW %s
16 # RW: Type: PT_GNU_STACK
17 # RW-NEXT: Offset: 0x0
18 # RW-NEXT: VirtualAddress: 0x0
19 # RW-NEXT: PhysicalAddress: 0x0
20 # RW-NEXT: FileSize: 0
21 # RW-NEXT: MemSize: 0
22 # RW-NEXT: Flags [
23 # RW-NEXT: PF_R
[all …]
Dseparate-segments.s10 # NONE-NEXT: LOAD 0x000250 0x0000000000002250 0x0000000000002250 0x000090 0x000090 RW 0x1000
11 # NONE-NEXT: LOAD 0x0002e0 0x00000000000032e0 0x00000000000032e0 0x000001 0x000001 RW 0x1000
14 ## The two RW can have overlapping p_offset ranges at runtime.
19 # CODE-NEXT: LOAD 0x002000 0x0000000000002000 0x0000000000002000 0x000090 0x000090 RW 0x1000
20 # CODE-NEXT: LOAD 0x002090 0x0000000000003090 0x0000000000003090 0x000001 0x000001 RW 0x1000
27 # ALL-NEXT: LOAD 0x002000 0x0000000000002000 0x0000000000002000 0x000090 0x000090 RW 0x1000
28 # ALL-NEXT: LOAD 0x003000 0x0000000000003000 0x0000000000003000 0x000001 0x000001 RW 0x1000
/external/rust/crates/tokio/tests/
Dio_split.rs10 struct RW; struct
12 impl AsyncRead for RW { implementation
23 impl AsyncWrite for RW { implementation
45 assert_bound::<ReadHalf<RW>>(); in is_send_and_sync()
46 assert_bound::<WriteHalf<RW>>(); in is_send_and_sync()
51 let (r1, w1) = split(RW); in split_stream_id()
52 let (r2, w2) = split(RW); in split_stream_id()
61 let (r, w) = split(RW); in unsplit_ok()
68 let (r, _) = split(RW); in unsplit_err1()
69 let (_, w) = split(RW); in unsplit_err1()
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/GlobalISel/
Darm-isel-globals-ropi-rwpi.ll1 …ovt,+v8m -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-MOVT,RW-DEFAULT,ROPI…
2 …no-movt -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-NOMOVT,RW-DEFAULT,ROP…
11 ; RW-DEFAULT-MOVT: movw r[[ADDR:[0-9]+]], :lower16:internal_global
12 ; RW-DEFAULT-MOVT-NEXT: movt r[[ADDR]], :upper16:internal_global
13 ; RW-DEFAULT-NOMOVT: ldr r[[ADDR:[0-9]+]], [[LABEL:.L[[:alnum:]_]+]]
14 ; RW-DEFAULT-NEXT: ldr r0, [r[[ADDR]]]
15 ; RW-DEFAULT-NEXT: bx lr
16 ; RW-DEFAULT-NOMOVT: [[LABEL]]:
17 ; RW-DEFAULT-NOMOVT-NEXT: .long internal_global
35 ; RW-DEFAULT-MOVT: movw r[[ADDR:[0-9]+]], :lower16:external_global
[all …]
Dthumb-isel-globals-ropi-rwpi.ll1 …-no-movt -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-MOVT,RW-DEFAULT,ROPI…
2 …no-movt -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-NOMOVT,RW-DEFAULT,ROP…
11 ; RW-DEFAULT-MOVT: movw r[[ADDR:[0-9]+]], :lower16:internal_global
12 ; RW-DEFAULT-MOVT-NEXT: movt r[[ADDR]], :upper16:internal_global
13 ; RW-DEFAULT-NOMOVT: ldr r[[ADDR:[0-9]+]], [[LABEL:.L[[:alnum:]_]+]]
14 ; RW-DEFAULT-NEXT: ldr r0, [r[[ADDR]]]
15 ; RW-DEFAULT-NEXT: bx lr
16 ; RW-DEFAULT-NOMOVT: [[LABEL]]:
17 ; RW-DEFAULT-NOMOVT-NEXT: .long internal_global
35 ; RW-DEFAULT-MOVT: movw r[[ADDR:[0-9]+]], :lower16:external_global
[all …]
Darm-select-globals-ropi-rwpi.mir1 …-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-MOVT,ROPI-MO…
2 …-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-NOMOVT,ROPI-…
30 # RW-DEFAULT-NOMOVT: constants:
31 # RW-DEFAULT-NOMOVT: id: 0
32 # RW-DEFAULT-NOMOVT: value: 'i32* @internal_global'
39 ; RW-DEFAULT-MOVT: [[G:%[0-9]+]]:gpr = MOVi32imm @internal_global
40 …; RW-DEFAULT-NOMOVT: [[G:%[0-9]+]]:gpr = LDRi12 %const.0, 0, 14 /* CC::al */, $noreg :: (load 4 fr…
64 # RW-DEFAULT-NOMOVT: constants:
65 # RW-DEFAULT-NOMOVT: id: 0
66 # RW-DEFAULT-NOMOVT: value: 'i32* @external_global'
[all …]
Dthumb-select-globals-ropi-rwpi.mir1 …-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-MOVT,ROPI-MO…
2 …-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=CHECK,RW-DEFAULT-NOMOVT,ROPI-…
30 # RW-DEFAULT-NOMOVT: constants:
31 # RW-DEFAULT-NOMOVT: id: 0
32 # RW-DEFAULT-NOMOVT: value: 'i32* @internal_global'
39 ; RW-DEFAULT-MOVT: [[G:%[0-9]+]]:rgpr = t2MOVi32imm @internal_global
40 …; RW-DEFAULT-NOMOVT: [[G:%[0-9]+]]:gpr = t2LDRpci %const.0, 14 /* CC::al */, $noreg :: (load 4 fro…
64 # RW-DEFAULT-NOMOVT: constants:
65 # RW-DEFAULT-NOMOVT: id: 0
66 # RW-DEFAULT-NOMOVT: value: 'i32* @external_global'
[all …]
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh359 run_test -RW root 400 "" "" EACCES
362 run_test -RW root 400 "" "0 n 0 n" EACCES
365 run_test -RW root 400 "" "0 o 0 o" SUCCESS n n
368 run_test -RW root 400 "" "0 n 0 o" EPERM
371 run_test -RW root 400 "" "0 o 0 n" EPERM
374 run_test -RW root 400 "" "1 1 1 1" EPERM
500 run_test -RW "" 600 "" "1 n 1 n" SUCCESS y y
503 run_test -RW "" 600 "" "1 o 1 o" SUCCESS n n
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Daix-readonly-with-relocation.ll9 ;CHECK: .comm a[RW],4,2
10 ;CHECK-NEXT: .csect .data[RW],2
16 ;CHECK64: .comm a[RW],4,2
17 ;CHECK64-NEXT: .csect .data[RW],3
Daix-xcoff-data-sections.ll56 ; CHECK: .csect ivar[RW],2
57 ; CHECK-NEXT: .globl ivar[RW]
64 ; CHECK-NEXT: .comm a[RW],4,2
65 ; CHECK-NEXT: .comm f[RW],4,2
68 ; CHECK32: .csect p[RW],2
69 ; CHECK32-NEXT: .globl p[RW]
72 ; CHECK64: .csect p[RW],3
73 ; CHECK64-NEXT: .globl p[RW]
78 ; CHECK-NEXT: .tc p[TC],p[RW]
80 ; CHECK-NEXT: .tc ivar[TC],ivar[RW]
[all …]
Daix-xcoff-lower-comm.ll18 ; CHECK: .comm common[RW],4,2
19 ; ASM32-NEXT: .csect .data[RW],2
20 ; ASM64-NEXT: .csect .data[RW],3
25 ; ASM32-NEXT: .vbyte 4, common[RW]
26 ; ASM64-NEXT: .vbyte 8, common[RW]
/external/elfutils/tests/
Drun-pt_gnu_prop-tests.sh42 LOAD 0x002f0c 0x0804bf0c 0x0804bf0c 0x000108 0x00010c RW 0x1000
43 DYNAMIC 0x002f14 0x0804bf14 0x0804bf14 0x0000e8 0x0000e8 RW 0x4
47 GNU_STACK 0x000000 0x00000000 0x00000000 0x000000 0x000000 RW 0x10
92 LOAD 0x002e50 0x0000000000403e50 0x0000000000403e50 0x0001cc 0x0001d0 RW 0x1000
93 DYNAMIC 0x002e60 0x0000000000403e60 0x0000000000403e60 0x000190 0x000190 RW 0x8
98 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10
/external/autotest/server/site_tests/firmware_Fingerprint/
Dcontrol.ro_only_boots_valid_rw10 Verify the RO fingerprint firmware only boots valid RW firmware.
13 Fails if the RO firmware boots invalid RW firmware.
28 to RW: dev, corrupted first byte, and corrupted last byte. Each of these should
30 flashes an MP-signed version, which should successfully boot to RW.
Dcontrol.ro_can_update_rw10 Validates that the RO fingerprint firmware can update the RW firmware.
13 Fails if the RO fingerprint firmware cannot update the RW firmware.
27 Flashes RW firmware with a version string that ends in '.rb0'
28 (has rollback ID '0') and validates that it is running. Then flashes RW
Dcontrol.obeys_rollback28 Flashes new RW firmware with a rollback ID of '1' and verifies that all
29 rollback state is set correctly. Then attempts to flash RW firmware with
31 (i.e., not running older version). Finally, flashes RW firmware with rollback
32 ID of '9' and validates that the RW version of '9' is running.
Dcontrol.add_entropy13 Fails if we can add entropy from RW or cannot add entropy from RO."
24 Attempts to add entropy while running RW firmware and verifies that it fails.
27 incremented by two. Finally, reboots back to RW.
/external/arm-neon-tests/
Dscatter.scat18 D-TCM 0x230000 FIXED ; 0x40000 ; 8 Kb of D-TCM used for RW/ZI
20 * (+RW,+ZI)
23 HEAP 0x4E0000 EMPTY 0x100000 {} ; 8Kb Heap follows direcly after RW/ZI
/external/llvm-project/lld/test/ELF/linkerscript/
Dinsert-after.test18 # CHECK-NEXT: LOAD {{.*}} RW
19 # CHECK-NEXT: GNU_STACK {{.*}} RW
37 # CHECK2-NEXT: LOAD {{.*}} RW
38 # CHECK2-NEXT: GNU_STACK {{.*}} RW
Dat2.test30 # CHECK-NEXT: LOAD 0x002000 0x0000000000003000 0x0000000000003000 0x000008 0x000008 RW 0x1000
31 # CHECK-NEXT: LOAD 0x002008 0x0000000000003008 0x0000000000007000 0x000008 0x000008 RW 0x1000
32 # CHECK-NEXT: LOAD 0x002010 0x0000000000003010 0x0000000000003010 0x000008 0x000008 RW 0x1000
33 # CHECK-NEXT: LOAD 0x002018 0x0000000000003018 0x0000000000007008 0x000008 0x000008 RW 0x1000
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dpartitions.test56 MAIN-NEXT: LOAD 0x002000 0x0000000000202000 0x0000000000202000 0x000080 0x000080 RW 0x…
57 MAIN-NEXT: LOAD 0x003000 0x0000000000209000 0x0000000000209000 0x000000 0x001000 RW 0x…
58 MAIN-NEXT: DYNAMIC 0x002000 0x0000000000202000 0x0000000000202000 0x000080 0x000080 RW 0x8
60 MAIN-NEXT: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x0
112 PART1-NEXT: LOAD 0x001000 0x0000000000204000 0x0000000000204000 0x000090 0x000090 RW 0…
113 PART1-NEXT: LOAD 0x002000 0x0000000000205000 0x0000000000205000 0x000000 0x000008 RW 0…
114 PART1-NEXT: DYNAMIC 0x001000 0x0000000000204000 0x0000000000204000 0x000090 0x000090 RW 0…
116 PART1-NEXT: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0…
167 PART2-NEXT: LOAD 0x001000 0x0000000000207000 0x0000000000207000 0x000090 0x000090 RW 0…
168 PART2-NEXT: LOAD 0x002000 0x0000000000208000 0x0000000000208000 0x000000 0x000010 RW 0…
[all …]
/external/llvm/test/tools/llvm-readobj/
Dgnu-phdrs.test28 ELF32-NEXT: LOAD 0x000ef0 0x08049ef0 0x08049ef0 0x00128 0x00140 RW 0x1000
29 ELF32-NEXT: DYNAMIC 0x000f08 0x08049f08 0x08049f08 0x000e8 0x000e8 RW 0x4
33 ELF32-NEXT: GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
59 ELF64-NEXT: LOAD 0x000db4 0x0000000000600db4 0x0000000000600db4 0x000274 0x0002a4 RW 0…
60 ELF64-NEXT: DYNAMIC 0x000dd0 0x0000000000600dd0 0x0000000000600dd0 0x000210 0x000210 RW 0…
64 ELF64-NEXT: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0…
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cpp111 else if (type_ == RW) in Init()
134 else if (type_ == RW) in Destroy()
146 else if (type_ == RW) in Lock()
158 else if (type_ == RW) in TryLock()
171 else if (type_ == RW) in Unlock()
177 CHECK(type_ == RW); in ReadLock()
183 CHECK(type_ == RW); in TryReadLock()
189 CHECK(type_ == RW); in ReadUnlock()
/external/llvm-project/llvm/test/tools/llvm-objdump/XCOFF/
Ddisassemble-symbol-description.test48 RELOC: 00000084: R_POS (idx: 24) a[RW]
52 RELOC: 00000088: R_POS (idx: 28) b[RW]
69 DESC: 000000a0 (idx: 28) b[RW]:
73 DESC: 000000a4 (idx: 24) a[RW]:
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc155 else if (type_ == RW) in Init()
178 else if (type_ == RW) in Destroy()
190 else if (type_ == RW) in Lock()
202 else if (type_ == RW) in TryLock()
215 else if (type_ == RW) in Unlock()
221 CHECK(type_ == RW); in ReadLock()
227 CHECK(type_ == RW); in TryReadLock()
233 CHECK(type_ == RW); in ReadUnlock()

12345678910>>...18