/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationWeights.java | 32 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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationWeights.java | 30 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/icu4c/source/i18n/ |
D | collationweights.cpp | 101 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 …]
|
D | collationweights.h | 87 return (int32_t)(maxBytes[idx] - minBytes[idx] + 1); in countBytes() 104 uint32_t maxBytes[5]; variable
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/ |
D | ThrottledInputStream.java | 12 public ThrottledInputStream(byte[] data, int maxBytes) in ThrottledInputStream() argument 14 this(new ByteArrayInputStream(data), maxBytes); in ThrottledInputStream() 17 public ThrottledInputStream(InputStream in, int maxBytes) in ThrottledInputStream() argument 20 _maxBytes = maxBytes; in ThrottledInputStream()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | LeastRecentlyUsedCacheEvictor.java | 25 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/ |
D | OutboundFlowController.java | 316 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/ |
D | LeastRecentlyUsedCacheEvictorTest.java | 36 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/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/ |
D | TzDataSetVersion.java | 299 private static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes() argument 300 if (maxBytes <= 0) { in readBytes() 301 throw new IllegalArgumentException("maxBytes ==" + maxBytes); in readBytes() 305 byte[] max = new byte[maxBytes]; in readBytes() 306 int bytesRead = in.read(max, 0, maxBytes); in readBytes()
|
/external/skia/src/core/ |
D | SkImageFilterCache.cpp | 33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl() argument 154 SkImageFilterCache* SkImageFilterCache::Create(size_t maxBytes) { in Create() argument 155 return new CacheImpl(maxBytes); in Create()
|
D | SkImageFilterCache.h | 59 static SkImageFilterCache* Create(size_t maxBytes);
|
/external/skqp/src/core/ |
D | SkImageFilterCache.cpp | 33 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()
|
D | SkImageFilterCache.h | 56 static SkImageFilterCache* Create(size_t maxBytes);
|
/external/icu/libicu/cts_headers/ |
D | collationweights.h | 87 return (int32_t)(maxBytes[idx] - minBytes[idx] + 1); in countBytes() 104 uint32_t maxBytes[5]; variable
|
D | putilimp.h | 560 uintptr_t maxBytes = maxInt - destInt; // max. 2GB in pinCapacity() local 561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity()
|
/external/dng_sdk/source/ |
D | dng_string.h | 68 uint32 maxBytes = 6, 81 void Truncate (uint32 maxBytes);
|
D | dng_string.cpp | 913 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/llvm-project/flang/runtime/ |
D | file.cpp | 189 std::size_t maxBytes, IoErrorHandler &handler) { in Read() argument 190 if (maxBytes == 0) { in Read() 197 minBytes = std::min(minBytes, maxBytes); in Read() 200 auto chunk{::read(fd_, buffer + got, maxBytes - got)}; in Read()
|
D | buffer.h | 80 auto maxBytes{size_ - next}; in ReadFrame() 82 fileOffset_ + length_, buffer_ + next, minBytes, maxBytes, handler)}; in ReadFrame()
|
/external/autotest/site_utils/stats/ |
D | log_daemon_common.py | 38 args.output_logfile, maxBytes=10**6, backupCount=5)
|
/external/skqp/tests/ |
D | TextureProxyTest.cpp | 247 size_t maxBytes; in invalidation_test() local 248 context->getResourceCacheLimits(&maxNum, &maxBytes); in invalidation_test() 249 context->setResourceCacheLimits(maxNum-1, maxBytes); in invalidation_test()
|
/external/icu/icu4c/source/common/ |
D | putilimp.h | 560 uintptr_t maxBytes = maxInt - destInt; // max. 2GB in pinCapacity() local 561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity()
|
/external/skqp/src/gpu/ |
D | GrDrawOpAtlas.cpp | 602 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/python/cpython2/Lib/logging/ |
D | handlers.py | 89 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/skia/tests/ |
D | DrawOpAtlasTest.cpp | 246 void test_atlas_config(skiatest::Reporter* reporter, int maxTextureSize, size_t maxBytes, in test_atlas_config() argument 249 GrDrawOpAtlasConfig config(maxTextureSize, maxBytes); in test_atlas_config()
|