Home
last modified time | relevance | path

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

123

/external/swiftshader/src/Vulkan/
DVkBuffer.cpp92 void Buffer::copyFrom(const void *srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom() argument
94 ASSERT((pSize + pOffset) <= size); in copyFrom()
96 memcpy(getOffsetPointer(pOffset), srcMemory, pSize); in copyFrom()
99 void Buffer::copyTo(void *dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() argument
101 ASSERT((pSize + pOffset) <= size); in copyTo()
103 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/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/nanopb-c/
Dpb_decode.c415 if (iter->pSize != iter->pData) in decode_static_field()
416 *(bool*)iter->pSize = true; in decode_static_field()
425 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
452 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_static_field()
462 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_static_field()
562 *(pb_size_t*)iter->pSize = iter->pos->tag; in decode_pointer_field()
585 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
637 pb_size_t *size = (pb_size_t*)iter->pSize; in decode_pointer_field()
743 iter->pSize = &extension->found; in iter_from_extension()
832 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && iter->pSize != iter->pData) in pb_field_set_to_default()
[all …]
Dpb_encode.c218 const void *pSize = (const char*)pData + field->size_offset; in pb_check_proto3_default_value() local
228 return *(const pb_size_t*)pSize == 0; in pb_check_proto3_default_value()
233 return *(const pb_size_t*)pSize == 0; in pb_check_proto3_default_value()
238 return *(const bool*)pSize == false; in pb_check_proto3_default_value()
312 const void *pSize = &implicit_has; in encode_basic_field() local
319 pSize = (const char*)pData + field->size_offset; in encode_basic_field()
354 if (*(const bool*)pSize) in encode_basic_field()
367 count = *(const pb_size_t*)pSize; in encode_basic_field()
377 if (*(const pb_size_t*)pSize == field->tag) in encode_basic_field()
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/pdfium/core/fpdfapi/page/
Dcpdf_sampledfunc.cpp50 const CPDF_Array* pSize = pDict->GetArrayFor("Size"); in v_Init() local
51 if (!pSize || pSize->IsEmpty()) in v_Init()
63 int size = pSize->GetIntegerAt(i); in v_Init()
/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/xfa/fxfa/parser/
Dcxfa_node.h429 bool CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
430 bool CalculateWidgetAutoSize(CFX_SizeF* pSize);
431 bool CalculateTextEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
432 bool CalculateCheckButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
433 bool CalculatePushButtonAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
437 bool CalculateImageEditAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
438 bool CalculateImageAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
443 void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF* pSize);
Dcxfa_node.cpp3180 bool CXFA_Node::CalculateFieldAutoSize(CXFA_FFDoc* doc, CFX_SizeF* pSize) { in CalculateFieldAutoSize() argument
3185 pSize->width += rtUIMargin.left + rtUIMargin.width; in CalculateFieldAutoSize()
3186 pSize->height += rtUIMargin.top + rtUIMargin.height; in CalculateFieldAutoSize()
3196 pSize->width += szCap.width; in CalculateFieldAutoSize()
3197 pSize->height = std::max(pSize->height, szCap.height); in CalculateFieldAutoSize()
3201 pSize->height += szCap.height; in CalculateFieldAutoSize()
3202 pSize->width = std::max(pSize->width, szCap.width); in CalculateFieldAutoSize()
3209 return CalculateWidgetAutoSize(pSize); in CalculateFieldAutoSize()
3212 bool CXFA_Node::CalculateWidgetAutoSize(CFX_SizeF* pSize) { in CalculateWidgetAutoSize() argument
3215 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()
DCryptRand.c913 UINT16 pSize, // IN: Size of personalization string in DRBG_Instantiate() argument
920 pAssert((pSize == 0) || (pSize <= sizeof(seed)) || (personalization != NULL)); in DRBG_Instantiate()
937 DRBG_Reseed(drbgState, &seed, DfBuffer(&dfResult, pSize, personalization)); in DRBG_Instantiate()
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp120 CPDF_Type3GlyphMap* pSize, in RenderGlyph() argument
144 std::tie(top_line, bottom_line) = pSize->AdjustBlue(top_y, bottom_y); in RenderGlyph()
Dcpdf_type3cache.h35 std::unique_ptr<CFX_GlyphBitmap> RenderGlyph(CPDF_Type3GlyphMap* pSize,
/external/swiftshader/src/Renderer/
DVertex.hpp79 float pSize; // Point size
/external/pdfium/xfa/fde/
Dcfde_textout.cpp186 void CFDE_TextOut::CalcLogicSize(WideStringView str, CFX_SizeF* pSize) { in CalcLogicSize() argument
187 CFX_RectF rtText(0.0f, 0.0f, pSize->width, pSize->height); in CalcLogicSize()
189 *pSize = rtText.Size(); in CalcLogicSize()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.h427 void *mz_zip_reader_extract_to_heap(mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uin…
428 void *mz_zip_reader_extract_file_to_heap(mz_zip_archive *pZip, const char *pFilename, size_t *pSize
484 mz_bool mz_zip_writer_finalize_heap_archive(mz_zip_archive *pZip, void **pBuf, size_t *pSize);
498 …ile_to_heap(const char *pZip_filename, const char *pArchive_name, size_t *pSize, mz_uint zip_flags…
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptRand_fp.h199 UINT16 pSize, // IN: Size of personalization string

123