Home
last modified time | relevance | path

Searched full:acl (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/external/ComputeLibrary/tests/validation/fixtures/UNIT/
DTensorFixture.h27 #include "arm_compute/Acl.hpp"
68 template <acl::Target Target>
74 acl::Context ctx(Target); in setup()
103 * - Call AclDestroyTensor on an ACL object other than AclTensor
107 template <acl::Target Target>
113 acl::Context ctx(Target); in setup()
134 template <acl::Target Target>
140 acl::StatusCode err = acl::StatusCode::Success; in setup()
141 acl::Context ctx(Target, &err); in setup()
143 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in setup()
[all …]
DTensorPackFixture.h27 #include "arm_compute/Acl.hpp"
68 * - Call AclDestroyTensorPack on an ACL object other than AclTensorPack
72 template <acl::Target Target>
78 acl::Context ctx(Target); in setup()
101 template <acl::Target Target>
107 auto err = acl::StatusCode::Success; in setup()
109 acl::Context ctx(Target, &err); in setup()
110 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in setup()
112 acl::TensorPack pack(ctx, &err); in setup()
113 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in setup()
[all …]
DQueueFixture.h27 #include "arm_compute/Acl.hpp"
68 template <acl::Target Target>
74 acl::Context ctx(Target); in setup()
95 * - Call AclDestroyQueue on an ACL object other than AclQueue
99 template <acl::Target Target>
105 acl::Context ctx(Target); in setup()
126 template <acl::Target Target>
132 acl::StatusCode err = acl::StatusCode::Success; in setup()
134 acl::Context ctx(Target, &err); in setup()
135 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in setup()
[all …]
/external/cronet/base/win/
Daccess_control_list_unittest.cc56 std::wstring ConvertAclToSddl(const AccessControlList& acl, in ConvertAclToSddl() argument
61 CHECK(::SetSecurityDescriptorSacl(&sd, TRUE, acl.get(), FALSE)); in ConvertAclToSddl()
63 CHECK(::SetSecurityDescriptorDacl(&sd, TRUE, acl.get(), FALSE)); in ConvertAclToSddl()
84 ACL dummy_acl = {}; in TEST()
93 AccessControlList::FromPACL(reinterpret_cast<ACL*>(compare_acl.data())); in TEST()
99 auto acl = AccessControlList::FromMandatoryLabel(0, 0, 0); in TEST() local
100 ASSERT_TRUE(acl); in TEST()
101 EXPECT_EQ(ConvertAclToSddl(*acl, true), kUntrustedLabel); in TEST()
102 acl = AccessControlList::FromMandatoryLabel(SECURITY_MANDATORY_SYSTEM_RID, 0, in TEST()
104 ASSERT_TRUE(acl); in TEST()
[all …]
Daccess_control_list.cc23 std::unique_ptr<uint8_t[]> AclToBuffer(const ACL* acl) { in AclToBuffer() argument
24 if (!acl) { in AclToBuffer()
27 size_t size = acl->AclSize; in AclToBuffer()
28 DCHECK(size >= sizeof(*acl)); in AclToBuffer()
30 memcpy(ptr.get(), acl, size); in AclToBuffer()
35 ACL acl = {}; in EmptyAclToBuffer() local
36 acl.AclRevision = ACL_REVISION; in EmptyAclToBuffer()
37 acl.AclSize = static_cast<WORD>(sizeof(acl)); in EmptyAclToBuffer()
38 return AclToBuffer(&acl); in EmptyAclToBuffer()
55 ACL* old_acl, in AddACEToAcl()
[all …]
Daccess_control_list.h20 // Represents the type of access operation to perform on an ACL.
23 // Class to represent an entry to modify the ACL.
55 // object can contain a null ACL which grants everyone access to a resource. A
56 // null ACL is distinct from an empty ACL which grants no-one access. An empty
57 // ACL is the default when constructing a new instance.
60 // Create from an existing ACL pointer.
61 // |acl| The ACL pointer. Passing nullptr will create a null ACL.
62 static absl::optional<AccessControlList> FromPACL(ACL* acl);
80 // Set one or more entry in the ACL.
81 // |entries| the list of entries to set in the ACL.
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DAclAttributeProvider.java35 * Attribute provider that provides the {@link AclFileAttributeView} ("acl").
41 private static final ImmutableSet<String> ATTRIBUTES = ImmutableSet.of("acl");
49 return "acl"; in name()
64 Object userProvidedAcl = userProvidedDefaults.get("acl:acl"); in defaultValues()
66 ImmutableList<AclEntry> acl = DEFAULT_ACL; in defaultValues() local
68 acl = toAcl(checkType("acl", "acl", userProvidedAcl, List.class)); in defaultValues()
71 return ImmutableMap.of("acl:acl", acl); in defaultValues()
77 if (attribute.equals("acl")) { in get()
78 return file.getAttribute("acl", "acl"); in get()
86 if (attribute.equals("acl")) { in set()
[all …]
/external/ltp/testcases/network/nfsv4/acl/
Dacl1.c3 * ACL testing basic program
4 * Purpose: setting an acl on a file a verifies that the accesses are right
24 #include <sys/acl.h>
31 /* the "typical" acl used for the test */
74 /* acl with user entries used for the test */
79 acl_t acl; in test_acl_user_create() local
80 acl = acl_from_text(acl_text); in test_acl_user_create()
81 return acl; in test_acl_user_create()
84 /* acl with group entries used for the test */
90 acl_t acl; in test_acl_grp_create() local
[all …]
Dtest_acl.py18 # set default acl on the test directory
21 acl=[]
26 acl.append(name,entry)
29 # get the file's ACL and verify
43 if acl2[i] == acl[j]:
51 path = '/mnt/nfs/test-acl'
64 print("test acl 10000\n")
66 f = open('/tmp/acl-result-10000','w')
67 path = '/mnt/nfs/test-acl'
87 path = '/mnt/nfs/test-acl' # NFS mounted directory
[all …]
DREADME1 ACL testing
5 Testing ACL conformance, ACL limits, and ACL robustness
8 ACL support must be present on the remote host
9 attr and acl packages must be install for the stestsuite to build/run.
12 acl1: verify the conformance ok access regarding the ACL of files and directory.
13 stress: multiprocess application to stress the ACL
Druntest5 # runtests script for ACL testing
7 MAXLENGTH=30 # maximum ACL length - NB: the current NFSv4 acl implementation does not allow ACL gre…
8 NFSMNTDIR=/mnt/nfs-acl
27 echo "Starting ACL testing"
52 echo "LONG ACL TEST"
59 echo "Long ACL test OK with $MAXLENGTH entries"
60 echo "ACL STRESSING TEST"
/external/armnn/build-tool/scripts/
Dbuild-armnn.sh8 # Script which builds Arm NN and ACL
33 # Force -fPIC so that ACL is suitable for inclusion in Arm NN library
50 echo -e "\n***** Building ACL for $TARGET_ARCH *****"
53 echo -e "\n***** Clean flag detected: removing existing ACL build *****"
67 echo -e "\n***** Built ACL for $TARGET_ARCH *****"
169 # First get Arm NN branch so that we can download corresponding ACL tag
173 echo -e "\n***** Downloading corresponding ACL version using Arm NN branch: $armnn_branch *****"
179 git clone https://github.com/ARM-software/ComputeLibrary.git acl
181 # Get corresponding release tag for ACL by parsing release branch number for Arm NN
188 echo -e "\n***** ACL Downloaded: $acl_tag *****"
[all …]
/external/perfetto/infra/luci/
Dmain.star37 acl.entry(
39 acl.BUILDBUCKET_READER,
40 acl.LOGDOG_READER,
41 acl.PROJECT_CONFIGS_READER,
42 acl.SCHEDULER_READER,
46 acl.entry(roles = acl.SCHEDULER_OWNER, groups = "mdb/perfetto-cloud-infra"),
47 acl.entry([acl.LOGDOG_WRITER], groups = ["luci-logdog-chromium-writers"]),
66 acl.entry(
67 roles = [acl.BUILDBUCKET_TRIGGERER],
70 acl.entry(
[all …]
/external/libyuv/infra/config/
Dmain.star55 acl.entry(acl.PROJECT_CONFIGS_READER, groups = ["all"]),
56 acl.entry(acl.LOGDOG_READER, groups = ["all"]),
57 acl.entry(acl.LOGDOG_WRITER, groups = ["luci-logdog-chromium-writers"]),
58 acl.entry(acl.SCHEDULER_READER, groups = ["all"]),
59 acl.entry(acl.SCHEDULER_OWNER, groups = ["project-libyuv-admins"]),
60 acl.entry(acl.BUILDBUCKET_READER, groups = ["all"]),
61 acl.entry(acl.BUILDBUCKET_OWNER, groups = ["project-libyuv-admins"]),
151 acl.entry(acl.CQ_COMMITTER, groups = ["project-libyuv-committers"]),
152 acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-libyuv-tryjob-access"]),
167 acl.entry(acl.CQ_COMMITTER, groups = ["project-libyuv-committers"]),
[all …]
/external/ComputeLibrary/tests/validation/cpu/unit/
DTensor.cpp37 …reateTensorWithInvalidDescriptor, CreateTensorWithInvalidDescriptorFixture<acl::Target::Cpu>, fram…
38 EMPTY_BODY_FIXTURE_TEST_CASE(DestroyInvalidTensor, DestroyInvalidTensorFixture<acl::Target::Cpu>, f…
39 EMPTY_BODY_FIXTURE_TEST_CASE(SimpleTensor, SimpleTensorFixture<acl::Target::Cpu>, framework::Datase…
40 EMPTY_BODY_FIXTURE_TEST_CASE(TensorStress, TensorStressFixture<acl::Target::Cpu>, framework::Datase…
41 EMPTY_BODY_FIXTURE_TEST_CASE(MapInvalidTensor, MapInvalidTensorFixture<acl::Target::Cpu>, framework…
42 EMPTY_BODY_FIXTURE_TEST_CASE(MapNotAllocatedTensor, MapNotAllocatedTensorFixture<acl::Target::Cpu>,…
43 EMPTY_BODY_FIXTURE_TEST_CASE(MapAllocatedTensor, MapAllocatedTensorFixture<acl::Target::Cpu>, frame…
44 EMPTY_BODY_FIXTURE_TEST_CASE(ImportMemory, ImportMemoryFixture<acl::Target::Cpu>, framework::Datase…
45 EMPTY_BODY_FIXTURE_TEST_CASE(GetSize, TensorSizeFixture<acl::Target::Cpu>, framework::DatasetMode::…
46 EMPTY_BODY_FIXTURE_TEST_CASE(GetInvalidSize, InvalidTensorSizeFixture<acl::Target::Cpu>, framework:…
[all …]
/external/ComputeLibrary/tests/validation/gpu/unit/
DTensor.cpp37 …reateTensorWithInvalidDescriptor, CreateTensorWithInvalidDescriptorFixture<acl::Target::GpuOcl>, f…
38 EMPTY_BODY_FIXTURE_TEST_CASE(DestroyInvalidTensor, DestroyInvalidTensorFixture<acl::Target::GpuOcl>…
39 EMPTY_BODY_FIXTURE_TEST_CASE(SimpleTensor, SimpleTensorFixture<acl::Target::GpuOcl>, framework::Dat…
40 EMPTY_BODY_FIXTURE_TEST_CASE(TensorStress, TensorStressFixture<acl::Target::GpuOcl>, framework::Dat…
41 EMPTY_BODY_FIXTURE_TEST_CASE(MapInvalidTensor, MapInvalidTensorFixture<acl::Target::GpuOcl>, framew…
42 EMPTY_BODY_FIXTURE_TEST_CASE(MapAllocatedTensor, MapAllocatedTensorFixture<acl::Target::GpuOcl>, fr…
43 EMPTY_BODY_FIXTURE_TEST_CASE(GetSize, TensorSizeFixture<acl::Target::GpuOcl>, framework::DatasetMod…
44 EMPTY_BODY_FIXTURE_TEST_CASE(GetInvalidSize, InvalidTensorSizeFixture<acl::Target::GpuOcl>, framewo…
45 EMPTY_BODY_FIXTURE_TEST_CASE(GetDescriptor, DescriptorConversionFixture<acl::Target::GpuOcl>, frame…
46 EMPTY_BODY_FIXTURE_TEST_CASE(GetInvalidDescriptor, InvalidDescriptorConversionFixture<acl::Target::…
DQueue.cpp40 …CASE(CreateQueuerWithInvalidOptions, CreateQueuerWithInvalidOptionsFixture<acl::Target::GpuOcl>, f… in TEST_SUITE()
41 EMPTY_BODY_FIXTURE_TEST_CASE(DestroyInvalidQueue, DestroyInvalidQueueFixture<acl::Target::GpuOcl>, … in TEST_SUITE()
42 EMPTY_BODY_FIXTURE_TEST_CASE(SimpleQueue, SimpleQueueFixture<acl::Target::GpuOcl>, framework::Datas… in TEST_SUITE()
46 acl::StatusCode err = acl::StatusCode::Success; in TEST_SUITE()
48 acl::Context ctx(acl::Target::GpuOcl, &err); in TEST_SUITE()
49 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in TEST_SUITE()
51 acl::Queue queue(ctx, &err); in TEST_SUITE()
52 ARM_COMPUTE_ASSERT(err == acl::StatusCode::Success); in TEST_SUITE()
/external/pigweed/pw_bluetooth_sapphire/host/l2cap/
Dtest_packets.cc28 // ACL data header (handle, length: 10) in AclExtFeaturesInfoReq()
34 // L2CAP B-frame header (length: 6, chanel-id: 0x0001 (ACL sig)) in AclExtFeaturesInfoReq()
55 // ACL data header (handle: |link_handle|, length: 10 bytes) in AclCommandRejectNotUnderstoodRsp()
60 // L2CAP B-frame header (length: 6 bytes, channel-id: 0x0001 (ACL sig)) in AclCommandRejectNotUnderstoodRsp()
80 // ACL data header (handle: |link_handle|, length: 16 bytes) in AclExtFeaturesInfoRsp()
85 // L2CAP B-frame header (length: 12 bytes, channel-id: 0x0001 (ACL sig)) in AclExtFeaturesInfoRsp()
111 // ACL data header (handle, length: 10) in AclFixedChannelsSupportedInfoReq()
117 // L2CAP B-frame header (length: 6, chanel-id: 0x0001 (ACL sig)) in AclFixedChannelsSupportedInfoReq()
141 // ACL data header (handle: |link_handle|, length: 20 bytes) in AclFixedChannelsSupportedInfoRsp()
146 // L2CAP B-frame header (length: 16 bytes, channel-id: 0x0001 (ACL sig)) in AclFixedChannelsSupportedInfoRsp()
[all …]
/external/libcups/scheduler/
Dcert.c16 # include <sys/acl.h>
87 acl_t acl; /* ACL information */ in cupsdAddCert() local
88 acl_entry_t entry; /* ACL entry */ in cupsdAddCert()
122 acl = acl_init(NumSystemGroups - 1); in cupsdAddCert()
127 * Add each group ID to the ACL... in cupsdAddCert()
137 acl_create_entry(&acl, &entry); in cupsdAddCert()
152 acl = acl_init(NumSystemGroups + 3); in cupsdAddCert()
155 acl_create_entry(&acl, &entry); in cupsdAddCert()
162 acl_create_entry(&acl, &entry); in cupsdAddCert()
169 acl_create_entry(&acl, &entry); in cupsdAddCert()
[all …]
/external/swiftshader/infra/config/
Dmain.star9 acl.entry(
10 acl.PROJECT_CONFIGS_READER,
24 acl.entry(
25 acl.CQ_COMMITTER,
29 acl.entry(
30 acl.CQ_DRY_RUNNER,
34 acl.entry(
35 roles = acl.CQ_NEW_PATCHSET_RUN_TRIGGERER,
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DAclAttributeProviderTest.java82 return ImmutableMap.of("acl:acl", defaultAcl); in createDefaultValues()
87 assertThat(provider.get(file, "acl")).isEqualTo(defaultAcl); in testInitialAttributes()
92 assertSetAndGetSucceeds("acl", ImmutableList.of()); in testSet()
93 assertSetFailsOnCreate("acl", ImmutableList.of()); in testSet()
94 assertSetFails("acl", ImmutableSet.of()); in testSet()
95 assertSetFails("acl", ImmutableList.of("hello")); in testSet()
107 assertThat(view.name()).isEqualTo("acl"); in testView()
117 assertThat(file.getAttribute("acl", "acl")).isEqualTo(ImmutableList.<AclEntry>of()); in testView()
/external/autotest/cli/
Duser.py57 [--acl <ACL>|--access_level <n>]"""
61 self.parser.add_option('-a', '--acl',
62 help='Only list users within this ACL')
70 self.acl = options.acl
78 if self.acl:
79 filters['aclgroup__name__in'] = [self.acl]
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB23708487.input4 com.google.security.acl.proto2api.ACL.Entry.newBuilder()
5 .setRole(com.google.security.acl.proto2api.ACL.Entry.ROLE.OWNER.getNumber())
6 .setScope(com.google.security.acl.proto2api.ACL.Scope.newBuilder()
DB23708487.output4 com.google.security.acl.proto2api.ACL.Entry.newBuilder()
5 .setRole(com.google.security.acl.proto2api.ACL.Entry.ROLE.OWNER.getNumber())
7 com.google.security.acl.proto2api.ACL.Scope.newBuilder()
/external/armnn/scripts/
Dget_compute_library.sh16 …echo -e "get_compute_library.sh: Clones the Arm Compute Library (ACL) repo from the ML Platform se…
17 …the pinned version of ACL based on the SHA string defined at the top of this script (DEFAULT_CLFRA…
18 If the ACL repo already exists, this script will skip cloning and only checkout the relevant SHA.
19 …The pinned ACL version is a known version that works correctly with the version of Arm NN being us…
21 …During release periods, the ACL pin will point to an ACL release branch which exists on the ML Pla…
26 …echo "Usage: $CMD -n Name of the directory into which the ACL repo will be cloned, default is 'clf…
74 # Default ACL repo directory name is 'clframework'
96 # If the target ACL revision includes a branch we also need to do a pull.
100 AssertZeroExitCode "ACL reference includes a branch but git pull failed."

12345678910>>...27