/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
D | test_basic.py | 39 from boto.gs.acl import ACL 227 acl = bucket.get_acl() 228 self.assertEqual(len(acl.entries.entry_list), 2) 230 acl = bucket.get_acl() 231 self.assertEqual(len(acl.entries.entry_list), 1) 234 acl = k.get_acl() 235 self.assertEqual(len(acl.entries.entry_list), 2) 237 acl = k.get_acl() 238 self.assertEqual(len(acl.entries.entry_list), 1) 245 acl = ACL() [all …]
|
D | test_generation_conditionals.py | 33 from boto.gs.acl import ACL 235 acl = ACL() 236 h = handler.XmlHandler(acl, b) 238 acl = acl.to_xml() 240 b.set_xml_acl(acl, key_name="foo") 252 b.set_xml_acl(acl, key_name="foo", if_metageneration=123) 255 b.set_xml_acl(acl, key_name="foo", if_generation=int(g2) + 1) 258 b.set_xml_acl(acl, key_name="foo", if_generation=g2, 261 b.set_xml_acl(acl, key_name="foo", if_generation=g2) 269 b.set_xml_acl(acl, key_name="foo", if_generation=g3, [all …]
|
D | test_versioning.py | 29 from boto.gs import acl 147 and e.scope.type == acl.ALL_USERS] 149 and e.scope.type == acl.ALL_USERS] 180 aclo = acl.ACL() 192 and e.scope.type == acl.ALL_USERS] 194 and e.scope.type == acl.ALL_USERS] 229 and e.scope.type == acl.ALL_USERS] 231 and e.scope.type == acl.ALL_USERS]
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_acl.py | 188 acl = self.RunGsUtil(self._get_acl_prefix + [uri_str], 191 self._strip_json_whitespace(acl)) 192 orig_acls.append(acl) 198 acl = self.RunGsUtil(self._get_acl_prefix + [v0_uri_str], 200 self.assertIn(PUBLIC_READ_JSON_ACL_TEXT, self._strip_json_whitespace(acl)) 201 acl = self.RunGsUtil(self._get_acl_prefix + [v1_uri_str], 204 self._strip_json_whitespace(acl)) 208 acl = self.RunGsUtil(self._get_acl_prefix + [uri.uri], return_stdout=True) 209 self.assertEqual(acl, orig_acls[0]) 217 acl = list(AclTranslation.BotoBucketAclToMessage(self.sample_uri.get_acl())) [all …]
|
/external/autotest/cli/ |
D | atest_migrate_host | 43 for acl in old_host_acls: 45 new_acls = new.get_acls(name=acl.name) 49 new_acl = new.create_acl(name=acl.name, description=acl.description) 51 for user in acl.users: 57 if not [a for a in new_host.get_acls() if a.name == acl.name]: 58 new_host.add_acl(acl.name)
|
D | acl_unittest.py | 11 from autotest_lib.cli import acl, cli_mock 16 acl_list = acl.acl_list() 27 acl_list = acl.acl_list() 34 acl_list = acl.acl_list() 41 acl_list = acl.acl_list() 141 acls = acl.acl_create() 150 acls = acl.acl_create() 160 acls = acl.acl_create() 171 acls = acl.acl_create() 271 acls = acl.acl_add()
|
D | acl.py | 23 class acl(topic_common.atest): class 33 super(acl, self).__init__() 51 class acl_help(acl): 57 class acl_list(action_common.atest_list, acl): 140 class acl_create(action_common.atest_create, acl): 165 class acl_delete(action_common.atest_delete, acl): 170 class acl_add_or_remove(acl):
|
D | user.py | 70 self.acl = options.acl 78 if self.acl: 79 filters['aclgroup__name__in'] = [self.acl]
|
D | host.py | 141 self.acl = options.acl 177 if self.acl: 178 filters['aclgroup__name'] = self.acl 497 for acl in self.acls: 499 id=acl,
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | translation_helper.py | 27 from boto.gs.acl import ACL 28 from boto.gs.acl import ALL_AUTHENTICATED_USERS 29 from boto.gs.acl import ALL_USERS 30 from boto.gs.acl import Entries 31 from boto.gs.acl import Entry 32 from boto.gs.acl import GROUP_BY_DOMAIN 33 from boto.gs.acl import GROUP_BY_EMAIL 34 from boto.gs.acl import GROUP_BY_ID 35 from boto.gs.acl import USER_BY_EMAIL 36 from boto.gs.acl import USER_BY_ID [all …]
|
D | tab_complete.py | 24 from boto.gs.acl import CannedACLStrings 76 canned_acls = [acl for acl in CannedACLStrings if acl.startswith(prefix)]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/ |
D | bucket.py | 31 from boto.gs.acl import ACL, CannedACLStrings 32 from boto.gs.acl import SupportedPermissions as GSPermissions 37 from boto.s3.acl import Policy 349 acl = ACL(self) 350 h = handler.XmlHandler(acl, self) 352 return acl 644 acl = self.get_acl(headers=headers) 645 acl.add_email_grant(permission, email_address) 646 self.set_acl(acl, headers=headers) 681 acl = self.get_acl(headers=headers) [all …]
|
D | key.py | 337 acl = self.get_acl() 338 acl.add_email_grant(permission, email_address) 339 self.set_acl(acl) 358 acl = self.get_acl() 359 acl.add_user_grant(permission, user_id) 360 self.set_acl(acl) 379 acl = self.get_acl(headers=headers) 380 acl.add_group_email_grant(permission, email_address) 381 self.set_acl(acl, headers=headers) 400 acl = self.get_acl() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
D | acl.py | 36 self.acl = None 40 for g in self.acl.grants: 61 self.acl = ACL(self) 62 return self.acl 80 s += self.acl.to_xml()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/ |
D | copybot.py | 51 acl = self.src.get_xml_acl() 52 self.dst.set_xml_acl(acl) 56 acl = src.get_xml_acl() 57 dst.set_xml_acl(acl)
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/ |
D | NotOwnerExceptionTest.java | 18 package org.apache.harmony.security.tests.java.security.acl; 20 import java.security.acl.NotOwnerException;
|
D | LastOwnerExceptionTest.java | 18 package org.apache.harmony.security.tests.java.security.acl; 20 import java.security.acl.LastOwnerException;
|
D | AclNotFoundExceptionTest.java | 22 package org.apache.harmony.security.tests.java.security.acl; 24 import java.security.acl.AclNotFoundException;
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/devpay/ |
D | test_s3.py | 151 assert len(policy.acl.grants) == 2 154 assert len(policy.acl.grants) == 1 158 assert len(policy.acl.grants) == 2 161 assert len(policy.acl.grants) == 1
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | acl.py | 417 current_acl = bucket.acl 423 current_acl = gcs_object.acl 437 bucket_metadata = apitools_messages.Bucket(acl=current_acl) 445 object_metadata = apitools_messages.Object(acl=current_acl)
|
/external/autotest/client/common_lib/ |
D | site_utils.py | 192 def gs_upload(local_file, remote_file, acl, result_dir=None, argument 216 if acl in CANNED_ACLS: 217 cmd = '%s cp -a %s %s %s' % (_GSUTIL_BIN, acl, local_file, remote_file) 223 if not os.path.exists(acl): 224 logging.error('Unable to find ACL File %s.', acl) 226 acl_cmd = '%s setacl %s %s' % (_GSUTIL_BIN, acl, remote_file)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/mac/ |
D | determine_if_keychain_entry_is_decryptable.c | 59 SecACLRef acl = (SecACLRef)CFArrayGetValueAtIndex(acl_list, i); in main() local 64 status = SecACLCopyContents(acl, &application_list, &description, in main()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/ |
D | test_connection.py | 171 assert len(policy.acl.grants) == 2 174 assert len(policy.acl.grants) == 1 178 assert len(policy.acl.grants) == 2 181 assert len(policy.acl.grants) == 1
|
/external/webrtc/webrtc/base/ |
D | win32filesystem.cc | 125 PACL acl = reinterpret_cast<PACL>(acl_bytes.get()); in CreatePrivateFile() local 126 memset(acl, 0, acl_size); in CreatePrivateFile() 127 if (!::InitializeAcl(acl, acl_size, ACL_REVISION)) { in CreatePrivateFile() 133 if (!::AddAccessAllowedAce(acl, in CreatePrivateFile() 152 acl, in CreatePrivateFile()
|
/external/tcpdump/ |
D | print-rx.c | 1146 int pos, neg, acl; in acl_print() local 1166 #define ACLOUT(acl) \ in acl_print() argument 1168 acl & PRSFS_READ ? "r" : "", \ in acl_print() 1169 acl & PRSFS_LOOKUP ? "l" : "", \ in acl_print() 1170 acl & PRSFS_INSERT ? "i" : "", \ in acl_print() 1171 acl & PRSFS_DELETE ? "d" : "", \ in acl_print() 1172 acl & PRSFS_WRITE ? "w" : "", \ in acl_print() 1173 acl & PRSFS_LOCK ? "k" : "", \ in acl_print() 1174 acl & PRSFS_ADMINISTER ? "a" : "")); in acl_print() 1178 if (sscanf((char *) s, fmt, user, &acl, &n) != 2) in acl_print() [all …]
|