Searched refs:vOps (Results 1 – 3 of 3) sorted by relevance
83 static void FillWithDefaults(vendor_tag_ops_t* vOps) { in FillWithDefaults() argument84 ASSERT_NOT_NULL(vOps); in FillWithDefaults()85 vOps->get_tag_count = default_get_tag_count; in FillWithDefaults()86 vOps->get_all_tags = default_get_all_tags; in FillWithDefaults()87 vOps->get_section_name = default_get_section_name; in FillWithDefaults()88 vOps->get_tag_name = default_get_tag_name; in FillWithDefaults()89 vOps->get_tag_type = default_get_tag_type; in FillWithDefaults()98 const vendor_tag_ops_t *vOps = &fakevendor_ops; in TEST() local99 EXPECT_EQ(OK, VendorTagDescriptor::createDescriptorFromOps(vOps, /*out*/vDesc)); in TEST()105 EXPECT_EQ(tagCount, vOps->get_tag_count(vOps)); in TEST()[all …]
517 status_t VendorTagDescriptor::createDescriptorFromOps(const vendor_tag_ops_t* vOps, in createDescriptorFromOps() argument520 if (vOps == NULL) { in createDescriptorFromOps()525 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps()535 vOps->get_all_tags(vOps, /*out*/tagArray.editArray()); in createDescriptorFromOps()549 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps()555 const char *sectionName = vOps->get_section_name(vOps, tag); in createDescriptorFromOps()566 int tagType = vOps->get_tag_type(vOps, tag); in createDescriptorFromOps()
148 static status_t createDescriptorFromOps(const vendor_tag_ops_t* vOps,