/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata.cc | 20 // Sets entry's base name from its title and other attributes. 21 void SetBaseNameFromTitle(ResourceEntry* entry) { 22 std::string base_name = entry->title(); 23 if (entry->has_file_specific_info() && 24 entry->file_specific_info().is_hosted_document()) { 25 base_name += entry->file_specific_info().document_extension(); 27 entry->set_base_name(util::NormalizeFileName(base_name)); 30 // Creates an entry by copying |source|, and setting the base name properly. 32 ResourceEntry entry(source); 33 SetBaseNameFromTitle(&entry); 192 ResourceEntry entry; local 414 ResourceEntry entry; local 483 ResourceEntry entry; local 509 ResourceEntry entry; local 579 ResourceEntry entry; local 649 const ResourceEntry& entry = it->second; local 761 ResourceEntry entry; local [all...] |
resource_metadata_unittest.cc | 47 ResourceEntry entry; local 48 entry.set_title(title); 49 entry.set_resource_id("resource_id:" + title); 50 entry.set_parent_resource_id(parent_resource_id); 51 entry.mutable_file_info()->set_is_directory(true); 52 entry.mutable_directory_specific_info()->set_changestamp(kTestChangestamp); 53 return entry; 59 ResourceEntry entry; local 60 entry.set_title(title); 61 entry.set_resource_id("resource_id:" + title) 169 scoped_ptr<ResourceEntry> entry; local 220 scoped_ptr<ResourceEntry> entry; local 233 scoped_ptr<ResourceEntry> entry; local 256 scoped_ptr<ResourceEntry> entry; local 405 scoped_ptr<ResourceEntry> entry; local 488 scoped_ptr<ResourceEntry> entry; local 825 scoped_ptr<ResourceEntry> entry; local 880 ResourceEntry entry; local 1032 ResourceEntry entry; local [all...] |
resource_entry_conversion.cc | 24 // Checks if |entry| has a label "shared-with-me", which is added to entries 26 bool HasSharedWithMeLabel(const google_apis::ResourceEntry& entry) { 28 std::find(entry.labels().begin(), entry.labels().end(), 30 return it != entry.labels().end(); 52 // used for the entry and if the entry has no parent, we assign a special ID 115 // * The entry is something that doesn't map into files (i.e. sites). 117 // * The entry is un-shared to you by other owner. In that case, we 118 // get an entry with only deleted() and resource_id() fields ar [all...] |
resource_metadata_storage_unittest.cc | 42 // Puts a child entry. 53 // Removes a child entry. 140 ResourceEntry entry; local 142 entry.set_resource_id("entry1"); 143 entries.push_back(entry); 144 entry.set_resource_id("entry2"); 145 entries.push_back(entry); 146 entry.set_resource_id("entry3"); 147 entries.push_back(entry); 148 entry.set_resource_id("entry4") 168 const ResourceEntry& entry = it->Get(); local 190 FileCacheEntry entry; local 235 ResourceEntry entry; local 277 ResourceEntry entry; local 285 ResourceEntry entry; local 350 ResourceEntry entry; local 393 ResourceEntry entry; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 296 ImageEntry entry = mImageCache.get(path); local 299 if (entry == null || entry.screenNailTask != future) { 304 entry.screenNailTask = null; 307 if (entry.screenNail instanceof TiledScreenNail) { 308 TiledScreenNail original = (TiledScreenNail) entry.screenNail; 313 entry.failToLoad = true; 315 entry.failToLoad = false; 316 entry.screenNail = screenNail; 321 if (i == 0) updateTileProvider(entry); 331 ImageEntry entry = mImageCache.get(path); local 524 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex + offset)); local 602 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex)); local 814 ImageEntry entry = mImageCache.get(path); local 842 ImageEntry entry = mImageCache.remove(path); local [all...] |
/external/chromium/net/disk_cache/ |
mem_backend_impl.h | 44 // Permanently deletes an entry. 45 void InternalDoomEntry(MemEntryImpl* entry); 47 // Updates the ranking information for an entry. 58 // by calling RemoveFromRankingList(|entry|). 59 void InsertIntoRankingList(MemEntryImpl* entry); 61 // Remove |entry| from ranking list. This method is only called from 62 // MemEntryImpl to remove a child entry from the ranking list. 63 void RemoveFromRankingList(MemEntryImpl* entry); 67 virtual int OpenEntry(const std::string& key, Entry** entry, [all...] |
/external/chromium_org/ash/accelerators/ |
accelerator_table_unittest.cc | 32 const AcceleratorData& entry = kAcceleratorData[i]; local 33 EXPECT_TRUE(acclerators.insert(entry).second) 34 << "Duplicated accelerator: " << entry.trigger_on_press << ", " 35 << entry.keycode << ", " << (entry.modifiers & ui::EF_SHIFT_DOWN) 36 << ", " << (entry.modifiers & ui::EF_CONTROL_DOWN) << ", " 37 << (entry.modifiers & ui::EF_ALT_DOWN);
|
/external/chromium_org/chrome/browser/policy/cloud/ |
user_cloud_policy_manager_factory.cc | 89 UserCloudPolicyManager*& entry = managers_[profile]; local 90 DCHECK(!entry); 91 entry = instance; 97 ManagerMap::iterator entry = managers_.find(profile); local 98 if (entry != managers_.end()) { 99 DCHECK_EQ(instance, entry->second); 100 managers_.erase(entry);
|
/external/chromium_org/chrome/browser/policy/ |
configuration_policy_provider.cc | 37 PolicyMap::Entry current_priority; // Defaults to the lowest priority. 40 const PolicyMap::Entry* entry = policies->Get(kProxyPolicies[i]); local 41 if (entry) { 42 if (entry->has_higher_priority_than(current_priority)) { 44 current_priority = *entry; 46 if (!entry->has_higher_priority_than(current_priority) && 47 !current_priority.has_higher_priority_than(*entry)) { 48 proxy_settings->Set(kProxyPolicies[i], entry->value->DeepCopy()); 55 const PolicyMap::Entry* existing = policies->Get(key::kProxySettings) [all...] |
/external/chromium_org/chrome/common/metrics/ |
caching_permuted_entropy_provider.cc | 78 PermutedEntropyCache::Entry* entry; local 81 // If the cache is full, evict the first entry, swapping later entries in 88 entry = cache_.mutable_entry(kMaxSize - 1); 90 entry = cache_.add_entry(); 93 entry->set_randomization_seed(randomization_seed); 94 entry->set_value(value); 102 if (cache_.entry(i).randomization_seed() == randomization_seed) { 103 *value = cache_.entry(i).value();
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/ |
glapi_getproc.c | 53 * and return the corresponding glprocs_table_t entry. 176 * only allocate the entry-point stub when the application requests the 263 * \param funcName Name of the function to create an entry-point for. 271 struct _glapi_function * entry = NULL; local 292 entry = & ExtEntryTable[NumExtEntryPoints]; 295 entry->name = name_dup; 296 entry->parameter_signature = NULL; 297 entry->dispatch_offset = ~0; 298 entry->dispatch_stub = entrypoint; 300 return entry; 379 struct _glapi_function * entry[8]; local 511 struct _glapi_function * entry; local [all...] |
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 28 ss_request_entry *entry; local 54 entry = (*table)->requests; 55 for (; entry->command_names; entry++) { 58 if (entry->flags & SS_OPT_DONT_LIST) 60 for (name = entry->command_names; *name; name++) { 75 strcat(buffer, entry->info_string);
|
/external/mesa3d/src/mapi/glapi/ |
glapi_getproc.c | 53 * and return the corresponding glprocs_table_t entry. 176 * only allocate the entry-point stub when the application requests the 263 * \param funcName Name of the function to create an entry-point for. 271 struct _glapi_function * entry = NULL; local 292 entry = & ExtEntryTable[NumExtEntryPoints]; 295 entry->name = name_dup; 296 entry->parameter_signature = NULL; 297 entry->dispatch_offset = ~0; 298 entry->dispatch_stub = entrypoint; 300 return entry; 379 struct _glapi_function * entry[8]; local 511 struct _glapi_function * entry; local [all...] |
/frameworks/compile/mclinker/unittests/ |
HashTableTest.cpp | 85 HashTableTy::entry_type* entry = 0; local 87 entry = hashTable->insert(pA, exist); 117 HashTableTy::iterator entry = hashTable->find(key); local 118 EXPECT_EQ(999, entry.getEntry()->value()); 128 HashTableTy::entry_type* entry = 0; local 130 entry = hashTable->insert(key, exist); 133 EXPECT_FALSE(NULL == entry); 134 EXPECT_TRUE(key == entry->key()); 135 entry->setValue(key+10); 150 HashTableTy::entry_type* entry = 0 local 175 HashTableTy::entry_type* entry = 0; local 198 HashTableTy::entry_type* entry = 0; local 234 HashTableTy::entry_type* entry = 0; local 255 HashTableTy::entry_type* entry = 0; local 278 HashTableTy::entry_type* entry = 0; local 309 HashTableTy::entry_type* entry = 0; local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | 91 static void antlr3VectorDel (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 92 static void * antlr3VectorGet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 93 static void * antrl3VectorRemove (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 96 static ANTLR3_UINT32 antlr3VectorSet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry, void * element, void (ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting); 200 pANTLR3_HASH_ENTRY entry; local 216 entry = thisBucket->entries; 220 while (entry != NULL) 222 /* Save next entry - we do not want to access memory in entry after we 225 nextEntry = entry->nextEntry 278 pANTLR3_HASH_ENTRY entry; local 335 pANTLR3_HASH_ENTRY entry; local 398 pANTLR3_HASH_ENTRY entry; local 422 pANTLR3_HASH_ENTRY entry; local 448 pANTLR3_HASH_ENTRY entry; local 487 pANTLR3_HASH_ENTRY entry; local 527 pANTLR3_HASH_ENTRY entry; local 598 pANTLR3_HASH_ENTRY entry; local 943 pANTLR3_HASH_ENTRY entry; local 1138 ANTLR3_UINT32 entry; local 1163 ANTLR3_UINT32 entry; local [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilPlayer.java | 221 TimelineEntry entry = new TimelineEntry(beginOffset, local 223 timeline.add(entry); 234 TimelineEntry entry = new TimelineEntry(endOffset, local 236 timeline.add(entry); 376 private synchronized boolean isBeginOfSlide(TimelineEntry entry) { 377 return (TimelineEntry.ACTION_BEGIN == entry.getAction()) 378 && (entry.getElement() instanceof SmilParElementImpl); 386 TimelineEntry entry = mAllEntries.get(i); local 387 actionEntry(entry); 393 TimelineEntry entry = mAllEntries.get(0) local 399 TimelineEntry entry = mAllEntries.get(i); local 553 TimelineEntry entry = mAllEntries.get(i); local 569 TimelineEntry entry; local 594 TimelineEntry entry = mAllEntries.get(i); local 653 TimelineEntry entry = mAllEntries.get(mCurrentElement); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlidingWindow.java | 81 public PanoSupportListener (AlbumEntry entry) { 82 mEntry = entry; 183 AlbumEntry entry = mData[index % mData.length]; local 184 if (entry.bitmapTexture != null) { 185 mTileUploader.addTexture(entry.bitmapTexture); 196 AlbumEntry entry = mData[i % mData.length]; local 197 if (entry.bitmapTexture != null) { 198 mTileUploader.addTexture(entry.bitmapTexture); 228 AlbumEntry entry = mData[slotIndex % mData.length]; 229 if (entry.content != null || entry.item == null) return false 257 AlbumEntry entry = data[index]; local 264 AlbumEntry entry = new AlbumEntry(); local [all...] |
/external/chromium_org/net/disk_cache/ |
backend_unittest.cc | 42 const char kExistingEntryKey[] = "existing entry key"; 55 disk_cache::Entry* entry = NULL; 56 rv = cache->CreateEntry(kExistingEntryKey, &entry, cb.callback()); 59 entry->Close(); 126 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; 146 disk_cache::Entry* entry3 = NULL; 198 disk_cache::Entry *entry1, *entry2; 334 disk_cache::Entry* entry; local 363 disk_cache::EntryImpl* entry; local 446 disk_cache::Entry* entry; local 487 disk_cache::Entry* entry; local 545 disk_cache::Entry* entry; local 630 disk_cache::Entry* entry; local 684 disk_cache::Entry* entry; local 714 disk_cache::Entry* entry; local 745 disk_cache::Entry* entry; local 781 disk_cache::Entry* entry; local 825 disk_cache::Entry* entry; local 909 disk_cache::Entry* entry; local 914 disk_cache::Entry* entry; local 953 disk_cache::Entry* entry; local 1007 disk_cache::Entry* entry; local 1067 disk_cache::Entry* entry; local 1074 disk_cache::Entry* entry; local 1243 disk_cache::Entry *entry, *entry1, *entry2; local 1297 disk_cache::Entry* entry; local 1354 disk_cache::Entry *entry; local 1496 disk_cache::Entry *entry; local 1802 disk_cache::Entry* entry = NULL; local 1843 disk_cache::Entry* entry = NULL; local 1910 disk_cache::Entry* entry; local 1981 disk_cache::Entry* entry; local 2003 disk_cache::Entry* entry; local 2014 disk_cache::Entry* entry; local 2036 disk_cache::Entry* entry; local 2080 disk_cache::Entry* entry; local 2127 disk_cache::Entry* entry; local 2192 disk_cache::Entry* entry; local 2255 disk_cache::Entry* entry; local 2325 disk_cache::Entry* entry; local 2381 disk_cache::Entry* entry; local 2477 disk_cache::Entry* entry; local 2639 disk_cache::Entry* entry; local 2740 disk_cache::Entry* entry; local 2804 disk_cache::Entry* entry; local 2877 disk_cache::Entry* entry; local 2976 disk_cache::Entry* entry; local 2999 disk_cache::Entry* entry; local 3028 disk_cache::Entry* entry = NULL; local 3138 disk_cache::Entry* entry = NULL; local 3175 disk_cache::Entry* entry = NULL; local 3208 disk_cache::Entry* entry; local 3240 disk_cache::Entry* entry; local 3275 disk_cache::Entry* entry; local 3293 disk_cache::Entry* entry; local [all...] |