Searched refs:AsMap (Results 1 – 6 of 6) sorted by relevance
83 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in DetectPostProcess()114 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in AudioSpectrogram()126 auto attr_map = flexbuffers::GetRoot(custom_attr).AsMap(); in Mfcc()
288 type(root).AsFixedTypedVector, type(root).AsMap):316 type(root).AsFixedTypedVector, type(root).AsMap):346 type(root).AsFixedTypedVector, type(root).AsMap):454 self.assertTrue(flexbuffers.GetRoot(data).AsMap['x'].MutateInt(14))455 self.assertTrue(flexbuffers.GetRoot(data).AsMap['y'].MutateInt(-1))465 type(root).AsFixedTypedVector, type(root).AsMap):932 root.AsMap # pylint: disable=pointless-statement995 self.assertEqual(len(root.AsMap), 0)1030 m = root.AsMap1313 return [key.AsKey for key in flexbuffers.GetRoot(data).AsMap.Keys]
2940 auto map = flexbuffers::GetRoot(slb.GetBuffer()).AsMap(); in FlexBuffersTest()2975 auto mymap = map["mymap"].AsMap(); in FlexBuffersTest()2998 auto jmap = jroot.AsMap(); in FlexBuffersTest()3034 auto jmap = jroot.AsMap(); in FlexBuffersFloatingPointTest()3783 TEST_EQ(root.AsMap()["opt_field"].AsInt64(), 123); in ParseFlexbuffersFromJsonWithNullTest()3791 TEST_EQ(root.AsMap()["opt_field"].AsDouble(), 123.4); in ParseFlexbuffersFromJsonWithNullTest()3799 TEST_ASSERT(!root.AsMap().IsTheEmptyMap()); in ParseFlexbuffersFromJsonWithNullTest()3800 TEST_ASSERT(root.AsMap()["opt_field"].IsNull()); in ParseFlexbuffersFromJsonWithNullTest()
571 auto m = AsMap(); in ToString()645 Map AsMap() const { in AsMap() function800 template<> inline Map Reference::As<Map>() const { return AsMap(); }
107 auto map = flexbuffers::GetRoot(my_buffer).AsMap();
797 def AsMap(self): member in Ref828 return self.AsMap.Value