Searched defs:size (Results 1 - 16 of 16) sorted by relevance

/build/core/combo/
H A DHOST_linux-x86.mk64 define get-file-size
H A DHOST_darwin-x86.mk104 define get-file-size
/build/tools/releasetools/
H A Drangelib.py204 def size(self): member in class:RangeSet
205 """Returns the total size of the RangeSet (ie, how many integers
208 >>> RangeSet("10-19 30-34").size()
290 if self.size() <= n:
H A Dota_from_target_files107 allowed stash size (defaults to 0.8).
158 # Stash size cannot exceed cache_size * threshold.
198 if src.size < 1000:
968 # Check the required cache size (i.e. stashed blocks).
969 size = [] variable
971 size.append(system_diff.required_cache)
973 size.append(vendor_diff.required_cache)
987 target_boot.size, source_boot.size, len(d))
993 source_boot.size, source_boo
1595 size = [] variable
[all...]
H A Dota_from_target_files.py107 allowed stash size (defaults to 0.8).
158 # Stash size cannot exceed cache_size * threshold.
198 if src.size < 1000:
968 # Check the required cache size (i.e. stashed blocks).
969 size = [] variable
971 size.append(system_diff.required_cache)
973 size.append(vendor_diff.required_cache)
987 target_boot.size, source_boot.size, len(d))
993 source_boot.size, source_boo
1595 size = [] variable
[all...]
/build/tools/ijar/
H A Dijar.cc50 const u1* data, const size_t size);
75 const u1* data, const size_t size) {
81 StripClass(q, data, size); // actually process it
120 // Get all file size
74 Process(const char* filename, const u4, const u1* data, const size_t size) argument
H A Dzip_main.cc59 const u1* data, const size_t size);
71 // puting the result in "out". "size" specify the size of the output buffer
72 void concat_path(char* out, const size_t size, argument
76 strncpy(out, path1, size - 1);
77 out[size-1] = 0;
78 if (l < size - 1 && path1[len1] != '/' && path2[0] != '/') {
83 if (l < size - 1) {
84 strncat(out, path2, size - 1 - l);
114 const u1* data, const size_t size) {
113 Process(const char* filename, const u4 attr, const u1* data, const size_t size) argument
183 u8 size = ZipBuilder::EstimateSize(files); local
[all...]
H A Dzip.cc113 size_t in_length_; // size of the input file
120 // Buffer size is initially INITIAL_BUFFER_SIZE. It doubles in size every
124 // MAX_BUFFER_SIZE must be bigger than the size of the biggest file in the
223 return entries_.size();
288 // Write ZIP file header in the output. Since the compressed size is not
290 // to "compressed size" in the file header that should be passed to
294 // Fill in the "compressed size" and "uncompressed size" fields in a local
379 // If the zip is compressed, compressed and uncompressed size member
1009 u8 size = 28; local
[all...]
/build/tools/zipalign/
H A DZipFile.h111 status_t add(const void* data, size_t size, const char* storageName, argument
114 return addCommon(NULL, data, size, storageName,
173 int getNumEntries(void) const { return mEntries.size(); }
233 status_t addCommon(const char* fileName, const void* data, size_t size,
241 const void* data, size_t size, uint32_t* pCRC32);
249 const void* data, size_t size, uint32_t* pCRC32);
H A DZipFile.cpp140 if (idx < 0 || idx >= (int) mEntries.size())
163 for (idx = mEntries.size()-1; idx >= 0; idx--) {
180 int count = mEntries.size();
286 * So far so good. "mCentralDirSize" is the size in bytes of the
293 * sort of convenient size. We need to skip to the start of it and
361 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, argument
380 assert(mEntries.size() == mEOCD.mTotalNumEntries);
420 result = compressFpToFp(mZipFp, inputFp, data, size, &crc);
430 long src = inputFp ? ftell(inputFp) : size;
451 result = copyDataToFp(mZipFp, data, size,
816 copyDataToFp(FILE* dstFp, const void* data, size_t size, uint32_t* pCRC32) argument
883 compressFpToFp(FILE* dstFp, FILE* srcFp, const void* data, size_t size, uint32_t* pCRC32) argument
[all...]
/build/kati/
H A Dstring_piece.h68 : ptr_(str.data()), length_(str.size()) { }
70 : ptr_(str.data()), length_(str.size()) { }
79 size_type size() const { return length_; } function in class:StringPiece
122 // std::string doesn't like to take a NULL pointer even with a 0 size.
123 return std::string(!empty() ? data() : "", size());
196 x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size()));
197 return ((r < 0) || ((r == 0) && (x.size() <
[all...]
H A Ddep.cc64 CHECK(r.output_patterns.size() == 1);
117 size_t size() const { function in class:__anon2::RuleTrie
118 size_t r = rules_.size();
120 r += c.second->size();
187 if (r->output_patterns.size() >= 1) {
188 CHECK(r->output_patterns.size() == 1);
248 //LOG_STAT("%zu variables", ev->mutable_vars()->size());
249 LOG_STAT("%zu explicit rules", rules_.size());
250 LOG_STAT("%zu implicit rules", implicit_rules_->size());
251 LOG_STAT("%zu suffix rules", suffix_rules_.size());
[all...]
/build/tools/atree/
H A Dfiles.cpp185 long size; local
206 size = ftell(f);
216 buf = (char*)malloc(size+1);
219 fprintf(stderr, "out of memory (%ld)\n", size);
224 if (1 != fread(buf, size, 1, f)) {
233 q = buf+size;
263 for (size_t k=0; k<words.size(); k++) {
/build/tools/signapk/src/com/android/signapk/
H A DApkSignerV2.java165 "ZIP Central Directory size out of range: " + centralDirSizeLong);
178 + ", size: " + centralDirSize);
223 // follows the APK Signing Block and thus is shifted by the size of the APK Signing Block.
251 // 1. Each segment of contents is split into consecutive chunks of 1 MB in size.
265 final Map<Integer, byte[]> digestsOfChunks = new HashMap<>(digestAlgorithms.size());
313 "Unexpected output size of " + md.getAlgorithm()
321 Map<Integer, byte[]> result = new HashMap<>(digestAlgorithms.size());
358 // uint64: size (excluding this field)
360 // uint64: size (excluding this field)
362 // (size
619 getByteBuffer(ByteBuffer source, int size) argument
[all...]
H A DSignApk.java419 public int size() { method in class:SignApk.CountOutputStream
478 if ((cout.size() % 1024) == 0) {
795 int total_size = temp.size() + 6;
807 // be nearly 4GB in size. So it's unlikely that a real
/build/core/
H A Ddefinitions.mk2687 ifndef get-file-size
2688 $(error HOST_OS must define get-file-size)
2691 # Convert a partition data size (eg, as reported in /proc/mtd) to the
2692 # size of the image used to flash that partition (which includes a
2694 # $(1): the partition data size
2695 define image-size-from-data-size
2703 # $(2): The maximum total image size, in decimal bytes.
2708 # Reserve bad blocks. Make sure that MAX(1% of partition size, 2 blocks)
2710 # next whole flash block size
[all...]

Completed in 167 milliseconds