/external/qemu/android/filesystems/ |
ext4_utils_unittest.cpp | 49 // Create a temporary file with up to |maxBytes| bytes of |mImage| 52 const char* createTempFile(size_t maxBytes) { 53 CHECK(maxBytes <= sizeof mImage); 58 PCHECK(::fwrite(mImage, maxBytes, 1, file.get()) == 1) 59 << "Could not write " << maxBytes << " bytes to "
|
/external/icu/icu4c/source/i18n/ |
collationweights.cpp | 99 minBytes[i] = maxBytes[i] = 0; 107 maxBytes[1] = Collation::TRAIL_WEIGHT_BYTE; 110 maxBytes[2] = Collation::PRIMARY_COMPRESSION_HIGH_BYTE - 1; 113 maxBytes[2] = 0xff; 116 maxBytes[3] = 0xff; 118 maxBytes[4] = 0xff; 126 maxBytes[1] = 0; 128 maxBytes[2] = 0; 130 maxBytes[3] = 0xff; 132 maxBytes[4] = 0xff [all...] |
collationweights.h | 85 return (int32_t)(maxBytes[idx] - minBytes[idx] + 1); 102 uint32_t maxBytes[5];
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
CacheManager.java | 40 int maxEntries, int maxBytes, int version) { 51 cache = new BlobCache(path, maxEntries, maxBytes, false,
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
Utf8ByteLengthFilter.java | 43 Utf8ByteLengthFilter(int maxBytes) { 44 mMaxBytes = maxBytes;
|
/packages/apps/Mms/src/com/android/mms/util/ |
CacheManager.java | 43 int maxEntries, int maxBytes, int version) { 56 cache = new BlobCache(path, maxEntries, maxBytes, false,
|
BlobCache.java | 30 // [8] MaxBytes: Max number of data bytes per region (including header). 57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException; 131 // them can grow to the size specified by maxBytes. The maxEntries parameter 134 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) 136 this(path, maxEntries, maxBytes, reset, 0); 139 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset, 150 resetCache(maxEntries, maxBytes); 301 private void resetCache(int maxEntries, int maxBytes) throws IOException { 308 writeInt(buf, IH_MAX_BYTES, maxBytes);
|
/frameworks/base/core/java/android/os/ |
DropBoxManager.java | 181 * @param maxBytes of string to return (will truncate at this length). 184 public String getText(int maxBytes) { 186 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); 192 byte[] buf = new byte[maxBytes]; 195 while (n >= 0 && (readBytes += n) < maxBytes) { 196 n = is.read(buf, readBytes, maxBytes - readBytes);
|
/external/chromium_org/net/third_party/nss/ssl/ |
ssl3ext.c | 50 PRBool append, PRUint32 maxBytes); 60 PRUint32 maxBytes); 62 PRUint32 maxBytes); 64 PRUint32 maxBytes); 70 PRUint32 maxBytes); 72 PRBool append, PRUint32 maxBytes); 79 PRUint32 maxBytes); 81 PRUint32 maxBytes); 86 PRUint32 maxBytes); 344 PRUint32 maxBytes) [all...] |
ssl3ecc.c | [all...] |
sslimpl.h | 211 PRUint32 maxBytes); 237 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes, 245 PRUint32 maxBytes); [all...] |
/system/netd/server/ |
BandwidthController.cpp | 596 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { 605 if (!maxBytes) { 618 if (maxBytes == -1) { 631 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes); 637 sharedQuotaBytes = maxBytes; 643 if (maxBytes != sharedQuotaBytes) { 644 res |= updateQuota(costName, maxBytes); 649 sharedQuotaBytes = maxBytes; 705 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { 716 if (!maxBytes) { [all...] |
/frameworks/av/media/libstagefright/ |
NuCachedSource2.cpp | 46 size_t releaseFromStart(size_t maxBytes); 115 size_t PageCache::releaseFromStart(size_t maxBytes) { 118 while (maxBytes > 0 && !mActivePages.empty()) { 123 if (maxBytes < page->mSize) { 129 maxBytes -= page->mSize; 486 size_t maxBytes = mLastAccessPos - mCacheOffset; 489 if (maxBytes < kGrayArea) { 493 maxBytes -= kGrayArea; 496 size_t actualBytes = mCache->releaseFromStart(maxBytes);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BlobCache.java | 30 // [8] MaxBytes: Max number of data bytes per region (including header). 57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException; 130 // them can grow to the size specified by maxBytes. The maxEntries parameter 133 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) 135 this(path, maxEntries, maxBytes, reset, 0); 138 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset, 149 resetCache(maxEntries, maxBytes); 300 private void resetCache(int maxEntries, int maxBytes) throws IOException { 307 writeInt(buf, IH_MAX_BYTES, maxBytes);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AttachmentUtils.java | 284 Long maxBytes = DownloadManager.getMaxBytesOverMobile(context); 285 return maxBytes == null || attachment == null || attachment.size <= maxBytes;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrResourceCache.h | 178 GrResourceCache(int maxCount, size_t maxBytes); 186 * @param maxBytes If non-null, returns maximum number of bytes of 189 void getLimits(int* maxResources, size_t* maxBytes) const; 197 * @param maxBytes The maximum number of bytes of resource memory that
|
GrResourceCache.cpp | 79 GrResourceCache::GrResourceCache(int maxCount, size_t maxBytes) : 81 fMaxBytes(maxBytes) {
|
/external/skia/src/gpu/ |
GrResourceCache.h | 178 GrResourceCache(int maxCount, size_t maxBytes); 186 * @param maxBytes If non-null, returns maximum number of bytes of 189 void getLimits(int* maxResources, size_t* maxBytes) const; 197 * @param maxBytes The maximum number of bytes of resource memory that
|
GrResourceCache.cpp | 79 GrResourceCache::GrResourceCache(int maxCount, size_t maxBytes) : 81 fMaxBytes(maxBytes) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/ |
handlers.py | 89 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0): 94 values of maxBytes and backupCount to allow the file to rollover at 97 Rollover occurs whenever the current log file is nearly maxBytes in 108 If maxBytes is zero, rollover never occurs. 115 if maxBytes > 0: 118 self.maxBytes = maxBytes 153 if self.maxBytes > 0: # are we rolling over? 156 if self.stream.tell() + len(msg) >= self.maxBytes: [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/ |
handlers.py | 89 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0): 94 values of maxBytes and backupCount to allow the file to rollover at 97 Rollover occurs whenever the current log file is nearly maxBytes in 108 If maxBytes is zero, rollover never occurs. 115 if maxBytes > 0: 118 self.maxBytes = maxBytes 153 if self.maxBytes > 0: # are we rolling over? 156 if self.stream.tell() + len(msg) >= self.maxBytes: [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
GIFImageReader.cpp | 784 const size_t maxBytes = MAX_DICTIONARY_ENTRIES - 1; 789 // and then decode a sequence |maxBytes| long to append. 790 rowBuffer.resize(m_frameContext->width() - 1 + maxBytes);
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8TestUtil.java | 326 int maxBytes = (int) (encoder.maxBytesPerChar() * maxChars) + 1; 327 byte[] bytesReencoded = new byte[maxBytes];
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 643 int maxBytes = 2 * ((START_WINDOW_MS * mSampleRate) / 1000); 644 maxBytes = ((maxBytes-1) / blockSize + 1) * blockSize; 653 while (count < maxBytes) { [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
ProxyFactory.java | 784 int maxBytes = ((l + 7) >> 3); 785 signature = new byte[maxBytes]; 803 int maxBytes = ((l + 7) >> 3); 804 if (signature.length != maxBytes) { [all...] |