/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatFile.java | 36 private final FatDirectoryEntry entry; field in class:FatFile 42 this.entry = myEntry; 46 static FatFile get(Fat fat, FatDirectoryEntry entry) 49 if (entry.isDirectory()) 50 throw new IllegalArgumentException(entry + " is a directory"); 53 fat, entry.getStartCluster(), entry.isReadonlyFlag()); 55 if (entry.getLength() > cc.getLengthOnDisk()) throw new IOException( 56 "entry is larger than associated cluster chain"); 58 return new FatFile(entry, cc) [all...] |
FatType.java | 23 * Enumerates the different entry sizes of 12, 16 and 32 bits for the different 51 void writeEntry(byte[] data, int index, long entry) { 55 data[idx] = (byte) (entry & 0xFF); 56 data[idx + 1] = (byte) ((entry >> 8) & 0x0F); 58 data[idx] |= (byte) ((entry & 0x0F) << 4); 59 data[idx + 1] = (byte) ((entry >> 4) & 0xFF); 78 void writeEntry(byte[] data, int index, long entry) { 80 data[idx] = (byte) (entry & 0xFF); 81 data[idx + 1] = (byte) ((entry >> 8) & 0xFF); 101 void writeEntry(byte[] data, int index, long entry) { [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMapEntryTest.java | 24 import java.util.Map.Entry; 36 private static <K, V> Entry<K, V> entry(final K key, final V value) { method in class:AbstractMapEntryTest 47 private static <K, V> Entry<K, V> control(K key, V value) { 52 assertEquals("foo=1", entry("foo", 1).toString()); 56 assertEquals("null=1", entry(NK, 1).toString()); 57 assertEquals("foo=null", entry("foo", NV).toString()); 58 assertEquals("null=null", entry(NK, NV).toString()); 62 Entry<String, Integer> foo1 = entry("foo", 1) [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictionUtils.java | 66 RestrictionEntry entry = new RestrictionEntry( local 69 entry.setTitle(res.getString(sRestrictionTitles[i])); 70 entry.setDescription(res.getString(sRestrictionDescriptions[i])); 71 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 72 entries.add(entry); 83 for (RestrictionEntry entry : entries) { 84 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 85 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 86 && !entry.getSelectedState()) [all...] |
/external/oprofile/daemon/ |
opd_cookie.c | 105 struct cookie_entry * entry = xmalloc(sizeof(struct cookie_entry)); local 107 entry->value = cookie; 108 entry->name = xmalloc(PATH_MAX + 1); 110 err = lookup_dcookie(cookie, entry->name, PATH_MAX); 115 free(entry->name); 116 entry->name = NULL; 117 entry->ignored = 0; 119 entry->ignored = is_image_ignored(entry->name); 122 return entry; 137 struct cookie_entry * entry; local 160 struct cookie_entry * entry; local 182 struct cookie_entry * entry; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
Profile.java | 39 // This is a watchdog entry for one thread. 109 for (WatchEntry entry : mList) { 110 if (currentTime > entry.wakeTime) { 111 entry.wakeTime += entry.cycleTime; 112 Thread thread = entry.thread; 113 sampleStack(entry); 116 if (entry.wakeTime > nextWakeTime) { 117 nextWakeTime = entry.wakeTime; 125 private void sampleStack(WatchEntry entry) { 141 WatchEntry entry = mList.get(i); local 156 WatchEntry entry = findEntry(t); local 167 WatchEntry entry = findEntry(t); local 178 WatchEntry entry = findEntry(t); local [all...] |
/libcore/luni/src/main/java/java/util/ |
WeakHashMap.java | 42 Entry<K, V>[] elementData; 52 private static <K, V> Entry<K, V>[] newEntryArray(int size) { 53 return new Entry[size]; 56 private static final class Entry<K, V> extends WeakReference<K> implements 57 Map.Entry<K, V> { 64 Entry<K, V> next; 67 R get(Map.Entry<K, V> entry); 70 Entry(K key, V object, ReferenceQueue<K> queue) { 93 if (!(other instanceof Map.Entry)) { 96 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) other; local 319 Entry<?, ?> entry = getEntry(((Map.Entry<?, ?>) object) local [all...] |
/external/emma/core/java12/com/vladium/util/ |
ObjectIntMap.java | 29 // TODO: optimize key comparisons using key.hash == entry.key.hash condition 63 m_buckets = new Entry [initialCapacity]; 91 final Entry [] buckets = m_buckets; 96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 98 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key) [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
Lookup.cpp | 38 HashEntry* entry = &entries[hashIndex]; local 40 if (entry->key()) { 41 while (entry->next()) { 42 entry = entry->next(); 45 entry->setNext(&entries[linkIndex++]); 46 entry = entry->next(); 49 entry->initialize(identifier, values[i].attributes, values[i].value1, values[i].value2 71 void setUpStaticFunctionSlot(ExecState* exec, const HashEntry* entry, JSObject* thisObj, const Identifier& propertyName, PropertySlot& slot [all...] |
Lookup.h | 145 // Find an entry in the table, and return the entry. 146 ALWAYS_INLINE const HashEntry* entry(JSGlobalData* globalData, const Identifier& identifier) const function in struct:JSC::HashTable 149 return entry(identifier); 152 ALWAYS_INLINE const HashEntry* entry(ExecState* exec, const Identifier& identifier) const function in struct:JSC::HashTable 155 return entry(identifier); 159 ALWAYS_INLINE const HashEntry* entry(const Identifier& identifier) const function in struct:JSC::HashTable 163 const HashEntry* entry = &table[identifier.impl()->existingHash() & compactHashSizeMask]; local 165 if (!entry->key()) 169 if (entry->key() == identifier.impl() 192 const HashEntry* entry = table->entry(exec, propertyName); local 208 const HashEntry* entry = table->entry(exec, propertyName); local 234 const HashEntry* entry = table->entry(exec, propertyName); local 253 const HashEntry* entry = table->entry(exec, propertyName); local 270 const HashEntry* entry = table->entry(exec, propertyName); local 288 const HashEntry* entry = table->entry(exec, propertyName); local 308 const HashEntry* entry = table->entry(exec, propertyName); local [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_netware.cc | 55 FtpDirectoryListingEntry entry; 60 entry.type = FtpDirectoryListingEntry::DIRECTORY; 62 entry.type = FtpDirectoryListingEntry::FILE; 68 // column as the entry type (just there is no space between them). We do not 73 if (!base::StringToInt64(columns[3], &entry.size)) 75 if (entry.size < 0) 77 if (entry.type != FtpDirectoryListingEntry::FILE) 78 entry.size = -1; 82 current_time, &entry.last_modified)) { 86 entry.name = columns[7] [all...] |
ftp_directory_listing_parser_ls.cc | 154 FtpDirectoryListingEntry entry; local 160 &entry.last_modified)) { 173 entry.type = FtpDirectoryListingEntry::SYMLINK; 175 entry.type = FtpDirectoryListingEntry::DIRECTORY; 177 entry.type = FtpDirectoryListingEntry::FILE; 180 if (!base::StringToInt64(columns[column_offset - 3], &entry.size)) { 183 // entry, but can't really get the size (What if the group is named 187 entry.size = 0; 189 if (entry.size < 0) 191 if (entry.type != FtpDirectoryListingEntry::FILE [all...] |
/external/chromium/chrome/browser/sessions/ |
session_types.cc | 62 NavigationEntry* entry = NavigationController::CreateNavigationEntry( local 70 entry->set_page_id(page_id); 71 entry->set_title(title_); 72 entry->set_content_state(state_); 73 entry->set_has_post_data(type_mask_ & TabNavigation::HAS_POST_DATA); 75 return entry; 78 void TabNavigation::SetFromNavigationEntry(const NavigationEntry& entry) { 79 virtual_url_ = entry.virtual_url(); 80 referrer_ = entry.referrer(); 81 title_ = entry.title() [all...] |
/external/easymock/src/org/easymock/internal/ |
UnorderedBehavior.java | 36 for (ExpectedInvocationAndResults entry : results) {
37 if (entry.getExpectedInvocation().equals(expected)) {
38 entry.getResults().add(result, count);
48 for (ExpectedInvocationAndResults entry : results) {
50 if (!entry.getExpectedInvocation().matches(actual)) {
53 Result result = entry.getResults().next();
70 for (ExpectedInvocationAndResults entry : results) {
71 if (!entry.getResults().hasValidCallCount()) {
81 for (ExpectedInvocationAndResults entry : results) {
83 boolean validCallCount = entry.getResults().hasValidCallCount(); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerStreamListener.cpp | 56 QueueEntry entry; local 57 entry.mIsCommand = false; 58 entry.mIndex = index; 59 entry.mSize = size; 60 entry.mOffset = 0; 63 mQueue.push_back(entry); 78 QueueEntry entry; local 79 entry.mIsCommand = true; 80 entry.mCommand = cmd; 81 entry.mExtra = extra 113 QueueEntry *entry = &*mQueue.begin(); local [all...] |
/external/skia/src/core/ |
SkBitmapHeap.cpp | 123 void SkBitmapHeap::removeFromLRU(SkBitmapHeap::LookupEntry* entry) { 124 if (fMostRecentlyUsed == entry) { 125 fMostRecentlyUsed = entry->fLessRecentlyUsed; 127 SkASSERT(fLeastRecentlyUsed == entry); 133 // Remove entry from its prior place, and make sure to cover the hole. 134 if (fLeastRecentlyUsed == entry) { 135 SkASSERT(entry->fMoreRecentlyUsed != NULL); 136 fLeastRecentlyUsed = entry->fMoreRecentlyUsed; 138 // Since we have already considered the case where entry is the most recently used, it must 140 SkASSERT(entry->fMoreRecentlyUsed != NULL) 284 SkBitmapHeapEntry* entry = NULL; local [all...] |
/external/chromium/net/http/ |
http_auth_cache_unittest.cc | 78 HttpAuthCache::Entry* entry; local 127 entry = cache.Lookup(origin, kRealm5, HttpAuth::AUTH_SCHEME_BASIC); 128 EXPECT_TRUE(NULL == entry); 131 entry = cache.Lookup(GURL("https://www.google.com"), kRealm3, 133 EXPECT_TRUE(NULL == entry); 136 entry = cache.Lookup 138 EXPECT_TRUE(NULL == entry); 141 entry = cache.Lookup( 143 ASSERT_FALSE(NULL == entry); 229 HttpAuthCache::Entry entry; local 278 HttpAuthCache::Entry* entry = cache.Lookup( local 366 HttpAuthCache::Entry* entry = cache.Lookup( local 445 const HttpAuthCache::Entry* entry = local 457 const HttpAuthCache::Entry* entry = local [all...] |
/external/chromium/chrome/browser/ssl/ |
ssl_policy.cc | 88 void SSLPolicy::DidRunInsecureContent(NavigationEntry* entry, 90 if (!entry) 93 SiteInstance* site_instance = entry->site_instance(); 110 void SSLPolicy::UpdateEntry(NavigationEntry* entry, TabContents* tab_contents) { 111 DCHECK(entry); 113 InitializeEntryIfNeeded(entry); 115 if (!entry->url().SchemeIsSecure()) 121 if (!entry->ssl().cert_id()) { 122 entry->ssl().set_security_style(SECURITY_STYLE_UNAUTHENTICATED); 126 if (!(entry->ssl().cert_status() & net::CERT_STATUS_COMMON_NAME_INVALID)) [all...] |
/frameworks/compile/mclinker/lib/MC/ |
SearchDirs.cpp | 86 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local 91 while (entry!=enEnd) { 92 if (file == entry.path()->stem().native() ) { 93 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { 94 return entry.path(); 97 ++entry; 102 entry = (*mcld_dir)->begin(); 104 while ( entry!=enEnd ) { 105 if (file == entry.path()->stem().native() && 106 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) 130 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
DefaultMapEntry.java | 23 * A restricted implementation of {@link java.util.Map.Entry} that prevents 36 * Constructs a new entry with the specified key and given value. 38 * @param key the key for the entry, may be null 39 * @param value the value for the entry, may be null 46 * Constructs a new entry from the specified KeyValue. 49 * @throws NullPointerException if the entry is null 56 * Constructs a new entry from the specified MapEntry. 58 * @param entry the entry to copy, must not be null 59 * @throws NullPointerException if the entry is nul [all...] |
/system/core/include/zipfile/ |
zipfile.h | 35 // Get a named entry object. Returns NULL if it doesn't exist 40 // Return the size of the entry. 41 size_t get_zipentry_size(zipentry_t entry); 43 // return the filename of this entry, you own the memory returned 44 char* get_zipentry_name(zipentry_t entry); 48 int decompress_zipentry(zipentry_t entry, void* buf, int bufsize);
|
/external/chromium/net/tools/testserver/ |
chromiumsync.py | 77 """An entry should not have more than one protobuf extension present.""" 84 def GetEntryType(entry): 88 entry: A SyncEntity protobuf object whose type to determine. 90 A value from ALL_TYPES if the entry's type can be determined, or None 93 ProtobufExtensionNotUnique: More than one type was indicated by the entry. 95 if entry.server_defined_unique_tag == TOP_LEVEL_FOLDER_TAG: 97 entry_types = GetEntryTypesFromSpecifics(entry.specifics) 283 def _SaveEntry(self, entry): 284 """Insert or update an entry in the change log, and give it a new version. 286 The ID fields of this entry are assumed to be valid server IDs. Thi [all...] |
/external/chromium/chrome/browser/sync/engine/ |
build_and_process_conflict_sets_command.cc | 74 syncable::Entry entry(trans, syncable::GET_BY_ID, *i); 75 CHECK(entry.good()); 76 if (entry.Get(syncable::IS_UNSYNCED)) 78 if (entry.Get(syncable::IS_UNAPPLIED_UPDATE)) 95 void StoreLocalDataForUpdateRollback(syncable::Entry* entry, 97 CHECK(!entry->Get(syncable::IS_UNSYNCED)) << " Storing Rollback data for " 98 "entry that's unsynced." << *entry; 276 << parent_id << " entry: " << *entry; local [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 31 * Maximum number of retransmit attempts before the entry is removed from 322 struct radius_msg_list *entry, 329 if (entry->msg_type == RADIUS_ACCT || 330 entry->msg_type == RADIUS_ACCT_INTERIM) { 332 if (entry->attempts == 0) 340 if (entry->attempts == 0) 348 /* retransmit; remove entry if too many attempts */ 349 entry->attempts++; 350 hostapd_logger(radius->ctx, entry->addr, HOSTAPD_MODULE_RADIUS, 352 radius_msg_get_hdr(entry->msg)->identifier) 379 struct radius_msg_list *entry, *prev, *tmp; local 487 struct radius_msg_list *entry; local 518 struct radius_msg_list *entry, *prev; local 569 struct radius_msg_list *entry, *prev, *tmp; local 843 struct radius_msg_list *entry, *prev, *_remove; local 883 struct radius_msg_list *entry, *prev, *tmp; local 917 struct radius_msg_list *entry; local 947 struct radius_msg_list *entry; local 1323 struct radius_msg_list *entry, *prev, *tmp; local [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
BasicPoolEntryRef.java | 48 /** The planned route of the entry. */ 53 * Creates a new reference to a pool entry. 55 * @param entry the pool entry, must not be <code>null</code> 58 public BasicPoolEntryRef(BasicPoolEntry entry, 60 super(entry, queue); 61 if (entry == null) { 63 ("Pool entry must not be null."); 65 route = entry.getPlannedRoute(); 70 * Obtain the planned route for the referenced entry [all...] |