Home
last modified time | relevance | path

Searched refs:transformed (Results 1 – 25 of 95) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/collect/
DTransformedSetTest.java71 Set<Integer> transformed = Sets.transform(original, integerBijection); in testSimpleCases() local
73 assertEquals(ImmutableSet.of(0, -1, -2, -3), transformed); in testSimpleCases()
79 assertEquals(ImmutableSet.of(0, -1, -3, -4), transformed); in testSimpleCases()
82 assertTrue(transformed.remove(-1)); in testSimpleCases()
83 assertTrue(transformed.add(-5)); in testSimpleCases()
84 assertEquals(ImmutableSet.of(0, -3, -4, -5), transformed); in testSimpleCases()
88 assertFalse(transformed.remove(-1)); in testSimpleCases()
89 assertFalse(transformed.add(-5)); in testSimpleCases()
92 assertEquals(original.size(), transformed.size()); in testSimpleCases()
94 transformed.clear(); in testSimpleCases()
[all …]
DSortedMapsTest.java70 SortedMap<String, Double> transformed = in testTransformSortedValues() local
73 assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed); in testTransformSortedValues()
85 SortedMap<String, String> transformed = in testTransformSortedEntries() local
88 assertEquals(ImmutableSortedMap.of("a", "a4", "b", "b9"), transformed); in testTransformSortedEntries()
DMultimapsTest.java802 Multimap<String, Integer> transformed = in testTransformValues() local
804 ASSERT.that(transformed.entries()).hasContentsInOrder(immutableEntry("a", 4), in testTransformValues()
813 Multimap<String, Integer> transformed = in testTransformValuesIsView() local
822 ASSERT.that(transformed.entries()).hasContentsInOrder(immutableEntry("a", 3)); in testTransformValuesIsView()
835 ListMultimap<String, Integer> transformed = in testTransformListValues() local
837 ASSERT.that(transformed.entries()).hasContentsInOrder(immutableEntry("a", 4), in testTransformListValues()
853 Multimap<String, String> transformed = in testTransformEntries() local
855 ASSERT.that(transformed.entries()).hasContentsInOrder(immutableEntry("a", "a"), in testTransformEntries()
870 ListMultimap<String, String> transformed = in testTransformListEntries() local
874 transformed); in testTransformListEntries()
[all …]
DMapsTest.java1111 Map<String, Double> transformed = Maps.transformValues(map, sqrt);
1113 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed);
1124 Map<String, Double> transformed = Maps.transformValues(map, sqrt);
1126 assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed);
1127 assertTrue(transformed instanceof SortedMap);
1139 Map<String, String> transformed = Maps.transformEntries(map, concat);
1141 assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed);
1153 Map<String, String> transformed = Maps.transformEntries(map, concat);
1155 assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed);
1156 assertTrue(transformed instanceof SortedMap);
[all …]
/external/stlport/test/unit/
Dcollate_facets_test.cpp60 string transformed[4]; in collate_facet() local
62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
71 sort(transformed, transformed + 4); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
76 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
111 wstring transformed[4]; in collate_facet() local
113 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
122 sort(transformed, transformed + 4); in collate_facet()
[all …]
/external/quake/quake/src/WinQuake/
Dd_part.cpp57 vec3_t local, transformed; in D_DrawParticle() local
66 transformed[0] = DotProduct(local, r_pright); in D_DrawParticle()
67 transformed[1] = DotProduct(local, r_pup); in D_DrawParticle()
68 transformed[2] = DotProduct(local, r_ppn); in D_DrawParticle()
70 if (transformed[2] < PARTICLE_Z_CLIP) in D_DrawParticle()
75 zi = 1.0 / transformed[2]; in D_DrawParticle()
76 u = (int)(xcenter + zi * transformed[0] + 0.5); in D_DrawParticle()
77 v = (int)(ycenter - zi * transformed[1] + 0.5); in D_DrawParticle()
Dr_draw.cpp85 vec3_t local, transformed; in R_EmitEdge() local
104 TransformVector (local, transformed); in R_EmitEdge()
106 if (transformed[2] < NEAR_CLIP) in R_EmitEdge()
107 transformed[2] = NEAR_CLIP; in R_EmitEdge()
109 lzi0 = 1.0 / transformed[2]; in R_EmitEdge()
113 u0 = (xcenter + scale*transformed[0]); in R_EmitEdge()
120 v0 = (ycenter - scale*transformed[1]); in R_EmitEdge()
133 TransformVector (local, transformed); in R_EmitEdge()
135 if (transformed[2] < NEAR_CLIP) in R_EmitEdge()
136 transformed[2] = NEAR_CLIP; in R_EmitEdge()
[all …]
Dr_sprite.cpp141 vec3_t left, up, right, down, transformed, local; in R_SetupAndDrawSprite() local
202 TransformVector (local, transformed); in R_SetupAndDrawSprite()
204 if (transformed[2] < NEAR_CLIP) in R_SetupAndDrawSprite()
205 transformed[2] = NEAR_CLIP; in R_SetupAndDrawSprite()
208 pout->zi = 1.0 / transformed[2]; in R_SetupAndDrawSprite()
216 pout->u = (xcenter + scale * transformed[0]); in R_SetupAndDrawSprite()
219 pout->v = (ycenter - scale * transformed[1]); in R_SetupAndDrawSprite()
Dpr_cmds.cpp139 vec3_t base, transformed; in SetMinMaxSize() local
182 transformed[0] = xvector[0]*base[0] + yvector[0]*base[1]; in SetMinMaxSize()
183 transformed[1] = xvector[1]*base[0] + yvector[1]*base[1]; in SetMinMaxSize()
184 transformed[2] = base[2]; in SetMinMaxSize()
188 if (transformed[l] < rmin[l]) in SetMinMaxSize()
189 rmin[l] = transformed[l]; in SetMinMaxSize()
190 if (transformed[l] > rmax[l]) in SetMinMaxSize()
191 rmax[l] = transformed[l]; in SetMinMaxSize()
/external/quake/quake/src/QW/client/
Dd_part.c57 vec3_t local, transformed; in D_DrawParticle() local
66 transformed[0] = DotProduct(local, r_pright); in D_DrawParticle()
67 transformed[1] = DotProduct(local, r_pup); in D_DrawParticle()
68 transformed[2] = DotProduct(local, r_ppn); in D_DrawParticle()
70 if (transformed[2] < PARTICLE_Z_CLIP) in D_DrawParticle()
75 zi = 1.0 / transformed[2]; in D_DrawParticle()
76 u = (int)(xcenter + zi * transformed[0] + 0.5); in D_DrawParticle()
77 v = (int)(ycenter - zi * transformed[1] + 0.5); in D_DrawParticle()
Dr_draw.c85 vec3_t local, transformed; in R_EmitEdge() local
104 TransformVector (local, transformed); in R_EmitEdge()
106 if (transformed[2] < NEAR_CLIP) in R_EmitEdge()
107 transformed[2] = NEAR_CLIP; in R_EmitEdge()
109 lzi0 = 1.0 / transformed[2]; in R_EmitEdge()
113 u0 = (xcenter + scale*transformed[0]); in R_EmitEdge()
120 v0 = (ycenter - scale*transformed[1]); in R_EmitEdge()
133 TransformVector (local, transformed); in R_EmitEdge()
135 if (transformed[2] < NEAR_CLIP) in R_EmitEdge()
136 transformed[2] = NEAR_CLIP; in R_EmitEdge()
[all …]
Dr_sprite.c141 vec3_t left, up, right, down, transformed, local; in R_SetupAndDrawSprite() local
202 TransformVector (local, transformed); in R_SetupAndDrawSprite()
204 if (transformed[2] < NEAR_CLIP) in R_SetupAndDrawSprite()
205 transformed[2] = NEAR_CLIP; in R_SetupAndDrawSprite()
208 pout->zi = 1.0 / transformed[2]; in R_SetupAndDrawSprite()
216 pout->u = (xcenter + scale * transformed[0]); in R_SetupAndDrawSprite()
219 pout->v = (ycenter - scale * transformed[1]); in R_SetupAndDrawSprite()
/external/clang/tools/libclang/
DARCMigrate.cpp123 CXString *original, CXString *transformed) { in clang_remap_getFilenames() argument
127 if (transformed) in clang_remap_getFilenames()
128 *transformed = cxstring::createDup( in clang_remap_getFilenames()
/external/openssl/crypto/evp/
Devptests.txt61 # For all ECB encrypts and decrypts, the transformed sequence is
78 # For all CBC encrypts and decrypts, the transformed sequence is
96 # For all CFB128 encrypts and decrypts, the transformed sequence is
128 # For all OFB encrypts and decrypts, the transformed sequence is
200 # For all ECB encrypts and decrypts, the transformed sequence is
229 # For all CBC encrypts and decrypts, the transformed sequence is
250 # For all CFB128 encrypts and decrypts, the transformed sequence is
288 # For all OFB encrypts and decrypts, the transformed sequence is
/external/llvm/test/Transforms/ScalarRepl/
Dnonzero-first-index.ll21 ; But, if the offset is out of range, then it should not be transformed.
44 ; ...and again make sure that out-of-range accesses are not transformed.
/external/llvm/test/CodeGen/X86/
Dzext-sext.ll52 %transformed = add i64 %alphaXbetaY, 9040145182981852475
53 store i64 %transformed, i64* %d, align 8
/external/freetype/src/autofit/
Dafloader.h35 FT_Bool transformed; member
Dafloader.c113 loader->transformed = internal->glyph_transformed; in af_loader_load_g()
114 if ( loader->transformed ) in af_loader_load_g()
135 if ( loader->transformed ) in af_loader_load_g()
400 if ( loader->transformed ) in af_loader_load_g()
/external/clang/test/ARCMT/
Dwith-arc-mode-migrate.m.result4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
Dwith-arc-mode-migrate.m4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
Dmigrate.m4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %S/Inputs/test…
Dmigrate-space-in-path.m4 // RUN: c-arcmt-test -mt-migrate-directory %t.migrate | arcmt-test -verify-transformed-files %S/"wi…
Dobjcmt-with-pch.m.result4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
Dobjcmt-with-pch.m4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
Dmigrate-with-pch.m5 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %S/Inputs/test…

1234