Home
last modified time | relevance | path

Searched refs:mask2 (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types_test.py376 mask2 = field_mask_pb2.FieldMask()
379 mask2.FromJsonString('bar,quz')
380 out_mask.Union(mask1, mask2)
384 mask2.FromJsonString('baz.bb,quz')
385 out_mask.Union(mask1, mask2)
389 mask2.FromJsonString('foo.bar,bar')
390 out_mask.Union(mask1, mask2)
395 mask2 = field_mask_pb2.FieldMask()
399 mask2.FromJsonString('bar,quz')
400 out_mask.Intersect(mask1, mask2)
[all …]
Dwell_known_types.py416 def Union(self, mask1, mask2): argument
419 _CheckFieldMaskMessage(mask2)
421 tree.MergeFromFieldMask(mask2)
424 def Intersect(self, mask1, mask2): argument
427 _CheckFieldMaskMessage(mask2)
430 for path in mask2.paths:
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java179 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testUnion() local
180 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
186 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar.quz"); in testUnion_usingVarArgs() local
189 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs()
197 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testIntersection() local
198 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dfield_mask_util_test.cc291 FieldMask mask1, mask2, out; in TEST() local
294 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
295 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
299 FieldMaskUtil::FromString("baz.bb,quz", &mask2); in TEST()
300 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
304 FieldMaskUtil::FromString("foo.bar,bar", &mask2); in TEST()
305 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
310 FieldMask mask1, mask2, out; in TEST() local
313 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
314 FieldMaskUtil::Intersect(mask1, mask2, &out); in TEST()
[all …]
Dfield_mask_util.h98 static void Union(const FieldMask& mask1, const FieldMask& mask2,
102 static void Intersect(const FieldMask& mask1, const FieldMask& mask2,
Dfield_mask_util.cc481 void FieldMaskUtil::Union(const FieldMask& mask1, const FieldMask& mask2, in Union() argument
485 tree.MergeFromFieldMask(mask2); in Union()
490 void FieldMaskUtil::Intersect(const FieldMask& mask1, const FieldMask& mask2, in Intersect() argument
494 for (int i = 0; i < mask2.paths_size(); ++i) { in Intersect()
495 tree.IntersectPath(mask2.paths(i), &intersection); in Intersect()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java259 public static FieldMask intersection(FieldMask mask1, FieldMask mask2) { in intersection() argument
262 for (String path : mask2.getPathsList()) { in intersection()