Home
last modified time | relevance | path

Searched refs:mutations (Results 1 – 25 of 40) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DDefaultContentMetadataTest.java60 ContentMetadataMutations mutations = new ContentMetadataMutations(); in emptyMutationDoesNotFail() local
61 DefaultContentMetadata.EMPTY.copyWithMutationsApplied(mutations); in emptyMutationDoesNotFail()
66 ContentMetadataMutations mutations = new ContentMetadataMutations(); in addNewMetadata() local
67 mutations.set("metadata name", "value"); in addNewMetadata()
68 contentMetadata = contentMetadata.copyWithMutationsApplied(mutations); in addNewMetadata()
74 ContentMetadataMutations mutations = new ContentMetadataMutations(); in addNewIntMetadata() local
75 mutations.set("metadata name", 5); in addNewIntMetadata()
76 contentMetadata = contentMetadata.copyWithMutationsApplied(mutations); in addNewIntMetadata()
82 ContentMetadataMutations mutations = new ContentMetadataMutations(); in addNewByteArrayMetadata() local
84 mutations.set("metadata name", value); in addNewByteArrayMetadata()
[all …]
DSimpleCacheTest.java142 ContentMetadataMutations mutations = new ContentMetadataMutations(); in setGetContentMetadata() local
143 ContentMetadataMutations.setContentLength(mutations, 15); in setGetContentMetadata()
144 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in setGetContentMetadata()
151 mutations = new ContentMetadataMutations(); in setGetContentMetadata()
152 ContentMetadataMutations.setContentLength(mutations, 150); in setGetContentMetadata()
153 simpleCache.applyContentMetadataMutations(KEY_1, mutations); in setGetContentMetadata()
DCacheUtilTest.java83 ContentMetadataMutations mutations = new ContentMetadataMutations(); in getContentMetadata() local
84 ContentMetadataMutations.setContentLength(mutations, contentLength); in getContentMetadata()
85 return metadata.copyWithMutationsApplied(mutations); in getContentMetadata()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DContentMetadataMutations.java45 ContentMetadataMutations mutations, long length) { in setContentLength() argument
46 return mutations.set(ContentMetadata.KEY_CONTENT_LENGTH, length); in setContentLength()
58 ContentMetadataMutations mutations, @Nullable Uri uri) { in setRedirectedUri() argument
60 return mutations.remove(ContentMetadata.KEY_REDIRECTED_URI); in setRedirectedUri()
62 return mutations.set(ContentMetadata.KEY_REDIRECTED_URI, uri.toString()); in setRedirectedUri()
DDefaultContentMetadata.java54 public DefaultContentMetadata copyWithMutationsApplied(ContentMetadataMutations mutations) { in copyWithMutationsApplied() argument
55 Map<String, byte[]> mutatedMetadata = applyMutations(metadata, mutations); in copyWithMutationsApplied()
142 Map<String, byte[]> otherMetadata, ContentMetadataMutations mutations) { in applyMutations() argument
144 removeValues(metadata, mutations.getRemovedValues()); in applyMutations()
145 addValues(metadata, mutations.getEditedValues()); in applyMutations()
DCacheDataSource.java760 ContentMetadataMutations mutations = new ContentMetadataMutations(); in openNextSource() local
763 ContentMetadataMutations.setContentLength(mutations, readPosition + bytesRemaining); in openNextSource()
768 ContentMetadataMutations.setRedirectedUri(mutations, isRedirected ? actualUri : null); in openNextSource()
771 cache.applyContentMetadataMutations(key, mutations); in openNextSource()
778 ContentMetadataMutations mutations = new ContentMetadataMutations(); in setNoBytesRemainingAndMaybeStoreLength() local
779 ContentMetadataMutations.setContentLength(mutations, readPosition); in setNoBytesRemainingAndMaybeStoreLength()
780 cache.applyContentMetadataMutations(requestDataSpec.key, mutations); in setNoBytesRemainingAndMaybeStoreLength()
DCachedContent.java67 public boolean applyMetadataMutations(ContentMetadataMutations mutations) { in applyMetadataMutations() argument
69 metadata = metadata.copyWithMutationsApplied(mutations); in applyMetadataMutations()
DCachedContentIndex.java308 public void applyContentMetadataMutations(String key, ContentMetadataMutations mutations) { in applyContentMetadataMutations() argument
310 if (cachedContent.applyMetadataMutations(mutations)) { in applyContentMetadataMutations()
704 ContentMetadataMutations mutations = new ContentMetadataMutations(); in readCachedContent() local
705 ContentMetadataMutations.setContentLength(mutations, length); in readCachedContent()
706 metadata = DefaultContentMetadata.EMPTY.copyWithMutationsApplied(mutations); in readCachedContent()
DCache.java276 void applyContentMetadataMutations(String key, ContentMetadataMutations mutations) in applyContentMetadataMutations() argument
DSimpleCache.java495 String key, ContentMetadataMutations mutations) throws CacheException { in applyContentMetadataMutations() argument
499 contentIndex.applyContentMetadataMutations(key, mutations); in applyContentMetadataMutations()
/external/libprotobuf-mutator/src/
Dmutator.cc680 MutationBitset mutations; in MutateImpl() local
682 mutations[static_cast<size_t>(Mutation::Copy)] = true; in MutateImpl()
683 mutations[static_cast<size_t>(Mutation::Clone)] = true; in MutateImpl()
685 mutations[static_cast<size_t>(Mutation::Delete)] = true; in MutateImpl()
687 mutations.set(); in MutateImpl()
688 mutations[static_cast<size_t>(Mutation::Copy)] = false; in MutateImpl()
689 mutations[static_cast<size_t>(Mutation::Clone)] = false; in MutateImpl()
691 while (mutations.any()) { in MutateImpl()
692 MutationSampler mutation(keep_initialized_, mutations, &random_); in MutateImpl()
734 mutations[static_cast<size_t>(mutation.mutation())] = false; in MutateImpl()
Dmutator_test.cc702 std::set<std::string> mutations; in TYPED_TEST() local
706 mutations.insert(str); in TYPED_TEST()
711 EXPECT_EQ(3u * 5u, mutations.size()); in TYPED_TEST()
714 EXPECT_EQ(2u * 4u, mutations.size()); in TYPED_TEST()
/external/llvm/test/Transforms/ObjCARC/
Dnested.ll48 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
62 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
113 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
127 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
178 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
192 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
243 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
257 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
309 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
323 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ObjCARC/
Dnested.ll48 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
62 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
113 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
127 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
178 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
192 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
243 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
257 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
309 %forcoll.initial-mutations = load i64, i64* %mutationsptr, align 8
323 %2 = icmp eq i64 %statemutations, %forcoll.initial-mutations
[all …]
/external/clang/utils/
Dmodfuzz.py94 for d in mutations(model):
132 def mutations(model): function
/external/libprotobuf-mutator/
DREADME.md53 The `ProtobufMutator` class implements mutations of the protobuf
54 tree structure and mutations of individual fields.
65 // Optionally redefine the Mutate* methods to perform more sophisticated mutations.
/external/guava/android/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java276 int mutations = 0;
280 mutations++;
283 assertEquals(3, mutations);
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java276 int mutations = 0;
280 mutations++;
283 assertEquals(3, mutations);
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DFuzzingLLVM.rst163 The inputs for a fuzz target are generated via random mutations of a
165 mutations that a fuzzer in LLVM might want.
174 mutations. This type of fuzzer is good for stressing the surface layers of a
190 use this to work with a subset of the C++ language and perform mutations that
/external/grpc-grpc/src/objective-c/RxLibrary/private/
DGRXNSFastEnumerator.m36 // thrown when that happens. So we check for mutations.
/external/flatbuffers/tests/fuzzer/
Dreadme.md6 the fuzzer then tracks which areas of the code are reached, and generates mutations on the corpus o…
/external/llvm/lib/Fuzzer/
DFuzzerFlags.def22 "Apply this number of consecutive mutations to each input.")
/external/grpc-grpc/doc/
Denvironment_variables.md56 - http2_stream_state - traces all http2 stream state mutations.
/external/antlr/runtime/ObjC/Framework/
DAMutableDictionary.m207 …// We are not tracking mutations, so we'll set state->mutationsPtr to point into one of our extra …
/external/libchrome/base/containers/
DREADME.md216 constant operations at the ends, and linear mutations in the middle.
240 not stable across mutations.

12