Home
last modified time | relevance | path

Searched refs:scope_type (Results 1 – 16 of 16) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Daclhelpers.py61 def __init__(self, acl_change_descriptor, scope_type): argument
73 self._Parse(acl_change_descriptor, scope_type)
78 self.scope_type, self.perm, self.identifier)
80 def _Parse(self, change_descriptor, scope_type): argument
112 self.scope_type = '{0}ByDomain'.format(scope_type)
115 self.scope_type = '{0}By{1}'.format(scope_type, scope_class)
118 self.scope_type = 'AllAuthenticatedUsers'
120 self.scope_type = 'AllUsers'
122 self.scope_type = 'Project'
127 self.scope_type = scope_string
[all …]
Dtranslation_helper.py740 scope_type = USER_BY_EMAIL
742 scope_type = GROUP_BY_EMAIL
743 return Entry(type=scope_type, email_address=entry_json['email'],
747 scope_type = USER_BY_ID
749 scope_type = GROUP_BY_ID
750 return Entry(type=scope_type, id=entry_json['entityId'],
754 scope_type = GROUP_BY_DOMAIN
755 return Entry(type=scope_type, domain=entry_json['domain'],
/external/v8/src/debug/
Ddebug-evaluate.cc162 ScopeIterator::ScopeType scope_type = it.Type(); in ContextBuilder() local
163 if (scope_type == ScopeIterator::ScopeTypeLocal) { in ContextBuilder()
164 DCHECK_EQ(FUNCTION_SCOPE, it.CurrentScopeInfo()->scope_type()); in ContextBuilder()
192 } else if (scope_type == ScopeIterator::ScopeTypeCatch || in ContextBuilder()
193 scope_type == ScopeIterator::ScopeTypeWith) { in ContextBuilder()
203 } else if (scope_type == ScopeIterator::ScopeTypeBlock) { in ContextBuilder()
261 if (element.scope_info->scope_type() == FUNCTION_SCOPE) { in UpdateValues()
Ddebug-scopes.cc79 if (scope_info->scope_type() == FUNCTION_SCOPE) { in ScopeIterator()
89 if (scope_info->scope_type() != FUNCTION_SCOPE) { in ScopeIterator()
93 if (scope_info->scope_type() == SCRIPT_SCOPE) { in ScopeIterator()
96 DCHECK(scope_info->scope_type() == EVAL_SCOPE); in ScopeIterator()
149 ScopeType scope_type = Type(); in Next() local
150 if (scope_type == ScopeTypeGlobal) { in Next()
156 if (scope_type == ScopeTypeScript) { in Next()
162 DCHECK_EQ(nested_scope_chain_.last()->scope_type(), SCRIPT_SCOPE); in Next()
186 switch (scope_info->scope_type()) { in Type()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_acl.py216 scope_type=aclhelpers.ChangeType.USER)
223 scope_type=aclhelpers.ChangeType.GROUP)
230 scope_type=aclhelpers.ChangeType.USER)
237 scope_type=aclhelpers.ChangeType.GROUP)
244 scope_type=aclhelpers.ChangeType.GROUP)
251 scope_type=aclhelpers.ChangeType.PROJECT)
258 scope_type=aclhelpers.ChangeType.GROUP)
265 scope_type=aclhelpers.ChangeType.GROUP)
275 scope_type=aclhelpers.ChangeType.USER)
286 scope_type=aclhelpers.ChangeType.PROJECT)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Ddefacl.py224 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.GROUP))
227 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.USER))
230 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.PROJECT))
Dacl.py363 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.GROUP))
366 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.PROJECT))
369 aclhelpers.AclChange(a, scope_type=aclhelpers.ChangeType.USER))
/external/v8/src/ast/
Dscopes.cc93 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type, in Scope() argument
102 scope_type == MODULE_SCOPE ? ModuleDescriptor::New(zone) : NULL), in Scope()
108 SetDefaults(scope_type, outer_scope, Handle<ScopeInfo>::null(), in Scope()
111 DCHECK(scope_type == SCRIPT_SCOPE || outer_scope != NULL); in Scope()
116 Scope::Scope(Zone* zone, Scope* inner_scope, ScopeType scope_type, in Scope() argument
130 SetDefaults(scope_type, NULL, scope_info); in Scope()
169 void Scope::SetDefaults(ScopeType scope_type, Scope* outer_scope, in SetDefaults() argument
173 scope_type_ = scope_type; in SetDefaults()
894 static const char* Header(ScopeType scope_type, FunctionKind function_kind, in Header() argument
896 switch (scope_type) { in Header()
[all …]
Dscopeinfo.cc72 DCHECK(context_global_count == 0 || scope->scope_type() == SCRIPT_SCOPE); in Create()
90 int flags = ScopeTypeField::encode(scope->scope_type()) | in Create()
302 ScopeType ScopeInfo::scope_type() { in scope_type() function in v8::internal::ScopeInfo
346 scope_type() == WITH_SCOPE || in ContextLength()
347 (scope_type() == BLOCK_SCOPE && CallsSloppyEval() && in ContextLength()
349 (scope_type() == FUNCTION_SCOPE && CallsSloppyEval()) || in ContextLength()
350 scope_type() == MODULE_SCOPE; in ContextLength()
Dscopes.h92 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
390 ScopeType scope_type() const { return scope_type_; } in scope_type() function
/external/selinux/libsepol/tests/
Dtest-common.h37 extern void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsi…
Dtest-common.c29 void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned in… in test_sym_presence() argument
42 CU_ASSERT(scope->scope == scope_type); in test_sym_presence()
/external/v8/src/parsing/
Dparser.h541 V8_INLINE Scope* NewScope(Scope* parent_scope, ScopeType scope_type,
1053 Scope* ParserTraits::NewScope(Scope* parent_scope, ScopeType scope_type, in NewScope() argument
1055 return parser_->NewScope(parent_scope, scope_type, kind); in NewScope()
Dparser-base.h332 Scope* NewScope(Scope* parent, ScopeType scope_type) { in NewScope() argument
334 DCHECK(scope_type != FUNCTION_SCOPE); in NewScope()
335 return NewScope(parent, scope_type, kNormalFunction); in NewScope()
338 Scope* NewScope(Scope* parent, ScopeType scope_type, FunctionKind kind) { in NewScope() argument
340 DCHECK(scope_type != MODULE_SCOPE || FLAG_harmony_modules); in NewScope()
342 Scope(zone(), parent, scope_type, ast_value_factory(), kind); in NewScope()
/external/v8/test/cctest/
Dtest-parsing.cc1183 i::ScopeType scope_type; in TEST() member
1399 CHECK_EQ(inner_scope->scope_type(), source_data[i].scope_type); in TEST()
/external/v8/src/
Dobjects.h3998 ScopeType scope_type();