/third_party/libbpf/src/ |
H A D | zip.c | 41 /* Number of the file containing this structure or 0xFFFF if ZIP64 archive. 42 * Zip archive might span multiple files (disks). 47 * 0xFFFF if ZIP64 archive. 52 * archive. 57 * archive. 61 /* Size of the central directory record or 0xFFFFFFFF if ZIP64 archive. */ 64 /* Offset of the central directory from the beginning of the archive or 65 * 0xFFFFFFFF if ZIP64 archive. 97 /* Number of the disk where the file starts or 0xFFFF if ZIP64 archive. */ 135 static void *check_access(struct zip_archive *archive, __u3 argument 146 try_parse_end_of_cd(struct zip_archive *archive, __u32 offset) try_parse_end_of_cd() argument 175 find_cd(struct zip_archive *archive) find_cd() argument 200 struct zip_archive *archive; zip_archive_open() local 241 zip_archive_close(struct zip_archive *archive) zip_archive_close() argument 247 local_file_header_at_offset(struct zip_archive *archive, __u32 offset) local_file_header_at_offset() argument 259 get_entry_at_offset(struct zip_archive *archive, __u32 offset, struct zip_entry *out) get_entry_at_offset() argument 298 zip_archive_find_entry(struct zip_archive *archive, const char *file_name, struct zip_entry *out) zip_archive_find_entry() argument [all...] |
H A D | zip.h | 8 /* Represents an open zip archive. 19 * file in a zip archive. 34 /* Offset of the file data within the archive. */ 38 /* Open a zip archive. Returns NULL in case of an error. */ 41 /* Close a zip archive and release resources. */ 42 void zip_archive_close(struct zip_archive *archive); 44 /* Look up an entry corresponding to a file in given zip archive. */ 45 int zip_archive_find_entry(struct zip_archive *archive, const char *name, struct zip_entry *out);
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksProtocol.hpp | 38 void Serialize (Serializer<TYPE>& archive) { archive.SerializeObject(source); archive.Serialize(commandLine); } in Serialize() 49 void Serialize (Serializer<TYPE>& archive) { archive.Serialize(status, binary); } in Serialize() 60 void Serialize (Serializer<TYPE>& archive) { archive.Serialize(name, data); } in Serialize() 70 void Serialize (Serializer<TYPE>& archive) { archive.Serialize(status); } in Serialize() 82 void Serialize (Serializer<TYPE>& archive) { archiv [all...] |
H A D | vksStructsVKSC.hpp | 37 void Serialize (Serializer<TYPE>& archive) in Serialize() 39 archive.Serialize(active); in Serialize() 40 if (active == "glsl") archive.Serialize(glsl); in Serialize() 41 else if (active == "hlsl") archive.Serialize(hlsl); in Serialize() 42 else if (active == "spirv") archive.Serialize(spirv); in Serialize() 156 void Serialize (Serializer<TYPE>& archive) in Serialize() 158 archive.Serialize(samplerYcbcrConversions, samplers, shaderModules, renderPasses, pipelineLayouts, descriptorSetLayouts, pipelines); in Serialize() 252 void Serialize(Serializer<TYPE>& archive) in Serialize() 254 archive.Serialize(pipelineCacheInput, memoryReservation, commandPoolMemoryConsumption, pipelineSizes); in Serialize()
|
/third_party/python/Lib/ |
H A D | zipimport.py | 4 - zipimporter: a class; its constructor takes a path to a Zip archive. 7 - _zip_directory_cache: a dict, mapping archive paths to zip directory 52 valid directory inside the archive. 55 archive. 57 The 'archive' attribute of zipimporter objects contains the name of the 61 # Split the "subdirectory" from the Zip archive path, lookup a matching 63 # if found, or else read it from the archive. 68 raise ZipImportError('archive path is empty', path=path) 97 self.archive = path 139 return None, [f'{self.archive}{path_se [all...] |
H A D | zipapp.py | 16 # because the resulting archive may be intended to be run under Python 2. 38 def _maybe_open(archive, mode): 39 if isinstance(archive, (str, os.PathLike)): 40 with open(archive, mode) as f: 43 yield archive 53 def _copy_archive(archive, new_archive, interpreter=None): 54 """Copy an application archive, modifying the shebang line.""" 55 with _maybe_open(archive, 'rb') as src: 78 """Create an application archive from SOURCE. 81 object referring to an existing archive [all...] |
/third_party/skia/third_party/externals/dawn/scripts/ |
H A D | extract.py | 87 help='Do not remove a prefix from paths in the archive.') 94 archive, output = args 96 if not os.path.exists(archive): 100 with open(archive) as f: 116 if archive.endswith('.zip'): 117 entries = IterateZip(archive) 118 elif archive.endswith('.tar.gz'): 119 entries = IterateTar(archive, 'gz') 120 elif archive.endswith('.tar.bz2'): 121 entries = IterateTar(archive, 'bz [all...] |
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | List.cpp | 115 , "Is not archive type"
140 static const char * const kListing = "Listing archive: ";
381 HRESULT AddMainProps(IInArchive *archive);
457 HRESULT CFieldPrinter::AddMainProps(IInArchive *archive)
in AddMainProps() argument 460 RINOK(archive->GetNumberOfProperties(&numProps))
in AddMainProps() 466 RINOK(archive->GetPropertyInfo(i, &name, &propID, &vt))
in AddMainProps() 786 static HRESULT GetUInt64Value(IInArchive *archive, UInt32 index, PROPID propID, CListUInt64Def &value)
in GetUInt64Value() argument 791 RINOK(archive->GetProperty(index, propID, &prop))
in GetUInt64Value() 796 static HRESULT GetItemMTime(IInArchive *archive, UInt32 index, CListFileTimeDef &t)
in GetItemMTime() argument 803 RINOK(archive in GetItemMTime() 921 PrintArcProp(CStdOutStream &so, IInArchive *archive, PROPID propID, const wchar_t *name) PrintArcProp() argument 977 IInArchive *archive = arc.Archive; Print_OpenArchive_Props() local 1252 IInArchive *archive = arc.Archive; ListArchives() local [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | OpenArchive.cpp | 50 1) Open with main type. Archive handler is allowed to use archive start finder.
62 - archive is not "Self Exe" - return OK with Warning, that there is tail
63 - archive is "Self Exe"
65 - tail can be open as archive - shows that archive and stub size property.
66 - tail can't be open as archive - shows Parser ???
69 If some open type is OK and physical archive size is uequal or larger
70 than file size, then return that archive with warning that cannot be open as [extension type].
74 - if there is full archive or tail archive an [all...] |
H A D | LoadCodecs.h | 9 1) Formats - internal and external archive handlers
42 a) request ISetCompressCodecsInfo from created archive handler.
337 bool NeedSetLibCodecs; // = false, if we don't need to set codecs for archive handler via ISetCompressCodecsInfo
344 HRESULT CreateArchiveHandler(const CArcInfoEx &ai, bool outHandler, void **archive) const
in CreateArchiveHandler() 346 return Libs[(unsigned)ai.LibIndex].CreateObject(&ai.ClassID, outHandler ? &IID_IOutArchive : &IID_IInArchive, (void **)archive);
in CreateArchiveHandler() 413 HRESULT CreateInArchive(unsigned formatIndex, CMyComPtr<IInArchive> &archive) const
in CreateInArchive() 421 archive = ai.CreateInArchive();
in CreateInArchive() local 426 return CreateArchiveHandler(ai, false, (void **)&archive);
in CreateInArchive() 432 HRESULT CreateOutArchive(unsigned formatIndex, CMyComPtr<IOutArchive> &archive) const
in CreateOutArchive() 440 archive in CreateOutArchive() local [all...] |
H A D | ArchiveExtractCallback.cpp | 184 static HRESULT Archive_Get_HardLinkNode(IInArchive *archive, UInt32 index, CHardLinkNode &h, bool &defined)
in Archive_Get_HardLinkNode() argument 191 RINOK(archive->GetProperty(index, kpidINode, &prop))
in Archive_Get_HardLinkNode() 197 RINOK(archive->GetProperty(index, kpidStreamId, &prop))
in Archive_Get_HardLinkNode() 212 IInArchive *archive = _arc->Archive;
in PrepareHardLinks() 221 RINOK(archive->GetNumberOfItems(&numItems))
in PrepareHardLinks() 230 RINOK(Archive_Get_HardLinkNode(archive, realIndex, h, defined))
in PrepareHardLinks() 234 RINOK(Archive_IsItem_AltStream(archive, realIndex, isAltStream))
in PrepareHardLinks() 238 RINOK(Archive_IsItem_Dir(archive, realIndex, isDir))
in PrepareHardLinks() 781 IInArchive *archive = _arc->Archive;
in ReadLink() local 787 RINOK(archive in ReadLink() 942 GetOwner(IInArchive *archive, UInt32 index, UInt32 pidName, UInt32 pidId, COwnerInfo &res) GetOwner() argument 983 IInArchive *archive = _arc->Archive; Read_fi_Props() local 1297 IInArchive *archive = _arc->Archive; GetExtractStream() local 1613 IInArchive *archive = _arc->Archive; GetStream() local [all...] |
/third_party/node/tools/dep_updaters/ |
H A D | utils.sh | 3 # This function logs the archive checksum and, if provided, compares it with 9 # $2 is the downloaded archive 11 # against the checksum generated from the archive 14 archive="$2" 16 bsd_formatted_checksum=$(shasum -a 256 --tag "$archive") 20 archive_checksum=$(shasum -a 256 "$archive")
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuImageIO.hpp | 39 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName); 41 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName); 44 void loadPKM (CompressedTexture& dst, const tcu::Archive& archive, const char* fileName);
|
H A D | tcuImageIO.cpp | 52 * \param archive Resource archive 55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadImage() argument 60 loadPNG(dst, archive, fileName); in loadImage() 79 * \param archive Resource archive 82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadPNG() argument 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG() 225 * \param archive Resource archive 228 loadPKM(CompressedTexture& dst, const tcu::Archive& archive, const char* fileName) loadPKM() argument [all...] |
H A D | tcuResource.cpp | 86 ResourcePrefix::ResourcePrefix (const Archive& archive, const char* prefix) in ResourcePrefix() argument 87 : m_archive (archive) in ResourcePrefix()
|
H A D | tcuTestContext.hpp | 44 * This includes test log and resource archive. 72 void setCurrentArchive (Archive& archive) { m_curArchive = &archive; } in setCurrentArchive() argument 82 Archive& m_rootArchive; //!< Root archive. 87 Archive* m_curArchive; //!< Current archive for test cases.
|
/third_party/node/deps/v8/tools/jsfunfuzz/ |
H A D | fuzz-harness.sh | 30 # Deprecated download method. A prepatched archive is downloaded as a hook 90 archive="$2" 92 archive=fuzz-results-$(date +%Y%m%d%H%M%S).tar.bz2 94 echo "Creating archive $archive" 95 tar -cjf $archive err-* w*
|
/third_party/skia/third_party/externals/freetype/tests/scripts/ |
H A D | download-test-fonts.py | 41 # remote zip archive. Each entry has the following fields: 46 # Description: URL to download the zip archive from. 52 # extracted from the archive 60 # archive. 65 # Description: Path of source file, relative to the archive's 151 archive: zipfile.ZipFile, 156 """Extract a file from a given zipfile.ZipFile archive. 159 archive: Input ZipFile objec. 163 filepath: Input filepath in archive. 171 file = archive [all...] |
/third_party/lzma/CPP/7zip/UI/Client7z/ |
H A D | Client7z.cpp | 78 "Usage: 7zcl.exe [a | l | x] archive.7z [fileName ...]\n"
80 " 7zcl.exe a archive.7z f1.txt f2.txt : compress two files to archive.7z\n"
81 " 7zcl.exe l archive.7z : List contents of archive.7z\n"
82 " 7zcl.exe x archive.7z : eXtract files from archive.7z\n";
153 static HRESULT IsArchiveItemProp(IInArchive *archive, UInt32 index, PROPID propID, bool &result)
in IsArchiveItemProp() argument 156 RINOK(archive->GetProperty(index, propID, &prop))
in IsArchiveItemProp() 166 static HRESULT IsArchiveItemFolder(IInArchive *archive, UInt3 argument 1020 CMyComPtr<IInArchive> archive; main() local [all...] |
/third_party/python/Lib/distutils/tests/ |
H A D | test_sdist.py | 433 archive = tarfile.open(archive_name) 435 filenames = [tarinfo.name for tarinfo in archive] 437 archive.close() 460 archive = tarfile.open(archive_name) 462 for member in archive.getmembers(): 466 archive.close() 478 archive = tarfile.open(archive_name) 484 for member in archive.getmembers(): 487 archive.close()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTexture.hpp | 83 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames); 84 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames); 85 static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, const char* filename) { return create(context, contextInfo, archive, 1, &filename); } in create() argument 136 static TextureCube* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames); 137 static TextureCube* create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames);
|
/third_party/python/Lib/importlib/resources/ |
H A D | readers.py | 35 self.archive = loader.archive 50 return zipfile.Path(self.archive, self.prefix)
|
/third_party/skia/build/fuchsia/ |
H A D | gen_repo | 24 '--archive', dest='archives', action='append', required=True) 38 '-a', # Publish archives from an archive (mode). 43 for archive in args.archives: 45 pm_publish_command.append(archive)
|
/third_party/vk-gl-cts/framework/platform/ohos/ |
H A D | vkMain.cpp | 51 tcu::DirArchive archive (cmdLine.getArchiveDir()); in main() 54 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine)); in main()
|
/third_party/vk-gl-cts/framework/platform/ |
H A D | tcuMain.cpp | 50 tcu::DirArchive archive (cmdLine.getArchiveDir()); in main() 53 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine)); in main()
|