/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | BnConvert.c | 177 crypt_uword_t requiredSize; in BnToBytes() local 185 requiredSize = (BnSizeInBits(bn) + 7) / 8; in BnToBytes() 186 if(requiredSize == 0) in BnToBytes() 204 *size = (NUMBYTES)requiredSize; in BnToBytes() 205 pAssert(requiredSize <= *size); in BnToBytes() 210 pFrom = (BYTE *)(&bn->d[0]) + requiredSize - 1; in BnToBytes() 215 for(count = *size; count > requiredSize; count--) in BnToBytes() 219 for(; requiredSize > 0; requiredSize--) in BnToBytes()
|
/external/libchrome/ipc/ |
D | ipc_logging.cc | 58 size_t requiredSize = 0; in Logging() local 59 getenv_s(&requiredSize, NULL, 0, "CHROME_IPC_LOGGING"); in Logging() 60 bool logging_env_var_set = (requiredSize != 0); in Logging() 61 if (requiredSize <= 6) { in Logging() 63 getenv_s(&requiredSize, buffer, sizeof(buffer), "CHROME_IPC_LOGGING"); in Logging() 64 if (requiredSize && !strncmp("color", buffer, 6)) in Logging()
|
/external/angle/src/compiler/translator/ |
D | ImmutableStringBuilder.h | 66 size_t requiredSize = strLength + 1u; in AllocateEmptyPoolCharArray() local 67 return static_cast<char *>(GetGlobalPoolAllocator()->allocate(requiredSize)); in AllocateEmptyPoolCharArray()
|
D | Common.h | 226 size_t requiredSize = strLength + 1; in AllocatePoolCharArray() local 227 char *buffer = static_cast<char *>(GetGlobalPoolAllocator()->allocate(requiredSize)); in AllocatePoolCharArray() 228 memcpy(buffer, str, requiredSize); in AllocatePoolCharArray()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 457 size_t requiredSize = static_cast<size_t>(ComputeMemoryUsage(desc)); in createInitDataIfNeeded() local 458 if (mZeroMemory.size() < requiredSize) in createInitDataIfNeeded() 460 if (!mZeroMemory.resize(requiredSize)) in createInitDataIfNeeded() 507 size_t requiredSize = static_cast<size_t>(ComputeMemoryUsage(desc)); in createInitDataIfNeeded() local 508 if (mZeroMemory.size() < requiredSize) in createInitDataIfNeeded() 510 if (!mZeroMemory.resize(requiredSize)) in createInitDataIfNeeded()
|
D | Buffer11.cpp | 411 size_t requiredSize = size + offset; in setSubData() local 458 if (writeBuffer->getSize() < requiredSize) in setSubData() 461 ANGLE_TRY(writeBuffer->resize(context, requiredSize, preserveData)); in setSubData() 468 mSize = std::max(mSize, requiredSize); in setSubData() 1155 size_t requiredSize = destOffset + size; in copyFromStorage() local 1159 if (!mBuffer.valid() || mBufferSize < requiredSize) in copyFromStorage() 1161 ANGLE_TRY(resize(context, requiredSize, preserveData)); in copyFromStorage()
|
D | StateManager11.cpp | 3403 size_t requiredSize = mShaderConstants.getRequiredBufferSize(shaderType); in applyDriverUniformsForShader() local 3406 d3d11::InitConstantBufferDesc(&constantBufferDescription, requiredSize); in applyDriverUniformsForShader() 3499 size_t requiredSize = mShaderConstants.getRequiredBufferSize(gl::ShaderType::Compute); in applyComputeUniforms() local 3502 d3d11::InitConstantBufferDesc(&constantBufferDescription, requiredSize); in applyComputeUniforms()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryExternalMemoryHostTests.cpp | 340 …const VkDeviceSize requiredSize = imageMemoryRequirements.size + (m_testParams.m_useOffset ? image… in iterate() local 341 if (requiredSize > m_allocationSize) in iterate() 344 const auto newHostAllocationSize = de::roundUp(requiredSize, m_minImportedHostPointerAlignment); in iterate() 348 …m_log << tcu::TestLog::Message << "Realloc needed (required size: " << requiredSize << "). " << … in iterate() 799 VkDeviceSize requiredSize = bufferMemoryRequirements.size; in iterate() local 801 if (requiredSize > m_allocationSize) in iterate() 803 …VkDeviceSize newHostAllocationSize = VkDeviceSize(deCeilFloatToInt32((float(requiredSize) / float(… in iterate() 805 m_log << tcu::TestLog::Message << "Realloc needed (required size: " << requiredSize << "). " in iterate()
|
/external/dng_sdk/source/ |
D | dng_misc_opcodes.cpp | 296 uint32 requiredSize = SafeUint32Mult(fCount, 2); in dng_opcode_MapTable() local 297 requiredSize = SafeUint32Add(requiredSize, dng_area_spec::kDataSize); in dng_opcode_MapTable() 298 requiredSize = SafeUint32Add(requiredSize, 4); in dng_opcode_MapTable() 299 if (dataSize != requiredSize) in dng_opcode_MapTable()
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 518 int requiredSize = (labelSize + valueSize) * 2 + padSize; in OnSize() local 522 if (requiredSize < xSizeClient) in OnSize() 524 int incr = (xSizeClient - requiredSize) / 3; in OnSize()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | SecondaryCommandBuffer.h | 768 const size_t requiredSize = allocationSize + sizeof(CommandHeader); in initCommand() local 769 if (mCurrentBytesRemaining < requiredSize) in initCommand() 772 if (requiredSize <= kBlockSize) in initCommand() 777 const size_t alignedSize = roundUpPow2<size_t>(requiredSize, 4); in initCommand()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 2692 private void flushIfNotAvailable(int requiredSize) throws IOException { in flushIfNotAvailable() argument 2693 if (limit - position < requiredSize) { in flushIfNotAvailable() 3055 private void flushIfNotAvailable(int requiredSize) throws IOException { in flushIfNotAvailable() argument 3056 if (limit - position < requiredSize) { in flushIfNotAvailable()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryLayeredRenderingTests.cpp | 176 const VkExtent3D& requiredSize, in checkImageFormatProperties() argument 188 imageFormatProperties.maxExtent.height < requiredSize.height || in checkImageFormatProperties() 189 imageFormatProperties.maxExtent.width < requiredSize.width || in checkImageFormatProperties() 190 imageFormatProperties.maxExtent.depth < requiredSize.depth) in checkImageFormatProperties()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 316 …void checkIoArrayConsistency(const TSourceLoc&, int requiredSize, const char* feature, TType&, con…
|
D | ParseHelper.cpp | 646 int requiredSize = 0; in checkIoArraysConsistency() local 661 requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString); in checkIoArraysConsistency() 662 if (requiredSize == 0) in checkIoArraysConsistency() 667 checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type, in checkIoArraysConsistency() 711 void TParseContext::checkIoArrayConsistency(const TSourceLoc& loc, int requiredSize, const char* fe… in checkIoArrayConsistency() argument 714 type.changeOuterArraySize(requiredSize); in checkIoArrayConsistency() 715 else if (type.getOuterArraySize() != requiredSize) { in checkIoArrayConsistency() 721 if (type.getOuterArraySize() > requiredSize) in checkIoArrayConsistency()
|
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 851 const VkExtent3D requiredSize = makeExtent3D(requiredSize2D.height, requiredSize2D.width, 1u); in checkImageFormatProperties() local 862 imageFormatProperties.maxExtent.height < requiredSize.height || in checkImageFormatProperties() 863 imageFormatProperties.maxExtent.width < requiredSize.width || in checkImageFormatProperties() 864 imageFormatProperties.maxExtent.depth < requiredSize.depth) in checkImageFormatProperties()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | ParseHelper.h | 338 …void checkIoArrayConsistency(const TSourceLoc&, int requiredSize, const char* feature, TType&, con…
|
D | ParseHelper.cpp | 748 int requiredSize = 0; in checkIoArraysConsistency() local 763 requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString); in checkIoArraysConsistency() 764 if (requiredSize == 0) in checkIoArraysConsistency() 769 checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type, in checkIoArraysConsistency() 813 void TParseContext::checkIoArrayConsistency(const TSourceLoc& loc, int requiredSize, const char* fe… in checkIoArrayConsistency() argument 816 type.changeOuterArraySize(requiredSize); in checkIoArrayConsistency() 817 else if (type.getOuterArraySize() != requiredSize) { in checkIoArrayConsistency() 823 if (type.getOuterArraySize() > requiredSize) in checkIoArrayConsistency()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTessellationGeometryInteractionTests.cpp | 1821 const int requiredSize = getExpectedPointSize(); in checkPointSizeRequirements() local 1825 if (float(requiredSize) > aliasedSizeRange[1]) in checkPointSizeRequirements() local 1826 throw tcu::NotSupportedError("Test requires point size " + de::toString(requiredSize)); in checkPointSizeRequirements()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 2433 int requiredSize = outputPitch * height; in readPixels() local 2434 if(requiredSize > *bufSize) in readPixels()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3386 int requiredSize = outputPitch * height; in readPixels() local 3387 if(requiredSize > *bufSize) in readPixels()
|