Searched defs:archive (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/chrome/installer/util/
H A Dlzma_util_unittest.cc36 base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); local
38 EXPECT_EQ(lzma_util.OpenArchive(archive.value()), NO_ERROR);
40 // We allow opening another archive (which will automatically close the first
41 // archive).
42 archive = data_dir_.AppendASCII("archive2.7z");
43 EXPECT_EQ(lzma_util.OpenArchive(archive.value()), NO_ERROR);
45 // Explicitly close and open the first archive again.
47 archive = data_dir_.AppendASCII("archive1.7z");
48 EXPECT_EQ(lzma_util.OpenArchive(archive.value()), NO_ERROR);
50 // Make sure non-existent archive return
63 base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); local
104 base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); local
[all...]
H A Dlzma_util.cc79 int32 LzmaUtil::UnPackArchive(const std::wstring& archive, argument
82 VLOG(1) << "Opening archive " << archive;
85 if ((ret = lzma_util.OpenArchive(archive)) != NO_ERROR) {
86 LOG(ERROR) << "Unable to open install archive: " << archive
89 VLOG(1) << "Uncompressing archive to path " << output_dir;
91 LOG(ERROR) << "Unable to uncompress archive: " << archive
155 Byte *outBuffer = 0; // it must be 0 before first call for each new archive
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/
H A DArchiveResourceCollection.cpp46 void ArchiveResourceCollection::addAllResources(MHTMLArchive* archive) argument
48 ASSERT(archive);
49 if (!archive)
52 const MHTMLArchive::SubArchiveResources& subresources = archive->subresources();
56 const MHTMLArchive::SubFrameArchives& subframes = archive->subframeArchives();
58 RefPtrWillBeRawPtr<MHTMLArchive> archive = *iterator; local
59 ASSERT(archive->mainResource());
61 const String& frameName = archive->mainResource()->frameName();
63 m_subframes.set(frameName, archive.get());
66 m_subframes.set(archive
94 RefPtrWillBeRawPtr<MHTMLArchive> archive = m_subframes.take(frameName); local
[all...]
H A DMHTMLArchive.cpp114 RefPtrWillBeRawPtr<MHTMLArchive> archive = parser.frameAt(i); local
117 archive->addSubframeArchive(parser.frameAt(j));
120 archive->addSubresource(parser.subResourceAt(j));
H A DMHTMLParser.cpp218 RefPtrWillBeRawPtr<MHTMLArchive> archive = MHTMLArchive::create(); local
225 archive->setMainResource(resource);
226 return archive;
250 addResourceToArchive(subframeArchive->mainResource(), archive.get());
251 archive->addSubframeArchive(subframeArchive);
260 addResourceToArchive(resource.get(), archive.get());
263 return archive.release();
266 void MHTMLParser::addResourceToArchive(ArchiveResource* resource, MHTMLArchive* archive) argument
275 if (!archive->mainResource()) {
276 archive
[all...]
/external/chromium_org/chrome/test/chromedriver/test/
H A Drun_all_tests.py19 import archive namespace
111 return (temp_dir, archive.DownloadChrome(revision, temp_dir, download_site))
191 latest_snapshot_revision = archive.GetLatestSnapshotVersion()
194 ['37', archive.CHROME_37_REVISION],
195 ['36', archive.CHROME_36_REVISION],
196 ['35', archive.CHROME_35_REVISION]
202 download_site = archive.Site.CONTINUOUS
206 download_site = archive.GetSnapshotDownloadSite()
/external/deqp/framework/common/
H A DtcuApp.cpp58 App::App (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) argument
83 m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog);
H A DtcuResource.cpp93 ResourcePrefix::ResourcePrefix (const Archive& archive, const char* prefix) argument
94 : m_archive (archive)
H A DtcuTestContext.hpp44 * This includes test log and resource archive.
68 void setCurrentArchive (Archive& archive) { m_curArchive = &archive; } argument
74 Archive& m_rootArchive; //!< Root archive.
79 Archive* m_curArchive; //!< Current archive for test cases.
H A DtcuImageIO.cpp52 * \param archive Resource archive
55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) argument
60 loadPNG(dst, archive, fileName);
79 * \param archive Resource archive
82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) argument
84 de::UniquePtr<Resource> resource(archive.getResource(fileName));
225 * \param archive Resource archive
228 loadPKM(CompressedTexture& dst, const tcu::Archive& archive, const char* fileName) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAppletElement.cpp137 const AtomicString& archive = getAttribute(archiveAttr); local
138 if (!archive.isNull()) {
139 paramNames.append("archive");
140 paramValues.append(archive.string());
148 // plugin will load. If the 'code' attribute is set, and the 'archive' is not set, then we need
149 // to check the url generated by resolving 'code' against 'codebase'. If the 'archive'
150 // attribute is set, then 'code' points to a class inside the archive, so we need to check the
151 // url generated by resolving 'archive' against 'codebase'.
154 if (!archive.isNull())
155 urlToCheck = KURL(rootURL, archive);
[all...]
/external/deqp/framework/opengl/
H A DgluTexture.hpp82 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames);
83 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames);
84 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, const char* filename) { return create(context, contextInfo, archive, 1, &filename); } argument
122 static TextureCube* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames);
123 static TextureCube* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames);
H A DgluTexture.cpp214 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* levelFileNames) argument
227 tcu::ImageIO::loadPNG(level, archive, levelFileNames[0]);
244 tcu::ImageIO::loadPNG(level, archive, levelFileNames[levelNdx]);
267 tcu::ImageIO::loadPKM(levels[ndx], archive, levelFileNames[ndx]);
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames) argument
283 return Texture2D::create(context, contextInfo, archive, numLevels, &charPtrs[0]);
421 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames) argument
435 tcu::ImageIO::loadPKM(levels[ndx], archive, filenames[ndx]);
443 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames) argument
452 return TextureCube::create(context, contextInfo, archive, numLevel
[all...]
/external/deqp/modules/internal/
H A DditImageCompareTests.cpp43 static void loadImageRGBA8 (tcu::TextureLevel& dst, const tcu::Archive& archive, const char* path) argument
46 tcu::ImageIO::loadImage(tmp, archive, path);
/external/elfutils/0.153/libdwfl/
H A Doffline.c123 /* Report one module for an ELF file, or many for an archive.
250 /* Advance the archive-reading offset for the next iteration. */
254 /* Report each member of the archive as its own module. */
257 Elf *archive,
262 Elf *member = elf_begin (fd, ELF_C_READ_MMAP_PRIVATE, archive);
263 if (unlikely (member == NULL)) /* Empty archive. */
271 member = elf_begin (fd, ELF_C_READ_MMAP_PRIVATE, archive);
273 /* We can drop the archive Elf handle even if we're still using members
278 && elf_end (archive) == 0)
256 process_archive(Dwfl *dwfl, const char *name, const char *file_name, int fd, Elf *archive, int (*predicate) (const char *module, const char *file)) argument
H A Dlinux-kernel-modules.c261 /* Look for a kernel debug archive. If we find one, report all its modules.
271 char *archive; local
273 ? asprintf (&archive, "%s/debug.a", *release)
274 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)) < 0)
277 int fd = try_kernel_name (dwfl, &archive, false);
282 /* We have the archive file open! */
283 Dwfl_Module *last = __libdwfl_report_offline (dwfl, NULL, archive, fd,
302 free (archive);
/external/emma/core/java12/com/vladium/util/
H A DIPathEnumerator.java47 * Called just after the enumerator's zip input stream for this archive
50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); argument
55 * Called after the enumerator's zip input stream for this archive
58 void handleArchiveEnd (File parentDir, File archive); argument
106 if (m_verbose) m_log.verbose ("processing archive path entry [" + f.getAbsolutePath () + "] ...");
109 final File archive = new File (name);
112 // move to enumeratePathArchive(): handler.handleArchiveStart (parent, archive);
114 handler.handleArchiveEnd (parent, archive); // note: it is important that this is called after the zip stream has been closed
118 throw new IllegalArgumentException ("path entry is not a directory or an archive: [" + f + "]");
199 private void enumeratePathArchive (final String archive) argument
291 readManifestViaJarFile(final File archive) argument
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Drun_buildbot_steps.py48 import archive namespace
57 util.MarkBuildStepStart('archive prebuilts')
68 util.MarkBuildStepStart('archive chromedriver server logs')
201 util.MarkBuildStepStart('archive build')
436 snapshot_revision = archive.GetLatestSnapshotVersion()
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathProcessorST.java81 public void handleArchiveStart (final File parentDir, final File archive, final Manifest manifest) argument
83 m_archiveFile = Files.newFile (parentDir, archive.getPath ());
173 public void handleArchiveEnd (final File parentDir, final File archive) argument
/external/lzma/CPP/7zip/UI/Common/
H A DArchiveExtractCallback.cpp162 IInArchive *archive = _arc->Archive; local
164 RINOK(IsArchiveItemFolder(archive, index, _fi.IsDir));
170 RINOK(archive->GetProperty(index, kpidPosition, &prop));
180 RINOK(GetArchiveItemBoolProp(archive, index, kpidEncrypted, _encrypted));
201 RINOK(archive->GetProperty(index, kpidAttrib, &prop));
H A DExtract.cpp29 IInArchive *archive = arc.Archive; local
34 RINOK(archive->GetNumberOfItems(&numItems));
41 RINOK(IsArchiveItemFolder(archive, i, isFolder));
83 RINOK(SetProperties(archive, options.Properties));
90 result = archive->Extract(NULL, (UInt32)(Int32)-1, testMode, extractCallbackSpec);
92 if (archive->GetArchiveProperty(kpidPhySize, &prop) == S_OK)
97 result = archive->Extract(&realIndices.Front(), realIndices.Size(), testMode, extractCallbackSpec);
127 throw "there is no such archive";
154 throw "there is no such archive";
H A DLoadCodecs.h157 HRESULT CreateArchiveHandler(const CArcInfoEx &ai, void **archive, bool outHandler) const argument
159 return Libs[ai.LibIndex].CreateObject(&ai.ClassID, outHandler ? &IID_IOutArchive : &IID_IInArchive, (void **)archive);
188 HRESULT CreateInArchive(int formatIndex, CMyComPtr<IInArchive> &archive) const
195 archive = ai.CreateInArchive();
199 return CreateArchiveHandler(ai, (void **)&archive, false);
202 HRESULT CreateOutArchive(int formatIndex, CMyComPtr<IOutArchive> &archive) const
209 archive = ai.CreateOutArchive();
213 return CreateArchiveHandler(ai, (void **)&archive, true);
/external/emma/core/java12/com/vladium/emma/instr/
H A DInstrProcessorST.java69 public final void handleArchiveStart (final File parentDir, final File archive, final Manifest manifest) argument
72 if (log.atTRACE2 ()) log.trace2 ("handleArchiveStart", "[" + parentDir + "] [" + archive + "]");
75 // TODO: detect if manifest corresonds to a previously intrumented archive already ?
79 final File fullArchiveFile = Files.newFile (parentDir, archive);
99 mainAttrs.put (Attributes.Name.IMPLEMENTATION_TITLE, "instrumented version of [" + archive.getAbsolutePath () + "]");
107 // closed in the archive end event handler]:
111 final OutputStream out = new FileOutputStream (getFullOutFile (parentDir, archive, IN_LIB));
124 // in the archive end event handler]:
126 m_origArchiveFile = Files.newFile (parentDir, archive);
129 final String archiveName = Files.getFileName (archive)
342 handleArchiveEnd(final File parentDir, final File archive) argument
[all...]
/external/llvm/unittests/Support/
H A DPath.cpp485 const char archive[] = "!<arch>\x0A"; member in namespace:__anon26543
514 DEFINE(archive),
/external/lzma/CPP/7zip/Archive/7z/
H A D7zHandler.cpp405 CInArchive archive; local
406 RINOK(archive.Open(stream, maxCheckStartPosition));
411 HRESULT result = archive.ReadDatabase(

Completed in 516 milliseconds

123