/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/Ascii/ |
PrintWidth.h | 30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format)
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker)
64 IN UINTN BufferSize,
77 BufferSize - Maximum number of characters to put into buffer.
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePrintLib/ |
PrintLib.c | 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,
73 return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, FORMAT_UNICODE | OUTPUT_UNICODE, (CHAR8 *)FormatString, Marker, NULL);
81 and BufferSize. [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 27 int bufferSize = samples * (stereo? 2 : 1) * BPS; 28 android::sp<Buffer> buffer(new Buffer(bufferSize)); 48 int bufferSize = samples * (stereo? 2 : 1) * BPS; 49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); 73 int bufferSize = samples * (stereo? 2 : 1) * BPS; 74 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize));
|
/external/expat/tests/benchmark/ |
benchmark.c | 21 "usage: %s [-n] filename bufferSize nr_of_loops\n", prog); 31 int nrOfLoops, bufferSize, fileSize, i, isFinal; 61 bufferSize = atoi (argv[j + 2]); 63 if (bufferSize <= 0 || nrOfLoops <= 0) { 86 if (parseBufferSize <= bufferSize) 89 parseBufferSize = bufferSize; 100 XMLBufPtr += bufferSize; 112 nrOfLoops, bufferSize, cpuTime / (double) nrOfLoops);
|
/external/libcxx/test/libcxx/experimental/any/ |
small_type.pass.cpp | 19 constexpr std::size_t BufferSize = (sizeof(void*) * 3); 36 char buff[BufferSize]; 43 char buff[BufferSize]; 48 char buff[BufferSize + 1]; 55 char buff[BufferSize + 1]; 70 static_assert(sizeof(T) == BufferSize, ""); 78 static_assert(sizeof(T) < BufferSize, ""); 86 static_assert(sizeof(T) == BufferSize, ""); 94 static_assert(sizeof(T) > BufferSize, ""); 102 static_assert(sizeof(T) < BufferSize, ""); [all...] |
/external/libcxx/test/libcxx/utilities/any/ |
small_type.pass.cpp | 19 constexpr std::size_t BufferSize = (sizeof(void*) * 3); 36 char buff[BufferSize]; 43 char buff[BufferSize]; 48 char buff[BufferSize + 1]; 55 char buff[BufferSize + 1]; 70 static_assert(sizeof(T) == BufferSize, ""); 78 static_assert(sizeof(T) < BufferSize, ""); 86 static_assert(sizeof(T) == BufferSize, ""); 94 static_assert(sizeof(T) > BufferSize, ""); 102 static_assert(sizeof(T) < BufferSize, ""); [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/any/ |
small_type.pass.cpp | 19 constexpr std::size_t BufferSize = (sizeof(void*) * 3); 36 char buff[BufferSize]; 43 char buff[BufferSize]; 48 char buff[BufferSize + 1]; 55 char buff[BufferSize + 1]; 70 static_assert(sizeof(T) == BufferSize, ""); 78 static_assert(sizeof(T) < BufferSize, ""); 86 static_assert(sizeof(T) == BufferSize, ""); 94 static_assert(sizeof(T) > BufferSize, ""); 102 static_assert(sizeof(T) < BufferSize, ""); [all...] |
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
hand.c | 68 UINTN BufferSize; 76 BufferSize = 50 * sizeof(EFI_HANDLE); 82 while (GrowBuffer (&Status, (VOID **) Buffer, BufferSize)) { 90 &BufferSize, 96 *NoHandles = BufferSize / sizeof (EFI_HANDLE); 115 UINTN BufferSize; 131 BufferSize = 50 * sizeof(EFI_HANDLE); 137 while (GrowBuffer (&Status, (VOID **)&BlockIoBuffer, BufferSize)) { 149 &BufferSize, 155 NoBlockIoHandles = BufferSize / sizeof (EFI_HANDLE) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
Receive.c | 23 @param BufferSize Pointer to the length of the buffer on entry and contains
34 BufferSize has been updated to the number of
39 @retval EFI_BUFFER_TOO_SMALL BufferSize is too small for the received
40 packets. BufferSize has been updated to the
48 UINTN *BufferSize,
61 BuffSize = *BufferSize;
64 Cpb->BufferLen = (UINT32) *BufferSize;
114 *BufferSize = Db->FrameLen;
145 return (*BufferSize <= BuffSize) ? EFI_SUCCESS : EFI_BUFFER_TOO_SMALL;
154 is smaller than BufferSize, then the contents of the packet will be placed in [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
BootMonFsReadWrite.c | 28 @param[in out] BufferSize On input, the size of the Buffer. On output, the
45 IN OUT UINTN *BufferSize,
58 (BufferSize == NULL) ||
79 *BufferSize = 0;
91 if (*BufferSize > RemainingFileSize) {
92 *BufferSize = RemainingFileSize;
99 *BufferSize,
103 *BufferSize = 0;
106 File->Position += *BufferSize;
119 @param[in out] BufferSize On input, the size of the Buffer. On output, the [all...] |
BootMonFsDir.c | 124 IN OUT UINTN *BufferSize,
138 if (*BufferSize >= Size) {
144 *BufferSize = Size;
189 IN OUT UINTN *BufferSize,
195 if (*BufferSize >= Instance->FsInfo.Size) {
203 *BufferSize = Instance->FsInfo.Size;
212 IN OUT UINTN *BufferSize,
221 if (*BufferSize < ResultSize) {
222 *BufferSize = ResultSize;
232 *BufferSize = ResultSize; [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
PxeBcMtftp.c | 111 @param[in, out] BufferSize Pointer to buffer size.
125 IN OUT UINT64 *BufferSize
137 *BufferSize = 0;
214 *BufferSize = AsciiStrDecimalToUint64 ((CHAR8 *) (Option[OptCnt - 1].ValueStr));
239 @param[in, out] BufferSize Pointer to buffer size.
254 IN OUT UINT64 *BufferSize,
291 Token.BufferSize = 0;
294 Token.BufferSize = *BufferSize;
306 *BufferSize = Token.BufferSize; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecord_BufferSizeTest.java | 69 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); 70 assertTrue(bufferSize > 0); 72 createAudioRecord(sampleRateInHz, bufferSize); 82 byte[] buffer = new byte[bufferSize]; 83 assertTrue(mAudioRecord.read(buffer, 0, bufferSize) > 0); 92 private void createAudioRecord(final int sampleRateInHz, final int bufferSize) { 94 CHANNEL_CONFIG, AUDIO_FORMAT, bufferSize);
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/ |
SaveMemoryConfig.c | 57 UINTN BufferSize;
83 BufferSize = DataSize;
84 VariableData = AllocatePool (BufferSize);
90 &BufferSize,
95 VariableData = AllocatePool (BufferSize);
101 &BufferSize,
106 if (EFI_ERROR(Status) || BufferSize != DataSize || CompareMem (HobData, VariableData, DataSize) != 0) {
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/data/ |
CompactDataOutput.java | 67 int bufferSize = 0; 70 buffer |= 0x01 << bufferSize; 72 if (++bufferSize == 8) { 75 bufferSize = 0; 78 if (bufferSize > 0) {
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
FileHandleWrappers.c | 101 @param[in, out] BufferSize Ignored.
111 IN OUT UINTN *BufferSize,
123 @param[in] BufferSize Ignored.
133 IN UINTN BufferSize,
146 @param[in, out] BufferSize Size in bytes of Buffer.
156 IN OUT UINTN *BufferSize,
171 @param[in, out] BufferSize Ignored.
180 IN OUT UINTN *BufferSize,
193 @param[in, out] BufferSize Size in bytes of Buffer.
202 IN OUT UINTN *BufferSize,
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
IScsiInitiatorName.h | 30 @param BufferSize Size of the buffer in bytes pointed to by Buffer / Actual size of the
36 BufferSize was sufficient to handle the iSCSI initiator name
37 @retval EFI_BUFFER_TOO_SMALL BufferSize is too small for the result.
38 @retval EFI_INVALID_PARAMETER BufferSize or Buffer is NULL.
46 IN OUT UINTN *BufferSize,
56 @param BufferSize Size of the buffer in bytes pointed to by Buffer.
62 @retval EFI_INVALID_PARAMETER BufferSize or Buffer is NULL, or BufferSize exceeds the maximum allowed limit.
72 IN OUT UINTN *BufferSize,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
EdkIIGluePrintLib.h | 56 and BufferSize.
62 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.
64 If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().
65 If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().
66 If BufferSize > 1 and FormatString is NULL, then ASSERT().
67 If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT().
77 @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer.
89 IN UINTN BufferSize,
99 and BufferSize.
104 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/ |
Print2.h | 33 specified by StartOfBuffer 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().
53 @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer.
65 IN UINTN BufferSize,
75 specified by StartOfBuffer and BufferSize.
80 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/ |
PrintLib.c | 78 @param BufferSize Maximum number of characters to put into buffer.
90 IN UINTN BufferSize,
123 if (BufferSize == 0) {
137 BufferSize--;
142 EndBuffer = Buffer + BufferSize * BytesPerOutputCharacter;
592 @param BufferSize Maximum number of characters to put into buffer.
604 IN UINTN BufferSize,
614 NumberOfPrinted = BasePrintLibVSPrint (StartOfBuffer, BufferSize, Flags, FormatString, Marker);
624 and BufferSize.
630 If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/ |
CEATABlockIo.c | 66 @param BufferSize The size of the Buffer in bytes. This must be a multiple of the
85 IN UINTN BufferSize,
118 if ((BufferSize % CardData->BlockIoMedia.BlockSize) != 0) {
124 if (BufferSize == 0) {
129 if ((Address + BufferSize) > MultU64x32 (CardData->BlockIoMedia.LastBlock + 1, CardData->BlockIoMedia.BlockSize)) {
137 if (BufferSize < BoundarySize) {
138 TransferSize = (UINT32)BufferSize;
158 BufferSize -= TransferSize;
161 } while (BufferSize != 0);
175 @param BufferSize The size of the Buffer in bytes. This must be a multiple of the [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/ |
Tcg2ConfigImpl.c | 296 @param[in] BufferSize Size of buffer.
303 IN UINTN BufferSize,
310 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L", ");
312 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L"SHA1");
316 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L", ");
318 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L"SHA256");
322 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L", ");
324 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L"SHA384");
328 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L", ");
330 StrCatS (Buffer, BufferSize / sizeof (CHAR16), L"SHA512"); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/LoadFile2/ |
LoadFile2.h | 41 IN OUT UINTN *BufferSize,
53 BufferSize - On input the size of Buffer in bytes. On output with a return
59 BufferSize.
65 BufferSize is NULL.
71 EFI_BUFFER_TOO_SMALL - The BufferSize is too small to read the current
72 directory entry. BufferSize has been updated with
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/ |
PxeBcMtftp.c | 96 @param BufferSize Pointer to buffer size
110 IN OUT UINT64 *BufferSize
122 *BufferSize = 0;
195 *BufferSize = AtoU64 (Option[OptCnt - 1].ValueStr);
224 @param BufferSize Pointer to buffer size
239 IN OUT UINT64 *BufferSize,
278 Token.BufferSize = 0;
281 Token.BufferSize = *BufferSize;
291 *BufferSize = Token.BufferSize; [all...] |
/system/chre/util/nanoapp/ |
debug.cc | 31 void logBuffer(const uint8_t *buffer, size_t bufferSize) { 37 if (bufferSize > 128) { 39 buffer, bufferSize); 40 bufferSize = 128; 42 LOGD("Dumping buffer @ %p, size %zu", buffer, bufferSize); 45 for (size_t i = 1; i <= bufferSize; i++) {
|