/frameworks/base/core/java/com/android/internal/util/ |
LineBreakBufferedWriter.java | 48 private final int bufferSize; 66 * @param bufferSize The maximum buffer size. 68 public LineBreakBufferedWriter(Writer out, int bufferSize) { 69 this(out, bufferSize, 16); // 16 is the default size of a StringBuilder buffer. 76 * @param bufferSize The maximum buffer size. 79 public LineBreakBufferedWriter(Writer out, int bufferSize, int initialCapacity) { 81 this.buffer = new char[Math.min(initialCapacity, bufferSize)]; 83 this.bufferSize = bufferSize; 119 while (bufferIndex + len > bufferSize) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
powrprof.h | 215 DWORD *BufferSize 244 LPDWORD BufferSize 270 LPDWORD BufferSize 287 LPDWORD BufferSize 296 LPDWORD BufferSize 305 LPDWORD BufferSize 314 LPDWORD BufferSize 323 LPDWORD BufferSize 333 LPDWORD BufferSize 367 LPDWORD BufferSize [all...] |
/device/generic/goldfish/libqemu/ |
test_guest_2.c | 57 int bufferSize = 16384; 132 bufferSize = size; 152 buffer = malloc(bufferSize); 153 buffer2 = malloc(bufferSize); 155 for (nn = 0; nn < bufferSize; nn++) { 163 int ret = pipe_send(pipe, buffer, bufferSize); 167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno)); 174 len = bufferSize; 189 if (memcmp(buffer, buffer2, bufferSize) != 0) { 194 for (nn = 0; nn < bufferSize; ) { [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/ |
GenCRC32Section.c | 47 IN OUT UINT32 *BufferSize,
61 BufferSize - On input, the size of FileBuffer. On output, the size of
86 *BufferSize = 0;
123 *BufferSize = TotalSize;
164 IN OUT UINT32 *BufferSize,
227 UINT32 BufferSize;
246 BufferSize = 1024 * 1024 * 16;
247 FileBuffer = (UINT8 *) malloc (BufferSize * sizeof (UINT8));
253 ZeroMem (FileBuffer, BufferSize);
261 &BufferSize,
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
Nvdata.c | 24 @param BufferSize number of bytes to read
37 IN UINTN BufferSize,
93 CopyMem (Buffer, &Db->Data.Byte[Offset], BufferSize);
108 BufferSize specifies the length of the read or write operation. BufferSize must
109 also be a multiple of NvRamAccessSize, and Offset + BufferSize must not exceed
127 @param BufferSize The number of bytes to read or write from the NVRAM device.
141 * The BufferSize parameter is not a multiple of
156 IN UINTN BufferSize,
200 if ((BufferSize == 0) || [all...] |
/device/generic/goldfish-opengl/system/renderControl_enc/ |
renderControl.attrib | 13 len buffer bufferSize 17 len buffer bufferSize
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Include/Protocol/ |
Print.h | 33 and BufferSize.
39 If BufferSize is 0 or 1, then no output buffer is produced, and 0 is returned.
41 If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().
42 If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().
43 If BufferSize > 1 and FormatString is NULL, then ASSERT().
44 If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT().
54 @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer.
66 IN UINTN BufferSize,
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialDebugPortLib/ |
GdbSerialDebugPortLib.c | 129 UINTN BufferSize;
132 BufferSize = sizeof (Char);
133 Status = gDebugPort->Read (gDebugPort, gTimeOut, &BufferSize, &Char);
134 } while (EFI_ERROR (Status) || BufferSize != sizeof (Char));
155 UINTN BufferSize;
158 BufferSize = sizeof (Char);
159 Status = gDebugPort->Write (gDebugPort, gTimeOut, &BufferSize, &Char);
160 } while (EFI_ERROR (Status) || BufferSize != sizeof (Char));
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/ |
PxeBcMtftp.h | 35 @param BufferSize Pointer to buffer size
49 IN OUT UINT64 *BufferSize
61 @param BufferSize Pointer to buffer size
76 IN OUT UINT64 *BufferSize,
90 @param BufferSize Pointer to buffer size
105 IN OUT UINT64 *BufferSize
117 @param BufferSize Pointer to buffer size.
132 IN OUT UINT64 *BufferSize,
|
/external/icu/icu4c/source/tools/toolutil/ |
flagparser.c | 18 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status); 19 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize); 117 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { 125 offset = getFlagOffset(buffer, bufferSize); 165 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { 168 for (offset = 0; offset < bufferSize;offset++) { 175 if (offset == bufferSize || (offset - 1) == bufferSize) {
|
/external/libxml2/doc/examples/ |
io2.c | 22 int buffersize; local 36 xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1);
|
/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 19 if (BufferSize == 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 31 if (Cur == BufferArray + BufferSize) { 40 if (BufferSize != 0) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
MemoryDeferredOutputStream.java | 24 public MemoryDeferredOutputStream(int bufferSize) { 25 currentBuffer = new byte[bufferSize]; 81 public static DeferredOutputStreamFactory getFactory(final int bufferSize) { 84 return new MemoryDeferredOutputStream(bufferSize);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
circular_raw_ostream.cpp | 19 if (BufferSize == 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 31 if (Cur == BufferArray + BufferSize) { 40 if (BufferSize != 0) {
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
circular_raw_ostream.cpp | 19 if (BufferSize == 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 31 if (Cur == BufferArray + BufferSize) { 40 if (BufferSize != 0) {
|
/external/syslinux/core/fs/pxe/ |
gpxeurl.c | 27 file_read.BufferSize = PKTBUF_SIZE; 36 memcpy(socket->tftp_pktbuf, packet_buf, file_read.BufferSize); 39 socket->tftp_bytesleft = file_read.BufferSize; 40 socket->tftp_filepos += file_read.BufferSize;
|
tftp.c | 83 uint16_t buffersize; local 154 buffersize = buf_len - 4; /* Skip TFTP header */ 156 socket->tftp_filepos += buffersize; 157 socket->tftp_bytesleft = buffersize; 158 if (buffersize < socket->tftp_blksize) { 198 int buffersize; local 274 buffersize = buf_len - 2; /* bytes after opcode */ 296 buffersize -= 2; 297 if (buffersize < 0) 305 if (buffersize > TFTP_BLOCKSIZE [all...] |
/external/tpm2/ |
TpmTcpProtocol.h | 20 // {UINT32 BufferSize, BYTE[BufferSize] Buffer} 49 unsigned long BufferSize; 55 uint32_t BufferSize;
|
/cts/tests/dram/src/android/dram/cts/ |
BandwidthTest.java | 160 private void doRunMemcpy(int bufferSize) { 163 if (bufferSize < (1 * MB)) { 165 repeatInEachCall *= (1 * MB / bufferSize); 168 result[i] = MemoryNative.runMemcpy(bufferSize, repeatInEachCall); 172 report.addValue("buffer_size", bufferSize, ResultType.NEUTRAL, ResultUnit.NONE); 175 (double)bufferSize * repeatInEachCall / 1024.0 / 1024.0, result); 195 private void doRunMemset(int bufferSize) { 198 if (bufferSize < (1 * MB)) { 200 repeatInEachCall *= (1 * MB / bufferSize); 203 result[i] = MemoryNative.runMemset(bufferSize, repeatInEachCall, MEMSET_CHAR) [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
ShellEnvVar.h | 70 @param BufferSize UINTN size of Buffer
77 #define SHELL_SET_ENVIRONMENT_VARIABLE_NV(EnvVarName,BufferSize,Buffer) \
81 BufferSize, \
90 @param BufferSize Pointer to the UINTN size of Buffer
97 #define SHELL_GET_ENVIRONMENT_VARIABLE(EnvVarName,BufferSize,Buffer) \
101 BufferSize, \
111 @param BufferSize Pointer to the UINTN size of Buffer
118 #define SHELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(EnvVarName,Atts,BufferSize,Buffer) \
122 BufferSize, \
131 @param BufferSize UINTN size of Buffer [all...] |
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/ |
DebugCommunicationLibUsb3Dxe.c | 23 @param BufferSize The size, in bytes, of the Buffer.
30 IN UINTN BufferSize
42 EFI_SIZE_TO_PAGES (BufferSize),
|
DebugCommunicationLibUsb3Pei.c | 22 @param BufferSize The size, in bytes, of the Buffer.
29 IN UINTN BufferSize
37 Status = PeiServicesAllocatePages (EfiACPIMemoryNVS, EFI_SIZE_TO_PAGES (BufferSize), &Address);
|
/external/swiftshader/src/Reactor/ |
LLVMRoutine.hpp | 29 LLVMRoutine(int bufferSize); 30 //LLVMRoutine(void *memory, int bufferSize, int offset); 46 int bufferSize;
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleWriter.java | 34 public Support_ASimpleWriter(int bufferSize) { 35 buf = new char[bufferSize]; 37 size = bufferSize;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
PrintLib.h | 211 and BufferSize.
217 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.
219 If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().
220 If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().
221 If BufferSize > 1 and FormatString is NULL, then ASSERT().
222 If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT().
232 @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer.
244 IN UINTN BufferSize,
254 and BufferSize.
260 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. [all...] |