/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CTarget.java | 81 /** Is scope in @scope::name {action} valid for this kind of grammar? 88 public boolean isValidActionScope(int grammarType, String scope) { argument 91 if (scope.equals("lexer")) { 94 if (scope.equals("header")) { 97 if (scope.equals("includes")) { 100 if (scope.equals("preincludes")) { 103 if (scope.equals("overrides")) { 108 if (scope.equals("parser")) { 111 if (scope [all...] |
H A D | Target.java | 117 /** Is scope in @scope::name {action} valid for this kind of grammar? 123 public boolean isValidActionScope(int grammarType, String scope) { argument 126 if ( scope.equals("lexer") ) {return true;} 129 if ( scope.equals("parser") ) {return true;} 132 if ( scope.equals("parser") ) {return true;} 133 if ( scope.equals("lexer") ) {return true;} 136 if ( scope.equals("treeparser") ) {return true;}
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | Grammar.java | 284 /** Map a scope to a map of name:action pairs. 1489 /** Given @scope::name {action} define it for this grammar. Later, 1494 String scope, 1498 if ( scope==null ) { 1499 scope = getDefaultActionScope(type); 1501 //System.out.println("Grammar "+name+" define @"+scope+"::"+nameAST.getText()+"{"+actionAST.getText()+"}"); 1503 Map<String, Object> scopeActions = getActions().get(scope); 1506 getActions().put(scope, scopeActions); 1517 // propogate header (regardless of scope (lexer, parser, ...) ? 1521 if ( target.isValidActionScope(delegate.type, scope) ) { 1493 defineNamedAction(GrammarAST ampersandAST, String scope, GrammarAST nameAST, GrammarAST actionAST) argument [all...] |
H A D | NameSpaceChecker.java | 58 // walk rule scope attributes for Rule r 72 AttributeScope scope = (AttributeScope) it.next(); 73 checkForGlobalScopeTokenConflict(scope); 121 * Give error if you cannot find the scope override on a rule reference. 187 protected void checkForGlobalScopeTokenConflict(AttributeScope scope) { argument 188 if ( grammar.getTokenType(scope.getName())!=Label.INVALID ) { 190 grammar, null, scope.getName()); 194 /** Check for collision of a rule-scope dynamic attribute with: 217 * Labels must not conflict with: rules, tokens, scope names, 218 * return values, parameters, and rule-scope dynami [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 142 public IdentitySubclass(String name, IdentityScope scope) argument 144 super(name, scope); 174 IdentityScope scope = new IdentityScopeSubclass(); 175 IdentitySubclass sub = new IdentitySubclass("test", scope); 177 assertEquals("Wrong Scope returned", scope, returnedScope);
|
H A D | IdentityScope2Test.java | 64 public IdentityScopeSubclass(String name, IdentityScope scope) argument 66 super(name, scope); 101 "This Identity is already contained in the scope"); 104 "This Identity's public key already exists in the scope"); 111 "This Identity is not contained in the scope"); 259 IdentityScope scope = IdentityScope.getSystemScope(); 261 scope.getIdentity((String) null);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | IdentityScopeStub.java | 57 * @param scope 60 public IdentityScopeStub(String name, IdentityScope scope) argument 62 super(name, scope); 124 * Sets the system's identity scope 126 * @param scope 128 public static void mySetSystemScope(IdentityScope scope) { argument 130 IdentityScope.setSystemScope(scope);
|
H A D | IdentityStub.java | 55 * @param scope 58 public IdentityStub(String name, IdentityScope scope) argument 60 super(name, scope);
|
H A D | SignerStub.java | 51 * Constructor, sets given name and scope 54 * @param scope 57 public SignerStub(String name, IdentityScope scope) argument 59 super(name, scope);
|
/external/bluetooth/bluedroid/stack/include/ |
H A D | avrc_defs.h | 236 #define AVRC_STS_BAD_SCOPE 0x0a /* Invalid Scope - The scope parameter is invalid GetFolderItems, PlayItem, AddToNowPlayer, GetItemAttributes, */ 1094 UINT8 scope; member in struct:__anon1356 1118 UINT8 scope; member in struct:__anon1358 1140 UINT8 scope; member in struct:__anon1360 1151 UINT8 scope; member in struct:__anon1361
|
/external/checkpolicy/ |
H A D | module_compiler.c | 107 * current scope stack then this would return a 0. 158 if (ebitmap_set_bit(decl->declared.scope + symbol_type, 508 * This function assumes that the ID is within scope. c.f., 554 * This function assumes that the ID is within scope. c.f., 613 /* Attempt to require a symbol within the current scope. If currently 648 * previously declared and is in current scope */ 671 * was already declared within my scope */ 675 /* previous declaration was not in scope or 685 if (ebitmap_set_bit(decl->required.scope + symbol_type, 697 scope_index_t *scope; local 1225 is_scope_in_stack(scope_datum_t * scope, scope_stack_t * stack) argument 1249 scope_datum_t *scope = local 1258 is_perm_in_scope_index(uint32_t perm_value, uint32_t class_value, scope_index_t * scope) argument [all...] |
/external/checkpolicy/test/ |
H A D | dismod.c | 105 scope_datum_t *scope = local 106 (scope_datum_t *) hashtab_search(p->scope[symbol_type].table, id); 107 assert(scope != NULL); 108 if (scope->scope == SCOPE_REQ) { 521 for (j = ebitmap_startbit(&indices->scope[i]); 522 j < ebitmap_length(&indices->scope[i]); j++) { 523 if (ebitmap_get_bit(&indices->scope[i], j)) {
|
/external/chromium_org/base/debug/ |
H A D | trace_event_unittest.cc | 532 std::string scope; local 533 EXPECT_TRUE((item && item->GetString("s", &scope))); 534 EXPECT_EQ("g", scope); 538 std::string scope; local 539 EXPECT_TRUE((item && item->GetString("s", &scope))); 540 EXPECT_EQ("p", scope); 546 std::string scope; local 547 EXPECT_TRUE((item && item->GetString("s", &scope))); 548 EXPECT_EQ("t", scope);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
H A D | AndroidProfileOAuth2TokenServiceHelper.java | 30 Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) { 31 OAuth2TokenService.getOAuth2AccessToken(context, activity, account, scope, callback); 47 @Nullable Activity activity, Account account, String scope, 50 context, activity, account, scope, timeout, unit); 29 getOAuth2AccessToken(Context context, @Nullable Activity activity, Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) argument 46 getOAuth2AccessTokenWithTimeout(Context context, @Nullable Activity activity, Account account, String scope, long timeout, TimeUnit unit) argument
|
H A D | OAuth2TokenService.java | 126 * @param scope The scope to get an auth token for (without Android-style 'oauth2:' prefix). 131 Context context, String username, String scope, final long nativeCallback) { 137 String oauth2Scope = OAUTH2_SCOPE_PREFIX + scope; 151 * Call this method to retrieve an OAuth2 access token for the given account and scope. 155 * @param scope The scope to get an auth token for (without Android-style 'oauth2:' prefix). 159 Account account, String scope, 161 String oauth2Scope = OAUTH2_SCOPE_PREFIX + scope; 167 * Call this method to retrieve an OAuth2 access token for the given account and scope 130 getOAuth2AuthToken( Context context, String username, String scope, final long nativeCallback) argument 158 getOAuth2AccessToken(Context context, @Nullable Activity activity, Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) argument 178 getOAuth2AccessTokenWithTimeout( Context context, @Nullable Activity activity, Account account, String scope, long timeout, TimeUnit unit) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/commands/ |
H A D | command_service.cc | 183 CommandScope scope, 206 if (scope != ANY_SCOPE && ((scope == GLOBAL) != saved_command.global())) 181 GetNamedCommands(const std::string& extension_id, QueryType type, CommandScope scope, CommandMap* command_map) const argument
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
H A D | content_settings_api.cc | 70 ExtensionPrefsScope scope = kExtensionPrefsScopeRegular; local 72 if (params->details.scope == 74 scope = kExtensionPrefsScopeIncognitoSessionOnly; 92 store->ClearContentSettingsForExtension(extension_id(), scope); local 212 ExtensionPrefsScope scope = kExtensionPrefsScopeRegular; local 214 if (params->details.scope == 216 scope = kExtensionPrefsScopeIncognitoSessionOnly; 235 if (scope == kExtensionPrefsScopeIncognitoSessionOnly && 245 resource_identifier, setting, scope); local
|
H A D | content_settings_store.cc | 100 ExtensionPrefsScope scope) { 103 OriginIdentifierValueMap* map = GetValueMap(ext_id, scope); 117 scope != kExtensionPrefsScopeRegular); 183 ExtensionPrefsScope scope) { 186 switch (scope) { 204 ExtensionPrefsScope scope) const { 209 switch (scope) { 228 ExtensionPrefsScope scope) { 232 OriginIdentifierValueMap* map = GetValueMap(ext_id, scope); 242 NotifyOfContentSettingChanged(ext_id, scope ! 93 SetExtensionContentSetting( const std::string& ext_id, const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType type, const content_settings::ResourceIdentifier& identifier, ContentSetting setting, ExtensionPrefsScope scope) argument 181 GetValueMap( const std::string& ext_id, ExtensionPrefsScope scope) argument 226 ClearContentSettingsForExtension( const std::string& ext_id, ExtensionPrefsScope scope) argument 283 SetExtensionContentSettingFromList( const std::string& extension_id, const base::ListValue* list, ExtensionPrefsScope scope) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/preference/ |
H A D | preference_api.cc | 369 ExtensionPrefsScope scope, 381 // ScopeToPrefName() returns false if the scope is not persisted. 382 if (pref_names::ScopeToPrefName(scope, &scope_string)) { 394 extension_id, pref_key, scope, value); 400 ExtensionPrefsScope scope) { 406 if (pref_names::ScopeToPrefName(scope, &scope_string)) { 415 extension_id, pref_key, scope); 630 ExtensionPrefsScope scope = kExtensionPrefsScopeRegular; local 636 EXTENSION_FUNCTION_VALIDATE(helpers::StringToScope(scope_str, &scope)); 639 // Check incognito scope 366 SetExtensionControlledPref( const std::string& extension_id, const std::string& pref_key, ExtensionPrefsScope scope, base::Value* value) argument 397 RemoveExtensionControlledPref( const std::string& extension_id, const std::string& pref_key, ExtensionPrefsScope scope) argument 701 extension_id(), browser_pref, scope, browser_pref_value.release()); local 713 ExtensionPrefsScope scope = kExtensionPrefsScopeRegular; local 745 ->RemoveExtensionControlledPref(extension_id(), browser_pref, scope); local [all...] |
H A D | preference_helpers.cc | 40 ExtensionPrefsScope* scope) { 42 *scope = kExtensionPrefsScopeRegular; 44 *scope = kExtensionPrefsScopeRegularOnly; 46 *scope = kExtensionPrefsScopeIncognitoPersistent; 48 *scope = kExtensionPrefsScopeIncognitoSessionOnly; 39 StringToScope(const std::string& s, ExtensionPrefsScope* scope) argument
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
H A D | tabs_test.cc | 611 bool RunSetZoomSettings(int tab_id, const char* mode, const char* scope); 616 std::string* scope); 625 const char* scope); 675 const char* scope) { 681 if (scope) { 682 args = base::StringPrintf("[%u, {\"mode\": \"%s\", \"scope\": \"%s\"}]", 683 tab_id, mode, scope); 697 std::string* scope) { 699 DCHECK(scope); 715 *scope 673 RunSetZoomSettings(int tab_id, const char* mode, const char* scope) argument 694 RunGetZoomSettings( int tab_id, std::string* mode, std::string* scope) argument 733 RunSetZoomSettingsExpectError( int tab_id, const char* mode, const char* scope) argument 876 std::string scope; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_management.cc | 40 // sub-dictionary in extension management preference and |scope| represents 46 Scope scope, 70 if (scope != SCOPE_INDIVIDUAL) { 44 ParseIndividualSettings( const base::DictionaryValue* dict, Scope scope, ExtensionManagement::IndividualSettings* settings) argument
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
H A D | memoize.js | 27 * computations in a call to memoize.scope() - memoization is only 28 * enabled while in that scope, and all cached data is thrown away at 30 * being memoized will not change within the scope. 32 * cvox.Memoize.scope(function() { 51 * to function result. This variable is null when we're out of scope, and it's 52 * a map from string to WeakMap to result when we're in scope. 60 * Keeps track of how many nested times scope() has been called. 68 * Enables memoization within the scope of the given function. You should 69 * ensure that the DOM is not modified within this scope. 71 * It's safe to nest calls to scope [all...] |
/external/chromium_org/chrome/browser/signin/ |
H A D | android_profile_oauth2_token_service.cc | 79 std::string scope = CombineScopes(scopes); local 83 ConvertUTF8ToJavaString(env, scope); 121 std::string scope; local 124 if (!scope.empty()) 125 scope += " "; 126 scope += *it; 128 return scope;
|