Home
last modified time | relevance | path

Searched refs:access_mode (Results 1 – 25 of 47) sorted by relevance

12

/external/v8/src/compiler/
Daccess-info.cc56 std::ostream& operator<<(std::ostream& os, AccessMode access_mode) { in operator <<() argument
57 switch (access_mode) { in operator <<()
152 AccessMode access_mode, Zone* zone) { in Merge() argument
168 switch (access_mode) { in Merge()
254 Handle<Map> map, AccessMode access_mode, ElementAccessInfo* access_info) { in ComputeElementAccessInfo() argument
263 MapHandles const& maps, AccessMode access_mode, in ComputeElementAccessInfos() argument
265 if (access_mode == AccessMode::kLoad) { in ComputeElementAccessInfos()
313 if (!ComputeElementAccessInfo(receiver_map, access_mode, &access_info)) { in ComputeElementAccessInfos()
332 Handle<Map> map, Handle<Name> name, AccessMode access_mode, in ComputePropertyAccessInfo() argument
344 if (access_mode == AccessMode::kLoad && in ComputePropertyAccessInfo()
[all …]
Djs-native-context-specialization.h83 AccessMode access_mode,
88 AccessMode access_mode,
94 AccessMode access_mode);
97 Handle<Name> name, AccessMode access_mode,
100 Handle<Name> name, AccessMode access_mode,
130 AccessMode access_mode);
143 AccessMode access_mode);
164 ElementAccessInfo const& access_info, AccessMode access_mode,
Daccess-info.h90 bool Merge(PropertyAccessInfo const* that, AccessMode access_mode,
148 bool ComputeElementAccessInfo(Handle<Map> map, AccessMode access_mode,
150 bool ComputeElementAccessInfos(MapHandles const& maps, AccessMode access_mode,
153 AccessMode access_mode,
156 AccessMode access_mode,
159 AccessMode access_mode,
Djs-native-context-specialization.cc557 AccessMode access_mode, Node* index) { in ReduceGlobalAccess() argument
573 if (access_mode == AccessMode::kStore) { in ReduceGlobalAccess()
606 if (access_mode == AccessMode::kLoad) { in ReduceGlobalAccess()
663 DCHECK_EQ(AccessMode::kStore, access_mode); in ReduceGlobalAccess()
802 AccessMode access_mode, Node* index) { in ReduceNamedAccess() argument
825 return ReduceGlobalAccess(node, receiver, value, name, access_mode, in ReduceNamedAccess()
837 receiver_maps, name, access_mode, &access_infos)) { in ReduceNamedAccess()
903 if_exceptions, access_info, access_mode); in ReduceNamedAccess()
1010 this_control, name, if_exceptions, access_info, access_mode); in ReduceNamedAccess()
1062 AccessMode access_mode) { in ReduceNamedAccessFromNexus() argument
[all …]
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc41 MojoPlatformSharedMemoryRegionAccessMode access_mode; in WrapPlatformSharedMemoryRegion() local
44 access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_READ_ONLY; in WrapPlatformSharedMemoryRegion()
47 access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_WRITABLE; in WrapPlatformSharedMemoryRegion()
50 access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_UNSAFE; in WrapPlatformSharedMemoryRegion()
93 access_mode, nullptr, &mojo_handle); in WrapPlatformSharedMemoryRegion()
110 MojoPlatformSharedMemoryRegionAccessMode access_mode; in UnwrapPlatformSharedMemoryRegion() local
113 &num_platform_handles, &size, &mojo_guid, &access_mode); in UnwrapPlatformSharedMemoryRegion()
143 if (access_mode == MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_WRITABLE) { in UnwrapPlatformSharedMemoryRegion()
161 switch (access_mode) { in UnwrapPlatformSharedMemoryRegion()
254 MojoPlatformSharedMemoryRegionAccessMode access_mode = in WrapSharedMemoryHandle() local
[all …]
Dbuffer.cc19 SharedBufferHandle::AccessMode access_mode) const { in Clone()
26 if (access_mode == AccessMode::READ_ONLY) in Clone()
Dbuffer.h63 ScopedSharedBufferHandle Clone(AccessMode access_mode) const;
/external/v8/src/heap/
Dslot-set.h58 template <AccessMode access_mode = AccessMode::ATOMIC>
62 Bucket bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert()
65 if (!SwapInNewBucket<access_mode>(&buckets_[bucket_index], bucket)) { in Insert()
67 bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert()
73 DCHECK_EQ(bucket, LoadBucket<access_mode>(&buckets_[bucket_index])); in Insert()
75 if ((LoadCell<access_mode>(&bucket[cell_index]) & mask) == 0) { in Insert()
76 SetCellBits<access_mode>(&bucket[cell_index], mask); in Insert()
309 template <AccessMode access_mode = AccessMode::ATOMIC>
311 if (access_mode == AccessMode::ATOMIC) in LoadBucket()
316 template <AccessMode access_mode = AccessMode::ATOMIC>
[all …]
Dmark-compact.h29 template <typename ConcreteState, AccessMode access_mode>
47 return Marking::IsImpossible<access_mode>(MarkBitFrom(obj)); in IsImpossible()
51 return Marking::IsBlack<access_mode>(MarkBitFrom(obj)); in IsBlack()
55 return Marking::IsWhite<access_mode>(MarkBitFrom(obj)); in IsWhite()
59 return Marking::IsGrey<access_mode>(MarkBitFrom(obj)); in IsGrey()
63 return Marking::IsBlackOrGrey<access_mode>(MarkBitFrom(obj)); in IsBlackOrGrey()
67 return Marking::WhiteToGrey<access_mode>(MarkBitFrom(obj)); in WhiteToGrey()
77 if (!Marking::GreyToBlack<access_mode>(markbit)) return false; in GreyToBlack()
Dspaces.h490 template <RememberedSetType type, AccessMode access_mode = AccessMode::ATOMIC>
492 if (access_mode == AccessMode::ATOMIC) in slot_set()
497 template <RememberedSetType type, AccessMode access_mode = AccessMode::ATOMIC>
499 if (access_mode == AccessMode::ATOMIC) in typed_slot_set()
569 template <AccessMode access_mode = AccessMode::NON_ATOMIC>
571 if (access_mode == AccessMode::NON_ATOMIC) { in SetFlag()
578 template <AccessMode access_mode = AccessMode::NON_ATOMIC>
580 return (GetFlags<access_mode>() & flag) != 0; in IsFlagSet()
591 template <AccessMode access_mode = AccessMode::NON_ATOMIC>
593 if (access_mode == AccessMode::NON_ATOMIC) { in GetFlags()
[all …]
Dremembered-set.h25 template <AccessMode access_mode = AccessMode::ATOMIC>
28 SlotSet* slot_set = chunk->slot_set<type, access_mode>(); in Insert()
33 slot_set[offset / Page::kPageSize].Insert<access_mode>(offset % in Insert()
/external/libchrome/mojo/core/
Dshared_buffer_dispatcher.cc33 uint32_t access_mode; member
146 if (serialized_state->access_mode == in Deserialize()
165 switch (serialized_state->access_mode) { in Deserialize()
333 serialized_state->access_mode = in EndSerialize()
337 serialized_state->access_mode = in EndSerialize()
341 serialized_state->access_mode = in EndSerialize()
Dentrypoints.cc266 MojoPlatformSharedMemoryRegionAccessMode access_mode, in MojoWrapPlatformSharedMemoryRegionImpl() argument
270 platform_handles, num_platform_handles, num_bytes, guid, access_mode, in MojoWrapPlatformSharedMemoryRegionImpl()
281 MojoPlatformSharedMemoryRegionAccessMode* access_mode) { in MojoUnwrapPlatformSharedMemoryRegionImpl() argument
284 guid, access_mode); in MojoUnwrapPlatformSharedMemoryRegionImpl()
Dplatform_wrapper_unittest.cc177 MojoPlatformSharedMemoryRegionAccessMode access_mode; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
180 &num_handles, &size, &mojo_guid, &access_mode)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
181 EXPECT_EQ(MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_UNSAFE, access_mode); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dcore.cc1043 MojoPlatformSharedMemoryRegionAccessMode access_mode, in WrapPlatformSharedMemoryRegion() argument
1050 if (access_mode == MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_WRITABLE) { in WrapPlatformSharedMemoryRegion()
1073 switch (access_mode) { in WrapPlatformSharedMemoryRegion()
1119 MojoPlatformSharedMemoryRegionAccessMode* access_mode) { in UnwrapPlatformSharedMemoryRegion() argument
1146 DCHECK(access_mode); in UnwrapPlatformSharedMemoryRegion()
1149 *access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_READ_ONLY; in UnwrapPlatformSharedMemoryRegion()
1152 *access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_WRITABLE; in UnwrapPlatformSharedMemoryRegion()
1155 *access_mode = MOJO_PLATFORM_SHARED_MEMORY_REGION_ACCESS_MODE_UNSAFE; in UnwrapPlatformSharedMemoryRegion()
/external/libchrome/mojo/public/c/system/
Dplatform_handle.h269 MojoPlatformSharedMemoryRegionAccessMode access_mode,
316 MojoPlatformSharedMemoryRegionAccessMode* access_mode);
Dthunks.cc390 MojoPlatformSharedMemoryRegionAccessMode access_mode, in MojoWrapPlatformSharedMemoryRegion() argument
394 num_platform_handles, num_bytes, guid, access_mode, in MojoWrapPlatformSharedMemoryRegion()
405 MojoPlatformSharedMemoryRegionAccessMode* access_mode) { in MojoUnwrapPlatformSharedMemoryRegion() argument
408 access_mode); in MojoUnwrapPlatformSharedMemoryRegion()
Dthunks.h176 MojoPlatformSharedMemoryRegionAccessMode access_mode,
186 MojoPlatformSharedMemoryRegionAccessMode* access_mode);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java683 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset() argument
693 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
694 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
695 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
696 && access_mode != Asset.AccessMode.ACCESS_BUFFER.mode()) { in nativeOpenAsset()
702 assetmanager.Open(asset_path_utf8, Asset.AccessMode.fromInt(access_mode)); in nativeOpenAsset()
734 int access_mode) throws FileNotFoundException { in nativeOpenNonAsset() argument
744 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenNonAsset()
745 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenNonAsset()
746 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenNonAsset()
[all …]
DShadowArscAssetManager9.java679 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset() argument
689 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
690 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
691 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
692 && access_mode != Asset.AccessMode.ACCESS_BUFFER.mode()) { in nativeOpenAsset()
698 assetmanager.Open(asset_path_utf8, Asset.AccessMode.fromInt(access_mode)); in nativeOpenAsset()
730 int access_mode) throws FileNotFoundException { in nativeOpenNonAsset() argument
740 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenNonAsset()
741 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenNonAsset()
742 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenNonAsset()
[all …]
/external/libbrillo/brillo/streams/
Dfile_stream.cc304 AccessMode access_mode = AccessMode::READ_WRITE; in FromFileDescriptor() local
306 access_mode = AccessMode::READ; in FromFileDescriptor()
308 access_mode = AccessMode::WRITE; in FromFileDescriptor()
323 stream.reset(new FileStream{std::move(fd_interface), access_mode}); in FromFileDescriptor()
/external/libbrillo/brillo/dbus/
Dexported_property_set.cc179 ExportedPropertyBase::Access access_mode) { in SetAccessMode() argument
180 access_mode_ = access_mode; in SetAccessMode()
/external/libusb/libusb/os/
Dpoll_windows.c320 struct winfd usbi_create_fd(HANDLE handle, int access_mode, struct usbi_transfer *itransfer, cancel… in usbi_create_fd() argument
335 if ((access_mode != RW_READ) && (access_mode != RW_WRITE)) { in usbi_create_fd()
340 if (access_mode == RW_READ) { in usbi_create_fd()
/external/python/cpython2/Modules/
Dmmapmodule.c89 } access_mode; typedef
112 access_mode access;
1112 switch ((access_mode)access) { in new_mmap_object()
1227 m_obj->access = (access_mode)access; in new_mmap_object()
1253 int access = (access_mode)ACCESS_DEFAULT; in new_mmap_object()
1265 switch((access_mode)access) { in new_mmap_object()
1401 m_obj->access = (access_mode)access; in new_mmap_object()
/external/python/cpython3/Modules/
Dmmapmodule.c88 } access_mode; typedef
113 access_mode access;
1065 switch ((access_mode)access) { in new_mmap_object()
1180 m_obj->access = (access_mode)access; in new_mmap_object()
1206 int access = (access_mode)ACCESS_DEFAULT; in new_mmap_object()
1218 switch((access_mode)access) { in new_mmap_object()
1355 m_obj->access = (access_mode)access; in new_mmap_object()

12