Home
last modified time | relevance | path

Searched refs:DEFAULT_BUFFER_SIZE (Results 1 – 25 of 88) sorted by relevance

1234

/external/kotlinx.coroutines/integration-testing/src/npmTest/kotlin/
DNpmPublicationValidator.kt47 val buffer = ByteArray(DEFAULT_BUFFER_SIZE) in <lambda>()
48 var read = read(buffer, 0, DEFAULT_BUFFER_SIZE) in <lambda>()
51 read = read(buffer, 0, DEFAULT_BUFFER_SIZE) in <lambda>()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDeferredOutputStream.java14 private static final int DEFAULT_BUFFER_SIZE = 16 * 1024; field in MemoryDeferredOutputStream
21 this(DEFAULT_BUFFER_SIZE); in MemoryDeferredOutputStream()
77 return getFactory(DEFAULT_BUFFER_SIZE); in getFactory()
DFileDeferredOutputStream.java13 private static final int DEFAULT_BUFFER_SIZE = 4 * 1024; field in FileDeferredOutputStream
20 this(backingFile, DEFAULT_BUFFER_SIZE); in FileDeferredOutputStream()
91 return getFactory(containingDirectory, DEFAULT_BUFFER_SIZE); in getFactory()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DBufferedResourceLoader.java30 public static final int DEFAULT_BUFFER_SIZE = 1024; field in BufferedResourceLoader
33 private int bufferSize = DEFAULT_BUFFER_SIZE;
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannel.java19 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliDecoderChannel
35 this(source, DEFAULT_BUFFER_SIZE); in BrotliDecoderChannel()
DBrotliInputStream.java18 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliInputStream
34 this(source, DEFAULT_BUFFER_SIZE); in BrotliInputStream()
/external/icu/icu4c/source/tools/toolutil/
Dflagparser.cpp14 #define DEFAULT_BUFFER_SIZE 512 macro
16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE;
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/external/python/cpython3/Lib/
D_compression.py6 BUFFER_SIZE = io.DEFAULT_BUFFER_SIZE # Compressed data read chunk size
129 while self.read(io.DEFAULT_BUFFER_SIZE):
143 data = self.read(min(io.DEFAULT_BUFFER_SIZE, offset))
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
D_pyio.py27 DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes variable
226 buffering = DEFAULT_BUFFER_SIZE
643 data = self.read(DEFAULT_BUFFER_SIZE)
1041 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1233 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1345 def __init__(self, reader, writer, buffer_size=DEFAULT_BUFFER_SIZE):
1411 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1584 self._blksize = DEFAULT_BUFFER_SIZE
1662 bufsize = DEFAULT_BUFFER_SIZE
1675 bufsize += max(bufsize, DEFAULT_BUFFER_SIZE)
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c875 static const int32_t DEFAULT_BUFFER_SIZE = 30000; variable
887 roundtripRef = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in roundtripBOCU1()
888 roundtripICU = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in roundtripBOCU1()
889 bocu1Ref = malloc(DEFAULT_BUFFER_SIZE); in roundtripBOCU1()
890 bocu1ICU = malloc(DEFAULT_BUFFER_SIZE); in roundtripBOCU1()
896 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode); in roundtripBOCU1()
913 …roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULengt… in roundtripBOCU1()
992 text = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in TestBOCU1()
/external/brotli/java/org/brotli/wrapper/enc/
DBrotliEncoderChannel.java20 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliEncoderChannel
38 this(destination, params, DEFAULT_BUFFER_SIZE); in BrotliEncoderChannel()
DBrotliOutputStream.java18 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliOutputStream
36 this(destination, params, DEFAULT_BUFFER_SIZE); in BrotliOutputStream()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheDataSink.java52 bufferSize = CacheDataSink.DEFAULT_BUFFER_SIZE; in Factory()
117 public static final int DEFAULT_BUFFER_SIZE = 20 * 1024; field in CacheDataSink
145 this(cache, fragmentSize, DEFAULT_BUFFER_SIZE); in CacheDataSink()
DCacheDataSinkFactory.java30 this(cache, fragmentSize, CacheDataSink.DEFAULT_BUFFER_SIZE); in CacheDataSinkFactory()
/external/python/cpython3/Modules/
Dgrpmodule.c53 #define DEFAULT_BUFFER_SIZE 1024 macro
148 bufsize = DEFAULT_BUFFER_SIZE; in grp_getgrgid_impl()
229 bufsize = DEFAULT_BUFFER_SIZE; in grp_getgrnam_impl()
Dpwdmodule.c66 #define DEFAULT_BUFFER_SIZE 1024 macro
155 bufsize = DEFAULT_BUFFER_SIZE; in pwd_getpwuid()
238 bufsize = DEFAULT_BUFFER_SIZE; in pwd_getpwnam_impl()
/external/python/cpython3/Modules/_io/clinic/
Dbufferedio.c.h427 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedReader___init__()
486 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedWriter___init__()
579 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedRWPair___init__()
642 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedRandom___init__()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DProcess.java38 private static final int DEFAULT_BUFFER_SIZE = 8192; field in Process
127 mIn = new StreamGobbler(new FileInputStream(mFd), mLog, DEFAULT_BUFFER_SIZE); in start()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DServiceConnection.java35 public static final int DEFAULT_BUFFER_SIZE = 256 * 1024; // 256 Kb field
/external/python/cpython2/Lib/
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp29 static const int DEFAULT_BUFFER_SIZE = 100; variable
245 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
246 int64_t maxIndices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java336 private static final int DEFAULT_BUFFER_SIZE = 4096; field in Internal
348 bytes.capacity() > DEFAULT_BUFFER_SIZE ? DEFAULT_BUFFER_SIZE : bytes.capacity(); in hashCodeByteBuffer()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java55 private static final int DEFAULT_BUFFER_SIZE = 256; field in ConstantPoolGen
97 final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE); in ConstantPoolGen()
99 size = Math.max(DEFAULT_BUFFER_SIZE, cs.length + 64); in ConstantPoolGen()
216 size = DEFAULT_BUFFER_SIZE; in ConstantPoolGen()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp31 static const int DEFAULT_BUFFER_SIZE = 100; variable
267 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
268 int64_t maxIndices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()

1234