/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry; 40 static RemoteViews buildWidget(Context context, int id, Entry entry) { 42 switch (entry.type) { 45 return buildStackWidget(context, id, entry); 47 return buildFrameWidget(context, id, entry); 49 throw new RuntimeException("invalid type - " + entry.type); 64 Entry entry = helper.getEntry(id); local 65 if (entry != null) [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
ConnPoolByRoute.java | 245 * Obtains a pool entry with a connection within the given timeout. 255 * @return pool entry holding a connection for the route 274 BasicPoolEntry entry = null; 281 while (entry == null) { 300 entry = getFreeEntry(rospl, state); 301 if (entry != null) { 315 entry = createEntry(rospl, operator); 320 entry = createEntry(rospl, operator); 357 } // while no entry 363 return entry; [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
download_operation_unittest.cc | 45 scoped_ptr<ResourceEntry> entry; local 52 &error, &file_path, &entry)); 56 ASSERT_TRUE(entry); 57 EXPECT_FALSE(entry->file_specific_info().is_hosted_document()); 82 scoped_ptr<ResourceEntry> entry; local 89 &error, &file_path, &entry)); 128 scoped_ptr<ResourceEntry> entry; local 135 &error, &file_path, &entry)); 139 ASSERT_TRUE(entry); 140 EXPECT_FALSE(entry->file_specific_info().is_hosted_document()) 176 scoped_ptr<ResourceEntry> entry; local 209 scoped_ptr<ResourceEntry> entry; local 230 scoped_ptr<ResourceEntry> entry; local 258 scoped_ptr<ResourceEntry> entry; local 284 scoped_ptr<ResourceEntry> entry, entry_dontcare; local 321 scoped_ptr<ResourceEntry> entry, entry_dontcare; local 378 scoped_ptr<ResourceEntry> entry; local 428 scoped_ptr<ResourceEntry> entry; local [all...] |
copy_operation_unittest.cc | 42 ResourceEntry entry; local 44 GetLocalResourceEntry(remote_dest_path, &entry)); 57 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(remote_dest_path, &entry)); 59 entry.resource_id())); 63 entry.resource_id(), 124 ResourceEntry entry; local 126 GetLocalResourceEntry(remote_dest_path, &entry)); 137 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(remote_dest_path, &entry)); 151 ResourceEntry entry; local 152 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(remote_src_path, &entry)); 199 ResourceEntry entry; local 212 ResourceEntry entry; local 231 ResourceEntry entry; local 256 ResourceEntry entry; local [all...] |
/art/runtime/verifier/ |
reg_type_cache.cc | 32 static bool MatchingPrecisionForClass(RegType* entry, bool precise) 34 if (entry->IsPreciseReference() == precise) { 38 if (!precise && entry->GetClass()->CannotBeAssignedFromOtherTypes()) { 40 // we found a matching entry based on the descriptor. Return the precise entry in that case. 121 RegType* entry = entries_[idx]; local 122 if (entry->descriptor_ != descriptor) { 125 if (entry->HasClass()) { 126 return MatchingPrecisionForClass(entry, precise); 130 DCHECK(entry->IsUnresolvedReference()) 180 RegType* entry; local 196 RegType* entry = new UnresolvedReferenceType(descriptor, entries_.size()); local 221 RegType* entry; local 305 RegType* entry = new UnresolvedMergedType(left.GetId(), right.GetId(), this, entries_.size()); local 329 RegType* entry = new UnresolvedSuperClass(child.GetId(), this, entries_.size()); local 335 RegType* entry = NULL; local 366 RegType* entry; local 420 RegType* entry; local 454 RegType* entry; local 472 RegType* entry; local 490 RegType* entry; local [all...] |
/system/core/liblog/ |
logprint.c | 345 * entry allocated by caller. Pointers will point directly into buf 347 * Returns 0 on success and -1 on invalid wire format (entry will be 351 AndroidLogEntry *entry) 353 entry->tv_sec = buf->sec; 354 entry->tv_nsec = buf->nsec; 355 entry->pid = buf->pid; 356 entry->tid = buf->tid; 370 // An well-formed entry must consist of at least a priority 372 fprintf(stderr, "+++ LOG: entry too small\n"); 401 entry->priority = buf->msg[0] [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
TrackFragmentRandomAccessBox.java | 61 private List<Entry> entries = Collections.emptyList(); 94 entries = new ArrayList<Entry>(); 97 Entry entry = new Entry(); local 99 entry.time = IsoTypeReader.readUInt64(content); 100 entry.moofOffset = IsoTypeReader.readUInt64(content); 102 entry.time = IsoTypeReader.readUInt32(content); 103 entry.moofOffset = IsoTypeReader.readUInt32(content); 105 entry.trafNumber = IsoTypeReaderVariable.read(content, lengthSizeOfTrafNum) [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
AbstractHashedMap.java | 48 protected static final String NO_NEXT_ENTRY = "No next() entry in the iteration"; 49 protected static final String NO_PREVIOUS_ENTRY = "No previous() entry in the iteration"; 97 * Entry set 192 HashEntry<K, V> entry = data[hashIndex(hashCode, data.length)]; // no local for hash index local 193 while (entry != null) { 194 if (entry.hashCode == hashCode && isEqualKey(key, entry.key)) { 195 return entry.getValue(); 197 entry = entry.next 229 HashEntry entry = data[hashIndex(hashCode, data.length)]; \/\/ no local for hash index local 248 HashEntry entry = data[i]; local 258 HashEntry entry = data[i]; local 281 HashEntry<K, V> entry = data[index]; local 312 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>) it.next(); local 326 HashEntry<K, V> entry = data[index]; local 423 HashEntry<K, V> entry = data[hashIndex(hashCode, data.length)]; \/\/ no local for hash index local 482 HashEntry<K, V> entry = createEntry(data[hashIndex], hashCode, key, value); local 604 HashEntry<K, V> entry = oldEntries[i]; local 828 Map.Entry<K, V> entry = (Map.Entry<K, V>) obj; local [all...] |
/external/chromium_org/sync/tools/testserver/ |
chromiumsync.py | 141 """An entry should not have more than one data type present.""" 175 def GetEntryType(entry): 179 entry: A SyncEntity protobuf object whose type to determine. 181 An enum value from ALL_TYPES if the entry's type can be determined, or None 185 the entry. 187 if entry.server_defined_unique_tag == TOP_LEVEL_FOLDER_TAG: 189 entry_types = GetEntryTypesFromSpecifics(entry.specifics) 548 def _SaveEntry(self, entry): 549 """Insert or update an entry in the change log, and give it a new version. 551 The ID fields of this entry are assumed to be valid server IDs. Thi [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
create-html-entity-table | 74 entries.sort(key = lambda entry: entry[ENTITY]) 115 for entry in entries: 117 convert_entity_to_cpp_name(entry[ENTITY]), 118 convert_entity_to_uchar_array(entry[ENTITY]))) 125 for entry in entries: 126 letter = entry[ENTITY][0] 129 values = entry[VALUE].split(' ') 132 convert_entity_to_cpp_name(entry[ENTITY]), 133 len(entry[ENTITY]) [all...] |
/external/openfst/src/include/fst/ |
generic-register.h | 44 typedef EntryType Entry; 54 const EntryType &entry) { 57 register_table_.insert(make_pair(key, entry)); 61 const EntryType *entry = LookupEntry(key); local 62 if (entry) { 63 return *entry; 86 const EntryType *entry = this->LookupEntry(key); local 87 if (entry == 0) { 92 return *entry; 142 // and Entry, and have appropriate static GetRegister() and instanc [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
LruCache.java | 32 private final HashMap<K, Entry<K, V>> mWeakMap = 33 new HashMap<K, Entry<K, V>>(); 40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { 46 private static class Entry<K, V> extends WeakReference<V> { 49 public Entry(K key, V value, ReferenceQueue<V> queue) { 57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); local 58 while (entry != null) { 59 mWeakMap.remove(entry.mKey) 72 Entry<K, V> entry = mWeakMap.put( local [all...] |
/system/media/camera/docs/ |
camera_metadata_tags.mako | 31 def annotated_type(entry): 32 if entry.enum: 35 type = entry.type 36 if entry.container == 'array': 78 % for idx,entry in enumerate(find_unique_entries(sec)): 80 ${entry.name + " = " | csym,ljust(50)}// ${annotated_type(entry) | ljust(12)} | ${entry.applied_visibility} 81 ${path_name(find_parent_section(entry)) | csym}_START, 83 ${entry.name + "," | csym,ljust(50)}// ${annotated_type(entry) | ljust(12)} | ${entry.applied_visibility [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
transreg.cpp | 31 // allocation, deletion, and use of Entry objects. BoundsChecker has 345 // Vector of Entry pointers currently in use 355 // Caller must call DEBUG_setup first. Return index of given Entry, 407 // class Entry 411 * The Entry object stores objects of different types and 472 // entry object owns it. It should only be deleted when the 533 TransliteratorEntry *entry = find(ID); local 534 return (entry == 0) ? 0 535 : instantiateEntry(ID, entry, aliasReturn, status); 543 TransliteratorEntry *entry = find(ID) local 616 TransliteratorEntry *entry = new TransliteratorEntry(); local 630 TransliteratorEntry *entry = new TransliteratorEntry(); local 645 TransliteratorEntry *entry = new TransliteratorEntry(); local 666 TransliteratorEntry *entry = new TransliteratorEntry(); local 1026 TransliteratorEntry* entry = 0; local 1120 TransliteratorEntry *entry = new TransliteratorEntry(); local 1174 TransliteratorEntry* entry; local [all...] |
/external/icu4c/i18n/ |
transreg.cpp | 31 // allocation, deletion, and use of Entry objects. BoundsChecker has 347 // Vector of Entry pointers currently in use 357 // Caller must call DEBUG_setup first. Return index of given Entry, 409 // class Entry 413 * The Entry object stores objects of different types and 474 // entry object owns it. It should only be deleted when the 535 TransliteratorEntry *entry = find(ID); local 536 return (entry == 0) ? 0 537 : instantiateEntry(ID, entry, aliasReturn, status); 545 TransliteratorEntry *entry = find(ID) local 618 TransliteratorEntry *entry = new TransliteratorEntry(); local 632 TransliteratorEntry *entry = new TransliteratorEntry(); local 647 TransliteratorEntry *entry = new TransliteratorEntry(); local 668 TransliteratorEntry *entry = new TransliteratorEntry(); local 1028 TransliteratorEntry* entry = 0; local 1122 TransliteratorEntry *entry = new TransliteratorEntry(); local 1176 TransliteratorEntry* entry; local [all...] |
/external/chromium/net/tools/crash_cache/ |
crash_cache.cc | 149 disk_cache::Entry* entry; local 150 rv = cache->CreateEntry(test_name, &entry, &cb); 154 entry->Close(); 161 rv = cache->CreateEntry(test_name, &entry, &cb); 183 disk_cache::Entry* entry; 184 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); 188 entry->Close(); 192 rv = cache->CreateEntry("some other key", &entry, &cb) 271 disk_cache::Entry* entry; local [all...] |
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model.cc | 50 struct GeolocationExceptionsTableModel::Entry { 51 Entry(const GURL& in_origin, 80 const Entry& entry = entries_[*i]; local 81 if ((entry.origin == entry.embedding_origin) && 82 (entry.setting == CONTENT_SETTING_DEFAULT)) { 84 (j < entries_.size()) && (entries_[j].origin == entry.origin); ++j) { 96 Entry* entry = &entries_[row] local 143 const Entry& entry = entries_[row]; local [all...] |
/external/chromium/net/disk_cache/ |
in_flight_backend_io.h | 21 class Entry; 37 // Returns true if this operation is directed to an entry (vs. the backend). 50 void OpenEntry(const std::string& key, Entry** entry); 51 void CreateEntry(const std::string& key, Entry** entry); 57 void OpenNextEntry(void** iter, Entry** next_entry); 58 void OpenPrevEntry(void** iter, Entry** prev_entry); 60 void CloseEntryImpl(EntryImpl* entry); 61 void DoomEntryImpl(EntryImpl* entry); [all...] |
/external/chromium_org/android_webview/native/ |
state_serializer.cc | 117 // Set up the file access rights for the selected navigation entry. 154 bool WriteNavigationEntryToPickle(const content::NavigationEntry& entry, 156 if (!pickle->WriteString(entry.GetURL().spec())) 159 if (!pickle->WriteString(entry.GetVirtualURL().spec())) 162 const content::Referrer& referrer = entry.GetReferrer(); 168 if (!pickle->WriteString16(entry.GetTitle())) 171 if (!pickle->WriteString(entry.GetPageState().ToEncodedData())) 174 if (!pickle->WriteBool(static_cast<int>(entry.GetHasPostData()))) 177 if (!pickle->WriteString(entry.GetOriginalRequestURL().spec())) 180 if (!pickle->WriteString(entry.GetBaseURLForDataURL().spec()) [all...] |
/external/chromium_org/chrome/browser/policy/ |
policy_map.cc | 14 bool PolicyMap::Entry::has_higher_priority_than( 15 const PolicyMap::Entry& other) const { 22 bool PolicyMap::Entry::Equals(const PolicyMap::Entry& other) const { 37 const PolicyMap::Entry* PolicyMap::Get(const std::string& policy) const { 38 PolicyMapType::const_iterator entry = map_.find(policy); local 39 return entry == map_.end() ? NULL : &entry->second; 43 PolicyMapType::const_iterator entry = map_.find(policy); local 44 return entry == map_.end() ? NULL : entry->second.value 52 Entry& entry = map_[policy]; local 77 const Entry& entry = it->second; local 92 const Entry* entry = Get(it->first); local [all...] |
/external/chromium_org/net/disk_cache/ |
in_flight_backend_io.h | 20 class Entry; 40 // Returns true if this operation is directed to an entry (vs. the backend). 50 void OpenEntry(const std::string& key, Entry** entry); 51 void CreateEntry(const std::string& key, Entry** entry); 57 void OpenNextEntry(void** iter, Entry** next_entry); 58 void OpenPrevEntry(void** iter, Entry** prev_entry); 61 void CloseEntryImpl(EntryImpl* entry); 62 void DoomEntryImpl(EntryImpl* entry); [all...] |
/external/qemu/android/ |
sensors-port.c | 64 * each entry is a zero-terminator for its 'sensor_name' field. The end of the 65 * entire list is marked with an entry, containing -1 at its 'sensor_id' field. 116 _sensor_entry_is_terminator(const SensorEntry* entry) 118 return entry == NULL || entry->sensor_id == -1; 126 _sensor_entry_next(const SensorEntry* entry) 128 if (!_sensor_entry_is_terminator(entry)) { 131 entry = (const SensorEntry*)(entry->sensor_name + strlen(entry->sensor_name) + 1) 195 const SensorEntry* entry = _sensor_entry_is_terminator(list) ? NULL : list; local [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
FileA3DTest.java | 57 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 58 assertTrue(entry != null); 59 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 62 if (et == entry.getEntryType()) { 74 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 75 assertTrue(entry != null); 76 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 77 assertTrue(entry.getMesh() != null); 84 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 85 assertTrue(entry != null) 93 FileA3D.IndexEntry entry = model.getIndexEntry(0); local [all...] |
/frameworks/base/tools/aapt/ |
StringPool.h | 41 struct entry { struct in class:StringPool 42 entry() : offset(0) { } function in struct:StringPool::entry 43 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } function in struct:StringPool::entry 44 entry(const entry& o) : value(o.value), offset(o.offset), function in struct:StringPool::entry 57 int compare(const entry& o) const; 59 inline bool operator<(const entry& o) const { return compare(o) < 0; } 60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 61 inline bool operator==(const entry& o) const { return compare(o) == 0; } 62 inline bool operator!=(const entry& o) const { return compare(o) != 0; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactTileView.java | 93 public void loadFromContact(ContactEntry entry) { 95 if (entry != null) { 96 mName.setText(getNameForView(entry.name)); 97 mLookupUri = entry.lookupKey; 100 if (entry.status == null) { 103 mStatus.setText(entry.status); 104 mStatus.setCompoundDrawablesWithIntrinsicBounds(entry.presenceIcon, 111 if (TextUtils.isEmpty(entry.phoneLabel)) { 115 mPhoneLabel.setText(entry.phoneLabel); 121 mPhoneNumber.setText(entry.phoneNumber) [all...] |