Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission.cc142 const int access_mode = flags & O_ACCMODE; in CheckOpen() local
143 if (access_mode != O_RDONLY && access_mode != O_WRONLY && in CheckOpen()
144 access_mode != O_RDWR) { in CheckOpen()
149 if (!allow_read_ && (access_mode == O_RDONLY || access_mode == O_RDWR)) { in CheckOpen()
154 if (!allow_write_ && (access_mode == O_WRONLY || access_mode == O_RDWR)) { in CheckOpen()
/external/autotest/client/site_tests/security_Minijail_seccomp/src/
Dopen.c23 unsigned int access_mode = strtoul(argv[1], NULL, 0); in main() local
24 if (access_mode < 0 || access_mode > 2) { in main()
32 switch (access_mode) { in main()
/external/v8/src/compiler/
Daccess-info.cc48 std::ostream& operator<<(std::ostream& os, AccessMode access_mode) { in operator <<() argument
49 switch (access_mode) { in operator <<()
144 Handle<Map> map, AccessMode access_mode, ElementAccessInfo* access_info) { in ComputeElementAccessInfo() argument
154 if (access_mode == AccessMode::kStore && map->prototype()->IsJSObject()) { in ComputeElementAccessInfo()
176 MapHandleList const& maps, AccessMode access_mode, in ComputeElementAccessInfos() argument
208 if (!ComputeElementAccessInfo(receiver_map, access_mode, &access_info)) { in ComputeElementAccessInfos()
227 Handle<Map> map, Handle<Name> name, AccessMode access_mode, in ComputePropertyAccessInfo() argument
236 if (access_mode == AccessMode::kLoad && in ComputePropertyAccessInfo()
248 if (access_mode == AccessMode::kStore) { in ComputePropertyAccessInfo()
285 if (access_mode == AccessMode::kStore) return false; in ComputePropertyAccessInfo()
[all …]
Daccess-info.h126 bool ComputeElementAccessInfo(Handle<Map> map, AccessMode access_mode,
129 AccessMode access_mode,
132 AccessMode access_mode,
135 AccessMode access_mode,
Djs-native-context-specialization.h60 AccessMode access_mode,
65 AccessMode access_mode,
70 Handle<Name> name, AccessMode access_mode,
Djs-native-context-specialization.cc58 Handle<Name> name, AccessMode access_mode, LanguageMode language_mode, in ReduceNamedAccess() argument
81 receiver_maps, name, access_mode, &access_infos)) { in ReduceNamedAccess()
197 DCHECK_EQ(AccessMode::kLoad, access_mode); in ReduceNamedAccess()
208 if (access_mode == AccessMode::kStore) { in ReduceNamedAccess()
246 if (access_mode == AccessMode::kLoad && in ReduceNamedAccess()
258 if (access_mode == AccessMode::kLoad) { in ReduceNamedAccess()
274 DCHECK_EQ(AccessMode::kStore, access_mode); in ReduceNamedAccess()
484 AccessMode access_mode, LanguageMode language_mode, in ReduceElementAccess() argument
508 if (!access_info_factory.ComputeElementAccessInfos(receiver_maps, access_mode, in ReduceElementAccess()
671 if (access_mode == AccessMode::kStore && in ReduceElementAccess()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu.c97 void brw_set_access_mode( struct brw_compile *p, GLuint access_mode ) in brw_set_access_mode() argument
99 p->current->header.access_mode = access_mode; in brw_set_access_mode()
Dbrw_disasm.c236 char *access_mode[2] = { variable
532 if (inst->header.access_mode == BRW_ALIGN_1) in dest()
908 else if (inst->header.access_mode == BRW_ALIGN_1) in src0()
968 else if (inst->header.access_mode == BRW_ALIGN_1) in src1()
1072 if (inst->header.access_mode == BRW_ALIGN_1) in brw_disasm()
1312 err |= control(file, "access mode", access_mode, inst->header.access_mode, &space); in brw_disasm()
Dbrw_eu_emit.c120 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_dest()
138 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_dest()
263 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_src0()
275 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_src0()
283 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_src0()
345 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_src1()
354 if (insn->header.access_mode == BRW_ALIGN_1) { in brw_set_src1()
775 assert(insn->header.access_mode == BRW_ALIGN_16); in brw_alu3()
Dbrw_optimize.c434 inst->header.access_mode == BRW_ALIGN_1 && in brw_is_grf_straight_write()
638 insn->header.access_mode != BRW_ALIGN_16 || in is_single_channel_dp4()
Dbrw_eu.h806 void brw_set_access_mode( struct brw_compile *p, GLuint access_mode );
Dbrw_structs.h944 GLuint access_mode:1; member
Dbrw_vs_emit.c1753 if (prev_insn->header.access_mode == BRW_ALIGN_16 && in accumulator_contains()
/external/libbrillo/brillo/dbus/
Dexported_property_set.cc164 ExportedPropertyBase::Access access_mode) { in SetAccessMode() argument
165 access_mode_ = access_mode; in SetAccessMode()
Dexported_property_set.h80 void SetAccessMode(Access access_mode);
/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()
Dfile_stream_unittest.cc150 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream() argument
153 stream_.reset(new FileStream(std::move(fd), access_mode)); in CreateStream()
/external/libmtp/src/
Dptp.h1051 uint8_t access_mode; /* 0 - Managed, 1 - Adhoc */ member
Dptp.c2282 test.access_mode = 1; in ptp_nikon_getwifiprofilelist()
2358 buffer[0x44] = profile->access_mode; in ptp_nikon_writewifiprofile()