Searched defs:zip (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/npapi/npspy/extern/java/
H A Dzip.h49 zip_close(zip_t *zip); variable
52 zip_get(zip_t *zip, const char *fn, void HUGEP *buf, int32_t len);
58 zip_stat(zip_t *zip, const char *fn, struct stat *sbuf);
/external/chromium_org/third_party/zlib/google/
H A Dzip.h13 namespace zip { namespace
16 // An entry will *not* be created in the zip for the root folder -- children
17 // of src_dir will be at the root level of the created zip. For each file in
34 // to the |src_dir| and will be used as the file names in the created zip file.
44 } // namespace zip
H A Dzip_internal.h16 #include <minizip/zip.h>
19 #include "third_party/zlib/contrib/minizip/zip.h"
26 // Utility functions and constants used internally for the zip file
28 namespace zip { namespace
72 } // namespace zip
H A Dzip_reader.h24 namespace zip { namespace
26 // This class is used for reading zip files. A typical use case of this
27 // class is to scan entries in a zip file and extract them. The code will
41 // This calls can also be used for random access of contents in a zip file
55 // a zip file.
68 // in the zip archive and can be different from the real uncompressed size.
71 // Returns the last modified time. If the time stored in the zip file was
74 // The time stored in the zip archive uses the MS-DOS date and time format.
101 // Opens the zip file specified by |zip_file_path|. Returns true on
105 // Opens the zip fil
[all...]
H A Dzip.cc5 #include "third_party/zlib/google/zip.h"
21 #include <minizip/zip.h>
24 #include "third_party/zlib/contrib/minizip/zip.h"
37 char buf[zip::internal::kZipBufSize];
39 num_bytes = file.ReadAtCurrentPos(buf, zip::internal::kZipBufSize);
42 DLOG(ERROR) << "Could not write data to zip for path "
66 zip_fileinfo file_info = zip::internal::GetFileInfoForZipping(path);
67 if (!zip::internal::ZipOpenNewFileInZip(zip_file, str_path, &file_info))
76 DLOG(ERROR) << "Could not close zip file entry " << str_path;
93 namespace zip { namespace
[all...]
H A Dzip_reader.cc24 namespace zip { namespace
26 // TODO(satorux): The implementation assumes that file names in zip files
27 // are encoded in UTF-8. This is true for zip files created by Zip()
28 // function in zip.h, but not true for user-supplied random zip files.
35 // Directory entries in zip files end with "/".
54 // zip files, so we construct the time as local time.
57 // The month in zip file is 0-based, whereas ours is 1-based.
139 // end of the zip file, so mark that we reached the end.
203 // zip, s
[all...]
H A Dzip_reader_unittest.cc98 namespace zip { namespace
111 test_zip_file_ = test_data_dir_.AppendASCII("test.zip");
112 evil_zip_file_ = test_data_dir_.AppendASCII("evil.zip");
114 "evil_via_invalid_utf8.zip");
116 "evil_via_absolute_file_name.zip");
160 // The path to the test data directory where test.zip etc. are located.
162 // The path to test.zip in the test data directory.
164 // The path to evil.zip in the test data directory.
166 // The path to evil_via_invalid_utf8.zip in the test data directory.
168 // The path to evil_via_absolute_file_name.zip i
[all...]
H A Dzip_internal.cc17 #include <minizip/zip.h>
20 #include "third_party/zlib/contrib/minizip/zip.h"
108 // Fills |pzlib_filecunc_def| appropriately to handle the zip file
137 // a zip archive stored in memory directly. The following I/O API functions
241 // contrib/minizip/zip.c in function zip64local_TmzDateToDosDate
257 namespace zip { namespace
371 DLOG(ERROR) << "Could not open zip file entry " << str_path;
378 } // namespace zip
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_i18n_input_unittest.cc59 const DetailInput& zip = inputs[input_index++]; local
60 EXPECT_EQ(ADDRESS_HOME_ZIP, zip.type);
61 EXPECT_EQ(zip.length, DetailInput::SHORT);
/external/chromium_org/v8/test/mjsunit/
H A Dfor-in.js91 x = {foo:5, bar:6, zip:7, glep:9, 10:11};
101 assertEquals(7, y.zip, "y.zip");
116 assertEquals(7, y.zip, "y.zip");
/external/chromium_org/content/common/android/
H A Daddress_parser_unittest.cc61 bool IsZipValid(const std::string& zip, const std::string& state) const { argument
65 base::string16 zip_16 = base::UTF8ToUTF16(zip);
148 // returned state indices in the zip code test.
172 // Test the state index against the zip range table.
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
H A DAbstractTransformTask.java21 import java.util.zip.*;
134 ZipInputStream zip = new ZipInputStream(new FileInputStream(file));
141 while ((entry = zip.getNextEntry()) != null) {
144 byte bytes[] = getBytes(zip);
178 zip.closeEntry();
186 zip.close();
237 * @param zip
241 private byte[] getBytes(ZipInputStream zip) throws IOException { argument
244 InputStream in = new BufferedInputStream(zip);
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
H A DClassPathIterator.java20 import java.util.zip.*;
87 /** Closes all zip files opened by this iterator. */
90 for (ZipFile zip : zips) {
91 zip.close();
119 ZipFile zip = new JarFile(file);
120 zips.add(zip);
121 entries = new ZipIterator(zip);
122 } else if (hasExtension(file.getName(), ".zip")) {
123 ZipFile zip = new ZipFile(file);
124 zips.add(zip);
144 private final ZipFile zip; field in class:ClassPathIterator.ZipIterator
147 ZipIterator(ZipFile zip) argument
[all...]
/external/freetype/src/gzip/
H A Dftgzip.c273 ft_gzip_file_init( FT_GZipFile zip, argument
277 z_stream* zstream = &zip->zstream;
281 zip->stream = stream;
282 zip->source = source;
283 zip->memory = stream->memory;
285 zip->limit = zip->buffer + FT_GZIP_BUFFER_SIZE;
286 zip->cursor = zip->limit;
287 zip
448 ft_gzip_file_skip_output( FT_GZipFile zip, FT_ULong count ) argument
478 ft_gzip_file_io( FT_GZipFile zip, FT_ULong pos, FT_Byte* buffer, FT_ULong count ) argument
548 FT_GZipFile zip = (FT_GZipFile)stream->descriptor.pointer; local
570 FT_GZipFile zip = (FT_GZipFile)stream->descriptor.pointer; local
607 FT_GZipFile zip = NULL; local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowGeocoder.java24 private String zip; field in class:ShadowGeocoder
50 address.setPostalCode(zip);
84 * @param zip the zip code for the response
87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { argument
91 this.zip = zip;
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dp5.cpp392 template<class ... Args1> struct zip { struct in namespace:WorkingPaperExample
398 typedef zip<short, int>::with<unsigned short, unsigned>::type T1; // T1 is Tuple<Pair<short, unsigned short>, Pair<int, unsigned>>
401 typedef zip<short>::with<unsigned short, unsigned>::type T2; // expected-note{{in instantiation of template class}}
/external/chromium_org/chrome/test/chromedriver/
H A Dutil.cc27 #include "third_party/zlib/google/zip.h"
96 base::FilePath archive = dir.path().AppendASCII("temp.zip");
101 if (!zip::Unzip(archive, unzip_dir))
181 // A file entry within a zip archive. This may be incomplete and is not
182 // guaranteed to be able to parse all types of zip entries.
183 // See http://www.pkware.com/documents/casestudies/APPNOTE.TXT for the zip
186 // The given bytes must contain the whole zip entry and only the entry,
188 static bool FromBytes(const std::string& bytes, ZipEntry* zip, argument
197 if (!stream.ReadUInt16(&zip->version_needed)) {
201 if (!stream.ReadUInt16(&zip
[all...]
/external/chromium_org/tools/gyp/test/lib/
H A DTestCmd.py306 zip
308 def zip(*lists): function
505 for aline, bline in zip(a, b):
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/dexmaker/lib/
H A Djarjar.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/tonicsystems/ com/tonicsystems/jarjar/ com/tonicsystems/jarjar/AbstractDepHandler ...
/external/chromium_org/third_party/d3/src/
H A Dd3.js159 d3.zip = function() {
162 for (var j = -1, n, zip = zips[i] = new Array(n); ++j < n; ) {
163 zip[j] = arguments[j][i];
172 return d3.zip.apply(d3, matrix);
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jar ... apache/tools/mail/ org/apache/tools/tar/ org/apache/tools/zip/ org/apache/tools/ant/AntClassLoader$ResourceEnumeration.class AntClassLoader ...
/external/smali/gradle/wrapper/
H A Dgradle-wrapper.jar ... throws java.io.IOException java.util.zip.ZipEntry entry java.io.File zip java ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dant.jar ... apache/tools/mail/ org/apache/tools/tar/ org/apache/tools/zip/ org/apache/tools/ant/AntClassLoader$ResourceEnumeration.class AntClassLoader ...

Completed in 7093 milliseconds

12