/third_party/skia/src/utils/ |
H A D | SkShadowUtils.cpp | 224 * a new Rec with an adjusted size for any deletions/additions. 228 size_t size() const { return fAmbientSet.size() + fSpotSet.size(); } in size() function in __anon18979::CachedTessellations 256 size_t size() const { return fSize; } in size() function in __anon18979::CachedTessellations::Set 324 fKey.reset(new uint8_t[key.size()]); in CachedTessellationsRec() 325 memcpy(fKey.get(), &key, key.size()); in CachedTessellationsRec() 332 size_t bytesUsed() const override { return fTessellations->size(); } 432 fKey.reset(new uint8_t[key.size()]); in ShadowInvalidator() 433 memcpy(fKey.get(), &key, key.size()); in ShadowInvalidator() [all...] |
/third_party/python/Lib/test/ |
H A D | test_tcl.py | 676 @support.bigmemtest(size=INT_MAX + 1, memuse=5, dry_run=False) 677 def test_huge_string_call(self, size): 678 value = ' ' * size 683 @support.bigmemtest(size=INT_MAX + 1, memuse=2, dry_run=False) 684 def test_huge_string_builtins(self, size): 686 value = '1' + ' ' * size 708 @support.bigmemtest(size=INT_MAX + 1, memuse=6, dry_run=False) 709 def test_huge_string_builtins2(self, size): 712 value = '1' + ' ' * size
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | GenericDomTree.h | 93 size_t getNumChildren() const { return Children.size(); } in getNumChildren() 295 if (Roots.size() != Other.Roots.size()) in compare() 302 if (DomTreeNodes.size() != OtherDomTreeNodes.size()) in compare() 439 assert(this->Roots.size() == 1 && "Should always have entry node!"); in getRoot() 592 assert(Roots.size() == 1); in setNewRoot() 799 for (i = 0; i < PredBlocks.size(); ++i) in Split() 810 for (i = i + 1; i < PredBlocks.size(); ++i) { in Split()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopSimplify.cpp | 91 for (unsigned i = 0, e = SplitPreds.size(); i != e; ++i) { in placeSplitBlockCarefully() 103 for (unsigned i = 0, e = SplitPreds.size(); i != e; ++i) { in placeSplitBlockCarefully() 300 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop() 310 for (unsigned i = 0; i != L->getBlocks().size(); ++i) { in separateNestedLoop() 394 PHINode *NewPN = PHINode::Create(PN->getType(), BackedgeBlocks.size(), in insertUniqueBackedgeBlock() 446 for (unsigned i = 0, e = BackedgeBlocks.size(); i != e; ++i) { in insertUniqueBackedgeBlock() 629 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in simplifyOneLoop() 733 for (unsigned Idx = 0; Idx != Worklist.size(); ++Idx) { in simplifyLoop() 907 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMLowOverheadLoops.cpp | 29 /// true for ConstantIslands, but this pass does not increase the size of the 95 assert(Insts.size() <= 4 && "Too many instructions in VPT block!"); in addInst() 113 return IsPredicatedOn(MI) && VPST->Predicates.size() == 1; in IsOnlyPredicatedOn() 116 unsigned size() const { return Insts.size(); } in size() function in __anon24534::VPTBlock 476 assert(ML->getBlocks().size() == 1 && in CheckLegality() 859 if (Uses.size()) { in RemoveLoopUpdate() 869 if (!Uses.size() || (Uses.size() == 1 && Uses[0] == LoLoop.VCTP)) { in RemoveLoopUpdate() 907 // The vctp will be removed, so the size o in ConvertVPTBlocks() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 222 for (uint32_t I = StartDim; I < Elements.size(); ++I) { in calcArraySize() 591 if (CTy->getElements().size() != 1) in GetFieldInfo() 614 // The value is loaded into a value with FIELD_BYTE_SIZE size, in GetFieldInfo() 634 report_fatal_error("too big field size for llvm.bpf.preserve.field.info"); in GetFieldInfo() 641 report_fatal_error("too big field size for llvm.bpf.preserve.field.info"); in GetFieldInfo() 665 report_fatal_error("too big field size for llvm.bpf.preserve.field.info"); in GetFieldInfo() 672 report_fatal_error("too big field size for llvm.bpf.preserve.field.info"); in GetFieldInfo() 682 while (CallStack.size()) { in HasPreserveFieldInfoCall() 722 while (CallStack.size()) { in computeBaseAndAccessKey() 757 CheckElemType = CTy->getElements().size() in computeBaseAndAccessKey() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsCallLowering.cpp | 43 for (unsigned i = 0; i < VRegs.size(); ++i) in assignVRegs() 64 for (unsigned ArgsIndex = 0, ArgLocsIndex = 0; ArgsIndex < Args.size(); in handle() 69 assert(Args[ArgsIndex].Regs.size() == 1 && "Can't handle multple regs yet"); in handle() 399 for (unsigned i = 0; i < ArgLocs.size(); ++i) { in setLocInfo() 506 if (ArgRegs.size() == Idx) in lowerFormalArguments() 511 (int)(RegSize * (ArgRegs.size() - Idx)); in lowerFormalArguments() 518 for (unsigned I = Idx; I < ArgRegs.size(); ++I, VaArgOffset += RegSize) { in lowerFormalArguments() 586 FuncOrigArgs.reserve(Info.OrigArgs.size()); in lowerCall() 715 for (unsigned i = 0; i < SplitEVTs.size(); ++i) { in splitToValueTypes()
|
/third_party/skia/tools/skpbench/ |
H A D | skpbench.cpp | 56 * No tiling, looping, or other fanciness is used; it just draws the skp whole into a size-matched 81 static DEFINE_double(scale, 1, "Scale the size of the canvas and the zoom level by this factor."); 206 int count() const { return fFrames.size(); } in count() 314 } while (cumulativeDuration < benchDuration || 0 == samples->size() % 2); in run_ddl_benchmark() 369 } while (now < endTime || 0 == samples->size() % 2); in run_benchmark() 435 } while (now < endTime || 0 == samples->size() % 2); in run_gpu_time_benchmark() 446 if (0 == (samples.size() % 2)) { in print_result() 460 values.reserve(samples.size()); in print_result() 474 variance /= values.size(); in print_result() 478 printf(resultFormat, accumValue, values[values.size() / in print_result() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | LoopInfoImpl.h | 53 if (ExitingBlocks.size() == 1) in getExitingBlock() 79 if (ExitBlocks.size() == 1) in getExitBlock() 134 if (UniqueExitBlocks.size() == 1) in getUniqueExitBlock() 326 for (unsigned i = 0, e = OutsideLoopPreds.size(); i != e; ++i) in verifyLoop() 336 if (VisitedBBs.size() != getNumBlocks()) { in verifyLoop() 385 for (unsigned i = 0; i < getBlocks().size(); ++i) { in print() 611 for (unsigned i = 0; i < TopLevelLoops.size(); ++i) in print() 671 assert(BlocksSet.size() == OtherBlocksSet.size() && in compareLoops()
|
/third_party/python/Modules/ |
H A D | ossaudiodev.c | 410 Py_ssize_t size, count; in oss_read() local 416 if (!PyArg_ParseTuple(args, "n:read", &size)) in oss_read() 419 rv = PyBytes_FromStringAndSize(NULL, size); in oss_read() 423 count = _Py_read(self->fd, PyBytes_AS_STRING(rv), size); in oss_read() 461 Py_ssize_t size; in oss_writeall() local 489 size = data.len; in oss_writeall() 491 while (size > 0) { in oss_writeall() 502 rv = _Py_write(self->fd, cp, Py_MIN(size, INT_MAX)); in oss_writeall() 516 size -= rv; in oss_writeall() 652 /* bufsize returns the size o [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-ofono.c | 86 static ssize_t sco_transport_write(pa_bluetooth_transport *t, int fd, const void* buffer, size_t size, size_t write_mtu) { in sco_transport_write() argument 93 /* since SCO setup is symmetric, fix write MTU to be size of last read packet */ in sco_transport_write() 98 if (size < write_mtu) in sco_transport_write() 102 while (written < size) { in sco_transport_write() 103 write_size = PA_MIN(size - written, write_mtu); in sco_transport_write() 117 written = size; in sco_transport_write() 122 written = size; in sco_transport_write() 131 if (size - written >= write_mtu) { in sco_transport_write() 132 pa_log_warn("Wrote memory block to socket only partially! %lu written, discarding pending write size %lu larger than write_mtu %lu", in sco_transport_write() 133 written, size, write_mt in sco_transport_write() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_format_test.cc | 185 int fmt_result = snprintf(&*buf.begin(), buf.size(), fmt.c_str(), // in TEST_F() 188 ASSERT_TRUE(fmt_result >= 0 && static_cast<size_t>(fmt_result) < buf.size()) in TEST_F() 216 int r = vsnprintf(&*buf.begin(), buf.size(), fmt, va); in WithSnprintf() 219 EXPECT_LT(r, buf.size()); in WithSnprintf() 264 int size = std::ftell(file_); in ReadFile() local 265 EXPECT_GT(size, 0); in ReadFile() 267 std::string str(2 * size, ' '); in ReadFile() 268 int read_bytes = std::fread(&str[0], 1, str.size(), file_); in ReadFile() 269 EXPECT_EQ(read_bytes, size); in ReadFile() 346 result = SNPrintF(nullptr, 0, "Just checking the %s of the output.", "size"); in TEST_F() [all...] |
/third_party/spirv-tools/source/link/ |
H A D | linker.cpp | 218 for (std::size_t i = 1; i < modules.size(); ++i) { in GenerateHeader() 282 for (std::size_t i = 1; i < input_modules.size(); ++i) { in MergeModules() 491 else if (possible_exports.size() > 1u) in GetImportExportPairs() 493 << "Too many external references, " << possible_exports.size() in GetImportExportPairs() 597 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 706 binary_ptrs.reserve(binaries.size()); in Link() 708 binary_sizes.reserve(binaries.size()); in Link() 712 binary_sizes.push_back(binary.size()); in Link() 715 return Link(context, binary_ptrs.data(), binary_sizes.data(), binaries.size(), in Link()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_synonym_test.cpp | 664 .size()); in TEST() 676 ASSERT_EQ(2, ids_for_which_synonyms_are_known.size()); in TEST() 681 2, transformation_context.GetFactManager()->GetSynonymsForId(7).size()); in TEST() 696 ASSERT_EQ(4, ids_for_which_synonyms_are_known.size()); in TEST() 701 2, transformation_context.GetFactManager()->GetSynonymsForId(8).size()); in TEST() 718 ASSERT_EQ(5, ids_for_which_synonyms_are_known.size()); in TEST() 724 transformation_context.GetFactManager()->GetSynonymsForId(101).size()); in TEST() 741 ASSERT_EQ(6, ids_for_which_synonyms_are_known.size()); in TEST() 746 3, transformation_context.GetFactManager()->GetSynonymsForId(7).size()); in TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 135 // Check if image size does not exceed device limits in iterate() 333 static_cast<deUint32>(attachments.size()), // deUint32 attachmentCount; in iterate() 335 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate() 337 static_cast<deUint32>(subpassDependencies.size()), // deUint32 dependencyCount; in iterate() 369 static_cast<deUint32>(imageViews.size()), // uint32_t attachmentCount; in iterate() 418 static_cast<deUint32>(vertexDataDesc.vertexAttribDescVec.size()), // uint32_t vertexAttributeDescriptionCount; in iterate() 589 static_cast<deUint32>(imageOutputAttachmentBarriers.size()), dataPointer(imageOutputAttachmentBarriers)); in iterate() 601 beginRenderPass(deviceInterface, *commandBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, imageMSInfo.extent.width, imageMSInfo.extent.height), (deUint32)clearValues.size(), dataPointer(clearValues)); in iterate() 705 static_cast<deUint32>(imagesPerSampleTransferBarriers.size()), dataPointer(imagesPerSampleTransferBarriers)); in iterate() 741 static_cast<deUint32>(buffersPerSampleHostReadBarriers.size()), dataPointe in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktCustomInstancesDevices.cpp | 390 createInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createCustomInstanceFromInfo() 396 createInfo.enabledExtensionCount = static_cast<deUint32>(enabledExtensions.size()); in createCustomInstanceFromInfo() 437 createInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createUncheckedInstance() 443 createInfo.enabledExtensionCount = static_cast<deUint32>(enabledExtensions.size()); in createUncheckedInstance() 475 createInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createCustomDevice() 490 createInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createUncheckedDevice() 752 if (queueFamilyPropertiesCount != queueFamilyProperties2.size()) in createDeviceSupportingQueue() 866 static_cast<uint32_t>(queueInfos.size()), // deUint32 queueCreateInfoCount; in createDeviceSupportingQueue() 870 deUint32(deviceExtensions.size()), // deUint32 enabledExtensionCount; in createDeviceSupportingQueue()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrContextWrapper.hpp | 60 void glBufferData (deUint32 target, deIntptr size, const void* data, deUint32 usage); 61 void glBufferSubData (deUint32 target, deIntptr offset, deIntptr size, const void* data); 104 void glGetActiveAttrib (deUint32 program, deUint32 index, int bufsize, int* length, int* size, deUint32* type, char* name); 105 void glGetActiveUniform (deUint32 program, deUint32 index, int bufsize, int* length, int* size, deUint32* type, char* name); 192 void glVertexAttribPointer (deUint32 indx, int size, deUint32 type, deBool normalized, int stride, const void* ptr); 229 void glBindBufferRange (deUint32 target, deUint32 index, deUint32 buffer, deIntptr offset, deIntptr size); 232 void glGetTransformFeedbackVarying (deUint32 program, deUint32 index, int bufSize, int* length, int* size, deUint32* type, char* name); 233 void glVertexAttribIPointer (deUint32 index, int size, deUint32 type, int stride, const void* pointer); 255 void glCopyBufferSubData (deUint32 readTarget, deUint32 writeTarget, deIntptr readOffset, deIntptr writeOffset, deIntptr size);
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglBufferAgeTests.cpp | 177 for (size_t ndx = 0; ndx < drawTypes.size(); ndx++) in generateRandomFrame() 260 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() 343 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() 477 DE_ASSERT(frameNdx < (int)bufferAges.size()); in getFramesOnBuffer() 545 DE_ASSERT((int)bufferAges.size() == frameNdx+1); in iterate() 635 if (drawTypes.size() == 0) in generateDrawTypeName() 638 for (size_t ndx = 0; ndx < drawTypes.size(); ndx++) in generateDrawTypeName() 774 for (size_t evenNdx = 0; evenNdx < frameDrawTypes.size(); evenNdx++) in init() 778 for (size_t oddNdx = evenNdx; oddNdx < frameDrawTypes.size(); oddNdx++) in init()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_node_test.cpp | 121 float size = 100.0f; in HWTEST_F() local 133 ArkUI_NumberValue value[] = {{.f32 = size}}; in HWTEST_F() 145 EXPECT_EQ(widthVal->value[0].f32, size); in HWTEST_F() 149 EXPECT_EQ(heightVal->value[0].f32, size); in HWTEST_F() 230 sweepGradientItem.size = -1; in HWTEST_F() 232 sweepGradientItem.size = 1; in HWTEST_F() 234 sweepGradientItem.size = 2; in HWTEST_F() 236 sweepGradientItem.size = 3; in HWTEST_F() 238 sweepGradientItem.size = 4; in HWTEST_F() 240 sweepGradientItem.size in HWTEST_F() 1401 float size = 10.0f; HWTEST_F() local 1544 float size = 10.0f; HWTEST_F() local 2206 float size = 10.0f; HWTEST_F() local 2443 float size = 10.0f; HWTEST_F() local 5159 int32_t size = 0; HWTEST_F() local 5191 int32_t size = 1; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_events_hist.c | 166 unsigned int size; member 1407 unsigned long size, map_bits; in parse_map_size() local 1410 ret = kstrtoul(str, 0, &size); in parse_map_size() 1414 map_bits = ilog2(roundup_pow_of_two(size)); in parse_map_size() 1507 } else if ((len = str_has_prefix(str, "size="))) { in parse_assignment() 1635 unsigned int size = TASK_COMM_LEN; in hist_trigger_elt_data_alloc() local 1648 elt_data->comm = kzalloc(size, GFP_KERNEL); in hist_trigger_elt_data_alloc() 1666 size = STR_VAR_LEN_MAX; in hist_trigger_elt_data_alloc() 1676 elt_data->field_var_str[i] = kzalloc(size, GFP_KERNEL); in hist_trigger_elt_data_alloc() 1974 hist_field->size in create_hist_field() 3151 unsigned int size; __update_field_vars() local 3193 create_var(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *name, int size, const char *type) create_var() argument 5176 unsigned int size; hist_trigger_elt_update() local 5223 size_t size = key_field->size; add_to_key() local 5449 __fill_bar_str(char *buf, int size, u64 val, u64 max) __fill_bar_str() argument [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | upb.c | 198 /* Maps descriptor type -> upb map size. */ 324 bool need_realloc = arr->size - arr->len < elem; in decode_reserve() 416 d->limit = val.data + val.size; in decode_tosubmsg() 492 int count = val.str_val.size >> lg2; in decode_toarray() 493 if ((val.str_val.size & mask) != 0) { in decode_toarray() 494 decode_err(d); /* Length isn't a round multiple of elem size. */ in decode_toarray() 509 const char *end = ptr + val.str_val.size; in decode_toarray() 656 uint32_t size; in decode_msg() local 659 ptr = decode_varint32(d, ptr, d->limit, &size); in decode_msg() 660 if (size > in decode_msg() 715 upb_decode(const char *buf, size_t size, void *msg, const upb_msglayout *l, upb_arena *arena) upb_decode() argument 931 size_t size; upb_encode_scalarfield() local 942 size_t size; upb_encode_scalarfield() local 1033 size_t size; upb_encode_array() local 1046 size_t size; upb_encode_array() local 1078 size_t size; upb_encode_map() local 1097 upb_encode_message(upb_encstate *e, const char *msg, const upb_msglayout *m, size_t *size) upb_encode_message() argument 1141 upb_encode(const void *msg, const upb_msglayout *m, upb_arena *arena, size_t *size) upb_encode() argument 1314 resize_array(upb_array *arr, size_t size, upb_arena *arena) resize_array() argument 1323 _upb_array_resize_fallback(upb_array **arr_ptr, size_t size, upb_fieldtype_t type, upb_arena *arena) _upb_array_resize_fallback() argument 2291 upb_global_allocfunc(upb_alloc *alloc, void *ptr, size_t oldsize, size_t size) upb_global_allocfunc() argument 2340 upb_arena_addblock(upb_arena *a, void *ptr, size_t size, bool owned) upb_arena_addblock() argument 2359 upb_arena_allocblock(upb_arena *a, size_t size) upb_arena_allocblock() argument 2373 _upb_arena_slowmalloc(upb_arena *a, size_t size) _upb_arena_slowmalloc() argument 2379 upb_arena_doalloc(upb_alloc *alloc, void *ptr, size_t oldsize, size_t size) upb_arena_doalloc() argument 3885 upb_msglayout_place(upb_msglayout *l, size_t size) upb_msglayout_place() argument 4141 size_t size = getjsonname(name, NULL, 0); makejsonname() local 5166 int size = upb_fielddef_isseq(f) ? sizeof(void *) _upb_msg_getraw() local 5274 int size = upb_fielddef_isseq(f) ? sizeof(void *) upb_msg_set() local 5357 upb_array_resize(upb_array *arr, size_t size, upb_arena *arena) upb_array_resize() argument 5428 upb_calloc(upb_arena *arena, size_t size) upb_calloc() argument 7137 upb_pbdecoder_resume(upb_pbdecoder *d, void *p, const char *buf, size_t size, const upb_bufhandle *handle) upb_pbdecoder_resume() argument 7877 upb_pbdecoder_decode(void *decoder, const void *group, const char *buf, size_t size, const upb_bufhandle *handle) upb_pbdecoder_decode() argument 9067 size_t len, size; global() member 11796 parse(void *closure, const void *hd, const char *buf, size_t size, const upb_bufhandle *handle) parse() argument [all...] |
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 141 if (res != HKS_SUCCESS || hashBlob.size != SHA256_LEN) { in Sha256() 465 if (res != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmac() 472 if (res != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmac() 587 if (res != HKS_SUCCESS || hmacBlob.size != HMAC_LEN) { in ComputeHmacWithThreeStageInner() 588 LOGE("Compute hmac with three stage failed! [Res]: %d, [size]: %d", res, hmacBlob.size); in ComputeHmacWithThreeStageInner() 625 keyInfoBlob.size = keyInfo->length; in ConstructHkdfParamSet() 774 extInfoBlob.size = extInfo->length; in ComputePseudonymPskInner() 838 .blob = { .size = outParamSetSize, .data = blobVal } in ConstructOutParamSet() 867 if (extInfoParam->blob.data == NULL || extInfoParam->blob.size in GetExtInfoByParamSet() [all...] |
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 1376 size_t size = 0; in HWTEST_F() local 1377 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); in HWTEST_F() 1390 size_t size = 0; in HWTEST_F() local 1391 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); in HWTEST_F() 1404 size_t size = 0; in HWTEST_F() local 1410 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); in HWTEST_F() 1424 size_t size = 0; in HWTEST_F() local 1426 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); in HWTEST_F() 1440 size_t size = 0; in HWTEST_F() local 1442 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offse in HWTEST_F() 1456 size_t size = 0; HWTEST_F() local 1472 size_t size = 1; HWTEST_F() local 1488 size_t size = 1; HWTEST_F() local 1504 size_t size = 1; HWTEST_F() local 1599 size_t* size = nullptr; HWTEST_F() local 1611 size_t* size = nullptr; HWTEST_F() local 1627 size_t size = 1; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_mock_sync_module_test.cpp | 278 EXPECT_EQ(virtualCommunicatorAggregator->GetOnlineDevices().size(), 0u); in SyncLifeTest001() 1367 Parcel parcel(buffer.data(), buffer.size()); in HWTEST_F() 1375 Parcel targetParcel(buffer.data(), buffer.size()); in HWTEST_F() 1407 Parcel parcel(buffer.data(), buffer.size()); in HWTEST_F() 1415 Parcel targetParcel(buffer.data(), buffer.size()); in HWTEST_F() 1444 Parcel parcel(buffer.data(), buffer.size()); in HWTEST_F() 1458 Parcel parcel2(buffer2.data(), buffer2.size()); in HWTEST_F() 1459 Parcel targetParcel2(buffer2.data(), buffer2.size()); in HWTEST_F() 1469 Parcel parcel3(buffer3.data(), buffer3.size()); in HWTEST_F() 1476 Parcel parcel4(buffer4.data(), buffer4.size()); in HWTEST_F() 2058 size_t size = 0u; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | hifn_795x.c | 83 #define HIFN_0_SPACESIZE 0x20 /* Register space size */ 105 #define HIFN_PUCNFG_DRAMMASK 0xe000 /* DRAM size mask */ 489 #define HIFN_CRYPT_CMD_KSZ_MASK 0x0600 /* AES key size: */ 1232 unsigned int offset, unsigned int size, int last) in hifn_setup_src_desc() 1238 addr = dma_map_page(&dev->pdev->dev, page, offset, size, in hifn_setup_src_desc() 1244 dma->srcr[idx].l = __cpu_to_le32(size | HIFN_D_VALID | in hifn_setup_src_desc() 1262 return size; in hifn_setup_src_desc() 1291 unsigned offset, unsigned size, int last) in hifn_setup_dst_desc() 1297 addr = dma_map_page(&dev->pdev->dev, page, offset, size, in hifn_setup_dst_desc() 1302 dma->dstr[idx].l = __cpu_to_le32(size | HIFN_D_VALI in hifn_setup_dst_desc() 1231 hifn_setup_src_desc(struct hifn_device *dev, struct page *page, unsigned int offset, unsigned int size, int last) hifn_setup_src_desc() argument 1290 hifn_setup_dst_desc(struct hifn_device *dev, struct page *page, unsigned offset, unsigned size, int last) hifn_setup_dst_desc() argument 1410 skcipher_add(unsigned int *drestp, struct scatterlist *dst, unsigned int size, unsigned int *nbytesp) skcipher_add() argument 1616 skcipher_get(void *saddr, unsigned int *srestp, unsigned int offset, struct scatterlist *dst, unsigned int size, unsigned int *nbytesp) skcipher_get() argument 2507 unsigned long addr, size; hifn_probe() local [all...] |