Searched defs:entry (Results 126 - 150 of 1572) sorted by relevance

1234567891011>>

/external/chromium_org/apps/
H A Dsaved_files_service_unittest.cc61 // Check that a registered file entry has the correct value.
66 const SavedFileEntry* entry = local
68 ASSERT_TRUE(entry);
69 EXPECT_EQ(id_string, entry->id);
70 EXPECT_EQ(path_, entry->path);
71 EXPECT_TRUE(entry->is_directory);
72 EXPECT_EQ(sequence_number, entry->sequence_number);
77 SavedFileEntry entry; local
94 // Test that no entry has a sequence number.
99 // Test that only entry #
129 SavedFileEntry entry; local
154 SavedFileEntry entry; local
187 SavedFileEntry entry; local
[all...]
/external/chromium_org/chrome/browser/
H A Dchrome_content_browser_client_unittest.cc131 NavigationEntry* entry = browser()->tab_strip_model()-> local
133 ASSERT_TRUE(entry != NULL);
134 EXPECT_EQ(url_rewritten, entry->GetURL());
135 EXPECT_EQ(url_original, entry->GetVirtualURL());
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfake_file_system_unittest.cc37 scoped_ptr<ResourceEntry> entry; local
49 &initialize_error, &cache_file_path, &entry),
55 EXPECT_TRUE(entry);
67 entry.reset();
75 &initialize_error, &cache_file_path, &entry),
81 EXPECT_TRUE(entry);
99 scoped_ptr<ResourceEntry> entry; local
106 &initialize_error, &cache_file_path, &entry),
116 scoped_ptr<ResourceEntry> entry; local
120 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
130 scoped_ptr<ResourceEntry> entry; local
145 scoped_ptr<ResourceEntry> entry; local
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dget_file_for_saving_operation_unittest.cc79 scoped_ptr<ResourceEntry> entry; local
84 &error, &local_path, &entry));
89 ASSERT_TRUE(entry);
90 EXPECT_EQ(src_entry.resource_id(), entry->resource_id());
93 EXPECT_TRUE(entry->file_specific_info().cache_state().is_present());
94 EXPECT_TRUE(entry->file_specific_info().cache_state().is_dirty());
114 scoped_ptr<ResourceEntry> entry; local
119 &error, &local_path, &entry));
138 scoped_ptr<ResourceEntry> entry; local
143 &error, &local_path, &entry));
[all...]
H A Dtouch_operation.cc24 // Updates the timestamps of the entry specified by |file_path|.
29 ResourceEntry* entry,
31 FileError error = metadata->GetResourceEntryByPath(file_path, entry);
34 *local_id = entry->local_id();
36 PlatformFileInfoProto* file_info = entry->mutable_file_info();
41 entry->set_metadata_edit_state(ResourceEntry::DIRTY);
42 entry->set_modification_date(base::Time::Now().ToInternalValue());
43 return metadata->RefreshEntry(*entry);
68 ResourceEntry* entry = new ResourceEntry; local
77 entry,
25 UpdateLocalState(internal::ResourceMetadata* metadata, const base::FilePath& file_path, const base::Time& last_access_time, const base::Time& last_modified_time, ResourceEntry* entry, std::string* local_id) argument
87 TouchFileAfterUpdateLocalState( const base::FilePath& file_path, const FileOperationCallback& callback, const ResourceEntry* entry, const std::string* local_id, FileError error) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dzip_file_creator_browsertest.cc102 const zip::ZipReader::EntryInfo* entry = reader.current_entry_info(); local
104 if (entry->file_path() == kDir1.AsEndingWithSeparator()) {
105 EXPECT_TRUE(entry->is_directory());
106 } else if (entry->file_path() == kFile1) {
107 EXPECT_FALSE(entry->is_directory());
108 EXPECT_EQ(3, entry->original_size());
109 } else if (entry->file_path() == kFile2) {
110 EXPECT_FALSE(entry->is_directory());
111 EXPECT_EQ(kRandomDataSize, entry->original_size());
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_component_extension_resource_manager.cc79 std::map<base::FilePath, int>::const_iterator entry = local
81 if (entry != path_to_resource_id_.end())
82 *resource_id = entry->second;
84 return entry != path_to_resource_id_.end();
/external/chromium_org/chrome/browser/google/
H A Dgoogle_search_counter.cc27 const content::NavigationEntry& entry) const {
28 DCHECK(google_util::IsGoogleSearchUrl(entry.GetURL()));
30 // If the |entry| is FROM_ADDRESS_BAR, it comes from the omnibox; if it's
33 if (entry.GetTransitionType() == (ui::PAGE_TRANSITION_GENERATED |
38 // The string "source=search_app" in the |entry| URL represents a Google
40 if (entry.GetURL().query().find("source=search_app") != std::string::npos)
52 return google_util::IsGoogleSearchUrl(commit->entry->GetURL());
70 const content::NavigationEntry& entry = *commit->entry; local
73 GetGoogleSearchAccessPointForSearchNavEntry(entry));
[all...]
/external/chromium_org/chrome/browser/search/
H A Diframe_source.cc62 const content::NavigationEntry* entry = local
64 if (entry == NULL)
67 *origin = entry->GetURL().GetOrigin().spec();
/external/chromium_org/chrome/browser/ui/webui/predictors/
H A Dpredictors_handler.cc68 base::DictionaryValue* entry = new base::DictionaryValue(); local
69 entry->SetString("user_text", it->first.user_text);
70 entry->SetString("url", it->first.url.spec());
71 entry->SetInteger("hit_count", it->second.number_of_hits);
72 entry->SetInteger("miss_count", it->second.number_of_misses);
73 entry->SetDouble("confidence",
75 db->Append(entry);
/external/chromium_org/components/dom_distiller/core/
H A Darticle_entry.cc18 bool IsEntryValid(const ArticleEntry& entry) { argument
19 if (!entry.has_entry_id())
21 for (int i = 0; i < entry.pages_size(); ++i) {
22 if (!IsEntryPageValid(entry.pages(i)))
37 ArticleEntry entry = article_specifics; local
38 DCHECK(IsEntryValid(entry));
39 return entry;
42 EntitySpecifics SpecificsFromEntry(const ArticleEntry& entry) { argument
43 DCHECK(IsEntryValid(entry));
45 *specifics.mutable_article() = entry;
63 CreateLocalData(const ArticleEntry& entry) argument
[all...]
/external/chromium_org/content/browser/appcache/
H A Dappcache_disk_cache_unittest.cc55 AppCacheDiskCache::Entry* entry = NULL; local
58 // one of each kind of "entry" function.
63 disk_cache->CreateEntry(1, &entry, completion_callback_);
64 disk_cache->OpenEntry(2, &entry, completion_callback_);
74 EXPECT_EQ(NULL, entry);
110 AppCacheDiskCache::Entry* entry = NULL; local
113 disk_cache->CreateEntry(1, &entry, completion_callback_));
115 disk_cache->OpenEntry(2, &entry, completion_callback_));
/external/chromium_org/content/public/browser/
H A Dnavigation_details.h21 // By default, the entry will be filled according to a new main frame
25 // The committed entry. This will be the active entry in the controller.
26 NavigationEntry* entry; member in struct:content::LoadCommittedDetails
33 // The index of the previously committed navigation entry. This will be -1
40 // True if the committed entry has replaced the exisiting one.
44 // True if the navigation was in-page. This means that the active entry's
65 // The HTTP status code for this entry..
71 // The changed navigation entry after it has been updated.
74 // Indicates the current index in the back/forward list of the entry
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dgetdents_helper.cc47 dirent& entry = dirents_.back(); local
48 entry.d_ino = ino;
49 entry.d_off = sizeof(dirent);
50 entry.d_reclen = sizeof(dirent);
57 strncpy(&entry.d_name[0], name, copylen);
58 entry.d_name[copylen] = 0;
/external/chromium_org/net/base/
H A Dtrace_net_log_observer.cc53 void TraceNetLogObserver::OnAddEntry(const NetLog::Entry& entry) { argument
54 scoped_ptr<base::Value> params(entry.ParametersToValue());
55 switch (entry.phase()) {
58 "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id,
59 "source_type", NetLog::SourceTypeToString(entry.source().type),
65 "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id,
66 "source_type", NetLog::SourceTypeToString(entry.source().type),
72 "netlog", NetLog::EventTypeToString(entry
[all...]
/external/chromium_org/net/cert/
H A Dct_objects_extractor_unittest.cc74 LogEntry entry; local
77 &entry));
79 ASSERT_EQ(ct::LogEntry::LOG_ENTRY_TYPE_PRECERT, entry.type);
80 // Should have empty leaf cert for this log entry type.
81 ASSERT_TRUE(entry.leaf_certificate.empty());
85 ASSERT_TRUE(expected_issuer_key_hash.Equals(entry.issuer_key_hash));
89 LogEntry entry; local
90 ASSERT_TRUE(GetX509LogEntry(test_cert_->os_cert_handle(), &entry));
92 ASSERT_EQ(ct::LogEntry::LOG_ENTRY_TYPE_X509, entry.type);
93 // Should have empty tbs_certificate for this log entry typ
105 LogEntry entry; local
120 LogEntry entry; local
[all...]
/external/chromium_org/net/disk_cache/
H A Ddisk_cache.h73 // entry to enumerate. It returns |net::ERR_FAILED| at the end of
76 // |callback| will not be called. If any entry in the cache is modified
102 // Opens an existing entry. Upon success, |entry| holds a pointer to an Entry
103 // object representing the specified disk cache entry. When the entry pointer
106 // will be invoked when the entry is available. The pointer to receive the
107 // |entry| must remain valid until the operation completes.
108 virtual int OpenEntry(const std::string& key, Entry** entry,
111 // Creates a new entry
316 operator ()(Entry* entry) argument
[all...]
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser_unittest.cc82 const FtpDirectoryListingEntry& entry = entries[i]; local
85 EXPECT_EQ(FtpDirectoryListingEntry::DIRECTORY, entry.type);
87 EXPECT_EQ(FtpDirectoryListingEntry::FILE, entry.type);
89 EXPECT_EQ(FtpDirectoryListingEntry::SYMLINK, entry.type);
94 EXPECT_EQ(base::UTF8ToUTF16(name), entry.name);
95 EXPECT_EQ(size, entry.size);
98 entry.last_modified.LocalExplode(&time_exploded);
/external/chromium_org/remoting/signaling/
H A Dserver_log_entry_unittest.cc44 XmlElement* entry = log_element->FirstChild()->AsElement(); local
45 if (entry->Name() != QName(kChromotingNamespace, "entry")) {
46 ADD_FAILURE() << "Expected element 'entry'";
49 if (entry->NextChild()) {
53 return entry;
/external/chromium_org/sync/engine/
H A Dapply_control_data_updates.cc36 // entry because we haven't applied its parent yet).
42 syncable::MutableEntry entry(&trans, syncable::GET_TYPE_ROOT, iter.Get());
43 if (!entry.good())
45 if (!entry.GetIsUnappliedUpdate())
48 ModelType type = entry.GetServerModelType();
52 &entry,
56 &entry,
65 syncable::MutableEntry entry(&trans, syncable::GET_BY_HANDLE, *iter);
66 CHECK(entry.good());
67 ModelType type = entry
92 ApplyNigoriUpdate(syncable::WriteTransaction* const trans, syncable::MutableEntry* const entry, Cryptographer* cryptographer) argument
200 ApplyControlUpdate(syncable::WriteTransaction* const trans, syncable::MutableEntry* const entry, Cryptographer* cryptographer) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMException.cpp103 const CoreException* entry = getErrorEntry(ec); local
104 ASSERT(entry);
105 return adoptRefWillBeNoop(new DOMException(entry->code,
106 entry->name ? entry->name : "Error",
107 sanitizedMessage.isNull() ? String(entry->message) : sanitizedMessage,
123 const CoreException* entry = getErrorEntry(ec); local
124 ASSERT(entry);
125 if (!entry)
128 return entry
133 const CoreException* entry = getErrorEntry(ec); local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DEntrySync.cpp46 EntrySync* EntrySync::create(EntryBase* entry) argument
48 if (entry->isFile())
49 return FileEntrySync::create(entry->m_fileSystem, entry->m_fullPath);
50 return DirectoryEntrySync::create(entry->m_fileSystem, entry->m_fullPath);
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_elf_view.cpp48 const ELF::Phdr* entry = &phdr[n]; local
49 if (entry->p_type == PT_PHDR) {
50 phdr0 = entry;
60 const ELF::Phdr* entry = &phdr[n]; local
61 if (entry->p_type == PT_LOAD) {
62 if (entry->p_offset == 0) {
63 ELF::Addr elf_addr = load_bias_ + entry->p_vaddr;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_format.c113 * Format capability description entry.
554 * be supported when the host does not provide an explicit capability entry.
561 const struct format_cap *entry; local
563 for (entry = format_cap_table; entry < format_cap_table + Elements(format_cap_table); ++entry) {
564 if (entry->format == format) {
568 if (sws->get_cap(sws, entry->index, &result)) {
573 caps->value = entry->defaultOperations;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dopt_dead_functions.cpp78 signature_entry *entry = (signature_entry *)iter.get(); local
79 if (entry->signature == sig)
80 return entry;
83 signature_entry *entry = new(mem_ctx) signature_entry(sig); local
84 this->signature_list.push_tail(entry);
85 return entry;
92 signature_entry *entry = this->get_signature_entry(ir); local
95 entry->used = true;
107 signature_entry *entry = this->get_signature_entry(ir->callee); local
109 entry
127 signature_entry *entry = (signature_entry *)iter.get(); local
[all...]

Completed in 728 milliseconds

1234567891011>>