Home
last modified time | relevance | path

Searched refs:pSize (Results 1 – 25 of 75) sorted by relevance

123

/external/swiftshader/src/Vulkan/
DVkBuffer.cpp107 void Buffer::copyFrom(const void *srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom() argument
109 ASSERT((pSize + pOffset) <= size); in copyFrom()
111 memcpy(getOffsetPointer(pOffset), srcMemory, pSize); in copyFrom()
114 void Buffer::copyTo(void *dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() argument
116 ASSERT((pSize + pOffset) <= size); in copyTo()
118 memcpy(dstMemory, getOffsetPointer(pOffset), pSize); in copyTo()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java386 int pSize = dsaParams.getP().bitLength(); in toDH() local
387 int m = chooseLowerBound(pSize); in toDH()
393 private static int chooseLowerBound(int pSize) in chooseLowerBound() argument
396 if (pSize > 1024) in chooseLowerBound()
398 if (pSize <= 2048) in chooseLowerBound()
402 else if (pSize <= 3072) in chooseLowerBound()
406 else if (pSize <= 7680) in chooseLowerBound()
/external/nanopb-c/
Dpb_decode.c420 if (iter->pSize != iter->pData) in decode_static_field()
421 *(bool*)iter->pSize = true; in decode_static_field()
430 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
457 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
468 *(pb_size_t*)iter->pSize != iter->pos->tag) in decode_static_field()
476 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_static_field()
580 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_pointer_field()
603 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
659 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
770 iter->pSize = &extension->found; in iter_from_extension()
[all …]
Dpb_encode.c134 static bool safe_read_bool(const void *pSize) in safe_read_bool() argument
136 const char *p = (const char *)pSize; in safe_read_bool()
243 const void *pSize = (const char*)pData + field->size_offset; in pb_check_proto3_default_value() local
254 return *(const pb_size_t*)pSize == 0; in pb_check_proto3_default_value()
261 return *(const pb_size_t*)pSize == 0; in pb_check_proto3_default_value()
266 return safe_read_bool(pSize) == false; in pb_check_proto3_default_value()
346 const void *pSize = &implicit_has; in encode_basic_field() local
353 pSize = (const char*)pData + field->size_offset; in encode_basic_field()
388 if (safe_read_bool(pSize)) in encode_basic_field()
401 count = *(const pb_size_t*)pSize; in encode_basic_field()
[all …]
Dpb_common.c15 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_begin()
73 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_next()
Dpb_common.h21 void *pSize; /* Pointer to count/has field */ member
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java388 int pSize = dsaParams.getP().bitLength(); in toDH() local
389 int m = chooseLowerBound(pSize); in toDH()
395 private static int chooseLowerBound(int pSize) in chooseLowerBound() argument
398 if (pSize > 1024) in chooseLowerBound()
400 if (pSize <= 2048) in chooseLowerBound()
404 else if (pSize <= 3072) in chooseLowerBound()
408 else if (pSize <= 7680) in chooseLowerBound()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java388 int pSize = dsaParams.getP().bitLength(); in toDH() local
389 int m = chooseLowerBound(pSize); in toDH()
395 private static int chooseLowerBound(int pSize) in chooseLowerBound() argument
398 if (pSize > 1024) in chooseLowerBound()
400 if (pSize <= 2048) in chooseLowerBound()
404 else if (pSize <= 3072) in chooseLowerBound()
408 else if (pSize <= 7680) in chooseLowerBound()
/external/deqp/external/vulkancts/modules/vulkan/video/
DvktVideoSessionFfmpegUtils.cpp93 virtual bool demux (deUint8** pData, deInt64* pSize);
106 bool FfmpegDemuxerImpl::demux (deUint8** pData, deInt64* pSize) in demux() argument
111 if (pSize != DE_NULL) in demux()
112 *pSize = static_cast<deInt64>(size); in demux()
DvktVideoSessionFfmpegUtils.hpp39 virtual bool demux (deUint8** pData, deInt64* pSize) = 0;
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c363 *(bool*)iter->pSize = true; in decode_static_field()
372 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
397 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
407 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_static_field()
504 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_pointer_field()
527 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
578 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
682 iter->pSize = &extension->found; in iter_from_extension()
775 *(bool*)iter->pSize = false; in pb_field_set_to_default()
782 *(pb_size_t*)iter->pSize = 0; in pb_field_set_to_default()
[all …]
Dpb_common.c15 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_begin()
73 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_next()
Dpb_encode.c206 const void *pSize; in encode_basic_field() local
212 pSize = (const char*)pData + field->size_offset; in encode_basic_field()
214 pSize = &implicit_has; in encode_basic_field()
239 if (*(const bool*)pSize) in encode_basic_field()
250 if (!encode_array(stream, field, pData, *(const pb_size_t*)pSize, func)) in encode_basic_field()
255 if (*(const pb_size_t*)pSize == field->tag) in encode_basic_field()
Dpb_common.h21 void *pSize; /* Pointer to count/has field */ member
/external/pdfium/core/fpdfapi/page/
Dcpdf_sampledfunc.cpp51 RetainPtr<const CPDF_Array> pSize = pDict->GetArrayFor("Size"); in v_Init() local
52 if (!pSize || pSize->IsEmpty()) in v_Init()
64 int size = pSize->GetIntegerAt(i); in v_Init()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ops/
Dtile.cc136 const auto *pSize = dims.d; in Convert() local
137 dynamic_flag = std::any_of(pSize + 1 - dim_adj, pSize + nb_dims, in Convert()
142 size.d[i] = pMultiplies[i] * pSize[i]; in Convert()
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DMessageDigestCalculatingInputStreamTest.java32 public static byte[] generateRandomByteStream(final int pSize) { in generateRandomByteStream() argument
33 final byte[] buffer = new byte[pSize]; in generateRandomByteStream()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.h462 bool CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
463 bool CalculateWidgetAutoSize(CFX_SizeF* pSize);
464 bool CalculateTextEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
465 bool CalculateCheckButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
466 bool CalculatePushButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
470 bool CalculateImageEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
471 bool CalculateImageAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
476 void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
Dcxfa_node.cpp3217 bool CXFA_Node::CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize) { in CalculateFieldAutoSize() argument
3222 pSize->width += rtUIMargin.left + rtUIMargin.width; in CalculateFieldAutoSize()
3223 pSize->height += rtUIMargin.top + rtUIMargin.height; in CalculateFieldAutoSize()
3233 pSize->width += szCap.width; in CalculateFieldAutoSize()
3234 pSize->height = std::max(pSize->height, szCap.height); in CalculateFieldAutoSize()
3238 pSize->height += szCap.height; in CalculateFieldAutoSize()
3239 pSize->width = std::max(pSize->width, szCap.width); in CalculateFieldAutoSize()
3246 return CalculateWidgetAutoSize(pSize); in CalculateFieldAutoSize()
3249 bool CXFA_Node::CalculateWidgetAutoSize(CFX_SizeF* pSize) { in CalculateWidgetAutoSize() argument
3252 pSize->width += margin->GetLeftInset() + margin->GetRightInset(); in CalculateWidgetAutoSize()
[all …]
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dgenerate_message.c52 *((pb_size_t*)iter.pSize) %= iter.pos->array_size; in limit_sizes()
60 *((pb_size_t*)iter.pSize) = iter.pos->tag; in limit_sizes()
/external/nanopb-c/tests/fuzztest/
Dgenerate_message.c52 *((pb_size_t*)iter.pSize) %= iter.pos->array_size; in limit_sizes()
60 *((pb_size_t*)iter.pSize) = iter.pos->tag; in limit_sizes()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRsa.c551 UINT16 pSize; in RSAES_Decode() local
556 for(pSize = 2; pSize < coded->size; pSize++) in RSAES_Decode()
558 if(coded->buffer[pSize] == 0) in RSAES_Decode()
561 pSize++; in RSAES_Decode()
565 fail = (pSize > coded->size) | fail; in RSAES_Decode()
566 fail = ((pSize - 2) <= 8) | fail; in RSAES_Decode()
567 if((message->size < (UINT16)(coded->size - pSize)) || fail) in RSAES_Decode()
569 message->size = coded->size - pSize; in RSAES_Decode()
570 memcpy(message->buffer, &coded->buffer[pSize], coded->size - pSize); in RSAES_Decode()
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp109 CPDF_Type3GlyphMap* pSize, in RenderGlyph() argument
136 std::tie(top_line, bottom_line) = pSize->AdjustBlue(top_y, bottom_y); in RenderGlyph()
Dcpdf_type3cache.h38 std::unique_ptr<CFX_GlyphBitmap> RenderGlyph(CPDF_Type3GlyphMap* pSize,
/external/nanopb-c/spm_headers/nanopb/
Dpb_common.h21 void *pSize; /* Pointer to count/has field */ member

123