/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 | 563 .toBuilder() in logClientHeader() 598 base.toBuilder() in logClientHeader() 617 base.toBuilder() in logClientHeader() 618 .setClientHeader(builder.getClientHeader().toBuilder().clearAuthority().build()) in logClientHeader() 635 base.toBuilder() in logClientHeader() 636 .setClientHeader(builder.getClientHeader().toBuilder().clearTimeout().build()) in logClientHeader() 667 .toBuilder() in logServerHeader() 726 .toBuilder() in logTrailer() 759 base.toBuilder() in logTrailer() 775 base.toBuilder() in logTrailer() [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()
|
/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()
|
/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/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | ConfigurationTest.java | 244 Configuration.unix().toBuilder() in testToBuilder() 282 Configuration.unix().toBuilder().setWorkingDirectory("foo/bar"); in testSettingWorkingDirectoryWithRelativePath() 288 Configuration.windows().toBuilder().setWorkingDirectory("foo\\bar"); in testSettingWorkingDirectoryWithRelativePath() 320 Configuration.unix().toBuilder().setDefaultAttributeValue("foo", 1); in testSetDefaultAttributeValue_illegalAttributeFormat() 330 Configuration.windows().toBuilder() in testCreateFileSystemFromConfigurationWithWorkingDirectoryNotUnderConfiguredRoot() 355 Configuration.unix().toBuilder() in testFileSystemWithCustomWatchServicePollingInterval()
|
/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/auto/value/src/main/java/com/google/auto/value/processor/ |
D | PropertyBuilderClassifier.java | 277 ExecutableElement toBuilder = barNoArgMethods.get("toBuilder"); in makePropertyBuilder() local 278 if (toBuilder != null in makePropertyBuilder() 279 && !toBuilder.getModifiers().contains(Modifier.STATIC) in makePropertyBuilder() 281 typeUtils.erasure(toBuilder.getReturnType()), in makePropertyBuilder() 283 builtToBuilder = toBuilder.getSimpleName().toString(); in makePropertyBuilder()
|
/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/javapoet/src/main/java/com/squareup/javapoet/ |
D | ParameterSpec.java | 126 public Builder toBuilder() { in toBuilder() method in ParameterSpec 127 return toBuilder(type, name); in toBuilder() 130 Builder toBuilder(TypeName type, String name) { in toBuilder() method in ParameterSpec
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
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() 432 return Optional.of(key.toBuilder().type(extractKeyType(optionalValueType)).build()); 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/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/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/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B124394008.input | 6 .orElse(LocalReviewProto.getDefaultInstance()).toBuilder();
|
D | B124394008.output | 8 .toBuilder();
|
D | B26928842.output | 4 curr.getData().toBuilder()
|
D | B26928842.input | 3 curr.setData(curr.getData().toBuilder()
|