Searched defs:cache (Results 1 - 25 of 612) sorted by path

1234567891011>>

/external/aac/libFDK/src/
H A DFDK_bitbuffer.cpp193 UINT cache = (hBitBuf->Buffer[(byteOffset-3)] << 24) | local
199 cache = (cache >> (8-BitNdx)) | ((UINT)hBitBuf->Buffer [byteOffset-4] << (24+BitNdx));
201 return (cache) ;
208 UINT cache = FDK_get (hBitBuf,nBits)<< (32-nBits); local
209 cache |= (FDK_get (hBitBuf,32-nBits));
210 return (cache);
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DInterval.java34 static Interval[] cache = new Interval[INTERVAL_POOL_MAX_VALUE+1]; field in class:Interval
54 // cache just a..a
58 if ( cache[a]==null ) {
59 cache[a] = new Interval(a,a);
61 return cache[a];
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetLocal.java35 static Hashtable<String, File> cache = new Hashtable<String, File>(20); field in class:Support_GetLocal
40 File temp = cache.get(url);
53 cache.put(url, temp);
60 File temp = cache.get(url);
73 cache.put(url, temp);
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedOutputStream.java60 private byte[] cache; field in class:ChunkedOutputStream
79 this.cache = new byte[bufferSize];
97 * Writes the cache out onto the underlying stream
103 this.out.write(this.cache, 0, this.cachePosition);
110 * Writes the cache and bufferToAppend to the underlying stream
119 this.out.write(this.cache, 0, this.cachePosition);
133 * Must be called to ensure the internal cache is flushed and the closing chunk is written.
149 this.cache[this.cachePosition] = (byte) b;
151 if (this.cachePosition == this.cache.length) flushCache();
168 if (len >= this.cache
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDEREnumerated.java141 private static ASN1Enumerated[] cache = new ASN1Enumerated[12]; field in class:DEREnumerated
156 if (value >= cache.length)
161 ASN1Enumerated possibleMatch = cache[value];
165 possibleMatch = cache[value] = new ASN1Enumerated(Arrays.clone(enc));
H A DDERObjectIdentifier.java391 private static ASN1ObjectIdentifier[][] cache = new ASN1ObjectIdentifier[256][]; field in class:DERObjectIdentifier
406 synchronized (cache)
408 ASN1ObjectIdentifier[] first = cache[idx1];
411 first = cache[idx1] = new ASN1ObjectIdentifier[128];
426 first = cache[idx1];
429 first = cache[idx1] = new ASN1ObjectIdentifier[128];
/external/chromium_org/base/
H A Dpath_service.cc115 PathMap cache; // Cache mappings from path key to path value. member in struct:__anon2398::PathData
118 bool cache_disabled; // Don't use cache if true;
149 // Tries to find |key| in the cache. |path_data| should be locked by the caller!
154 PathMap::const_iterator it = path_data->cache.find(key);
155 if (it != path_data->cache.end()) {
169 path_data->cache[key] = it->second;
229 path_data->cache[key] = path;
273 // Clear the cache now. Some of its entries could have depended
275 path_data->cache.clear();
292 // Clear the cache no
[all...]
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling.cc833 RectExpansionCache* cache) {
837 if (cache &&
838 cache->previous_start == starting_rect &&
839 cache->previous_bounds == bounding_rect &&
840 cache->previous_target == target_area)
841 return cache->previous_result;
843 if (cache) {
844 cache->previous_start = starting_rect;
845 cache->previous_bounds = bounding_rect;
846 cache
829 ExpandRectEquallyToAreaBoundedBy( const gfx::Rect& starting_rect, int64 target_area, const gfx::Rect& bounding_rect, RectExpansionCache* cache) argument
[all...]
/external/chromium_org/chrome/browser/apps/app_shim/
H A Dextension_app_shim_handler_mac.cc131 // Check for the profile name in the profile info cache to ensure that we
134 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
135 return cache.GetIndexOfProfileWithPath(full_path) != std::string::npos;
/external/chromium_org/chrome/browser/apps/
H A Dapp_window_browsertest.cc21 // geometry cache registry for a specific window in a specific extension.
24 GeometryCacheChangeHelper(AppWindowGeometryCache* cache, argument
28 : cache_(cache),
37 // This method will block until the app window geometry cache registry will
195 // test will check if the geometry cache entry for the test window has
234 // These calls will block until the app window geometry cache will change.
/external/chromium_org/chrome/browser/autofill/
H A Dvalidation_rules_storage_factory.cc33 base::FilePath cache = local
38 cache, content::BrowserThread::GetBlockingPool());
41 new JsonPrefStore(cache, task_runner.get(), scoped_ptr<PrefFilter>());
/external/chromium_org/chrome/browser/background/
H A Dbackground_mode_manager.cc217 // Add self as an observer for the profile info cache so we know when profiles
385 // Update the profile cache with the fact whether background apps are running
428 ProfileInfoCache& cache = local
430 base::string16 profile_name = cache.GetNameOfProfileAtIndex(
431 cache.GetIndexOfProfileWithPath(profile_path));
433 // manager, but when it's actually added to the cache is when its name is
449 ProfileInfoCache& cache = local
451 base::string16 profile_name = cache.GetNameOfProfileAtIndex(
452 cache.GetIndexOfProfileWithPath(profile_path));
473 ProfileInfoCache& cache local
[all...]
H A Dbackground_mode_manager_unittest.cc42 CommandLine* command_line, ProfileInfoCache* cache)
43 : BackgroundModeManager(command_line, cache),
98 CommandLine* command_line, ProfileInfoCache* cache, bool enabled)
99 : SimpleTestBackgroundModeManager(command_line, cache),
441 ProfileInfoCache* cache = profile_manager_->profile_info_cache(); local
442 EXPECT_EQ(2u, cache->GetNumberOfProfiles());
444 EXPECT_FALSE(cache->GetBackgroundStatusOfProfileAtIndex(0));
445 EXPECT_FALSE(cache->GetBackgroundStatusOfProfileAtIndex(1));
459 EXPECT_TRUE(cache->GetBackgroundStatusOfProfileAtIndex(0));
460 EXPECT_TRUE(cache
41 SimpleTestBackgroundModeManager( CommandLine* command_line, ProfileInfoCache* cache) argument
97 TestBackgroundModeManager( CommandLine* command_line, ProfileInfoCache* cache, bool enabled) argument
[all...]
/external/chromium_org/chrome/browser/
H A Dchrome_browser_main.cc361 ProfileInfoCache& cache = local
363 size_t profile_index = cache.GetIndexOfProfileWithPath(profile_path);
365 if (cache.ProfileIsSigninRequiredAtIndex(profile_index))
H A Dchrome_net_benchmarking_message_filter.cc94 net::HostCache* cache = local
96 if (cache) {
97 cache->clear();
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddrive_integration_service.cc100 // Must be run on the same task runner used by |cache| and |resource_metadata|.
104 internal::FileCache* cache,
121 // Change permissions of cache file directory to u+rwx,og+x (711) in order to
137 if (!cache->Initialize()) {
138 LOG(WARNING) << "Failed to initialize the cache.";
161 << "Recovering cache files to " << dest_directory.value();
162 if (!cache->RecoverFilesFromCacheDirectory(dest_directory,
164 LOG(WARNING) << "Failed to recover cache files.";
403 // Resetting the file system clears resource metadata and cache.
101 InitializeMetadata( const base::FilePath& cache_root_directory, internal::ResourceMetadataStorage* metadata_storage, internal::FileCache* cache, internal::ResourceMetadata* resource_metadata, const base::FilePath& downloads_directory) argument
H A Dfile_cache_unittest.cc59 static bool RenameCacheFilesToNewFormat(FileCache* cache) { argument
60 return cache->RenameCacheFilesToNewFormat();
86 // Set up files in the cache directory. These files should be moved.
184 // Try to get an existing file from cache.
200 // Get file from cache with different id.
210 // Get the non-existent pinned file from cache.
213 // Get a previously pinned and stored file from cache.
317 // Unpin a file that doesn't exist in cache and is not pinned.
415 // Modify the cache file.
483 // First store a file to cache
[all...]
H A Dfile_system.cc47 internal::FileCache* cache,
65 // When cache is not found, use the original resource entry as is.
69 // When cache is non-dirty and obsolete (old hash), use the original entry.
75 // If there's a valid cache, obtain the file info from the cache file itself.
77 error = cache->GetFile(local_id, &local_cache_path);
103 internal::FileCache* cache,
119 return cache->Pin(*local_id);
124 internal::FileCache* cache,
131 return cache
45 GetLocallyStoredResourceEntry( internal::ResourceMetadata* resource_metadata, internal::FileCache* cache, const base::FilePath& file_path, ResourceEntry* entry) argument
102 PinInternal(internal::ResourceMetadata* resource_metadata, internal::FileCache* cache, const base::FilePath& file_path, std::string* local_id) argument
123 UnpinInternal(internal::ResourceMetadata* resource_metadata, internal::FileCache* cache, const base::FilePath& file_path, std::string* local_id) argument
135 MarkCacheFileAsMountedInternal( internal::ResourceMetadata* resource_metadata, internal::FileCache* cache, const base::FilePath& drive_file_path, base::FilePath* cache_file_path) argument
180 ResetOnBlockingPool(internal::ResourceMetadata* resource_metadata, internal::FileCache* cache) argument
249 FileSystem( PrefService* pref_service, EventLogger* logger, internal::FileCache* cache, DriveServiceInterface* drive_service, JobScheduler* scheduler, internal::ResourceMetadata* resource_metadata, base::SequencedTaskRunner* blocking_task_runner, const base::FilePath& temporary_file_directory) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dcopy_operation.cc72 internal::FileCache* cache,
118 // If the cache file is not present and the entry exists on the server,
149 // Locally created empty file may have no cache file.
154 error = cache->GetFile(params->src_entry.local_id(), &cache_file_path);
158 return cache->Store(local_id, std::string(), cache_file_path,
196 // Stores the file at |local_file_path| to the cache as a content of entry at
200 internal::FileCache* cache,
213 return cache->Store(*local_id, std::string(), local_src_path,
281 internal::FileCache* cache)
286 cache_(cache),
71 TryToCopyLocally(internal::ResourceMetadata* metadata, internal::FileCache* cache, CopyOperation::CopyParams* params, std::vector<std::string>* updated_local_ids, bool* directory_changed, bool* should_copy_on_server) argument
198 UpdateLocalStateForScheduleTransfer( internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& local_src_path, const base::FilePath& remote_dest_path, ResourceEntry* entry, std::string* local_id) argument
277 CopyOperation(base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache) argument
[all...]
H A Ddownload_operation.cc45 // in the cache.
47 // path to the file in the cache.
48 FileError PrepareForDownloadFile(internal::FileCache* cache, argument
52 DCHECK(cache);
55 // Ensure enough space in the cache.
56 if (!cache->FreeDiskSpaceIfNeededFor(expected_file_size))
67 // If the resource is a regular file and its local cache is available,
69 // cache file.
70 // If the resource is a regular file but its local cache is NOT available,
75 internal::FileCache* cache,
73 CheckPreConditionForEnsureFileDownloaded( internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory, const std::string& local_id, ResourceEntry* entry, base::FilePath* cache_file_path, base::FilePath* temp_download_file_path) argument
172 internal::FileCache* cache; member in struct:drive::file_system::__anon3073::CheckPreconditionForEnsureFileDownloadedParams
214 UpdateLocalStateForDownloadFile( internal::ResourceMetadata* metadata, internal::FileCache* cache, const ResourceEntry& entry_before_download, google_apis::GDataErrorCode gdata_error, const base::FilePath& downloaded_file_path, ResourceEntry* entry_after_update, base::FilePath* cache_file_path) argument
338 DownloadOperation( base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument
[all...]
H A Dget_file_for_saving_operation.cc28 internal::FileCache* cache,
32 FileError error = cache->OpenForWrite(local_id, file_closer);
46 internal::FileCache* cache,
56 cache,
62 cache_(cache),
26 OpenCacheFileForWrite( internal::ResourceMetadata* metadata, internal::FileCache* cache, const std::string& local_id, scoped_ptr<base::ScopedClosureRunner>* file_closer, ResourceEntry* entry) argument
40 GetFileForSavingOperation( EventLogger* logger, base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument
H A Dopen_file_operation.cc33 internal::FileCache* cache,
37 cache_(cache),
42 metadata, cache, temporary_file_directory)),
28 OpenFileOperation( base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument
H A Doperation_test_base.h135 internal::FileCache* cache() { return cache_.get(); } function in class:drive::file_system::OperationTestBase

Completed in 7007 milliseconds

1234567891011>>