HomeSort by relevance Sort by last modified time
    Searched refs:copy (Results 1 - 25 of 9280) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/upstream-openbsd/lib/libc/string/
strndup.c 6 * Permission to use, copy, modify, and distribute this software for any
28 char *copy; local
32 copy = malloc(len + 1);
33 if (copy != NULL) {
34 (void)memcpy(copy, str, len);
35 copy[len] = '\0';
38 return copy;
strdup.c 42 char *copy; local
45 if ((copy = malloc(siz)) == NULL)
47 (void)memcpy(copy, str, siz);
48 return(copy);
  /external/caliper/examples/src/main/java/examples/
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) { method
53 @Override boolean[] copy(boolean[] array) { method
56 @Override byte[] copy(byte[] array) { method
59 @Override char[] copy(char[] array) { method
62 @Override double[] copy(double[] array) { method
65 @Override float[] copy(float[] array) method
68 @Override int[] copy(int[] array) { method
71 @Override long[] copy(long[] array) { method
74 @Override short[] copy(short[] array) { method
79 @Override Object[] copy(Object[] array) { method
82 @Override boolean[] copy(boolean[] array) { method
85 @Override byte[] copy(byte[] array) { method
88 @Override char[] copy(char[] array) { method
91 @Override double[] copy(double[] array) { method
94 @Override float[] copy(float[] array) { method
97 @Override int[] copy(int[] array) { method
100 @Override long[] copy(long[] array) { method
103 @Override short[] copy(short[] array) { method
108 @Override Object[] copy(Object[] array) { method
109 Object[] copy = new Object[array.length]; local
113 @Override boolean[] copy(boolean[] array) { method
118 @Override byte[] copy(byte[] array) { method
123 @Override char[] copy(char[] array) { method
124 char[] copy = new char[array.length]; local
128 @Override double[] copy(double[] array) { method
129 double[] copy = new double[array.length]; local
133 @Override float[] copy(float[] array) { method
134 float[] copy = new float[array.length]; local
138 @Override int[] copy(int[] array) { method
139 int[] copy = new int[array.length]; local
143 @Override long[] copy(long[] array) { method
144 long[] copy = new long[array.length]; local
148 @Override short[] copy(short[] array) { method
149 short[] copy = new short[array.length]; local
155 @Override Object[] copy(Object[] array) { method
157 Object[] copy = new Object[len]; local
163 @Override boolean[] copy(boolean[] array) { method
171 @Override byte[] copy(byte[] array) { method
179 @Override char[] copy(char[] array) { method
181 char[] copy = new char[array.length]; local
187 @Override double[] copy(double[] array) { method
189 double[] copy = new double[array.length]; local
195 @Override float[] copy(float[] array) { method
197 float[] copy = new float[array.length]; local
203 @Override int[] copy(int[] array) { method
205 int[] copy = new int[array.length]; local
211 @Override long[] copy(long[] array) { method
213 long[] copy = new long[array.length]; local
219 @Override short[] copy(short[] array) { method
221 short[] copy = new short[array.length]; local
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/
strdup_oob_test.cc 11 char *copy = strdup(kString); local
12 int x = copy[4 + argc]; // BOOM
  /external/mesa3d/src/mesa/vbo/
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->dstelt_size
599 struct copy_context copy; local
    [all...]
  /external/deqp/framework/delibs/decpp/
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/icu/icu4c/source/i18n/unicode/
fieldpos.h 14 * 07/17/98 stephen Added default/copy ctors, and operators =, ==, !=
136 * Copy constructor
137 * @param copy the object to be copied from.
140 FieldPosition(const FieldPosition& copy)
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);
    [all...]
  /external/tcpdump/missing/
strdup.c 45 char *copy; local
48 if ((copy = malloc(len)) == NULL)
50 memcpy(copy, str, len);
51 return (copy);
  /frameworks/av/include/private/media/
VideoFrame.h 7 ** You may obtain a copy of the License at
36 VideoFrame(const VideoFrame& copy) {
37 mWidth = copy.mWidth;
38 mHeight = copy.mHeight;
39 mDisplayWidth = copy.mDisplayWidth;
40 mDisplayHeight = copy.mDisplayHeight;
41 mSize = copy.mSize;
43 if (mSize > 0 && copy.mData != NULL) {
46 memcpy(mData, copy.mData, mSize);
51 mRotationAngle = copy.mRotationAngle
    [all...]
  /frameworks/compile/mclinker/lib/MC/
Attribute.cpp 109 Attribute* copy = new Attribute(*m_pBase); local
110 copy->setWholeArchive();
111 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
115 Attribute* copy = new Attribute(*m_pBase); local
116 copy->unsetWholeArchive();
117 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
121 Attribute* copy = new Attribute(*m_pBase); local
122 copy->setAsNeeded();
123 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
127 Attribute* copy = new Attribute(*m_pBase) local
133 Attribute* copy = new Attribute(*m_pBase); local
139 Attribute* copy = new Attribute(*m_pBase); local
145 Attribute* copy = new Attribute(*m_pBase); local
151 Attribute* copy = new Attribute(*m_pBase); local
    [all...]
  /external/mesa3d/src/mesa/math/
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, 0x6)
    [all...]
  /external/selinux/libsepol/cil/src/
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_t *symtab)
    [all...]
  /external/icu/icu4c/source/common/unicode/
parsepos.h 71 * Copy constructor
72 * @param copy the object to be copied from.
75 ParsePosition(const ParsePosition& copy)
76 : UObject(copy),
77 index(copy.index),
78 errorIndex(copy.errorIndex)
91 ParsePosition& operator=(const ParsePosition& copy);
183 ParsePosition::operator=(const ParsePosition& copy)
185 index = copy.index;
186 errorIndex = copy.errorIndex
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PendingAddItemInfo.java 6 * You may obtain a copy of the License at
70 // Copy constructor
71 public PendingAddWidgetInfo(PendingAddWidgetInfo copy) {
72 info = copy.info;
73 boundWidget = copy.boundWidget;
74 mimeType = copy.mimeType;
75 configurationData = copy.configurationData;
76 componentName = copy.componentName;
77 itemType = copy.itemType;
78 spanX = copy.spanX
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
LenientSerializableTester.java 6 * You may obtain a copy of the License at
48 Set<E> copy = reserialize(original); local
49 assertEquals(original, copy);
50 assertTrue(copy instanceof ImmutableSet);
51 return copy;
56 Multiset<E> copy = reserialize(original); local
57 assertEquals(original, copy);
58 assertTrue(copy instanceof ImmutableMultiset);
59 return copy;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
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/
explicit-suppression.cpp 13 std::copy(I, E, (int *)0);
  /external/clang/test/CodeGen/
2007-04-24-VolatileStructCopy.c 8 void copy(volatile struct foo *p, struct foo *q) { function
  /external/libedit/src/
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/
bootstrap 11 libtoolize --force --copy
14 automake --include-deps --add-missing --foreign --copy
  /bionic/libc/upstream-freebsd/lib/libc/string/
wcsdup.c 36 wchar_t *copy; local
40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
42 return (wmemcpy(copy, s, len));
  /external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
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);
  /ndk/sources/android/support/src/locale/
duplocale.c 40 locale_t copy = calloc(1, sizeof(*loc)); local
41 copy[0] = loc[0];
42 return copy;
  /device/google/contexthub/util/common/
ring.cpp 6 * You may obtain a copy of the License at
51 size_t copy = mSize - writePos; local
53 if (copy > size) {
54 copy = size;
57 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t));
59 if (size > copy) {
60 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t));
90 size_t copy = mSize - readPos; local
92 if (copy > size)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
WifiConfigurationTest.java 43 WifiConfiguration copy = shadowOf(wifiConfiguration).copy(); local
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.hiddenSSID, equalTo(true))
    [all...]

Completed in 1014 milliseconds

1 2 3 4 5 6 7 8 91011>>