/external/chromium_org/chrome/common/ |
automation_id.cc | 12 base::Value* value, AutomationId* id, std::string* error) { 15 *error = "automation ID must be a dictionary"; 20 *error = "automation ID 'type' missing or invalid"; 24 if (!dict->GetString("id", &type_id)) { 25 *error = "automation ID 'type_id' missing or invalid"; 28 *id = AutomationId(static_cast<Type>(type), type_id); 36 AutomationId* id, 40 *error = base::StringPrintf("automation ID '%s' missing", key.c_str()); 43 return FromValue(id_value, id, error); 48 AutomationId::AutomationId(Type type, const std::string& id) 70 const std::string& AutomationId::id() const { function in class:AutomationId [all...] |
/external/chromium_org/media/webm/ |
webm_parser.h | 19 // The ID of the element that was parsed is given along with the value 32 virtual WebMParserClient* OnListStart(int id); 33 virtual bool OnListEnd(int id); 34 virtual bool OnUInt(int id, int64 val); 35 virtual bool OnFloat(int id, double val); 36 virtual bool OnBinary(int id, const uint8* data, int size); 37 virtual bool OnString(int id, const std::string& str); 54 // |id| - Element ID of the list we intend to parse. 56 WebMListParser(int id, WebMParserClient* client) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
IdTargetObserverRegistry.cpp | 38 void IdTargetObserverRegistry::addObserver(const AtomicString& id, IdTargetObserver* observer) 40 if (id.isEmpty()) 43 IdToObserverSetMap::AddResult result = m_registry.add(id.impl(), nullptr); 50 void IdTargetObserverRegistry::removeObserver(const AtomicString& id, IdTargetObserver* observer) 52 if (id.isEmpty() || m_registry.isEmpty()) 55 IdToObserverSetMap::iterator iter = m_registry.find(id.impl()); 63 void IdTargetObserverRegistry::notifyObserversInternal(const AtomicString& id) 65 ASSERT(!id.isEmpty()); 68 m_notifyingObserversInSet = m_registry.get(id.impl()); 80 m_registry.remove(id.impl()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
select_on_container_copy_construction.pass.cpp | 29 assert(a1.outer_allocator().id() == 3); 31 assert(a2.outer_allocator().id() == 3); 37 assert(a1.outer_allocator().id() == 3); 39 assert(a2.outer_allocator().id() == -1); 45 assert(a1.outer_allocator().id() == 1); 46 assert(a1.inner_allocator().outer_allocator().id() == 2); 47 assert(a1.inner_allocator().inner_allocator().outer_allocator().id() == 3); 49 assert(a2.outer_allocator().id() == 1); 50 assert(a2.inner_allocator().outer_allocator().id() == 2); 51 assert(a2.inner_allocator().inner_allocator().outer_allocator().id() == -1) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
ANTLRBaseRecognizer.h | 80 - (id) init; 81 - (id) initWithLen:(NSInteger)aLen; 82 - (id) initWithState:(ANTLRRecognizerSharedState *)aState; 100 * into the label for the associated token ref; e.g., x=ID. Token 108 - (id) getInput; 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 114 - (void) matchAny:(id<ANTLRIntStream>)anInput; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
ANTLRBaseRecognizer.h | 80 - (id) init; 81 - (id) initWithLen:(NSInteger)aLen; 82 - (id) initWithState:(ANTLRRecognizerSharedState *)aState; 100 * into the label for the associated token ref; e.g., x=ID. Token 108 - (id) getInput; 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 114 - (void) matchAny:(id<ANTLRIntStream>)anInput; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
ANTLRBaseRecognizer.h | 80 - (id) init; 81 - (id) initWithLen:(NSInteger)aLen; 82 - (id) initWithState:(ANTLRRecognizerSharedState *)aState; 100 * into the label for the associated token ref; e.g., x=ID. Token 108 - (id) getInput; 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 114 - (void) matchAny:(id<ANTLRIntStream>)anInput; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 116 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRLexer.h | 40 id<ANTLRCharStream> input; ///< The character stream we pull tokens out of. 44 @property (retain, getter=input, setter=setInput:) id<ANTLRCharStream> input; 48 - (id) initWithCharStream:(id<ANTLRCharStream>) anInput; 49 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)state; 51 - (id) copyWithZone:(NSZone *)zone; 58 - (id<ANTLRToken>)getToken; 59 - (void) setToken: (id<ANTLRToken>) aToken; 60 - (id<ANTLRToken>) nextToken [all...] |
ANTLRPtrBuffer.h | 44 __strong id *ptrBuffer; 51 @property (assign, getter=getPtrBuffer, setter=setPtrBuffer:) id *ptrBuffer; 56 -(id)init; 57 -(id)initWithLen:(NSUInteger)cnt; 61 - (id) copyWithZone:(NSZone *)aZone; 73 - (id *)getPtrBuffer; 74 - (void)setPtrBuffer:(id *)np; 78 - (void) push:(id) v; 79 - (id) pop; 80 - (id) peek [all...] |
ANTLRBaseRecognizer.h | 72 - (id) init; 73 - (id) initWithLen:(NSInteger)aLen; 74 - (id) initWithState:(ANTLRRecognizerSharedState *)aState; 92 * into the label for the associated token ref; e.g., x=ID. Token 100 - (id) input; 105 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 106 - (void) matchAny:(id<ANTLRIntStream>)anInput; 107 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 108 - (BOOL) mismatchIsMissingToken:(id<ANTLRIntStream>)anInput Follow:(ANTLRBitSet *)follow [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table.cc | 23 "CREATE TABLE %s (id INTEGER PRIMARY KEY, value TEXT NOT NULL); " 35 int64* id) { 39 *id = lookup->second; 54 *id = connection->GetLastInsertRowId(); 55 id_to_value_[*id] = value; 56 value_to_id_[value] = *id; 64 StringPrintf("SELECT id FROM %s WHERE value = ?", table_.c_str()) 69 *id = query.ColumnInt64(0); 70 id_to_value_[*id] = value; 71 value_to_id_[value] = *id; [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_delegate.h | 60 virtual bool IsItemChecked(int id) const; 64 virtual string16 GetLabel(int id) const; 67 virtual const gfx::Font* GetLabelFont(int id) const; 85 virtual string16 GetTooltipText(int id, const gfx::Point& screen_loc) const; 87 // If there is an accelerator for the menu item with id |id| it is set in 89 virtual bool GetAccelerator(int id, ui::Accelerator* accelerator); 91 // Shows the context menu with the specified id. This is invoked when the 92 // user does the appropriate gesture to show a context menu. The id 93 // identifies the id of the menu to show the context menu for [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/ |
SDL_syssem.c | 37 SYNCHHANDLE id; member in struct:SDL_semaphore 39 HANDLE id; 55 sem->id = CreateSemaphoreCE(NULL, initial_value, 32*1024, NULL); 57 sem->id = CreateSemaphore(NULL, initial_value, 32*1024, NULL); 60 if ( ! sem->id ) { 75 if ( sem->id ) { 77 CloseSynchHandle(sem->id); 79 CloseHandle(sem->id); 81 sem->id = 0; 103 switch (WaitForSemaphoreCE(sem->id, dwMilliseconds)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DialogManager.java | 49 public static final boolean isManagedId(int id) { 50 return (id == R.id.dialog_manager_id_1) || (id == R.id.dialog_manager_id_2); 65 * The View needs to have a valid and unique Id. This function modifies the bundle by adding a 77 int dialogId = mUseDialogId2 ? R.id.dialog_manager_id_2 : R.id.dialog_manager_id_1; 83 * This function returns null if the id is not one of the two reserved Ids. 85 public Dialog onCreateDialog(final int id, final Bundle bundle) [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockResources.java | 51 public CharSequence getText(int id) throws NotFoundException { 56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { 61 public String getString(int id) throws NotFoundException { 66 public String getString(int id, Object... formatArgs) throws NotFoundException { 71 public String getQuantityString(int id, int quantity, Object... formatArgs) 77 public String getQuantityString(int id, int quantity) throws NotFoundException { 82 public CharSequence getText(int id, CharSequence def) { 87 public CharSequence[] getTextArray(int id) throws NotFoundException { 92 public String[] getStringArray(int id) throws NotFoundException { 97 public int[] getIntArray(int id) throws NotFoundException [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
os.c | 63 int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ 64 DO_OS_MALLOC_TEST(id); 65 return id->pMethods->xRead(id, pBuf, amt, offset); 67 int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ 68 DO_OS_MALLOC_TEST(id); 69 return id->pMethods->xWrite(id, pBuf, amt, offset); 71 int sqlite3OsTruncate(sqlite3_file *id, i64 size){ 72 return id->pMethods->xTruncate(id, size) [all...] |
mutex_noop.c | 40 static sqlite3_mutex *noopMutexAlloc(int id){ 41 UNUSED_PARAMETER(id); 81 int id; /* The mutex type */ member in struct:sqlite3_debug_mutex 109 static sqlite3_mutex *debugMutexAlloc(int id){ 112 switch( id ){ 117 pNew->id = id; 123 assert( id-2 >= 0 ); 124 assert( id-2 < (int)(sizeof(aStatic)/sizeof(aStatic[0])) ); 125 pNew = &aStatic[id-2] [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 97 public void addIdentity(Identity id) throws KeyManagementException { 98 if (identities.containsKey(id)) 101 if (getIdentity(id.getPublicKey()) != null) 104 identities.put(id, id); 107 public void removeIdentity(Identity id) throws KeyManagementException { 108 if (!identities.containsKey(id)) 111 identities.remove(id); 143 Identity id = new IdentitySubclass("id1"); local 144 id.setPublicKey(pubKey) 162 Identity id = new IdentitySubclass(); local 180 Identity id = new IdentitySubclass(); local 193 Identity id = new IdentitySubclass("principal name"); local 209 Identity id = new IdentitySubclass(); local 223 Identity id = new IdentitySubclass("test"); local 237 Identity id = new IdentitySubclass(); local 249 Identity id = new IdentitySubclass(); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 98 public void addIdentity(Identity id) throws KeyManagementException { 99 if (identities.containsKey(id)) 102 if (getIdentity(id.getPublicKey()) != null) 105 identities.put(id, id); 108 public void removeIdentity(Identity id) throws KeyManagementException { 109 if (!identities.containsKey(id)) 112 identities.remove(id); 185 Identity id = new IdentitySubclass("id1"); local 186 id.setPublicKey(getPubKey()) 204 Identity id = new IdentitySubclass(); local 221 Identity id = new IdentitySubclass(); local 233 Identity id = new IdentitySubclass("principal name"); local 267 Identity id = new IdentitySubclass(); local 285 Identity id = new IdentitySubclass("test"); local 298 Identity id = new IdentitySubclass(); local 310 Identity id = new IdentitySubclass(); local [all...] |
/external/chromium_org/chrome/utility/local_discovery/ |
service_discovery_message_handler.cc | 125 void SendServiceResolved(uint64 id, ServiceResolver::RequestStatus status, 128 new LocalDiscoveryHostMsg_ResolverCallback(id, status, description)); 131 void SendServiceUpdated(uint64 id, ServiceWatcher::UpdateType update, 134 new LocalDiscoveryHostMsg_WatcherCallback(id, update, name)); 137 void SendLocalDomainResolved(uint64 id, bool success, 141 id, success, address)); 217 uint64 id, 221 base::Unretained(this), id, service_type)); 224 void ServiceDiscoveryMessageHandler::OnDiscoverServices(uint64 id, 228 base::Unretained(this), id, force_update)) [all...] |
service_discovery_message_handler.h | 55 void OnStartWatcher(uint64 id, const std::string& service_type); 56 void OnDiscoverServices(uint64 id, bool force_update); 57 void OnDestroyWatcher(uint64 id); 58 void OnResolveService(uint64 id, const std::string& service_name); 59 void OnDestroyResolver(uint64 id); 60 void OnResolveLocalDomain(uint64 id, const std::string& domain, 62 void OnDestroyLocalDomainResolver(uint64 id); 65 void StartWatcher(uint64 id, const std::string& service_type); 66 void DiscoverServices(uint64 id, bool force_update); 67 void DestroyWatcher(uint64 id); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/ |
SDL_syssem.c | 36 HMTX id; member in struct:SDL_semaphore 52 ulrc = DosCreateMutexSem(NULL,&(sem->id),0,TRUE); 61 DosReleaseMutexSem(sem->id); 73 if ( sem->id ) { 75 DosCloseMutexSem(sem->id); 76 sem->id = 0; 93 ulrc = DosRequestMutexSem(sem->id, SEM_INDEFINITE_WAIT); 100 DosReleaseMutexSem(sem->id); 105 DosReleaseMutexSem(sem->id); 113 ulrc = DosRequestMutexSem(sem->id, SEM_INDEFINITE_WAIT) [all...] |