/bionic/libc/bionic/ |
strndup.c | 34 char* copy; local 38 copy = malloc(n+1); 39 if (copy) { 40 memcpy(copy, s, n); 41 copy[n] = 0; 43 return copy;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGMatrix.h | 14 * You should have received a copy of the GNU Library General Public License 45 AffineTransform copy = *this; local 46 copy.translate(tx, ty); 47 return static_cast<SVGMatrix>(copy); 52 AffineTransform copy = *this; local 53 copy.scale(s, s); 54 return static_cast<SVGMatrix>(copy); 59 AffineTransform copy = *this; local 60 copy.scale(sx, sy); 61 return static_cast<SVGMatrix>(copy); 66 AffineTransform copy = *this; local 73 AffineTransform copy = *this; local 80 AffineTransform copy = *this; local 87 AffineTransform copy = *this; local 94 AffineTransform copy = *this; local 101 AffineTransform copy = *this; local 120 AffineTransform copy = *this; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
xstrdup.c | 48 char *copy; local 51 copy = yasm_xmalloc(len); 52 memcpy(copy, str, len); 53 return (copy); 60 char *copy; local 64 copy = yasm_xmalloc(len+1); 65 memcpy(copy, str, len); 66 copy[len] = '\0'; 67 return (copy);
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
strdup_oob_test.cc | 11 char *copy = strdup(kString); local 12 int x = copy[4 + argc]; // BOOM
|
/external/chromium_org/third_party/mesa/src/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/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...] |
/bionic/libc/string/ |
strdup.c | 42 char *copy; local 45 if ((copy = malloc(siz)) == NULL) 47 (void)memcpy(copy, str, siz); 48 return(copy);
|
/external/chromium_org/third_party/icu/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/icu4c/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 | 50 char *copy; local 53 if ((copy = malloc(len)) == NULL) 55 memcpy(copy, str, len); 56 return (copy);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PendingAddItemInfo.java | 6 * You may obtain a copy of the License at 82 // Copy constructor 83 public PendingAddWidgetInfo(PendingAddWidgetInfo copy) { 84 minWidth = copy.minWidth; 85 minHeight = copy.minHeight; 86 minResizeWidth = copy.minResizeWidth; 87 minResizeHeight = copy.minResizeHeight; 88 previewImage = copy.previewImage; 89 icon = copy.icon; 90 info = copy.info [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PendingAddItemInfo.java | 6 * You may obtain a copy of the License at 82 // Copy constructor 83 public PendingAddWidgetInfo(PendingAddWidgetInfo copy) { 84 minWidth = copy.minWidth; 85 minHeight = copy.minHeight; 86 minResizeWidth = copy.minResizeWidth; 87 minResizeHeight = copy.minResizeHeight; 88 previewImage = copy.previewImage; 89 icon = copy.icon; 90 info = copy.info [all...] |
/frameworks/compile/mclinker/lib/MC/ |
Attribute.cpp | 118 Attribute *copy = new Attribute(*m_pBase); local 119 copy->setWholeArchive(); 120 ReplaceOrRecord(m_AttrPool, m_pBase, copy); 125 Attribute *copy = new Attribute(*m_pBase); local 126 copy->unsetWholeArchive(); 127 ReplaceOrRecord(m_AttrPool, m_pBase, copy); 132 Attribute *copy = new Attribute(*m_pBase); local 133 copy->setAsNeeded(); 134 ReplaceOrRecord(m_AttrPool, m_pBase, copy); 139 Attribute *copy = new Attribute(*m_pBase) local 146 Attribute *copy = new Attribute(*m_pBase); local 153 Attribute *copy = new Attribute(*m_pBase); local 160 Attribute *copy = new Attribute(*m_pBase); local 167 Attribute *copy = new Attribute(*m_pBase); local [all...] |
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/icu/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...] |
/external/icu4c/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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Memoable.java | 6 * Produce a copy of this object with its configuration and in its current state. 11 public Memoable copy(); method in interface:Memoable 18 * @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
|
/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));
|
/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;
|
/frameworks/av/include/private/media/ |
VideoFrame.h | 7 ** You may obtain a copy of the License at 60 MediaAlbumArt(const MediaAlbumArt& copy) { 61 mSize = copy.mSize; 63 if (mSize > 0 && copy.mData != NULL) { 64 mData = new uint8_t[copy.mSize]; 66 memcpy(mData, copy.mData, mSize); 94 VideoFrame(const VideoFrame& copy) { 95 mWidth = copy.mWidth; 96 mHeight = copy.mHeight; 97 mDisplayWidth = copy.mDisplayWidth [all...] |
/external/robolectric/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...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/set/ |
der_encode_set.c | 70 ltc_asn1_list *copy; local 74 /* make copy of list */ 75 copy = XCALLOC(inlen, sizeof(*copy)); 76 if (copy == NULL) { 82 copy[x] = list[x]; 83 copy[x].used = x; 87 XQSORT(copy, inlen, sizeof(*copy), &qsort_helper); 90 err = der_encode_sequence_ex(copy, inlen, out, outlen, LTC_ASN1_SET); [all...] |