Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 25 of 118) sorted by relevance

12345

/external/libnetfilter_conntrack/src/expect/
Dsnprintf_xml.c60 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
66 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
71 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
76 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
80 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
91 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
94 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
97 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
102 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
106 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
[all …]
Dsnprintf_default.c63 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
66 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
69 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
73 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
76 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
80 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
84 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
88 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
92 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
96 BUFFER_SIZE(ret, size, len, offset); in __snprintf_expect_default()
[all …]
/external/libnetfilter_conntrack/src/conntrack/
Dsnprintf_xml.c104 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
109 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
113 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
118 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
139 BUFFER_SIZE(ret, size, len, offset); in __snprintf_proto_xml()
143 BUFFER_SIZE(ret, size, len, offset); in __snprintf_proto_xml()
150 BUFFER_SIZE(ret, size, len, offset); in __snprintf_proto_xml()
154 BUFFER_SIZE(ret, size, len, offset); in __snprintf_proto_xml()
172 BUFFER_SIZE(ret, size, len, offset); in __snprintf_counters_xml()
176 BUFFER_SIZE(ret, size, len, offset); in __snprintf_counters_xml()
[all …]
Dsnprintf_default.c80 BUFFER_SIZE(ret, size, len, offset); in __snprintf_address_ipv4()
83 BUFFER_SIZE(ret, size, len, offset); in __snprintf_address_ipv4()
106 BUFFER_SIZE(ret, size, len, offset); in __snprintf_address_ipv6()
112 BUFFER_SIZE(ret, size, len, offset); in __snprintf_address_ipv6()
316 BUFFER_SIZE(ret, size, len, offset); in __snprintf_connlabels()
332 BUFFER_SIZE(ret, size, len, offset); in __snprintf_clabels()
336 BUFFER_SIZE(ret, size, len, offset); in __snprintf_clabels()
341 BUFFER_SIZE(ret, size, len, offset); in __snprintf_clabels()
369 BUFFER_SIZE(ret, size, len, offset); in __snprintf_conntrack_default()
373 BUFFER_SIZE(ret, size, len, offset); in __snprintf_conntrack_default()
[all …]
/external/brotli/research/
Dbrotli_decoder.c13 #define BUFFER_SIZE (1u << 20) macro
49 size_t available_out = BUFFER_SIZE; in main()
57 ctx.input_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main()
59 ctx.output_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main()
69 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main()
73 fwrite(ctx.output_buffer, 1, BUFFER_SIZE, ctx.fout); in main()
75 available_out = BUFFER_SIZE; in main()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DIoUtils.java26 private static final int BUFFER_SIZE = 1024 * 8; field in IoUtils
33 byte[] buffer = new byte[BUFFER_SIZE]; in copy()
35 BufferedInputStream in = new BufferedInputStream(input, BUFFER_SIZE); in copy()
36 BufferedOutputStream out = new BufferedOutputStream(output, BUFFER_SIZE); in copy()
39 while ((n = in.read(buffer, 0, BUFFER_SIZE)) != -1) { in copy()
/external/libdrm/tests/amdgpu/
Dbo_tests.c31 #define BUFFER_SIZE (4*1024) macro
75 req.alloc_size = BUFFER_SIZE; in suite_bo_tests_init()
85 BUFFER_SIZE, BUFFER_ALIGN, 0, in suite_bo_tests_init()
90 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, va, 0, AMDGPU_VA_OP_MAP); in suite_bo_tests_init()
111 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
145 CU_ASSERT_EQUAL(res.alloc_size, BUFFER_SIZE); in amdgpu_bo_export_import_do_type()
190 for (i = 0; i < (BUFFER_SIZE / 4); ++i) in amdgpu_bo_map_unmap()
/external/icu/icu4c/source/i18n/
Dinputext.cpp23 #define BUFFER_SIZE 8192 macro
29 … : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText()
98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput()
132 if (limit > BUFFER_SIZE) { in MungeInput()
133 limit = BUFFER_SIZE; in MungeInput()
/external/sonic/
Dmain.c14 #define BUFFER_SIZE 2048 macro
30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; in runSonic()
40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic()
48 BUFFER_SIZE/numChannels); in runSonic()
/external/apache-http/src/org/apache/http/impl/io/
DContentLengthInputStream.java78 private static final int BUFFER_SIZE = 2048; field in ContentLengthInputStream
125 byte buffer[] = new byte[BUFFER_SIZE]; in close()
208 byte[] buffer = new byte[BUFFER_SIZE]; in skip()
215 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in skip()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DRelay.java40 private static final int BUFFER_SIZE = 4096; field in Relay
95 byteBuffer = ByteBuffer.allocate(BUFFER_SIZE); in run()
96 charBuffer = CharBuffer.allocate(BUFFER_SIZE); in run()
99 byte[] wideAttribute = new byte[BUFFER_SIZE]; in run()
105 widths = new float[BUFFER_SIZE]; in run()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java13 private static int BUFFER_SIZE = 4096; field in Streams
24 byte[] bs = new byte[BUFFER_SIZE]; in drain()
112 byte[] bs = new byte[BUFFER_SIZE]; in pipeAll()
132 byte[] bs = new byte[BUFFER_SIZE]; in pipeAllLimited()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/
DStreams.java15 private static int BUFFER_SIZE = 4096; field in Streams
26 byte[] bs = new byte[BUFFER_SIZE]; in drain()
114 byte[] bs = new byte[BUFFER_SIZE]; in pipeAll()
134 byte[] bs = new byte[BUFFER_SIZE]; in pipeAllLimited()
/external/skqp/tools/
Dwin_lcid.cpp10 #define BUFFER_SIZE 512 macro
12 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx()
15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
/external/skia/tools/
Dwin_lcid.cpp10 #define BUFFER_SIZE 512 macro
12 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx()
15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
/external/xz-embedded/userspace/
Dbuftest.c15 #define BUFFER_SIZE (1024 * 1024) macro
17 static uint8_t in[BUFFER_SIZE];
18 static uint8_t out[BUFFER_SIZE];
/external/skia/src/sksl/
DSkSLHCodeGenerator.cpp103 static constexpr int BUFFER_SIZE = 1024; in writef() local
106 char buffer[BUFFER_SIZE]; in writef()
107 int length = vsnprintf(buffer, BUFFER_SIZE, s, va); in writef()
108 if (length < BUFFER_SIZE) { in writef()
141 #define BUFFER_SIZE 64 in writeExtraConstructorParams() macro
142 char lastIdentifier[BUFFER_SIZE]; in writeExtraConstructorParams()
154 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
160 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
170 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
/external/skqp/src/sksl/
DSkSLHCodeGenerator.cpp101 static constexpr int BUFFER_SIZE = 1024; in writef() local
104 char buffer[BUFFER_SIZE]; in writef()
105 int length = vsnprintf(buffer, BUFFER_SIZE, s, va); in writef()
106 if (length < BUFFER_SIZE) { in writef()
138 #define BUFFER_SIZE 64 in writeExtraConstructorParams() macro
139 char lastIdentifier[BUFFER_SIZE]; in writeExtraConstructorParams()
151 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
157 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
167 SkASSERT(lastIdentifierLength < BUFFER_SIZE); in writeExtraConstructorParams()
/external/apache-http/src/org/apache/http/entity/
DInputStreamEntity.java54 private final static int BUFFER_SIZE = 2048; field in InputStreamEntity
86 byte[] buffer = new byte[BUFFER_SIZE]; in writeTo()
97 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo()
/external/icu/icu4c/source/samples/csdet/
Dcsdet.c18 #define BUFFER_SIZE 8192 macro
22 static char buffer[BUFFER_SIZE]; in main()
51 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
Dcpuset_mem_hog.c37 #define BUFFER_SIZE 100 macro
53 char buff[BUFFER_SIZE]; in page_cache_hog()
54 char path[BUFFER_SIZE]; in page_cache_hog()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
DContentTypeDetector.java40 private static final int BUFFER_SIZE = 8; field in ContentTypeDetector
60 this.in = new BufferedInputStream(in, BUFFER_SIZE); in ContentTypeDetector()
62 this.in.mark(BUFFER_SIZE); in ContentTypeDetector()
/external/libchrome/base/files/
Dfile_util.cc66 const int BUFFER_SIZE = 2056; in ContentsEqual() local
67 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; in ContentsEqual()
69 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual()
70 file2.read(buffer2, BUFFER_SIZE); in ContentsEqual()
/external/libopus/tests/
Dtest_opus_projection.c45 #define BUFFER_SIZE 960 macro
304 buffer_in = (short *)malloc(sizeof(short) * BUFFER_SIZE * channels); in test_encode_decode()
305 buffer_out = (short *)malloc(sizeof(short) * BUFFER_SIZE * channels); in test_encode_decode()
347 generate_music(buffer_in, BUFFER_SIZE, channels); in test_encode_decode()
350 st_enc, buffer_in, BUFFER_SIZE, data, MAX_DATA_BYTES); in test_encode_decode()
358 if(out_samples!=BUFFER_SIZE) { in test_encode_decode()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DFixASCIIControlsReader.java35 private static final int BUFFER_SIZE = 8; field in FixASCIIControlsReader
50 super(in, BUFFER_SIZE); in FixASCIIControlsReader()
62 char[] readAheadBuffer = new char[BUFFER_SIZE]; in read()

12345