HomeSort by relevance Sort by last modified time
    Searched full:maxbytes (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/net/third_party/nss/patches/
paddingextension.patch 37 maxBytes -= extLen;
39 + extLen = ssl3_AppendPaddingExtension(ss, paddingExtensionLen, maxBytes);
43 + maxBytes -= extLen;
45 PORT_Assert(!maxBytes);
52 @@ -2297,3 +2297,56 @@ ssl3_ClientSendSigAlgsXtn(sslSocket * ss, PRBool append, PRUint32 maxBytes)
83 + PRUint32 maxBytes)
93 + extensionLen > maxBytes ||
114 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes,
122 + PRUint32 maxBytes);
paddingextensionall.patch 19 PRUint32 maxBytes)
alpn.patch 28 + PRUint32 maxBytes);
30 PRUint32 maxBytes);
126 PRUint32 maxBytes)
132 +ssl3_ClientSendAppProtoXtn(sslSocket * ss, PRBool append, PRUint32 maxBytes)
146 + if (append && maxBytes >= extension_length) {
183 + } else if (maxBytes < extension_length) {
signedcertificatetimestamps.patch 80 PRUint32 maxBytes);
85 + PRUint32 maxBytes);
121 + PRUint32 maxBytes)
130 + if (append && maxBytes >= extension_length) {
144 + } else if (maxBytes < extension_length) {
channelid.patch 279 PRUint32 maxBytes);
285 + PRUint32 maxBytes);
287 PRBool append, PRUint32 maxBytes);
330 + PRUint32 maxBytes)
337 + if (maxBytes < extension_length) {
  /external/chromium-trace/trace-viewer/src/tcmalloc/
heap_instance_track.js 52 var maxBytes = 0;
62 if (sumBytes > maxBytes)
63 maxBytes = sumBytes;
65 return maxBytes;
96 var maxBytes = this.maxBytes_;
153 var barHeight = height * trace.currentBytes / maxBytes;
  /external/skia/gm/
gm_expectations.h 221 * Read as many bytes as possible (up to maxBytes) from the stream into
224 * If the returned SkData contains fewer than maxBytes, then EOF has been
229 * If there are fewer than maxBytes bytes available to read from the
238 * size_t maxBytes = 256;
239 * SkAutoDataUnref dataRef(readIntoSkData(stream, maxBytes));
251 static SkData* ReadIntoSkData(SkStream &stream, size_t maxBytes);
gm_expectations.cpp 237 /*static*/ SkData* JsonExpectationsSource::ReadIntoSkData(SkStream &stream, size_t maxBytes) {
238 if (0 == maxBytes) {
241 char* bufStart = reinterpret_cast<char *>(sk_malloc_throw(maxBytes));
243 size_t bytesRemaining = maxBytes;
252 return SkData::NewFromMalloc(bufStart, maxBytes - bytesRemaining);
  /system/core/libcutils/tests/memset_mips/
test_memset.c 82 testone(char *tag, void (*fn)(), int trials, int minbytes, int maxbytes, int size, int threshold)
96 n = minbytes + (rand() % (maxbytes-minbytes)); /* How many bytes to do */
188 int minbytes, maxbytes; member in struct:__anon60909
225 sprintf(tag, "%10s: %7s %4d-%4d", fp->name, pp->type, pp->minbytes, pp->maxbytes);
228 threshold = pp->maxbytes * 4 * 10; /* reasonable for cycles and ns */
229 testone(tag, fp->fn, pp->trials, pp->minbytes, pp->maxbytes, fp->size, threshold);
  /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/Mms/src/com/android/mms/util/
CacheManager.java 41 int maxEntries, int maxBytes, int version) {
54 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;
129 // them can grow to the size specified by maxBytes. The maxEntries parameter
132 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
134 this(path, maxEntries, maxBytes, reset, 0);
137 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
148 resetCache(maxEntries, maxBytes);
299 private void resetCache(int maxEntries, int maxBytes) throws IOException {
306 writeInt(buf, IH_MAX_BYTES, maxBytes);
  /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);
341 PRUint32 maxBytes)
    [all...]
  /frameworks/av/media/libstagefright/
NuCachedSource2.cpp 44 size_t releaseFromStart(size_t maxBytes);
113 size_t PageCache::releaseFromStart(size_t maxBytes) {
116 while (maxBytes > 0 && !mActivePages.empty()) {
121 if (maxBytes < page->mSize) {
127 maxBytes -= page->mSize;
447 size_t maxBytes = mLastAccessPos - mCacheOffset;
450 if (maxBytes < kGrayArea) {
454 maxBytes -= kGrayArea;
457 size_t actualBytes = mCache->releaseFromStart(maxBytes);
  /frameworks/base/core/java/android/os/
DropBoxManager.java 184 * @param maxBytes of string to return (will truncate at this length).
187 public String getText(int maxBytes) {
189 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length));
195 byte[] buf = new byte[maxBytes];
198 while (n >= 0 && (readBytes += n) < maxBytes) {
199 n = is.read(buf, readBytes, maxBytes - readBytes);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utf8ByteLengthFilter.java 43 Utf8ByteLengthFilter(int maxBytes) {
44 mMaxBytes = maxBytes;
  /external/chromium_org/third_party/skia/src/gpu/
GrResourceCache.h 203 GrResourceCache(int maxCount, size_t maxBytes);
211 * @param maxBytes If non-null, returns maximum number of bytes of
214 void getLimits(int* maxResources, size_t* maxBytes) const;
222 * @param maxBytes The maximum number of bytes of resource memory that
GrResourceCache.cpp 50 GrResourceCache::GrResourceCache(int maxCount, size_t maxBytes) :
52 fMaxBytes(maxBytes) {
  /external/skia/src/gpu/
GrResourceCache.h 203 GrResourceCache(int maxCount, size_t maxBytes);
211 * @param maxBytes If non-null, returns maximum number of bytes of
214 void getLimits(int* maxResources, size_t* maxBytes) const;
222 * @param maxBytes The maximum number of bytes of resource memory that
  /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);
  /system/netd/
BandwidthController.cpp 593 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) {
603 if (!maxBytes) {
614 if (maxBytes == -1) {
627 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
633 sharedQuotaBytes = maxBytes;
639 if (maxBytes != sharedQuotaBytes) {
640 res |= updateQuota(costName, maxBytes);
645 sharedQuotaBytes = maxBytes;
699 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) {
707 if (!maxBytes) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 285 Long maxBytes = DownloadManager.getMaxBytesOverMobile(context);
286 return maxBytes == null || attachment == null || attachment.size <= 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/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 326 int maxBytes = (int) (encoder.maxBytesPerChar() * maxChars) + 1;
327 byte[] bytesReencoded = new byte[maxBytes];

Completed in 1461 milliseconds

1 2