/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | profiledata.cc | 65 void ProfileData::Evict(const Entry& entry) { argument 66 const int d = entry.depth; 73 evict_[num_evicted_++] = entry.count; 75 memcpy(&evict_[num_evicted_], entry.stack, d * sizeof(Slot)); 173 if (bucket->entry[a].count > 0) { 174 Evict(bucket->entry[a]); 248 if (bucket->entry[a].count > 0) { 249 Evict(bucket->entry[a]); 250 bucket->entry[a].depth = 0; 251 bucket->entry[ [all...] |
H A D | packed-cache-inl.h | 46 // In an effort to use minimal space, every cache entry represents 48 // entry as empty or uninitialized. In practice, you may want to have 65 // for a cache entry is (kKeybits - kHashbits) + kValuebits. Suppose 71 // be using 128 bits for each entry anyway, so maybe just pick 104 // if a whole key plus a whole value fits in an entry. Otherwise, an 105 // entry is the high bits of a key and a value, packed together. 107 // entry if kHashbits >= 11. 131 // the table is controlled by kHashbits, and the type of each entry in 175 T entry = array_[Hash(key)]; local 176 return KeyMatch(entry, ke 215 KeyMatch(T entry, K key) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | profiledata.cc | 65 void ProfileData::Evict(const Entry& entry) { argument 66 const int d = entry.depth; 73 evict_[num_evicted_++] = entry.count; 75 memcpy(&evict_[num_evicted_], entry.stack, d * sizeof(Slot)); 173 if (bucket->entry[a].count > 0) { 174 Evict(bucket->entry[a]); 248 if (bucket->entry[a].count > 0) { 249 Evict(bucket->entry[a]); 250 bucket->entry[a].depth = 0; 251 bucket->entry[ [all...] |
H A D | packed-cache-inl.h | 46 // In an effort to use minimal space, every cache entry represents 48 // entry as empty or uninitialized. In practice, you may want to have 65 // for a cache entry is (kKeybits - kHashbits) + kValuebits. Suppose 71 // be using 128 bits for each entry anyway, so maybe just pick 104 // if a whole key plus a whole value fits in an entry. Otherwise, an 105 // entry is the high bits of a key and a value, packed together. 107 // entry if kHashbits >= 11. 131 // the table is controlled by kHashbits, and the type of each entry in 173 T entry = array_[Hash(key)]; local 174 return KeyMatch(entry, ke 213 KeyMatch(T entry, K key) argument [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/ |
H A D | SegmentIndexBox.java | 85 for (Entry entry : entries) { 87 b.writeBits(entry.getReferenceType(), 1); 88 b.writeBits(entry.getReferencedSize(), 31); 89 IsoTypeWriter.writeUInt32(byteBuffer, entry.getSubsegmentDuration()); 91 b.writeBits(entry.getStartsWithSap(), 1); 92 b.writeBits(entry.getSapType(), 3); 93 b.writeBits(entry.getSapDeltaTime(), 28); 260 Entry entry = (Entry) o; 262 if (referenceType != entry.referenceType) return false; 263 if (referencedSize != entry [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
H A D | bookmark_html_writer_unittest.cc | 60 base::string16 BookmarkEntryToString(const ImportedBookmarkEntry& entry) { argument 63 if (entry.in_toolbar) 69 base::UTF8ToUTF16(entry.url.spec())); 72 for (size_t i = 0; i < entry.path.size(); ++i) { 75 result.append(entry.path[i]); 79 result.append(entry.title); 82 result.append(base::TimeFormatFriendlyDateAndTime(entry.creation_time)); 94 ImportedBookmarkEntry entry; local 95 entry.in_toolbar = on_toolbar; 96 entry 110 AssertBookmarkEntryEquals(const ImportedBookmarkEntry& entry, bool on_toolbar, const GURL& url, const base::string16& title, base::Time creation_time, const base::string16& f1, const base::string16& f2, const base::string16& f3) argument [all...] |
/external/chromium_org/sync/internal_api/ |
H A D | sync_rollback_manager_base.cc | 272 syncable::MutableEntry entry(trans.GetWrappedWriteTrans(), 276 if (!entry.good()) 279 entry.PutParentId(syncable::Id()); 280 entry.PutBaseVersion(1); 281 entry.PutUniqueServerTag(ModelTypeToRootTag(type)); 282 entry.PutNonUniqueName(ModelTypeToString(type)); 283 entry.PutIsDel(false); 284 entry.PutIsDir(true); 288 entry.PutSpecifics(specifics); 301 syncable::MutableEntry entry(tran [all...] |
/external/mdnsresponder/mDNSPosix/ |
H A D | NetMonitor.c | 203 HostEntry *entry = list->hosts + i; local 204 if (mDNSSameAddress(addr, &entry->addr)) 205 return entry; 214 HostEntry *entry; local 225 entry = list->hosts + list->num++; 227 entry->addr = *addr; 228 for (i=0; i<HostPkt_NumTypes; i++) entry->pkts[i] = 0; 229 entry->totalops = 0; 230 for (i=0; i<OP_NumTypes; i++) entry->stat[i] = 0; 231 entry 255 HostEntry *entry = FindHost(addr, list); local 264 RecordHostInfo(HostEntry *entry, const ResourceRecord *const pktrr) argument 297 SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID) argument 326 AnalyseHost(mDNS *const m, HostEntry *entry, const mDNSInterfaceID InterfaceID) argument 406 recordstat(HostEntry *entry, const domainname *fqdn, int op, mDNSu16 rrtype) argument 616 HostEntry *entry = GotPacketFromHost(srcaddr, MQ ? HostPkt_Q : HostPkt_L, msg->h.id); local 693 HostEntry *entry = GotPacketFromHost(srcaddr, HostPkt_R, msg->h.id); local 759 HostEntry *entry = GotPacketFromHost(srcaddr, HostPkt_R, msg->h.id); local [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | sync_client_unittest.cc | 167 scoped_ptr<google_apis::FileResource> entry; local 174 google_apis::test_util::CreateCopyResultCallback(&error, &entry)); 177 ASSERT_TRUE(entry); 178 resource_ids_[title] = entry->file_id(); 279 ResourceEntry entry; local 282 metadata_->GetResourceEntryById(GetLocalId("foo"), &entry)); 283 EXPECT_TRUE(entry.file_specific_info().cache_state().is_present()); 286 metadata_->GetResourceEntryById(GetLocalId("bar"), &entry)); 287 EXPECT_TRUE(entry.file_specific_info().cache_state().is_present()); 290 metadata_->GetResourceEntryById(GetLocalId("baz"), &entry)); 324 ResourceEntry entry; local 337 ResourceEntry entry; local 353 ResourceEntry entry; local 409 ResourceEntry entry; local [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | video_capture_manager.cc | 39 // the first entry for a given resolution has the largest frame rate, as needed 206 DeviceEntry* entry, 213 switch (entry->stream_type) { 218 DeviceInfo* found = FindDeviceInfoById(entry->id, devices_info_cache_); 227 WebContentsVideoCaptureDevice::Create(entry->id)); 232 DesktopMediaID id = DesktopMediaID::Parse(entry->id); 262 entry->video_capture_device = video_capture_device.Pass(); 277 DeviceEntry* entry = GetOrCreateDeviceEntry(session_id); local 278 if (!entry) { 283 DCHECK(entry 204 DoStartDeviceOnDeviceThread( media::VideoCaptureSessionId session_id, DeviceEntry* entry, const media::VideoCaptureParams& params, scoped_ptr<media::VideoCaptureDevice::Client> device_client) argument 315 DeviceEntry* entry = GetDeviceEntryForController(controller); local 418 DoStopDeviceOnDeviceThread(DeviceEntry* entry) argument 546 DestroyDeviceEntryIfNoClients(DeviceEntry* entry) argument 605 SetDesktopCaptureWindowIdOnDeviceThread( DeviceEntry* entry, gfx::NativeViewId window_id) argument [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
H A D | file_table.js | 444 * @param {Entry} entry The Entry object to render. 450 FileTable.prototype.renderName_ = function(entry, columnId, table) { 452 label.appendChild(this.renderIconType_(entry, columnId, table)); 453 label.entry = entry; 455 label.appendChild(filelist.renderFileNameLabel(this.ownerDocument, entry)); 462 * @param {Entry} entry The Entry object to render. 468 FileTable.prototype.renderSize_ = function(entry, columnId, table) { 472 div, entry, this.metadataCache_.getCached(entry, 'filesyste [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
H A D | truncate_operation.cc | 109 scoped_ptr<ResourceEntry> entry) { 117 DCHECK(entry); 118 DCHECK(entry->has_file_specific_info()); 120 if (entry->file_specific_info().is_hosted_document()) { 129 metadata_, cache_, entry->local_id(), local_file_path, length), 132 weak_ptr_factory_.GetWeakPtr(), entry->local_id(), callback)); 104 TruncateAfterEnsureFileDownloadedByPath( int64 length, const FileOperationCallback& callback, FileError error, const base::FilePath& local_file_path, scoped_ptr<ResourceEntry> entry) argument
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | history_ui_unittest.cc | 28 BrowsingHistoryHandler::HistoryEntry entry; local 29 entry.time = baseline_time + 31 entry.url = GURL(test_results[i].url); 32 entry.all_timestamps.insert(entry.time.ToInternalValue()); 33 results->push_back(entry);
|
/external/chromium_org/net/disk_cache/ |
H A D | disk_cache_test_base.h | 113 int OpenEntry(const std::string& key, disk_cache::Entry** entry); 114 int CreateEntry(const std::string& key, disk_cache::Entry** entry); 123 int ReadData(disk_cache::Entry* entry, int index, int offset, 125 int WriteData(disk_cache::Entry* entry, int index, int offset, 127 int ReadSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, 129 int WriteSparseData(disk_cache::Entry* entry, int64 offset, 132 // Asks the cache to trim an entry. If |empty| is true, the whole cache is 136 // Asks the cache to trim an entry from the deleted list. If |empty| is
|
/external/chromium_org/net/disk_cache/tracing/ |
H A D | tracing_cache_backend.h | 29 virtual int OpenEntry(const std::string& key, Entry** entry, 31 virtual int CreateEntry(const std::string& key, Entry** entry, 59 EntryProxy* FindOrCreateEntryProxy(Entry* entry); 64 Entry* entry, int result); 67 std::string key, Entry** entry, 72 const std::string& key, Entry **entry,
|
/external/chromium_org/third_party/libusb/src/libusb/ |
H A D | libusbi.h | 77 /* Get an entry from the list 85 /* Get each entry from a list 102 #define list_empty(entry) ((entry)->next == (entry)) 104 static inline void list_init(struct list_head *entry) argument 106 entry->prev = entry->next = entry; 109 static inline void list_add(struct list_head *entry, struc argument 118 list_add_tail(struct list_head *entry, struct list_head *head) argument 128 list_del(struct list_head *entry) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrTextureStripAtlas.h | 137 // Hash table entry for atlases 141 static bool Equals(const AtlasEntry& entry, const AtlasHashKey& key); 142 static bool LessThan(const AtlasEntry& entry, const AtlasHashKey& key); 184 inline bool GrTextureStripAtlas::AtlasHashKey::Equals(const AtlasEntry& entry, argument 186 return entry.fKey == key; 189 inline bool GrTextureStripAtlas::AtlasHashKey::LessThan(const AtlasEntry& entry, argument 191 return entry.fKey < key;
|
/external/chromium_org/v8/src/ |
H A D | heap-snapshot-generator.cc | 67 HeapEntry* entry) { 68 HeapGraphEdge edge(type, name, this->index(), entry->index()); 76 HeapEntry* entry) { 77 HeapGraphEdge edge(type, index, this->index(), entry->index()); 222 ASSERT(entries_.is_empty()); // Root entry must be the first one. 223 HeapEntry* entry = AddEntry(HeapEntry::kSynthetic, local 228 root_index_ = entry->index(); 230 return entry; 236 HeapEntry* entry = AddEntry(HeapEntry::kSynthetic, local 241 gc_roots_index_ = entry 65 SetNamedReference(HeapGraphEdge::Type type, const char* name, HeapEntry* entry) argument 74 SetIndexedReference(HeapGraphEdge::Type type, int index, HeapEntry* entry) argument 249 HeapEntry* entry = AddEntry( local 276 HeapEntry* entry = &entries()[i]; local 291 operator ()(HeapEntry* const* entry) argument 431 HashMap::Entry* entry = entries_map_.Lookup(addr, ComputePointerHash(addr), local 445 HashMap::Entry* entry = entries_map_.Lookup(addr, ComputePointerHash(addr), local 556 HashMap::Entry* entry = entries_map_.Lookup( local 671 HashMap::Entry* entry = entries_map_.Lookup( local 724 Pair(HeapThing thing, int entry) argument 816 HeapEntry* entry = snapshot_->AddGcRootsEntry(); local 819 HeapEntry* entry = snapshot_->AddGcSubrootEntry(GetGcSubrootOrder(object)); local 917 HeapEntry* entry = allocator->AllocateEntry(ptr); local 926 HeapEntry* entry = FindEntry(ptr); local 1093 ExtractReferencesPass1(int entry, HeapObject* obj) argument 1135 ExtractReferencesPass2(int entry, HeapObject* obj) argument 1147 ExtractJSGlobalProxyReferences( int entry, JSGlobalProxy* proxy) argument 1155 ExtractJSObjectReferences( int entry, JSObject* js_obj) argument 1241 ExtractStringReferences(int entry, String* string) argument 1256 ExtractSymbolReferences(int entry, Symbol* symbol) argument 1263 ExtractJSWeakCollectionReferences( int entry, JSWeakCollection* collection) argument 1272 ExtractContextReferences(int entry, Context* context) argument 1330 ExtractMapReferences(int entry, Map* map) argument 1388 ExtractSharedFunctionInfoReferences( int entry, SharedFunctionInfo* shared) argument 1442 ExtractScriptReferences(int entry, Script* script) argument 1460 ExtractAccessorPairReferences( int entry, AccessorPair* accessors) argument 1469 ExtractCodeCacheReferences( int entry, CodeCache* code_cache) argument 1496 ExtractCodeReferences(int entry, Code* code) argument 1528 ExtractBoxReferences(int entry, Box* box) argument 1533 ExtractCellReferences(int entry, Cell* cell) argument 1538 ExtractPropertyCellReferences(int entry, PropertyCell* cell) argument 1549 ExtractAllocationSiteReferences(int entry, AllocationSite* site) argument 1582 ExtractJSArrayBufferReferences( int entry, JSArrayBuffer* buffer) argument 1601 ExtractFixedArrayReferences(int entry, FixedArray* array) argument 1615 ExtractClosureReferences(JSObject* js_obj, int entry) argument 1637 ExtractPropertyReferences(JSObject* js_obj, int entry) argument 1718 ExtractAccessorPairProperty( JSObject* js_obj, int entry, Object* key, Object* callback_obj) argument 1734 ExtractElementReferences(JSObject* js_obj, int entry) argument 1760 ExtractInternalReferences(JSObject* js_obj, int entry) argument 1918 int entry = heap_entry->index(); local 2201 HeapEntry* entry = GetEntry(obj); local 2421 HashMap::Entry* entry = local 2491 HashMap::Entry* entry = native_groups_.Lookup(const_cast<char*>(label_copy), local 2890 SerializeNode(HeapEntry* entry) argument [all...] |
/external/chromium_org/webkit/browser/appcache/ |
H A D | appcache.cc | 45 void AppCache::AddEntry(const GURL& url, const AppCacheEntry& entry) { argument 47 entries_.insert(EntryMap::value_type(url, entry)); 48 cache_size_ += entry.response_size(); 51 bool AppCache::AddOrModifyEntry(const GURL& url, const AppCacheEntry& entry) { argument 53 entries_.insert(EntryMap::value_type(url, entry)); 57 ret.first->second.add_types(entry.types()); 59 cache_size_ += entry.response_size(); // New entry. Add to cache size. 102 const AppCacheEntry* entry = GetEntryAndUrlWithResponseId( local 104 if (!entry || !entr 162 const AppCacheDatabase::EntryRecord& entry = entries.at(i); local 262 AppCacheEntry* entry = GetEntry(url_no_ref); local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | BiMapMapInterfaceTest.java | 65 for (Entry<String, Integer> entry : bimap.entrySet()) { 66 assertEquals(entry.getKey(), inverse.get(entry.getValue())); 68 for (Entry<Integer, String> entry : inverse.entrySet()) { 69 assertEquals(entry.getKey(), bimap.get(entry.getValue()));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
H A D | SampleToGroupBox.java | 31 * sample group. The table is compactly coded with each entry giving the index of the first sample of a run of 69 for (Entry entry : entries) { 70 IsoTypeWriter.writeUInt32(byteBuffer, entry.getSampleCount()); 71 IsoTypeWriter.writeUInt32(byteBuffer, entry.getGroupDescriptionIndex()); 131 Entry entry = (Entry) o; 133 if (groupDescriptionIndex != entry.groupDescriptionIndex) { 136 if (sampleCount != entry.sampleCount) {
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/dc/ |
H A D | SDL_syscdrom.c | 87 unsigned long entry = toc.entry[i]; local 89 cdrom->track[i].type = (TOC_CTRL(toc.entry[i])==TRACK_CDDA)?SDL_AUDIO_TRACK:SDL_DATA_TRACK; 90 cdrom->track[i].offset = TOC_LBA(entry)-150; 91 cdrom->track[i].length = TOC_LBA((i+1<toc.last)?toc.entry[i+1]:toc.leadout_sector)-TOC_LBA(entry);
|
/external/skia/src/gpu/effects/ |
H A D | GrTextureStripAtlas.h | 137 // Hash table entry for atlases 141 static bool Equals(const AtlasEntry& entry, const AtlasHashKey& key); 142 static bool LessThan(const AtlasEntry& entry, const AtlasHashKey& key); 184 inline bool GrTextureStripAtlas::AtlasHashKey::Equals(const AtlasEntry& entry, argument 186 return entry.fKey == key; 189 inline bool GrTextureStripAtlas::AtlasHashKey::LessThan(const AtlasEntry& entry, argument 191 return entry.fKey < key;
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
H A D | api_util.cc | 78 bool operator()(const google_apis::ResourceEntry* entry) const { 79 return entry->title() == title && 80 HasParentLinkTo(entry->links(), parent_resource_id, parent_type); 118 scoped_ptr<google_apis::ResourceEntry> entry, 122 callback.Run(error, status, entry.Pass()); 128 scoped_ptr<google_apis::FileResource> entry) { 129 callback.Run(error, entry ? 130 drive::util::ConvertFileResourceToResourceEntry(*entry) : 333 google_apis::ResourceEntry* entry = GetDocumentByTitleAndParent( local 335 if (!entry) { 117 EntryAdapterForEnsureTitleUniqueness( scoped_ptr<google_apis::ResourceEntry> entry, const APIUtil::EnsureUniquenessCallback& callback, APIUtil::EnsureUniquenessStatus status, google_apis::GDataErrorCode error) argument 125 UploadResultAdapter(const APIUtil::ResourceEntryCallback& callback, google_apis::GDataErrorCode error, const GURL& upload_location, scoped_ptr<google_apis::FileResource> entry) argument 360 DidCreateDirectory(const std::string& parent_resource_id, const std::string& title, const ResourceIdCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument 385 DidEnsureUniquenessForCreateDirectory( const ResourceIdCallback& callback, google_apis::GDataErrorCode error, EnsureUniquenessStatus status, scoped_ptr<google_apis::ResourceEntry> entry) argument 716 DidGetFileResource( const ResourceEntryCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument 764 DownloadFileInternal( const std::string& local_file_md5, scoped_ptr<webkit_blob::ScopedFile> local_file, const DownloadFileCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument 804 DidDownloadFile(scoped_ptr<google_apis::ResourceEntry> entry, scoped_ptr<webkit_blob::ScopedFile> local_file, const DownloadFileCallback& callback, google_apis::GDataErrorCode error, const base::FilePath& downloaded_file_path) argument 820 DidUploadNewFile(const std::string& parent_resource_id, const std::string& title, UploadKey upload_key, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument 843 DidEnsureUniquenessForCreateFile( const std::string& expected_resource_id, const UploadFileCallback& callback, google_apis::GDataErrorCode error, EnsureUniquenessStatus status, scoped_ptr<google_apis::ResourceEntry> entry) argument 888 UploadExistingFileInternal( const std::string& remote_file_md5, const base::FilePath& local_file_path, const UploadFileCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument 930 DidUploadExistingFile( UploadKey upload_key, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument 948 DeleteFileInternal(const std::string& remote_file_md5, const GDataErrorCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | DebugInfoEncoder.java | 256 // Combined advance PC + position entry 286 LocalList.Entry entry = locals.get(curLocalIdx++); 287 int reg = entry.getRegister(); 290 if (entry == prevEntry) { 299 // At this point we have a new entry one way or another. 300 lastEntryForReg[reg] = entry; 302 if (entry.isStart()) { 303 if ((prevEntry != null) && entry.matches(prevEntry)) { 316 emitLocalRestart(entry); 318 emitLocalStart(entry); 611 emitLocalRestart(LocalList.Entry entry) argument 682 emitLocalStart(LocalList.Entry entry) argument 716 emitLocalStartExtended(LocalList.Entry entry) argument 745 emitLocalEnd(LocalList.Entry entry) argument 772 emitPosition(PositionList.Entry entry) argument [all...] |