/external/caliper/examples/src/main/java/examples/ |
H A D | CopyArrayBenchmark.java | 6 * You may obtain a copy of the License at 27 * Tests each of four ways to copy an array, for all nine array types. 29 * <p>Once upon a time, {@code clone} was much slower than the other array copy techniques, but 35 * at which time all copy methods were equally efficient. 50 @Override Object[] copy(Object[] array) { 53 @Override boolean[] copy(boolean[] array) { 56 @Override byte[] copy(byte[] array) { 59 @Override char[] copy(char[] array) { 62 @Override double[] copy(double[] array) { 65 @Override float[] copy(floa 230 abstract Object[] copy(Object[] array); method in class:CopyArrayBenchmark.Strategy 231 abstract boolean[] copy(boolean[] array); method in class:CopyArrayBenchmark.Strategy 232 abstract byte[] copy(byte[] array); method in class:CopyArrayBenchmark.Strategy 233 abstract char[] copy(char[] array); method in class:CopyArrayBenchmark.Strategy 234 abstract double[] copy(double[] array); method in class:CopyArrayBenchmark.Strategy 235 abstract float[] copy(float[] array); method in class:CopyArrayBenchmark.Strategy 236 abstract int[] copy(int[] array); method in class:CopyArrayBenchmark.Strategy 237 abstract long[] copy(long[] array); method in class:CopyArrayBenchmark.Strategy 238 abstract short[] copy(short[] array); method in class:CopyArrayBenchmark.Strategy [all...] |
/external/compiler-rt/test/asan/TestCases/ |
H A D | strdup_oob_test.cc | 11 char *copy = strdup(kString); local 12 int x = copy[4 + argc]; // BOOM
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_split_copy.c | 9 * copy of this software and associated documentation files (the "Software"), 11 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 117 check_flush( struct copy_context *copy ) 119 GLenum mode = copy->dstprim[copy->dstprim_nr].mode; 122 copy->dstelt_nr & 1) { /* see bug9962 */ 126 if (copy->dstbuf_nr + 4 > copy->dstbuf_size) 129 if (copy->dstelt_nr + 4 > copy 227 begin( struct copy_context *copy, GLenum mode, GLboolean begin_flag ) argument 242 elt(struct copy_context *copy, GLuint elt_idx) argument 308 end( struct copy_context *copy, GLboolean end_flag ) argument 599 struct copy_context copy; local [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | deMemPool.cpp | 9 * You may obtain a copy of the License at 35 char* copy = (char*)pool->alloc(size); local 37 std::copy(string, string+size, copy); 39 return copy;
|
/external/tcpdump/missing/ |
H A D | strdup.c | 45 char *copy; local 48 if ((copy = malloc(len)) == NULL) 50 memcpy(copy, str, len); 51 return (copy);
|
/external/mesa3d/src/mesa/math/ |
H A D | m_copy_tmp.h | 9 * copy of this software and associated documentation files (the "Software"), 11 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 32 static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \ 70 _mesa_copy_tab[0x0] = TAG2(copy, 0x0); 71 _mesa_copy_tab[0x1] = TAG2(copy, 0x1); 72 _mesa_copy_tab[0x2] = TAG2(copy, 0x2); 73 _mesa_copy_tab[0x3] = TAG2(copy, 0x3); 74 _mesa_copy_tab[0x4] = TAG2(copy, 0x4); 75 _mesa_copy_tab[0x5] = TAG2(copy, 0x5); 76 _mesa_copy_tab[0x6] = TAG2(copy, [all...] |
/external/selinux/libsepol/cil/src/ |
H A D | cil_copy_ast.h | 37 void cil_copy_list(struct cil_list *orig, struct cil_list **copy); 40 int cil_copy_block(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 41 int cil_copy_blockabstract(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 42 int cil_copy_blockinherit(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 43 int cil_copy_perm(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 44 int cil_copy_class(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 45 int cil_copy_classorder(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 46 int cil_copy_classmapping(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 47 int cil_copy_permset(struct cil_db *db, void *data, void **copy, symtab_t *symtab); 52 int cil_copy_classpermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_ [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | parsepos.h | 72 * @param copy the object to be copied from. 75 ParsePosition(const ParsePosition& copy) argument 76 : UObject(copy), 77 index(copy.index), 78 errorIndex(copy.errorIndex) 91 ParsePosition& operator=(const ParsePosition& copy); 183 ParsePosition::operator=(const ParsePosition& copy) argument 185 index = copy.index; 186 errorIndex = copy.errorIndex; 191 ParsePosition::operator==(const ParsePosition& copy) cons [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | LenientSerializableTester.java | 6 * You may obtain a copy of the License at 48 Set<E> copy = reserialize(original); 49 assertEquals(original, copy); 50 assertTrue(copy instanceof ImmutableSet); 51 return copy; 56 Multiset<E> copy = reserialize(original); 57 assertEquals(original, copy); 58 assertTrue(copy instanceof ImmutableMultiset); 59 return copy;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Memoable.java | 5 * via the copy() method and then reseting the object back to that state later using the reset() method. 10 * Produce a copy of this object with its configuration and in its current state. 15 Memoable copy(); method in interface:Memoable 22 * @param other an object originally {@link #copy() copied} from an object of the same type as this instance.
|
/external/clang/test/Analysis/diagnostics/ |
H A D | explicit-suppression.cpp | 13 std::copy(I, E, (int *)0);
|
/external/clang/test/CodeGen/ |
H A D | 2007-04-24-VolatileStructCopy.c | 8 void copy(volatile struct foo *p, struct foo *q) { function
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | fieldpos.h | 14 * 07/17/98 stephen Added default/copy ctors, and operators =, ==, != 137 * @param copy the object to be copied from. 140 FieldPosition(const FieldPosition& copy) argument 141 : UObject(copy), fField(copy.fField), fBeginIndex(copy.fBeginIndex), fEndIndex(copy.fEndIndex) {} 151 * @param copy the object to be copied from. 154 FieldPosition& operator=(const FieldPosition& copy); 264 FieldPosition::operator=(const FieldPosition& copy) argument [all...] |
/external/libedit/src/ |
H A D | wcsdup.c | 9 * Permission to use or copy this software for any purpose is hereby granted 29 wchar_t *copy; local 35 copy = malloc(len * sizeof (wchar_t)); 37 if (!copy) 40 return wmemcpy(copy, str, len);
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/ |
H A D | bootstrap | 11 libtoolize --force --copy 14 automake --include-deps --add-missing --foreign --copy
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
H A D | copy.pass.cpp | 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n); 23 assert(std::char_traits<char>::copy(s2, s1, 3) == s2); 27 assert(std::char_traits<char>::copy(NULL, s1, 0) == NULL); 28 assert(std::char_traits<char>::copy(s1, NULL, 0) == s1);
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
H A D | copy.pass.cpp | 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n); 23 assert(std::char_traits<wchar_t>::copy(s2, s1, 3) == s2); 27 assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL); 28 assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/ |
H A D | smooth_gesture_util.py | 4 import copy namespace 22 return copy.copy(interaction_record) 30 return copy.copy(interaction_record)
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | WifiConfigurationTest.java | 43 WifiConfiguration copy = shadowOf(wifiConfiguration).copy(); 45 assertThat(copy.networkId, equalTo(1)); 46 assertThat(copy.SSID, equalTo("SSID")); 47 assertThat(copy.BSSID, equalTo("BSSID")); 48 assertThat(copy.preSharedKey, equalTo("preSharedKey")); 49 assertThat(copy.status, equalTo(666)); 50 assertThat(copy.wepTxKeyIndex, equalTo(777)); 51 assertThat(copy.priority, equalTo(2)); 52 assertThat(copy [all...] |
/external/elfutils/tests/ |
H A D | run-ranlib-test.sh | 16 # You should have received a copy of the GNU General Public License 21 tempfiles ranlib-test.a ranlib-test.a-copy 31 cp ranlib-test.a ranlib-test.a-copy 36 cmp ranlib-test.a ranlib-test.a-copy
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
H A D | copy.pass.cpp | 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n); 24 assert(std::char_traits<char16_t>::copy(s2, s1, 3) == s2); 28 assert(std::char_traits<char16_t>::copy(NULL, s1, 0) == NULL); 29 assert(std::char_traits<char16_t>::copy(s1, NULL, 0) == s1);
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
H A D | copy.pass.cpp | 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n); 24 assert(std::char_traits<char32_t>::copy(s2, s1, 3) == s2); 28 assert(std::char_traits<char32_t>::copy(NULL, s1, 0) == NULL); 29 assert(std::char_traits<char32_t>::copy(s1, NULL, 0) == s1);
|
/external/clang/test/Lexer/ |
H A D | digraph.c | 10 void copy(char d<::>, const char s<::>, int len)
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | SerializableTester.java | 6 * You may obtain a copy of the License at 95 T copy = reserialize(object); 97 .addEqualityGroup(object, copy) 99 Assert.assertEquals(object.getClass(), copy.getClass()); 100 return copy;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tstnrapi.cpp | 31 // test copy constructor 32 Normalizer copy(norm); 33 if(copy.next()!=0xac00) { 38 Normalizer *clone=copy.clone(); 39 if(*clone!=copy) { 40 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()!=copy"); 43 if(clone->hashCode()!=copy.hashCode()) { 44 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->hashCode()!=copy.hashCode()"); 50 if(clone->hashCode()==copy.hashCode()) { 51 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next().hashCode()==copy [all...] |