Home
last modified time | relevance | path

Searched refs:maxBytes (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java30 maxBytes[1] = Collation.TRAIL_WEIGHT_BYTE; in initForPrimary()
33 maxBytes[2] = Collation.PRIMARY_COMPRESSION_HIGH_BYTE - 1; in initForPrimary()
36 maxBytes[2] = 0xff; in initForPrimary()
39 maxBytes[3] = 0xff; in initForPrimary()
41 maxBytes[4] = 0xff; in initForPrimary()
48 maxBytes[1] = 0; in initForSecondary()
50 maxBytes[2] = 0; in initForSecondary()
52 maxBytes[3] = 0xff; in initForSecondary()
54 maxBytes[4] = 0xff; in initForSecondary()
61 maxBytes[1] = 0; in initForTertiary()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java32 maxBytes[1] = Collation.TRAIL_WEIGHT_BYTE; in initForPrimary()
35 maxBytes[2] = Collation.PRIMARY_COMPRESSION_HIGH_BYTE - 1; in initForPrimary()
38 maxBytes[2] = 0xff; in initForPrimary()
41 maxBytes[3] = 0xff; in initForPrimary()
43 maxBytes[4] = 0xff; in initForPrimary()
50 maxBytes[1] = 0; in initForSecondary()
52 maxBytes[2] = 0; in initForSecondary()
54 maxBytes[3] = 0xff; in initForSecondary()
56 maxBytes[4] = 0xff; in initForSecondary()
63 maxBytes[1] = 0; in initForTertiary()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp101 minBytes[i] = maxBytes[i] = 0; in CollationWeights()
109 maxBytes[1] = Collation::TRAIL_WEIGHT_BYTE; in initForPrimary()
112 maxBytes[2] = Collation::PRIMARY_COMPRESSION_HIGH_BYTE - 1; in initForPrimary()
115 maxBytes[2] = 0xff; in initForPrimary()
118 maxBytes[3] = 0xff; in initForPrimary()
120 maxBytes[4] = 0xff; in initForPrimary()
128 maxBytes[1] = 0; in initForSecondary()
130 maxBytes[2] = 0; in initForSecondary()
132 maxBytes[3] = 0xff; in initForSecondary()
134 maxBytes[4] = 0xff; in initForSecondary()
[all …]
Dcollationweights.h87 return (int32_t)(maxBytes[idx] - minBytes[idx] + 1); in countBytes()
104 uint32_t maxBytes[5]; variable
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictor.java25 private final long maxBytes; field in LeastRecentlyUsedCacheEvictor
30 public LeastRecentlyUsedCacheEvictor(long maxBytes) { in LeastRecentlyUsedCacheEvictor() argument
31 this.maxBytes = maxBytes; in LeastRecentlyUsedCacheEvictor()
72 while (currentSize + requiredSpace > maxBytes && !leastRecentlyUsed.isEmpty()) { in evictCache()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOutboundFlowController.java316 int maxBytes = min(bytes, writableWindow()); in writeBytes() local
319 if (maxBytes >= pendingWrite.size()) { in writeBytes()
324 } else if (maxBytes <= 0) { in writeBytes()
331 Frame partialFrame = pendingWrite.split(maxBytes); in writeBytes()
338 maxBytes = min(bytes - bytesAttempted, writableWindow()); in writeBytes()
416 Frame split(int maxBytes) { in split() argument
418 assert maxBytes < size() : "Attempting to split a frame for the full size."; in split()
421 int dataSplit = min(maxBytes, (int) data.size()); in split()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictorTest.java36 int maxBytes = 100; in contentBiggerThanMaxSizeDoesNotThrowException() local
37 LeastRecentlyUsedCacheEvictor evictor = new LeastRecentlyUsedCacheEvictor(maxBytes); in contentBiggerThanMaxSizeDoesNotThrowException()
39 evictor.onStartFile(Mockito.mock(Cache.class), "key", 0, maxBytes + 1); in contentBiggerThanMaxSizeDoesNotThrowException() local
/external/skia/src/core/
DSkImageFilterCache.cpp33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl() argument
160 SkImageFilterCache* SkImageFilterCache::Create(size_t maxBytes) { in Create() argument
161 return new CacheImpl(maxBytes); in Create()
DSkImageFilterCache.h59 static SkImageFilterCache* Create(size_t maxBytes);
/external/skqp/src/core/
DSkImageFilterCache.cpp33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl() argument
157 SkImageFilterCache* SkImageFilterCache::Create(size_t maxBytes) { in Create() argument
158 return new CacheImpl(maxBytes); in Create()
DSkImageFilterCache.h56 static SkImageFilterCache* Create(size_t maxBytes);
/external/dng_sdk/source/
Ddng_string.h68 uint32 maxBytes = 6,
81 void Truncate (uint32 maxBytes);
Ddng_string.cpp913 uint32 maxBytes, in DecodeUTF8() argument
940 if (aSize > maxBytes) in DecodeUTF8()
943 s += maxBytes; in DecodeUTF8()
1328 void dng_string::Truncate (uint32 maxBytes) in Truncate() argument
1333 if (len > maxBytes) in Truncate()
1341 while (maxBytes > 0 && ((s [maxBytes]) & 0xC0) == 0x80) in Truncate()
1344 maxBytes--; in Truncate()
1348 s [maxBytes] = 0; in Truncate()
/external/autotest/site_utils/stats/
Dlog_daemon_common.py38 args.output_logfile, maxBytes=10**6, backupCount=5)
/external/skqp/tests/
DTextureProxyTest.cpp247 size_t maxBytes; in invalidation_test() local
248 context->getResourceCacheLimits(&maxNum, &maxBytes); in invalidation_test()
249 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
DDrawOpAtlasTest.cpp236 void test_atlas_config(skiatest::Reporter* reporter, int maxTextureSize, size_t maxBytes, in test_atlas_config() argument
239 GrDrawOpAtlasConfig config(maxTextureSize, maxBytes); in test_atlas_config()
DResourceAllocatorTest.cpp274 size_t maxBytes; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
275 context->getResourceCacheLimits(&maxNum, &maxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
286 context->setResourceCacheLimits(maxNum, maxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/icu/icu4c/source/common/
Dputilimp.h560 uintptr_t maxBytes = maxInt - destInt; // max. 2GB in pinCapacity() local
561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity()
/external/python/cpython2/Lib/logging/
Dhandlers.py89 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0): argument
115 if maxBytes > 0:
118 self.maxBytes = maxBytes
155 if self.maxBytes > 0: # are we rolling over?
158 if self.stream.tell() + len(msg) >= self.maxBytes:
/external/skqp/src/gpu/
DGrDrawOpAtlas.cpp602 GrDrawOpAtlasConfig::GrDrawOpAtlasConfig(int maxTextureSize, size_t maxBytes) { in GrDrawOpAtlasConfig() argument
613 maxBytes >>= 18; in GrDrawOpAtlasConfig()
615 int index = maxBytes > 0 in GrDrawOpAtlasConfig()
616 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
/external/skia/src/gpu/
DGrDrawOpAtlas.cpp642 GrDrawOpAtlasConfig::GrDrawOpAtlasConfig(int maxTextureSize, size_t maxBytes) { in GrDrawOpAtlasConfig() argument
653 maxBytes >>= 18; in GrDrawOpAtlasConfig()
655 int index = maxBytes > 0 in GrDrawOpAtlasConfig()
656 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
/external/python/cpython3/Lib/logging/
Dhandlers.py120 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False): argument
146 if maxBytes > 0:
149 self.maxBytes = maxBytes
184 if self.maxBytes > 0: # are we rolling over?
187 if self.stream.tell() + len(msg) >= self.maxBytes:
/external/skia/tests/
DDrawOpAtlasTest.cpp243 void test_atlas_config(skiatest::Reporter* reporter, int maxTextureSize, size_t maxBytes, in test_atlas_config() argument
246 GrDrawOpAtlasConfig config(maxTextureSize, maxBytes); in test_atlas_config()
/external/autotest/site_utils/
Drpc_logserver.py110 maxBytes=max_log_size*MEGABYTE,
/external/toolchain-utils/deprecated/automation/common/
Dlogger.py19 maxBytes=10 * 1024 * 1024,

12