/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | TracestateTest.java | 41 private final Tracestate firstTracestate = EMPTY.toBuilder().set(FIRST_KEY, FIRST_VALUE).build(); 43 EMPTY.toBuilder().set(SECOND_KEY, SECOND_VALUE).build(); 45 EMPTY.toBuilder().set(FIRST_KEY, FIRST_VALUE).set(SECOND_KEY, SECOND_VALUE).build(); 68 EMPTY.toBuilder().set(null, FIRST_VALUE).build(); in disallowsNullKey() 74 EMPTY.toBuilder().set("1_key", FIRST_VALUE).build(); in invalidFirstKeyCharacter() 80 EMPTY.toBuilder().set("kEy_1", FIRST_VALUE).build(); in invalidKeyCharacters() 89 EMPTY.toBuilder().set(longKey, FIRST_VALUE).build(); in invalidKeySize() 106 assertThat(EMPTY.toBuilder().set(allowedKey, FIRST_VALUE).build().get(allowedKey)) in allAllowedKeyCharacters() 113 EMPTY.toBuilder().set(FIRST_KEY, null).build(); in disallowsNullValue() 119 EMPTY.toBuilder().set(FIRST_KEY, "my_vakue=5").build(); in valueCannotContainEqual() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/ |
D | TraceParamsTest.java | 41 TraceParams.DEFAULT.toBuilder().setSampler(null).build(); in updateTraceParams_NullSampler() 46 TraceParams.DEFAULT.toBuilder().setMaxNumberOfAttributes(0).build(); in updateTraceParams_NonPositiveMaxNumberOfAttributes() 51 TraceParams.DEFAULT.toBuilder().setMaxNumberOfAnnotations(0).build(); in updateTraceParams_NonPositiveMaxNumberOfAnnotations() 56 TraceParams.DEFAULT.toBuilder().setMaxNumberOfNetworkEvents(0).build(); in updateTraceParams_NonPositiveMaxNumberOfNetworkEvents() 61 TraceParams.DEFAULT.toBuilder().setMaxNumberOfMessageEvents(0).build(); in updateTraceParams_NonPositiveMaxNumberOfMessageEvents() 66 TraceParams.DEFAULT.toBuilder().setMaxNumberOfLinks(0).build(); in updateTraceParams_NonPositiveMaxNumberOfLinks() 73 .toBuilder() in updateTraceParams_All() 92 TraceParams.DEFAULT.toBuilder().setMaxNumberOfNetworkEvents(10).build(); in updateTraceParams_maxNumberOfNetworkEvents()
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | ChannelzProtoUtilTest.java | 414 socket.socketOptions = toBuilder(socket.socketOptions) in extractSocketData() 420 .toBuilder() in extractSocketData() 431 .toBuilder() in toSocketData() 540 server.serverStats = toBuilder(server.serverStats) in toServer() 545 .toBuilder() in toServer() 553 server.serverStats = toBuilder(server.serverStats) in toServer() 559 .toBuilder() in toServer() 575 channel.stats = toBuilder(channel.stats) in toChannel() 581 .toBuilder() in toChannel() 587 channel.stats = toBuilder(channel.stats) in toChannel() [all …]
|
D | BinlogHelperTest.java | 559 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logSendInitialMetadata_server() 577 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logSendInitialMetadata_client() 594 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logSendInitialMetadata_client() 617 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logRecvInitialMetadata_server() 636 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logRecvInitialMetadata_server() 660 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logRecvInitialMetadata_client() 673 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logTrailingMetadata_server() 691 metadataToProtoTestHelper(detailedStatus, 10).toBuilder() in logTrailingMetadata_server() 706 metadataToProtoTestHelper(nonEmptyMetadata, 10).toBuilder() in logTrailingMetadata_client() 724 metadataToProtoTestHelper(detailedStatus, 10).toBuilder() in logTrailingMetadata_client() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/ |
D | TagContextImplTest.java | 75 assertThat(((TagContextImpl) tagger.toBuilder(tags).put(K2, V2).build()).getTags()) in put_newKey() 82 assertThat(((TagContextImpl) tagger.toBuilder(tags).put(K1, V2).build()).getTags()) in put_existingKey() 89 TagContextBuilder builder = tagger.toBuilder(tags); in put_nullKey() 98 TagContextBuilder builder = tagger.toBuilder(tags); in put_nullValue() 107 assertThat(((TagContextImpl) tagger.toBuilder(tags).remove(K1).build()).getTags()) in remove_existingKey() 114 assertThat(((TagContextImpl) tagger.toBuilder(tags).remove(K2).build()).getTags()) in remove_differentKey() 121 TagContextBuilder builder = tagger.toBuilder(tags); in remove_nullKey()
|
D | TaggerImplTest.java | 157 TagContext newTagContext = tagger.toBuilder(unknownTagContext).build(); in toBuilder_ConvertUnknownTagContextToTagContextImpl() 167 TagContext newTagContext = tagger.toBuilder(tagContextWithDuplicateTags).build(); in toBuilder_RemoveDuplicatesFromUnknownTagContext() 174 TagContext newTagContext = tagger.toBuilder(tagContextWithNullTag).build(); in toBuilder_SkipNullTag() 181 assertThat(tagger.toBuilder(new SimpleTagContext(TAG1))) in toBuilder_TaggingDisabled() 189 assertThat(tagger.toBuilder(tags)).isSameAs(NoopTagContextBuilder.INSTANCE); in toBuilder_TaggingReenabled() 191 TagContextBuilder builder = tagger.toBuilder(tags); in toBuilder_TaggingReenabled()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | MethodDescriptorTest.java | 68 descriptor.toBuilder().setIdempotent(true).build(); in idempotent() 86 MethodDescriptor<String, String> newDescriptor = descriptor.toBuilder().setSafe(true).build(); in safe() 103 MethodDescriptor<String, String> unused = descriptor.toBuilder().setSafe(true).build(); in safeAndNonUnary() 117 MethodDescriptor<String, String> md2 = md1.toBuilder() in sampledToLocalTracing() 131 MethodDescriptor<String, String> md4 = md3.toBuilder() in sampledToLocalTracing() 164 MethodDescriptor<Integer, Integer> md2 = md1.toBuilder( in toBuilderTest()
|
D | AttributesTest.java | 52 public void toBuilder() { in toBuilder() method in AttributesTest 56 .toBuilder() in toBuilder()
|
D | ServerServiceDefinitionTest.java | 42 method1.toBuilder().setIdempotent(true).build(); 43 private MethodDescriptor<String, Integer> method2 = method1.toBuilder()
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LazyStringEndToEndTest.java | 99 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 105 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 106 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LazyStringEndToEndTest.java | 116 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 122 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 123 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
|
D | MapLiteTest.java | 155 mapBuilder = map.toBuilder(); in testUpdateMapValues() 308 builder = message.toBuilder(); in testGettersAndSetters() 313 builder = message.toBuilder(); in testGettersAndSetters() 318 builder = message.toBuilder(); in testGettersAndSetters() 415 builder = message.toBuilder(); in testSerializeAndParse() 422 builder = message.toBuilder(); in testSerializeAndParse() 541 builder = message.toBuilder(); in testUnknownEnumValues() 625 builder = message.toBuilder().putInt32ToInt32Field(4, 44); in testCount()
|
D | MapForProto2LiteTest.java | 148 mapBuilder = map.toBuilder(); in testUpdateMapValues() 296 builder = message.toBuilder(); in testGettersAndSetters() 301 builder = message.toBuilder(); in testGettersAndSetters() 306 builder = message.toBuilder(); in testGettersAndSetters() 371 builder = message.toBuilder(); in testSerializeAndParse() 378 builder = message.toBuilder(); in testSerializeAndParse() 571 builder = message.toBuilder().putInt32ToInt32Field(4, 44); in testCount()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_methods_MethodUsage.txt | 14 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type).build() ==> com.github.javap… 15 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type) ==> com.github.javaparser.sy… 16 …5) typeParametersMap.toBuilder() ==> com.github.javaparser.symbolsolver.model.typesystem.parametri…
|
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/ |
D | AttributesBenchmark.java | 50 withValue = withValue.toBuilder().set(keys[i], "yes").build(); in setUp() 66 attr = attr.toBuilder().set(keys[i], new Object()).build(); in chain()
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ParameterSpec.java | 110 public Builder toBuilder() { in toBuilder() method in ParameterSpec 111 return toBuilder(type, name); in toBuilder() 114 Builder toBuilder(TypeName type, String name) { in toBuilder() method in ParameterSpec
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | LazyFieldLite.java | 287 setValue(this.value.toBuilder().mergeFrom(other.value).build()); in merge() 323 setValue(value.toBuilder().mergeFrom(input, extensionRegistry).build()); in mergeFrom() 333 return value.toBuilder().mergeFrom(otherBytes, extensionRegistry).build(); in mergeValueAndBytes()
|
D | UnknownFieldSetSchema.java | 105 return ((GeneratedMessageV3) message).unknownFields.toBuilder(); in getBuilderFromMessage() 120 return message.toBuilder().mergeFrom(other).build(); in merge()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | KeyFactory.java | 183 : key.toBuilder() in forBindingMethod() 330 return key.toBuilder() in unwrapMapValueType() 375 possibleMapKey.toBuilder().type(mapOf(mapType.keyType(), wrappedValueType)).build()); in rewrapMapKey() 400 possibleMapKey.toBuilder().type(mapOf(mapType.keyType(), wrappedValueType)).build()); in wrapMapKey() 415 key.toBuilder().type(setOf(setType.unwrappedElementType(wrappingClass))).build()); in unwrapSetKey() 433 key.toBuilder() in unwrapOptional()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/ |
D | TaggerImpl.java | 65 : toBuilder(CurrentTagContextUtils.getCurrentTagContext()); in currentBuilder() 69 public TagContextBuilder toBuilder(TagContext tags) { in toBuilder() method in TaggerImpl
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskTreeTest.java | 289 NestedTestAllTypes clearedSource = source.toBuilder().clearPayload().build(); in testMergeImpl() 320 builder = source.toBuilder(); in testMergeImpl() 323 builder = source.toBuilder(); in testMergeImpl() 331 builder = source.toBuilder(); in testMergeImpl()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | MethodDescriptor.java | 425 public Builder<ReqT, RespT> toBuilder() { in toBuilder() method in MethodDescriptor 426 return toBuilder(requestMarshaller, responseMarshaller); in toBuilder() 435 public <NewReqT, NewRespT> Builder<NewReqT, NewRespT> toBuilder( in toBuilder() method in MethodDescriptor
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
D | Tagger.java | 65 public abstract TagContextBuilder toBuilder(TagContext tags); in toBuilder() method in Tagger
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | HedgingPolicyTest.java | 67 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getHedgingPolicies() 139 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getRetryPolicies_hedgingDisabled()
|
/external/opencensus-java/api/src/test/java/io/opencensus/tags/ |
D | NoopTagsTest.java | 94 assertThat(noopTagger.toBuilder(TAG_CONTEXT)).isSameAs(NoopTags.getNoopTagContextBuilder()); in noopTagger() 103 noopTagger.toBuilder(null); in noopTagger_ToBuilder_DisallowsNull()
|