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

1 2

  /external/chromium-trace/trace-viewer/tracing/tracing/ui/extras/tcmalloc/
heap_instance_track.html 54 var maxBytes = 0;
64 if (sumBytes > maxBytes)
65 maxBytes = sumBytes;
67 return maxBytes;
98 var maxBytes = this.maxBytes_;
159 var barHeight = height * trace.currentBytes / maxBytes;
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationWeights.java 28 maxBytes[1] = Collation.TRAIL_WEIGHT_BYTE;
31 maxBytes[2] = Collation.PRIMARY_COMPRESSION_HIGH_BYTE - 1;
34 maxBytes[2] = 0xff;
37 maxBytes[3] = 0xff;
39 maxBytes[4] = 0xff;
46 maxBytes[1] = 0;
48 maxBytes[2] = 0;
50 maxBytes[3] = 0xff;
52 maxBytes[4] = 0xff;
59 maxBytes[1] = 0
    [all...]
  /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,
  /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);
  /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);
FileUtils.java 521 public static String trimFilename(String str, int maxBytes) {
523 trimFilename(res, maxBytes);
527 private static void trimFilename(StringBuilder res, int maxBytes) {
529 if (raw.length > maxBytes) {
530 maxBytes -= 3;
531 while (raw.length > maxBytes) {
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utf8ByteLengthFilter.java 43 Utf8ByteLengthFilter(int maxBytes) {
44 mMaxBytes = 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);
  /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...]
  /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;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
PipeShort.java 32 // maxBytes will be rounded up to a power of 2, and all slots are available. Must be >= 2.
  /external/skia/src/core/
SkImageFilter.cpp 421 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) {
498 SkImageFilter::Cache* SkImageFilter::Cache::Create(size_t maxBytes) {
499 return SkNEW_ARGS(CacheImpl, (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/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/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java 99 * @param maxBytes the limit
102 public void setFileSizeLimit(File file, long maxBytes) {
104 mMaxBytes = maxBytes;
  /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...]
  /external/sonic/
Sonic.java 431 int maxBytes)
433 int maxSamples = maxBytes/(2*numChannels);
  /external/skia/include/core/
SkImageFilter.h 60 static Cache* Create(size_t maxBytes);
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
StringUtil.java     [all...]
  /external/skia/tests/
ResourceCacheTest.cpp 270 Mock(int maxCnt, size_t maxBytes) {
273 fContext->setResourceCacheLimits(maxCnt, maxBytes);
    [all...]
  /external/libmtp/src/
ptp.c 799 * maxbytes - Maximum of bytes to read
803 * allocated 'object'. Start from offset and read at most maxbytes.
809 uint32_t maxbytes, unsigned char** object)
818 ptp.Param3=maxbytes;
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java     [all...]

Completed in 1577 milliseconds

1 2