/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsIterableContainingInOrderTest.java | 17 …private final Matcher<Iterable<? extends WithValue>> contains123 = contains(value(1), value(2), va… 37 List<WithValue> valueList = asList(make(1), make(2)); in testDoesNotMatchWithFewerElementsThanExpected() 50 …tMismatchDescription("no item was value with <4>", contains(value(4)), new ArrayList<WithValue>()); in testDoesNotMatchEmptyIterable() 61 public static class WithValue { class in IsIterableContainingInOrderTest 63 public WithValue(int value) { this.value = value; } in WithValue() method in IsIterableContainingInOrderTest.WithValue 68 public static WithValue make(int value) { in make() 69 return new WithValue(value); in make() 72 public static Matcher<WithValue> value(int value) { in value() 73 return new FeatureMatcher<WithValue, Integer>(equalTo(value), "value with", "value") { in value() 74 @Override protected Integer featureValueOf(WithValue actual) { return actual.getValue(); } in value()
|
D | IsIterableContainingInRelativeOrderTest.java | 17 …private final Matcher<Iterable<? extends WithValue>> contains123 = containsInRelativeOrder(value(1… 57 List<WithValue> valueList = asList(make(1), make(2)); in testDoesNotMatchWithFewerElementsThanExpected() 70 …ion("value with <4> was not found", containsInRelativeOrder(value(4)), new ArrayList<WithValue>()); in testDoesNotMatchEmptyIterable() 77 public static class WithValue { class in IsIterableContainingInRelativeOrderTest 79 public WithValue(int value) { this.value = value; } in WithValue() method in IsIterableContainingInRelativeOrderTest.WithValue 84 public static WithValue make(int value) { in make() 85 return new WithValue(value); in make() 88 public static Matcher<WithValue> value(int value) { in value() 89 return new FeatureMatcher<WithValue, Integer>(equalTo(value), "value with", "value") { in value() 90 @Override protected Integer featureValueOf(WithValue actual) { return actual.getValue(); } in value()
|
D | IsIterableContainingInAnyOrderTest.java | 5 import org.hamcrest.collection.IsIterableContainingInOrderTest.WithValue; 43 …final Matcher<Iterable<? extends WithValue>> helpTheCompilerOut = containsInAnyOrder(value(1), val… in testDoesNotMatchIfThereAreMoreElementsThanMatchers()
|
/external/syzkaller/vendor/google.golang.org/appengine/internal/ |
D | api_common.go | 29 return netcontext.WithValue(ctx, &callOverrideKey, cofs) 40 ctx = netcontext.WithValue(ctx, &callOverrideKey, cofs[:len(cofs)-1]) 49 return netcontext.WithValue(ctx, &logOverrideKey, f) 55 return netcontext.WithValue(ctx, &appIDOverrideKey, appID) 61 return netcontext.WithValue(ctx, &namespaceKey, ns)
|
D | transaction.go | 47 return netcontext.WithValue(ctx, &transactionKey, t)
|
D | api_classic.go | 42 ctx := netcontext.WithValue(parent, &contextKey, c)
|
/external/tensorflow/tensorflow/core/ops/ |
D | image_ops.cc | 36 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(size, 0), 2, &unused)); in SetOutputToSizedImage() 103 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(input, -1), 3, &last_dim)); in ColorspaceShapeFn() 128 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(boxes, 1), 4, &unused)); in NMSShapeFn() 156 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(boxes, 3), 4, &unused)); in CombinedNMSShapeFn() 333 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(unused, 0), 2, &unused_dim)); in __anon6a71d27f0602() 425 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(unused, 0), 4, &unused_dim)); in __anon6a71d27f0802() 590 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(boxes, 2), 4, &unused)); in __anon6a71d27f0f02() 622 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(image_size, 0), 3, &unused)); in __anon6a71d27f1002() 623 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(bounding_boxes, 2), 4, &unused)); in __anon6a71d27f1002() 657 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(image_size, 0), 3, &unused)); in __anon6a71d27f1102() [all …]
|
D | data_flow_ops.cc | 166 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_handle)); in TwoElementVectorInputsAndScalarOutputs() 603 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1202() 625 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1302() 668 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1402() 695 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1502() 722 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(c->input(0), 0), 2, &unused_dim)); in __anon4a7ac08d1602() 757 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(c->input(0), 0), 2, &unused_dim)); in __anon4a7ac08d1702() 785 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1802() 804 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1902() 819 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon4a7ac08d1a02() [all …]
|
D | lookup_ops.cc | 37 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_handle)); in TwoElementVectorInputsAndScalarOutputs() 51 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_handle)); in ScalarAndTwoElementVectorInputsAndScalarOutputs() 81 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811960202() 197 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811960402() 252 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811960702() 294 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811960902() 452 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811960e02() 487 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_dim)); in __anon8a0811961002()
|
D | io_ops.cc | 45 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(handle, 0), 2, &unused_handle)); in TwoElementVectorAndScalarOutputs() 79 c->WithValue(c->Dim(s, 0), c->num_inputs() - 3, &unused_dim)); in __anone43acdb40202() 161 c->WithValue(c->Dim(s, 0), c->num_inputs() - 2, &unused_dim)); in __anone43acdb40502() 185 c->WithValue(c->Dim(s, 0), c->num_inputs() - 3, &unused_dim)); in __anone43acdb40602() 443 c->WithValue(c->Dim(c->input(0), 0), 2, &unused_handle)); in __anone43acdb40b02()
|
D | stateless_random_ops.cc | 30 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(seed, 0), 2, &unused)); in StatelessShape() 84 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(seed, 0), 2, &unused_dim)); in __anon530aab340202()
|
D | set_ops.cc | 121 c->WithValue(input1_rank_dim, input0_rank, &input1_rank_dim)); in __anon967df2c80202() 172 c->WithValue(input1_rank_dim, input0_rank, &input1_rank_dim)); in __anon967df2c80302()
|
D | candidate_sampling_ops.cc | 153 c->WithValue(c->Dim(true_classes, 1), num_true, &unused)); in __anon78463f730202()
|
D | spectral_ops.cc | 85 c->WithValue(c->Dim(fft_length_input, 0), rank, &unused_dim)); in RFFTShape()
|
D | sparse_ops.cc | 162 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(c->input(0), -1), 3, &unused)); in __anona7ffb82a0702() 182 c->WithValue(c->Dim(serialized_sparse, 1), 3, &unused)); in __anona7ffb82a0802()
|
/external/syzkaller/vendor/google.golang.org/grpc/stats/ |
D | stats.go | 228 return context.WithValue(ctx, outgoingTagsKey{}, b) 247 return context.WithValue(ctx, incomingTagsKey{}, b) 270 return context.WithValue(ctx, outgoingTraceKey{}, b) 288 return context.WithValue(ctx, incomingTraceKey{}, b)
|
/external/syzkaller/vendor/google.golang.org/grpc/metadata/ |
D | metadata.go | 142 return context.WithValue(ctx, mdIncomingKey{}, md) 149 return context.WithValue(ctx, mdOutgoingKey{}, rawMD{md: md}) 164 return context.WithValue(ctx, mdOutgoingKey{}, rawMD{md: md.md, added: added})
|
/external/syzkaller/vendor/golang.org/x/net/context/ |
D | go17.go | 70 func WithValue(parent Context, key interface{}, val interface{}) Context { func 71 return context.WithValue(parent, key, val)
|
D | pre_go17.go | 280 func WithValue(parent Context, key interface{}, val interface{}) Context { func
|
/external/syzkaller/vendor/golang.org/x/net/http2/ |
D | go17.go | 23 ctx = context.WithValue(ctx, http.LocalAddrContextKey, c.LocalAddr()) 25 ctx = context.WithValue(ctx, http.ServerContextKey, hs)
|
/external/syzkaller/vendor/golang.org/x/net/trace/ |
D | trace_go17.go | 14 return context.WithValue(ctx, contextKey, tr)
|
D | trace_go16.go | 14 return context.WithValue(ctx, contextKey, tr)
|
/external/syzkaller/vendor/google.golang.org/grpc/peer/ |
D | peer.go | 44 return context.WithValue(ctx, peerKey{}, p)
|
/external/tensorflow/tensorflow/contrib/image/ops/ |
D | image_ops.cc | 36 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(size, 0), 2, &unused)); in SetOutputToSizedImage()
|
/external/tensorflow/tensorflow/core/framework/ |
D | shape_inference_test.cc | 425 TEST_F(ShapeInferenceTest, WithValue) { in TEST_F() argument 435 EXPECT_TRUE(c.WithValue(d1, 1, &out1).ok()); in TEST_F() 438 EXPECT_TRUE(c.WithValue(d1, 2, &out2).ok()); in TEST_F() 443 EXPECT_TRUE(c.WithValue(d1, 1, &out2).ok()); in TEST_F() 451 str_util::StrContains(c.WithValue(d0, 0, &out1).ToString(), in TEST_F() 456 str_util::StrContains(c.WithValue(d0, 2, &out1).ToString(), in TEST_F() 460 EXPECT_TRUE(c.WithValue(d0, 1, &out1).ok()); in TEST_F()
|