Home
last modified time | relevance | path

Searched refs:ReadOnly (Results 1 – 25 of 77) sorted by relevance

1234

/external/clang/test/CodeGenObjC/
Dcontinuation-class.m7 @interface ReadOnly : Object interface
16 @interface ReadOnly () interface in readwrite
21 @implementation ReadOnly implementation
30 ReadOnly *test = [ReadOnly new];
/external/clang/test/SemaObjC/
Dproperty-category-1.m7 @interface ReadOnly : Object interface
16 @interface ReadOnly () interface in readwrite
21 @implementation ReadOnly implementation
31 ReadOnly *test = [ReadOnly new];
Dcontinuation-class-err.m3 @interface ReadOnly interface
13 @interface ReadOnly () interface in readwrite
15 … expected-error {{illegal redeclaration of property in class extension 'ReadOnly' (attribute must …
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission_unittest.cc41 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); in SANDBOX_TEST()
54 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); in SANDBOX_DEATH_TEST()
70 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); in SANDBOX_DEATH_TEST()
78 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); in SANDBOX_DEATH_TEST()
173 TEST(BrokerFilePermission, ReadOnly) { in TEST() argument
175 BrokerFilePermission perm = BrokerFilePermission::ReadOnly(kPath); in TEST()
Dbroker_process_unittest.cc59 permissions.push_back(BrokerFilePermission::ReadOnly("/proc/cpuinfo")); in TEST()
93 permissions.push_back(BrokerFilePermission::ReadOnly(kR_WhiteListed)); in TestOpenFilePerms()
95 BrokerFilePermission::ReadOnly(kR_WhiteListedButDenied)); in TestOpenFilePerms()
312 permissions.push_back(BrokerFilePermission::ReadOnly(kFileCpuInfo)); in TestOpenCpuinfo()
424 permissions.push_back(BrokerFilePermission::ReadOnly(kCpuInfo)); in SANDBOX_TEST()
449 permissions.push_back(BrokerFilePermission::ReadOnly(kCpuInfo)); in TestOpenComplexFlags()
538 permissions.push_back(BrokerFilePermission::ReadOnly(kCpuInfo)); in SANDBOX_TEST_ALLOW_NOISE()
582 permissions.push_back(BrokerFilePermission::ReadOnly("/proc/cpuinfo")); in TEST()
Dbroker_file_permission.h28 static BrokerFilePermission ReadOnly(const std::string& path) { in ReadOnly() function
/external/llvm/include/llvm/MC/
DSectionKind.h34 ReadOnly, enumerator
118 return K == ReadOnly || isMergeableCString() || in isReadOnly()
175 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DSectionKind.h39 ReadOnly, enumerator
141 return K == ReadOnly || isMergeableCString() || in isReadOnly()
209 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly()
/external/swiftshader/third_party/LLVM/include/llvm/
DAttributes.h47 const Attributes ReadOnly = 1<<10; ///< Function only reads from memory variable
92 const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
104 ReadNone | ReadOnly,
DFunction.h229 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
232 if (OnlyReadsMemory) addFnAttr(Attribute::ReadOnly);
233 else removeFnAttr(Attribute::ReadOnly | Attribute::ReadNone);
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp212 B.addAttribute(Attribute::ReadOnly).addAttribute(Attribute::ReadNone); in addReadAttrs()
219 ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone); in addReadAttrs()
483 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone; in determinePointerReadAttrs()
561 R == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg; in addArgumentAttrs()
648 if (K == Attribute::ReadOnly) { in addArgumentAttrs()
649 ReadAttr = Attribute::ReadOnly; in addArgumentAttrs()
659 R.addAttribute(Attribute::ReadOnly).addAttribute(Attribute::ReadNone); in addArgumentAttrs()
665 ReadAttr == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg; in addArgumentAttrs()
DForceFunctionAttrs.cpp50 .Case("readonly", Attribute::ReadOnly) in parseAttrKind()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h318 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory()
321 addFnAttr(Attribute::ReadOnly); in setOnlyReadsMemory()
450 AttributeSets.hasAttribute(n, Attribute::ReadOnly); in onlyReadsMemory()
453 addAttribute(n, Attribute::ReadOnly); in setOnlyReadsMemory()
/external/llvm/include/llvm/IR/
DFunction.h295 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly);
298 addFnAttr(Attribute::ReadOnly);
427 AttributeSets.hasAttribute(n, Attribute::ReadOnly);
430 addAttribute(n, Attribute::ReadOnly);
/external/llvm/test/DebugInfo/
Ddwarfdump-accel.test10 CHECK: DW_AT_name{{.*}}"-[TestInterface ReadOnly]"
32 CHECK: Name:{{.*}}"-[TestInterface ReadOnly]"
/external/clang/test/SemaCXX/
Dbool.cpp8 ReadOnly = true enumerator
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp37 AWI[1] = AttributeWithIndex::get(~0u, Attribute::ReadOnly | in EmitStrLen()
59 AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind); in EmitStrChr()
79 AWI[2] = AttributeWithIndex::get(~0u, Attribute::ReadOnly | in EmitStrNCmp()
164 AWI = AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind); in EmitMemChr()
187 AWI[2] = AttributeWithIndex::get(~0u, Attribute::ReadOnly | in EmitMemCmp()
/external/llvm/test/DebugInfo/Inputs/
Ddwarfdump-objc.m7 @property (readonly) int ReadOnly; property
/external/e2fsprogs/lib/ext2fs/
Dnt_io.c496 IN BOOLEAN ReadOnly, in _OpenDriveLetter() argument
505 return _OpenNtName(Buffer, ReadOnly, Handle, OpenedReadonly); in _OpenDriveLetter()
815 IN BOOLEAN ReadOnly, in _Ext2OpenDevice() argument
840 Status = _OpenDriveLetter(*Name, ReadOnly, Handle, OpenedReadonly); in _Ext2OpenDevice()
866 Status = _OpenNtName(Name, ReadOnly, Handle, OpenedReadonly); in _Ext2OpenDevice()
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h111 enum ArgAttribute { NoCapture, Returned, ReadOnly, WriteOnly, ReadNone }; enumerator
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DFunctionAttrs.cpp214 F->removeAttribute(~0, Attribute::ReadOnly | Attribute::ReadNone); in AddReadAttrs()
217 F->addAttribute(~0, ReadsMemory? Attribute::ReadOnly : Attribute::ReadNone); in AddReadAttrs()
/external/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh59 This script verifies ReadOnly-filesystem, by mounting block device and
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen37 ReadOnly,
94 .Case("readonly", Attribute::ReadOnly)
319 return llvm::Attribute::ReadOnly;
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen37 ReadOnly,
94 .Case("readonly", Attribute::ReadOnly)
319 return llvm::Attribute::ReadOnly;
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen37 ReadOnly,
94 .Case("readonly", Attribute::ReadOnly)
319 return llvm::Attribute::ReadOnly;

1234