/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.cpp | 131 return (vec.size() != 0 ? &vec[0] : DE_NULL); in dataPointer() 144 static_cast<deUint32>(m_vertexInputBindings.size()), // uint32_t vertexBindingDescriptionCount; in build() 146 static_cast<deUint32>(m_vertexInputAttributes.size()), // uint32_t vertexAttributeDescriptionCount; in build() 285 static_cast<deUint32>(m_shaderStages.size()), // deUint32 stageCount; in build() 374 VkImageCreateInfo makeImageCreateInfo (const tcu::IVec2& size, const VkFormat format, const VkImageUsageFlags usage, const deUint32 numArrayLayers) in makeImageCreateInfo() argument 383 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo() 428 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 441 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer() 444 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer() 447 fillBuffer(const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const float depth) fillBuffer() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.cpp | 131 return (vec.size() != 0 ? &vec[0] : DE_NULL); in dataPointer() 144 static_cast<deUint32>(m_vertexInputBindings.size()), // uint32_t vertexBindingDescriptionCount; in build() 146 static_cast<deUint32>(m_vertexInputAttributes.size()), // uint32_t vertexAttributeDescriptionCount; in build() 285 static_cast<deUint32>(m_shaderStages.size()), // deUint32 stageCount; in build() 374 VkImageCreateInfo makeImageCreateInfo (const tcu::IVec2& size, const VkFormat format, const VkImageUsageFlags usage, const deUint32 numArrayLayers) in makeImageCreateInfo() argument 383 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo() 428 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 441 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer() 444 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer() 447 fillBuffer(const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const float depth) fillBuffer() argument [all...] |
/third_party/skia/tests/ |
H A D | GrMemoryPoolTest.cpp | 29 void* operator new(size_t size) { in operator new() argument 31 return ::operator new(size); in operator new() 33 return gPool->allocate(size); in operator new() 252 // Allocates memory until pool adds a new block (pool->size() changes). in DEF_TEST() 254 size_t origPoolSize = pool.size(); in DEF_TEST() 255 while (pool.size() == origPoolSize) { in DEF_TEST() 266 // Effective block size capacity >= kMinAllocationSize. in DEF_TEST() 272 REPORTER_ASSERT(reporter, pool->size() == kSmallestMinAllocSize); in DEF_TEST() 287 REPORTER_ASSERT(reporter, pool->size() == 0); in DEF_TEST() 290 REPORTER_ASSERT(reporter, pool->size() in DEF_TEST() [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | sieve.cc | 96 SampleIdx numSamples = static_cast<SampleIdx>(sample_sizes.size()); in sieve_generate() 97 if ((numSamples != sample_sizes.size()) || (numSamples * 2 < numSamples)) { in sieve_generate() 129 fprintf(stderr, "slice_len is larger than corpus size\n"); in sieve_generate() 197 * Build dictionary of specified size. in sieve_generate() 200 TextIdx size = dryRun( in sieve_generate() local 203 if (size <= targetSize) { in sieve_generate() 209 size = dryRun(sliceLen, map.data(), shortcut.data(), end, end, b, ++piece); in sieve_generate() 210 if (size == targetSize) { in sieve_generate() 215 if (size < targetSize) { in sieve_generate() 216 /* size( in sieve_generate() [all...] |
/third_party/skia/third_party/externals/freetype/src/cid/ |
H A D | cidobjs.c | 96 cid_size_get_globals_funcs( CID_Size size ) in cid_size_get_globals_funcs() 98 CID_Face face = (CID_Face)size->root.face; in cid_size_get_globals_funcs() 103 module = FT_Get_Module( size->root.face->driver->root.library, in cid_size_get_globals_funcs() 114 CID_Size size = (CID_Size)cidsize; in cid_size_done() local 122 funcs = cid_size_get_globals_funcs( size ); in cid_size_done() 134 CID_Size size = (CID_Size)cidsize; in FT_LOCAL_DEF() local 136 PSH_Globals_Funcs funcs = cid_size_get_globals_funcs( size ); in FT_LOCAL_DEF() 157 cid_size_request( FT_Size size, in FT_LOCAL() 165 error = FT_Request_Metrics( size->face, req ); in FT_LOCAL() 169 funcs = cid_size_get_globals_funcs( (CID_Size)size ); in FT_LOCAL() [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_global_decl_test.cc | 34 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F() 60 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F() 86 ASSERT_EQ(program.AST().TypeDecls().size(), 1u); in TEST_F() 103 ASSERT_EQ(program.AST().TypeDecls().size(), 2u); in TEST_F() 129 ASSERT_EQ(program.AST().Functions().size(), 1u); in TEST_F() 140 ASSERT_EQ(program.AST().Functions().size(), 1u); in TEST_F() 158 ASSERT_EQ(program.AST().TypeDecls().size(), 1u); in TEST_F() 166 EXPECT_EQ(str->members.size(), 2u); in TEST_F() 176 ASSERT_EQ(program.AST().TypeDecls().size(), 1u); in TEST_F() 184 EXPECT_EQ(str->members.size(), in TEST_F() [all...] |
H A D | parser_impl_struct_member_test.cc | 30 EXPECT_EQ(decos.value.size(), 0u); in TEST_F() 39 EXPECT_EQ(m->decorations.size(), 0u); in TEST_F() 53 EXPECT_EQ(decos.value.size(), 1u); in TEST_F() 62 EXPECT_EQ(m->decorations.size(), 1u); in TEST_F() 72 auto p = parser("[[size(2)]] a : i32;"); in TEST_F() 79 EXPECT_EQ(decos.value.size(), 1u); in TEST_F() 88 EXPECT_EQ(m->decorations.size(), 1u); in TEST_F() 90 EXPECT_EQ(m->decorations[0]->As<ast::StructMemberSizeDecoration>()->size, 2u); in TEST_F() 97 auto p = parser("[[size(2)]] a : i32;"); in TEST_F() 104 EXPECT_EQ(decos.value.size(), in TEST_F() [all...] |
/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.cpp | 62 static void encode_to_base64(const void* data, size_t size, FILE* out) { in encode_to_base64() argument 64 const uint8_t* end = &input[size]; in encode_to_base64() 96 static void dump_output(const void* data, size_t size, in dump_output() argument 99 encode_to_base64(data, size, stdout); in dump_output() 106 dump_output(data->data(), data->size(), name, last); in dump_output() 253 SkImageInfo info = SkImageInfo::Make(options.size.width(), options.size.height(), colorType, in main() 291 draw(prepare_canvas(document->beginPage(options.size.width(), options.size.height()))); in main() 299 auto size in main() local [all...] |
/third_party/skia/tools/trace/ |
H A D | ChromeTracingTracer.cpp | 30 // These fields are ordered to minimize size due to alignment. Argument types could be packed 65 SkEventTracer::Handle ChromeTracingTracer::appendEvent(const void* data, size_t size) { in appendEvent() argument 66 SkASSERT(size > 0 && size <= kBlockSize); in appendEvent() 69 if (fCurBlockUsed + size > kBlockSize) { in appendEvent() 73 memcpy(fCurBlock.fBlock.get() + fCurBlockUsed, data, size); in appendEvent() 75 fCurBlockUsed += size; in appendEvent() 93 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent() local 98 size += strlen(value.as_string) + 1; in addTraceEvent() 102 size in addTraceEvent() [all...] |
/third_party/vixl/src/ |
H A D | pool-manager.h | 91 // Represents an object that has a size and alignment, and either has a known 101 // The size of a LocationBase object is restricted to 4KB, in order to avoid 102 // situations where the size of the pool becomes larger than the range of 110 // By default, LocationBase objects are aligned naturally to their size. 111 LocationBase(uint32_t type, int size) in LocationBase() argument 112 : pool_object_size_(size), in LocationBase() 113 pool_object_alignment_(size), in LocationBase() 117 VIXL_ASSERT(size > 0); in LocationBase() 118 VIXL_ASSERT(size <= kMaxObjectSize); in LocationBase() 119 VIXL_ASSERT(IsPowerOf2(size)); in LocationBase() 123 LocationBase(uint32_t type, int size, int alignment) LocationBase() argument 332 ForwardReference(T location, int size, T min_object_location, T max_object_location, int object_alignment = 1) ForwardReference() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | unknown_field_set.cc | 59 int n = fields_.size(); in ClearFallback() 69 fields_.reserve(fields_.size() + other_field_count); in InternalMergeFrom() 80 fields_.reserve(fields_.size() + other_field_count); in MergeFrom() 109 size_t total_size = sizeof(fields_) + sizeof(UnknownField) * fields_.size(); in SpaceUsedExcludingSelfLong() 111 for (int i = 0; i < fields_.size(); i++) { in SpaceUsedExcludingSelfLong() 187 for (int i = start + num; i < fields_.size(); ++i) { in DeleteSubrange() 198 for (int i = 0; i < fields_.size(); ++i) { in DeleteByNumber() 234 bool UnknownFieldSet::ParseFromArray(const void* data, int size) { in ParseFromArray() argument 235 io::ArrayInputStream input(data, size); in ParseFromArray() 274 target = io::CodedOutputStream::WriteVarint32ToArray(data.size(), targe in InternalSerializeLengthDelimitedNoTag() 293 int size = ReadSize(&ptr); ParseLengthDelimited() local [all...] |
/third_party/curl/lib/ |
H A D | mime.c | 62 static size_t mime_subparts_read(char *buffer, size_t size, size_t nitems, 66 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, 69 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof, 71 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof, 74 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof, 141 * get_vms_file_size does what it takes to get the real size of the file 143 * For fixed files, find out the size of the EOF block and adjust. 177 * if not to call a routine to get the correct size. 381 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, in encoder_nop_read() argument 389 if(!size) in encoder_nop_read() 409 encoder_7bit_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_7bit_read() argument 435 encoder_base64_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_base64_read() argument 516 curl_off_t size = part->datasize; encoder_base64_size() local 548 encoder_qp_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_qp_read() argument 659 mime_mem_read(char *buffer, size_t size, size_t nitems, void *instream) mime_mem_read() argument 716 mime_file_read(char *buffer, size_t size, size_t nitems, void *instream) mime_file_read() argument 998 mime_subparts_read(char *buffer, size_t size, size_t nitems, void *instream, bool *hasread) mime_subparts_read() argument 1582 Curl_mime_read(char *buffer, size_t size, size_t nitems, void *instream) Curl_mime_read() argument 1615 size_t size = 0; slist_size() local 1626 curl_off_t size; multipart_size() local 1652 curl_off_t size; Curl_mime_size() local [all...] |
/third_party/alsa-utils/axfer/ |
H A D | container-voc.c | 72 uint8_t size[3]; member 124 uint8_t size[3]; // Equals to (2 + the size of frames). member 133 uint8_t size[3]; // Equals to the size of frames. member 143 uint8_t size[3]; // Equals to 3. member 151 uint8_t size[3]; // Equals to 2. member 158 uint8_t size[3]; // Equals to the length of string with 0x00. member 165 uint8_t size[3]; // Equals to 2. member 172 uint8_t size[ member 182 uint8_t size[3]; // Equals to 4. global() member 196 uint8_t size[3]; // Equals to (12 + ). global() member 213 build_block_data_size(uint8_t fields[3], unsigned int size) build_block_data_size() argument [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 235 bool likely_desc_load = instr->operands[0].size() == 2; in get_wait_counter_info() 236 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4); in get_wait_counter_info() 290 for (int i = 0; i < (int)vm.size() - imm.vm; i++) in get_dependency_cost() 294 for (int i = 0; i < (int)exp.size() - imm.exp; i++) in get_dependency_cost() 298 for (int i = 0; i < (int)lgkm.size() - imm.lgkm; i++) in get_dependency_cost() 302 for (int i = 0; i < (int)vs.size() - imm.vs; i++) in get_dependency_cost() 313 for (unsigned i = 0; i < op.size(); i++) in get_dependency_cost() 373 while (lgkm.size() > imm.lgkm) in add() 375 while (exp.size() > imm.exp) in add() 377 while (vm.size() > im in add() [all...] |
/third_party/nghttp2/src/ |
H A D | template.h | 140 size_t size() const { return len; } in size() function 220 // std::string. It has c_str() and size() functions to mimic 243 : len(s.size()), base(copystr(std::begin(s), std::end(s))) {} 301 size_type size() const { return len; } 320 return lhs.size() == rhs.size() && 325 return lhs.size() == rhs.size() && 334 return lhs.size() == strlen(rhs) && 363 return o.write(s.c_str(), s.size()); [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 132 assert(SrcRegs.size() > 1 && "Nothing to pack"); in packRegs() 142 assert(LLTs.size() == SrcRegs.size() && "Regs / types mismatch"); in packRegs() 146 for (unsigned i = 0; i < SrcRegs.size(); ++i) { in packRegs() 158 assert(DstRegs.size() > 1 && "Nothing to unpack"); in unpackRegs() 165 assert(LLTs.size() == DstRegs.size() && "Regs / types mismatch"); in unpackRegs() 167 for (unsigned i = 0; i < DstRegs.size(); ++i) in unpackRegs() 190 unsigned NumArgs = Args.size(); in handleAssignments() 289 for (unsigned i = 0, e = Args.size(), in handleAssignments() [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_ra.cpp | 46 bool assign(int32_t& reg, DataFile f, unsigned int size, unsigned int maxReg); 47 void release(DataFile f, int32_t reg, unsigned int size); 48 void occupy(DataFile f, int32_t reg, unsigned int size); 51 bool isOccupied(DataFile f, int32_t reg, unsigned int size) const; 53 bool testOccupy(DataFile f, int32_t reg, unsigned int size); 62 inline unsigned int units(DataFile f, unsigned int size) const in units() 64 return size >> unit[f]; in units() 66 // for regs of size >= 4, id is counted in 4-byte words (like nv50/c0 binary) 69 return v->reg.data.id * MIN2(v->reg.size, 4); in idToBytes() 77 if (v->reg.size < in bytesToId() 151 assign(int32_t& reg, DataFile f, unsigned int size, unsigned int maxReg) assign() argument 179 occupy(DataFile f, int32_t reg, unsigned int size) occupy() argument 196 testOccupy(DataFile f, int32_t reg, unsigned int size) testOccupy() argument 205 release(DataFile f, int32_t reg, unsigned int size) release() argument 351 inline uint8_t size() const { return sym->reg.size; } size() function 1075 makeCompMask(int compSize, int base, int size) makeCompMask() argument 1104 const unsigned int size = getNode(rep)->colors; makeCompound() local 1647 assignSlot(const Interval &livei, const unsigned int size) assignSlot() argument 2142 uint8_t size = 0; condenseDefs() local 2176 uint8_t size = 0; condenseSrcs() local 2537 int s, size; visit() local 2613 const uint8_t size = cst->src(s).getSize(); insertConstraintMove() local 2676 const uint8_t size = cst->def(d).getSize(); insertConstraintMoves() local 2691 const uint8_t size = cst->src(s).getSize(); insertConstraintMoves() local [all...] |
/applications/standard/contacts_data/contacts/src/ |
H A D | contacts_build.cpp | 172 unsigned int emailsSize = contact.emails.size(); in GetValuesBucketEmail() 200 unsigned int eventsSize = contact.events.size(); in GetValuesBucketEvent() 225 unsigned int groupsSize = contact.groups.size(); in GetValuesBucketGroup() 246 unsigned int imAddressSize = contact.imAddresses.size(); in GetValuesBucketImAddress() 288 unsigned int phoneNumbersSize = contact.phoneNumbers.size(); in GetValuesBucketPhoneNumber() 313 unsigned int postalAddressesSize = contact.postalAddresses.size(); in GetValuesBucketPostalAddress() 359 unsigned int relationsSize = contact.relations.size(); in GetValuesBucketRelation() 384 unsigned int sipAddressesSize = contact.sipAddresses.size(); in GetValuesBucketSipAddress() 409 unsigned int websitesSize = contact.websites.size(); in GetValuesBucketWebsite() 602 uint32_t size in GetEmails() local 624 uint32_t size = 0; GetEvent() local 647 uint32_t size = 0; GetGroup() local 668 uint32_t size = 0; GetImAddress() local 690 uint32_t size = 0; GetPhoneNumbers() local 712 uint32_t size = 0; GetPostalAddress() local 741 uint32_t size = 0; GetRelation() local 763 uint32_t size = 0; GetSipAddress() local 785 uint32_t size = 0; GetWebsite() local 869 uint32_t size = 0; GetContactAttributes() local [all...] |
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_fake.c | 116 unsigned long size; member 212 * Total size of the target_bos of this buffer. 431 sz = (bo->size + bo_fake->alignment - 1) & ~(bo_fake->alignment - 1); in alloc_block() 472 memcpy(bo_fake->backing_store, block->virtual, block->bo->size); in free_block() 499 bo_fake->backing_store = malloc(bo->size); in alloc_backing_store() 502 bo_fake->backing_store, bo->size); in alloc_backing_store() 604 block->mem->ofs, block->mem->size); in clear_fenced() 610 block->mem->ofs, block->mem->size); in clear_fenced() 621 block->mem->ofs, block->mem->size, block->fence, in clear_fenced() 638 block, block->mem->size, bloc in fence_blocks() 799 drm_intel_fake_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, unsigned long size, unsigned int alignment) drm_intel_fake_bo_alloc() argument 864 drm_intel_bo_fake_alloc_static(drm_intel_bufmgr *bufmgr, const char *name, unsigned long offset, unsigned long size, void *virtual) drm_intel_bo_fake_alloc_static() argument 1118 drm_intel_fake_bo_subdata(drm_intel_bo *bo, unsigned long offset, unsigned long size, const void *data) drm_intel_fake_bo_subdata() argument 1581 drm_intel_bufmgr_fake_init(int fd, unsigned long low_offset, void *low_virtual, unsigned long size, volatile unsigned int *last_dispatch) drm_intel_bufmgr_fake_init() argument [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/ |
H A D | index.js | 95 constructor(size) { 96 super(size); 209 #size; 276 * The total computed size of items in the cache (read-only) 284 get size() { 285 return this.#size; 340 this.#size = 0; 498 this.#requireSize = (k, v, size, sizeCalculation) => { 500 // actual value size will be checked when they return. 504 if (!isPosInt(size)) { [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/ |
H A D | index.js | 92 constructor(size) { 93 super(size); 206 #size; 273 * The total computed size of items in the cache (read-only) 281 get size() { 282 return this.#size; 337 this.#size = 0; 495 this.#requireSize = (k, v, size, sizeCalculation) => { 497 // actual value size will be checked when they return. 501 if (!isPosInt(size)) { [all...] |
/third_party/mesa3d/src/compiler/ |
H A D | glsl_types.cpp | 586 * is represented by the size rather than the type. in glsl_type() 590 /* Allow a maximum of 10 characters for the array size. This is enough in glsl_type() 1623 * looking at the size of a vector that makes up a column. The in get_mul_type() 1624 * transpose (size of a row) is done for B. in get_mul_type() 1732 unsigned size = 0; in component_slots() local 1735 size += this->fields.structure[i].type->component_slots(); in component_slots() 1737 return size; in component_slots() 1780 unsigned size = 2 * this->components(); in component_slots_aligned() local 1781 if (offset % 2 == 1 && (offset % 4 + size) > 4) { in component_slots_aligned() 1782 size in component_slots_aligned() 1790 unsigned size = 0; component_slots_aligned() local 1801 unsigned size = 0; component_slots_aligned() local 1872 unsigned size = 0; uniform_locations() local 1908 unsigned size = 0; varying_count() local 2200 unsigned size = this->arrays_of_arrays_size() * stride; std140_size() local 2219 unsigned size = 0; std140_size() local 2468 unsigned size = 0; explicit_size() local 2580 unsigned size = this->arrays_of_arrays_size() * stride; std430_size() local 2587 unsigned size = 0; std430_size() local 2717 get_explicit_type_for_size_align(glsl_type_size_align_func type_info, unsigned *size, unsigned *alignment) const get_explicit_type_for_size_align() argument 2920 unsigned size = 0; count_vec4_slots() local 2991 unsigned size = 0; count_dword_slots() local 3016 int size = glsl_get_sampler_dim_coordinate_components(dim); coordinate_components() local 3359 unsigned size = this->without_array()->cl_size(); cl_size() local 3362 unsigned size = 0; cl_size() local [all...] |
/drivers/external_device_manager/test/fuzztest/driver_extension_manager_fuzzer/querydeviceinfo_fuzzer/ |
H A D | querydeviceinfo_fuzzer.cpp | 22 bool QueryDeviceInfoFuzzTest(const uint8_t *rawData, size_t size) in QueryDeviceInfoFuzzTest() argument 24 if (rawData == nullptr || size == 0) { in QueryDeviceInfoFuzzTest() 33 if (!data.WriteBuffer(rawData, size)) { in QueryDeviceInfoFuzzTest() 46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 48 OHOS::ExternalDeviceManager::QueryDeviceInfoFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/external_device_manager/test/fuzztest/driver_extension_manager_fuzzer/querydriverinfo_fuzzer/ |
H A D | querydriverinfo_fuzzer.cpp | 22 bool QueryDriverInfoFuzzTest(const uint8_t *rawData, size_t size) in QueryDriverInfoFuzzTest() argument 24 if (rawData == nullptr || size == 0) { in QueryDriverInfoFuzzTest() 33 if (!data.WriteBuffer(rawData, size)) { in QueryDriverInfoFuzzTest() 46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 48 OHOS::ExternalDeviceManager::QueryDriverInfoFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/hdf_core/framework/include/platform/ |
H A D | emmc_if.h | 87 * @param size Indicates the length of the CID. 93 int32_t EmmcGetCid(DevHandle handle, uint8_t *cid, uint32_t size); 99 * @param size Indicates the length of the CID. 103 void EmmcGetHuid(uint8_t *cid, uint32_t size); 110 int32_t EmmcGetCardState(DevHandle handle, uint8_t *state, uint32_t size); 112 int32_t EmmcGetCardCsd(DevHandle handle, uint8_t *csd, uint32_t size); 114 int32_t EmmcGetCardInfo(DevHandle handle, uint8_t *cardInfo, uint32_t size);
|