/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
BootMonFsDir.c | 217 UINTN ResultSize;
219 ResultSize = SIZE_OF_EFI_FILE_INFO + StrSize (File->Info->FileName);
221 if (*BufferSize < ResultSize) {
222 *BufferSize = ResultSize;
228 CopyMem (Info, File->Info, ResultSize);
230 Info->Size = ResultSize;
232 *BufferSize = ResultSize;
248 UINTN ResultSize;
254 ResultSize = SIZE_OF_BOOTMON_FS_FILE_INFO;
256 if (*BufferSize < ResultSize) {
[all...] |
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
SortAndPruneComposites.java | 73 int resultSize = primesArray.size(); 74 int[] result = new int[resultSize]; 76 for (int i = 0; i < resultSize; i++) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
Database.c | 414 @param ResultSize The size of the already exported content of this
429 IN OUT UINTN *ResultSize
438 if (PackageList == NULL || ResultSize == NULL) {
453 if (PackageLength + *ResultSize + UsedSize <= BufferSize) {
467 *ResultSize += PackageLength;
615 @param ResultSize The size of the already exported content of this
630 IN OUT UINTN *ResultSize
638 if (Private == NULL || PackageList == NULL || ResultSize == NULL) {
655 if ((Buffer != NULL) && (PackageLength + *ResultSize + UsedSize <= BufferSize)) {
681 *ResultSize += PackageLength; [all...] |
String.c | [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSignatureRawRSA.java | 176 final int resultSize; 178 resultSize = NativeCrypto.RSA_public_decrypt(sigBytes.length, sigBytes, 186 boolean matches = (resultSize == inputOffset); 187 for (int i = 0; i < resultSize; i++) {
|
OpenSSLCipherRSA.java | 292 int resultSize = doCryptoOperation(tmpBuf, output); 293 if (!encrypting && resultSize != output.length) { 294 output = Arrays.copyOf(output, resultSize); 365 int resultSize; 368 resultSize = NativeCrypto.RSA_private_encrypt( 371 resultSize = NativeCrypto.RSA_public_encrypt( 377 resultSize = NativeCrypto.RSA_private_decrypt( 380 resultSize = NativeCrypto.RSA_public_decrypt( 389 return resultSize;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
Locate.c | 289 UINTN ResultSize;
311 ResultSize = 0;
376 ResultSize += sizeof(Handle);
377 if (ResultSize <= *BufferSize) {
387 if (ResultSize == 0) {
394 if (ResultSize > *BufferSize) {
398 *BufferSize = ResultSize;
|
/device/linaro/bootloader/edk2/ArmPkg/Filesystem/SemihostFs/Arm/ |
SemihostFs.c | 768 UINTN ResultSize;
772 ResultSize = SIZE_OF_EFI_FILE_INFO + sizeof(CHAR16);
775 ResultSize = SIZE_OF_EFI_FILE_INFO + NameSize * sizeof (CHAR16);
778 if (*BufferSize < ResultSize) {
779 *BufferSize = ResultSize;
789 Info->Size = ResultSize;
799 *BufferSize = ResultSize;
830 UINTN ResultSize;
832 ResultSize = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (mSemihostFsLabel);
834 if (*BufferSize >= ResultSize) {
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/ |
Locate.c | 126 UINTN ResultSize;
148 ResultSize = 0;
221 ResultSize += sizeof(Handle);
222 if (ResultSize <= *BufferSize) {
232 if (ResultSize == 0) {
239 if (ResultSize > *BufferSize) {
243 *BufferSize = ResultSize;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
PosixFileSystem.c | 245 UINTN ResultSize; 271 ResultSize = Size + NameSize; 273 if (*BufferSize < ResultSize) { 274 *BufferSize = ResultSize; 284 ZeroMem (Info, ResultSize); 286 Info->Size = ResultSize; 309 *BufferSize = ResultSize; 754 UINTN ResultSize; 795 ResultSize = Size + 2 * NameSize; 797 if (*BufferSize < ResultSize) { [all...] |
/dalvik/libdex/ |
DexClass.cpp | 118 size_t resultSize = sizeof(DexClassData) + 124 DexClassData* result = (DexClassData*) malloc(resultSize);
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
EmojiSpanTest.java | 78 final int resultSize = span.getSize(paint, "", 0, 0, null); 79 assertEquals((int) (dimensionX * expectedRatio), resultSize);
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolOcclusionTests.cpp | [all...] |
/frameworks/base/tools/bit/ |
adb.cpp | 111 read_sized_buffer(int fd, int* err, size_t* resultSize) 119 *resultSize = 0; 149 *resultSize = (size_t)size;
|
/external/icu/icu4c/source/test/cintltst/ |
reapits.c | 899 int32_t resultSize; 917 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); 920 TEST_ASSERT(resultSize == expectedResultSize); 925 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); [all...] |
cnumtst.c | 840 int32_t resultSize = 0; 854 resultSize = unum_formatDecimal(fmt, numInitial, -1, dest, DESTCAPACITY, NULL, &status); 863 if (strlen(numFormatted) != resultSize) { 865 __FILE__, __LINE__, strlen(numFormatted), resultSize); [all...] |
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 308 size_t resultsize = resultpng.size(); local 310 if (resultsize < origsize) { 312 } else if (resultsize == origsize) { 320 PrintResultSize("Result size", origsize, resultsize);
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
V2SchemeSigner.java | 355 int resultSize = 361 ByteBuffer result = ByteBuffer.allocate(resultSize); 363 long blockSizeFieldValue = resultSize - 8; 584 int resultSize = 0; 586 resultSize += 12 + element.getSecond().length; 588 ByteBuffer result = ByteBuffer.allocate(resultSize);
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
Constant.cpp | 338 int resultSize; 348 resultSize = 1; 360 resultSize = 1; 367 resultSize = 2; 372 resultSize = objectSize; 376 resultSize = objectSize; 381 TConstUnionArray newConstArray(resultSize); [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/ |
WinNtSimpleFileSystem.c | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageSizeTests.cpp | 327 const tcu::IVec3 resultSize = readIVec3(bufferAlloc.getHostPtr()); 330 if (resultSize != expectedSize) 331 return tcu::TestStatus::fail("Incorrect imageSize(): expected " + de::toString(expectedSize) + " but got " + de::toString(resultSize));
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskCompressImageToJpeg.java | 242 Size resultSize = getImageSizeForOrientation(img.crop.width(), 250 DeviceOrientation.CLOCKWISE_0, resultSize.getWidth(), 251 resultSize.getHeight(),
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
Extension.java | 199 int resultSize = resultList.size(); 200 if (resultSize == 0) { 203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); 204 for (int i = 0; i < resultSize; i++) {
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
LoopbackAnalyzer.h | 99 float *results, int resultSize) 102 int numCorrelations = std::min(maxCorrelations, resultSize);
|
/libcore/ojluni/src/main/java/java/util/regex/ |
Pattern.java | [all...] |