/external/crosvm/x86_64/src/ |
D | msr.rs | 224 if let Some((rw_type, handler)) = self.handler.get(&index) { in read() 227 if matches!(rw_type, MsrRWType::WriteOnly) { in read() 245 if let Some((rw_type, handler)) = self.handler.get(&index) { in write() 248 if matches!(rw_type, MsrRWType::ReadOnly) { in write() 286 .insert(index, (msr_config.rw_type, msr_handler)); in add_handler() 301 .insert(index, (msr_config.rw_type, msr_handler)); in add_handler() 320 match config.rw_type { in get_override_msr_list()
|
D | lib.rs | 2143 rw_type: msr.1, in insert_msrs()
|
/external/python/cpython2/Lib/test/ |
D | test_memoryview.py | 27 return filter(None, [self.ro_type, self.rw_type]) 82 if not self.rw_type: 84 tp = self.rw_type 85 b = self.rw_type(self._source) 194 if not self.rw_type: 196 m = self.check_attributes_with_type(self.rw_type) 254 rw_type = bytearray variable in BaseBytesMemoryTests
|
/external/python/cpython3/Lib/test/ |
D | test_memoryview.py | 29 return filter(None, [self.ro_type, self.rw_type]) 77 if not self.rw_type: 79 tp = self.rw_type 80 b = self.rw_type(self._source) 201 if not self.rw_type: 203 m = self.check_attributes_with_type(self.rw_type) 337 tp = self.rw_type 406 rw_type = bytearray variable in BaseBytesMemoryTests 413 rw_type = lambda self, b: array.array('i', list(b)) member in BaseArrayMemoryTests
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 13 -int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, si… 37 +static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pr…
|
/external/f2fs-tools/tools/ |
D | f2fs_io_parse.c | 46 enum rw_type { enum
|
/external/crosvm/src/crosvm/ |
D | config.rs | 566 pub rw_type: MsrRWType, field 591 rw_type: options.rw_type, in parse_userspace_msr_options() 2136 assert_eq!(pass_cpu0_cfg.rw_type, MsrRWType::WriteOnly); in parse_userspace_msr_options_test() 2143 assert_eq!(pass_cpu0_cfg.rw_type, MsrRWType::ReadOnly); in parse_userspace_msr_options_test() 2150 assert_eq!(pass_cpus_cfg.rw_type, MsrRWType::ReadWrite); in parse_userspace_msr_options_test() 2157 assert_eq!(pass_cpus_cfg.rw_type, MsrRWType::ReadWrite); in parse_userspace_msr_options_test()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | legalize_hlo.cc | 2525 const RankedTensorType rw_type = in matchAndRewrite() local 2527 if (!rw_type || !rw_type.getElementType().isa<FloatType>() || in matchAndRewrite() 2528 rw_type.getRank() <= 3 || rw_type.getRank() > 5) in matchAndRewrite() 2533 if (div_op.getType() != rw_type) return failure(); in matchAndRewrite() 2642 const RankedTensorType rw_type = in matchAndRewrite() local 2644 if (!rw_type || !rw_type.getElementType().isa<FloatType>() || in matchAndRewrite() 2645 rw_type.getRank() <= 3 || rw_type.getRank() > 5) in matchAndRewrite()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 267 static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pro… 342 int rw_type, int lck_type, int probe, size_t len) in tdb_brlock() argument 351 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { in tdb_brlock() 356 fl.l_type = rw_type; in tdb_brlock() 374 tdb->fd, offset, rw_type, lck_type, (int)len)); in tdb_brlock() 1577 int rw_type EXT2FS_ATTR((unused)), in transaction_brlock()
|
/external/crosvm/arch/src/ |
D | lib.rs | 1322 pub rw_type: MsrRWType, field
|