/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/ |
SDL_sysmutex.c | 34 pthread_mutex_t id; member in struct:SDL_mutex 57 if ( pthread_mutex_init(&mutex->id, &attr) != 0 ) { 71 pthread_mutex_destroy(&mutex->id); 96 We set the locking thread id after we obtain the lock 99 if ( pthread_mutex_lock(&mutex->id) == 0 ) { 108 if ( pthread_mutex_lock(&mutex->id) < 0 ) { 138 pthread_mutex_unlock(&mutex->id); 146 if ( pthread_mutex_unlock(&mutex->id) < 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/ |
SDL_sysmutex.c | 35 pthread_mutex_t id; member in struct:SDL_mutex 56 if ( pthread_mutex_init(&mutex->id, &attr) != 0 ) { 70 pthread_mutex_destroy(&mutex->id); 95 We set the locking thread id after we obtain the lock 98 if ( pthread_mutex_lock(&mutex->id) == 0 ) { 107 if ( pthread_mutex_lock(&mutex->id) < 0 ) { 137 pthread_mutex_unlock(&mutex->id); 145 if ( pthread_mutex_unlock(&mutex->id) < 0 ) {
|
/external/stlport/src/ |
locale_impl.cpp | 51 size_t locale::id::_S_max = 27; 76 facets_vec.reserve( locale::id::_S_max ); 120 void _Locale_impl::insert(_Locale_impl *from, const locale::id& n) { 126 locale::facet* _Locale_impl::insert(locale::facet *f, const locale::id& n) { 156 this->insert(i2, ctype<char>::id); 157 this->insert(i2, codecvt<char, char, mbstate_t>::id); 159 this->insert(i2, ctype<wchar_t>::id); 160 this->insert(i2, codecvt<wchar_t, char, mbstate_t>::id); 212 this->insert(ct, ctype<char>::id); 213 this->insert(cvt, codecvt<char, char, mbstate_t>::id); 677 locale::id collate<char>::id = { 1 }; member in class:collate 678 locale::id ctype<char>::id = { 2 }; member in class:ctype 679 locale::id codecvt<char, char, mbstate_t>::id = { 3 }; member in class:codecvt 680 locale::id moneypunct<char, true>::id = { 4 }; member in class:moneypunct 681 locale::id moneypunct<char, false>::id = { 5 }; member in class:moneypunct 682 locale::id numpunct<char>::id = { 6 } ; member in class:numpunct 683 locale::id messages<char>::id = { 7 }; member in class:messages 686 locale::id collate<wchar_t>::id = { 14 }; member in class:collate 687 locale::id ctype<wchar_t>::id = { 15 }; member in class:ctype 688 locale::id codecvt<wchar_t, char, mbstate_t>::id = { 16 }; member in class:codecvt 689 locale::id moneypunct<wchar_t, true>::id = { 17 } ; member in class:moneypunct 690 locale::id moneypunct<wchar_t, false>::id = { 18 } ; member in class:moneypunct 691 locale::id numpunct<wchar_t>::id = { 19 }; member in class:numpunct 692 locale::id messages<wchar_t>::id = { 20 }; member in class:messages [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
RadioGroupPreCheckedTest.java | 38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one); 41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); 42 assertEquals("The first radio button should be checked", R.id.value_one, 50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two); 53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one); 58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); 59 assertEquals("The second radio button should be checked", R.id.value_two,
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Implicit.java | 76 if (type.checkTag(type.id)) { 94 return id == identifier; 98 return id == identifier || constrId == identifier; 106 "[" + in.tagOffset + "]. Expected tag: " + Integer.toHexString(id) + ", " + 111 if (id == in.tag) { 112 in.tag = type.id; 129 out.encodeTag(id);
|
/ndk/sources/cxx-stl/stlport/src/ |
locale_impl.cpp | 51 size_t locale::id::_S_max = 27; 76 facets_vec.reserve( locale::id::_S_max ); 120 void _Locale_impl::insert(_Locale_impl *from, const locale::id& n) { 126 locale::facet* _Locale_impl::insert(locale::facet *f, const locale::id& n) { 156 this->insert(i2, ctype<char>::id); 157 this->insert(i2, codecvt<char, char, mbstate_t>::id); 159 this->insert(i2, ctype<wchar_t>::id); 160 this->insert(i2, codecvt<wchar_t, char, mbstate_t>::id); 212 this->insert(ct, ctype<char>::id); 213 this->insert(cvt, codecvt<char, char, mbstate_t>::id); 677 locale::id collate<char>::id = { 1 }; member in class:collate 678 locale::id ctype<char>::id = { 2 }; member in class:ctype 679 locale::id codecvt<char, char, mbstate_t>::id = { 3 }; member in class:codecvt 680 locale::id moneypunct<char, true>::id = { 4 }; member in class:moneypunct 681 locale::id moneypunct<char, false>::id = { 5 }; member in class:moneypunct 682 locale::id numpunct<char>::id = { 6 } ; member in class:numpunct 683 locale::id messages<char>::id = { 7 }; member in class:messages 686 locale::id collate<wchar_t>::id = { 14 }; member in class:collate 687 locale::id ctype<wchar_t>::id = { 15 }; member in class:ctype 688 locale::id codecvt<wchar_t, char, mbstate_t>::id = { 16 }; member in class:codecvt 689 locale::id moneypunct<wchar_t, true>::id = { 17 } ; member in class:moneypunct 690 locale::id moneypunct<wchar_t, false>::id = { 18 } ; member in class:moneypunct 691 locale::id numpunct<wchar_t>::id = { 19 }; member in class:numpunct 692 locale::id messages<wchar_t>::id = { 20 }; member in class:messages [all...] |
/packages/apps/Launcher2/ |
fill_screens.py | 60 id = 0; 64 id += 1 66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0) 68 folder_id = id 71 id += 1 72 intent = intentFormat % (APPLICATION_COMPONENTS[id % len(APPLICATION_COMPONENTS)]) 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/packages/apps/Launcher3/ |
fill_screens.py | 60 id = 0; 64 id += 1 66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0) 68 folder_id = id 71 id += 1 72 intent = intentFormat % (APPLICATION_COMPONENTS[id % len(APPLICATION_COMPONENTS)]) 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
PendingHandoverTransfer.java | 25 public int id; field in class:PendingHandoverTransfer 31 PendingHandoverTransfer(int id, boolean incoming, BluetoothDevice remoteDevice, 33 this.id = id; 43 int id = in.readInt(); 53 return new PendingHandoverTransfer(id, incoming, remoteDevice, 70 dest.writeInt(id);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_atan.c | 77 int32_t ix,hx,id; local 93 id = -1; 98 id = 0; x = (2.0*x-one)/(2.0+x); 100 id = 1; x = (x-one)/(x+one); 104 id = 2; x = (x-1.5)/(one+1.5*x); 106 id = 3; x = -1.0/x; 115 if (id<0) return x - x*(s1+s2); 117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
s_atanl.c | 37 int id; local 58 id = -1; 63 id = 0; x = (2.0*x-one)/(2.0+x); 65 id = 1; x = (x-one)/(x+one); 69 id = 2; x = (x-1.5)/(one+1.5*x); 71 id = 3; x = -1.0/x; 80 if (id<0) return x - x*(s1+s2); 82 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRCommonTreeAdaptor.h | 39 - (id) init; 42 - (ANTLRCommonTree *) create:(id<ANTLRToken>) payload; 45 - (id<ANTLRToken>)createToken:(NSInteger)tokenType Text:(NSString *)text; 46 - (id<ANTLRToken>)createToken:(id<ANTLRToken>)fromToken; 47 - (void) setTokenBoundaries:(ANTLRCommonTree *)t From:(id<ANTLRToken>)startToken To:(id<ANTLRToken>)stopToken; 54 - (id<ANTLRToken>)getToken:(ANTLRCommonTree *)t; 63 - (id)copyWithZone:(NSZone *)zone;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
diskcache.cc | 58 DiskCacheAdapter(const DiskCache* cache, const std::string& id, size_t index, 60 : StreamAdapterInterface(stream), cache_(cache), id_(id), index_(index) 114 bool DiskCache::LockResource(const std::string& id) { 115 Entry* entry = GetOrCreateEntry(id, true); 128 StreamInterface* DiskCache::WriteResource(const std::string& id, size_t index) { 129 Entry* entry = GetOrCreateEntry(id, false); 134 std::string filename(IdToFilename(id, index)); 153 return new DiskCacheAdapter(this, id, index, file.release()); 156 bool DiskCache::UnlockResource(const std::string& id) { 157 Entry* entry = GetOrCreateEntry(id, false) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
job_queue.cc | 23 bool JobQueue::PopForRun(int accepted_priority, JobID* id) { 33 *id = queue_[priority].front(); 35 running_.insert(*id); 48 void JobQueue::Push(JobID id, int priority) { 51 queue_[priority].push_back(id); 54 void JobQueue::MarkFinished(JobID id) { 55 size_t num_erased = running_.erase(id); 75 void JobQueue::Remove(JobID id) { 78 std::find(queue_[i].begin(), queue_[i].end(), id);
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
context_menus_custom_bindings.js | 22 if (typeof(prop.id) !== 'undefined') 23 return prop.id; 26 contextMenus.handlersForId = function(id) { 27 if (typeof(id) === 'number') 39 var id = arguments[0].menuItemId; 40 var onclick = contextMenus.handlersForId(id)[id]; 49 var id = contextMenuNatives.GetNextContextMenuId(); 50 args[0].generatedId = id; 63 var id = contextMenus.getIdFromCreateProperties(request.args[0]) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
transfer_buffer_manager.cc | 42 int32 id, 45 if (id <= 0) { 46 DVLOG(0) << "Cannot register transfer buffer with non-positive ID."; 50 // Fail if the ID is in use. 51 if (registered_buffers_.find(id) != registered_buffers_.end()) { 52 DVLOG(0) << "Buffer ID already in use."; 72 // If it could be mapped register the shared memory with the ID. 82 registered_buffers_[id] = buffer; 87 void TransferBufferManager::DestroyTransferBuffer(int32 id) { 88 BufferMap::iterator it = registered_buffers_.find(id); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
SVGFilterBuilder.cpp | 38 void SVGFilterBuilder::add(const AtomicString& id, PassRefPtr<FilterEffect> effect) 40 if (id.isEmpty()) { 45 if (m_builtinEffects.contains(id)) 49 m_namedEffects.set(id, m_lastEffect); 52 FilterEffect* SVGFilterBuilder::getEffectById(const AtomicString& id) const 54 if (id.isEmpty()) { 61 if (m_builtinEffects.contains(id)) 62 return m_builtinEffects.get(id); 64 return m_namedEffects.get(id);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/ |
PrettyPatch_test.rb | 32 def get_patch_uri(id) 33 "https://bugs.webkit.org/attachment.cgi?id=" + id.to_s 36 def get_patch(id) 38 patch_uri = get_patch_uri(id) 47 def check_one_patch(id, info) 48 patch = get_patch(id) 49 description = get_patch_uri(id) 67 PATCHES.each { |id, info| check_one_patch(id, info) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
diskcache.cc | 58 DiskCacheAdapter(const DiskCache* cache, const std::string& id, size_t index, 60 : StreamAdapterInterface(stream), cache_(cache), id_(id), index_(index) 114 bool DiskCache::LockResource(const std::string& id) { 115 Entry* entry = GetOrCreateEntry(id, true); 128 StreamInterface* DiskCache::WriteResource(const std::string& id, size_t index) { 129 Entry* entry = GetOrCreateEntry(id, false); 134 std::string filename(IdToFilename(id, index)); 153 return new DiskCacheAdapter(this, id, index, file.release()); 156 bool DiskCache::UnlockResource(const std::string& id) { 157 Entry* entry = GetOrCreateEntry(id, false) [all...] |
/external/fdlibm/ |
s_atan.c | 93 int ix,hx,id; local 107 id = -1; 112 id = 0; x = (2.0*x-one)/(2.0+x); 114 id = 1; x = (x-one)/(x+one); 118 id = 2; x = (x-1.5)/(one+1.5*x); 120 id = 3; x = -1.0/x; 129 if (id<0) return x - x*(s1+s2); 131 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/frameworks/av/services/camera/libcameraservice/common/ |
CameraDeviceBase.h | 40 * The device's camera ID 72 * Wait until a request with the given ID has been dequeued by the 74 * immediately if the latest request received by the HAL has this id. 91 int *id) = 0; 97 virtual status_t createReprocessStreamFromStream(int outputId, int *id) = 0; 102 virtual status_t getStreamInfo(int id, 108 virtual status_t setStreamTransform(int id, int transform) = 0; 114 virtual status_t deleteStream(int id) = 0; 120 virtual status_t deleteReprocessStream(int id) = 0; 189 * Trigger auto-focus. The latest ID used in a trigger autofocus or cance [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
ScenesTestv21.java | 42 View container = (View) findViewById(R.id.container); 50 fade.addTarget(R.id.resultsText).addTarget(R.id.resultsList); 53 transitionToResults.addTransition(new ChangeBounds().addTarget(R.id.searchContainer)); 54 transitionToResults.addTransition(new Recolor().addTarget(R.id.container)); 57 transitionToSearch.addTransition(new Fade().addTarget(R.id.resultsText). 58 addTarget(R.id.resultsList)); 59 transitionToSearch.addTransition(new ChangeBounds().addTarget(R.id.searchContainer)); 60 transitionToSearch.addTransition(new Recolor().addTarget(R.id.container));
|
/sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 23 TextView tv = (TextView) findViewById(R.id.app); 26 tv = (TextView) findViewById(R.id.lib1); 29 tv = (TextView) findViewById(R.id.lib2); 32 tv = (TextView) findViewById(R.id.javaProject1); 35 tv = (TextView) findViewById(R.id.javaProject2); 38 tv = (TextView) findViewById(R.id.javaProject3); 41 tv = (TextView) findViewById(R.id.basicJar); 44 tv = (TextView) findViewById(R.id.basicJar2); 47 tv = (TextView) findViewById(R.id.basicJar3);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
TraceEvent.h | 59 // current process id, thread id, and a timestamp in microseconds. 72 // The third parameter is a unique ID to match ASYNC_BEGIN/ASYNC_END pairs. 74 // be used for the ID parameter, and they will be mangled internally so that 105 // unique ID, by using the TRACE_COUNTER_ID* variations. 307 // - |id| is used to disambiguate counters with the same name. It must either 309 // will be xored with a hash of the process ID so that the same pointer on 311 #define TRACE_COUNTER_ID1(category, name, id, value) \ 313 category, name, id, TRACE_EVENT_FLAG_NONE, \ 315 #define TRACE_COPY_COUNTER_ID1(category, name, id, value) [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_controller.h | 172 // BookmarkNodes have a 64bit id. NSMenuItems have a 32bit tag used 197 id<BookmarkBarControllerDelegate> delegate_; // weak 200 id<ViewResizer> resizeDelegate_; // weak 270 @property(assign, nonatomic) id<BookmarkBarControllerDelegate> delegate; 274 - (id)initWithBrowser:(Browser*)browser 276 delegate:(id<BookmarkBarControllerDelegate>)delegate 277 resizeDelegate:(id<ViewResizer>)resizeDelegate; 309 - (IBAction)importBookmarks:(id)sender; 332 - (IBAction)openBookmark:(id)sender; 333 - (IBAction)openBookmarkFolderFromButton:(id)sender [all...] |