/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/webkit/Source/WebCore/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...] |
/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/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);
|
/external/webkit/Source/WebCore/platform/ |
CrossThreadCopier.cpp | 44 CrossThreadCopierBase<false, false, KURL>::Type CrossThreadCopierBase<false, false, KURL>::copy(const KURL& url) function in class:WebCore::CrossThreadCopierBase 46 return url.copy(); 49 CrossThreadCopierBase<false, false, String>::Type CrossThreadCopierBase<false, false, String>::copy(const String& str) function in class:WebCore::CrossThreadCopierBase 54 CrossThreadCopierBase<false, false, ResourceError>::Type CrossThreadCopierBase<false, false, ResourceError>::copy(const ResourceError& error) function in class:WebCore::CrossThreadCopierBase 56 return error.copy(); 59 CrossThreadCopierBase<false, false, ResourceRequest>::Type CrossThreadCopierBase<false, false, ResourceRequest>::copy(const ResourceRequest& request) function in class:WebCore::CrossThreadCopierBase 64 CrossThreadCopierBase<false, false, ResourceResponse>::Type CrossThreadCopierBase<false, false, ResourceResponse>::copy(const ResourceResponse& response) function in class:WebCore::CrossThreadCopierBase
|
/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...] |
/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/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/clang/test/CodeGen/ |
2007-04-24-VolatileStructCopy.c | 8 void copy(volatile struct foo *p, struct foo *q) { function
|
tbaa-struct.cpp | 11 void copy(struct A *a, struct A *b) { 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));
|
/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...] |
/external/elfutils/tests/ |
run-ranlib-test.sh | 15 # You should have received a copy of the GNU General Public License along 29 tempfiles ranlib-test.a ranlib-test.a-copy 39 cp ranlib-test.a ranlib-test.a-copy 44 cmp ranlib-test.a ranlib-test.a-copy
|
/external/clang/test/Lexer/ |
digraph.c | 10 void copy(char d<::>, const char s<::>, int len)
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
SerializableTester.java | 6 * You may obtain a copy of the License at 95 T copy = reserialize(object); local 97 .addEqualityGroup(object, copy) 99 Assert.assertEquals(object.getClass(), copy.getClass()); 100 return copy;
|
/packages/apps/Email/src/org/apache/commons/io/ |
CopyUtils.java | 7 * the License. You may obtain a copy of the License at
36 * Unless otherwise noted, these <code>copy</code> methods do <em>not</em>
47 * For byte-to-char methods, a <code>copy</code> variant allows the encoding
52 * We don't provide special variants for the <code>copy</code> methods that
56 * The <code>copy</code> methods use an internal buffer when copying. It is
58 * to the <code>copy</code> methods in <code>Buffered*</code> streams. For
61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) );
73 * However, the <code>copy</code> methods do the same thing, keeping an
84 * 1 copy InputStream OutputStream (primitive)
85 * 2 copy Reader Writer (primitive) 136 public static void copy(byte[] input, OutputStream output) method in class:CopyUtils 153 public static void copy(byte[] input, Writer output) method in class:CopyUtils 156 copy(in, output); method 170 public static void copy( method in class:CopyUtils 176 copy(in, output, encoding); method 192 public static int copy( method in class:CopyUtils 217 public static int copy( method in class:CopyUtils 243 public static void copy( method in class:CopyUtils 248 copy(in, output); method 261 public static void copy( method in class:CopyUtils 267 copy(in, output); method 282 public static void copy( method in class:CopyUtils 287 copy(input, out); method 305 public static void copy( method in class:CopyUtils 311 copy(in, out); method 327 public static void copy(String input, Writer output) method in class:CopyUtils [all...] |
/external/icu4c/test/intltest/ |
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.hashCode()") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.operators/ |
eq.pass.cpp | 22 std::locale copy(cloc); 30 assert(cloc == copy); 37 assert(copy == cloc); 38 assert(copy == copy); 39 assert(copy != n1); 40 assert(copy != n2); 41 assert(copy != noname1); 42 assert(copy != nonamec); 43 assert(copy != noname2) [all...] |
/external/chromium/third_party/libevent/ |
autogen.sh | 11 automake --add-missing --copy
|
/external/elfutils/libdwfl/ |
dwfl_module_report_build_id.c | 14 You should have received a copy of the GNU General Public License along 81 void *copy = NULL; local 84 copy = malloc (len); 85 if (unlikely (copy == NULL)) 90 memcpy (copy, bits, len); 95 mod->build_id_bits = copy;
|
/external/mockito/src/org/mockito/internal/creation/settings/ |
CreationSettings.java | 37 public CreationSettings(CreationSettings copy) { 38 this.typeToMock = copy.typeToMock; 39 this.extraInterfaces = copy.extraInterfaces; 40 this.name = copy.name; 41 this.spiedInstance = copy.spiedInstance; 42 this.defaultAnswer = copy.defaultAnswer; 43 this.mockName = copy.mockName; 44 this.serializable = copy.serializable; 45 this.invocationListeners = copy.invocationListeners; 46 this.stubOnly = copy.stubOnly [all...] |
/external/webkit/Source/WebCore/bindings/objc/ |
PublicDOMInterfaces.h | 34 @property(readonly, copy) NSString *name; 36 @property(copy) NSString *value; 45 @property(copy) NSString *data; 88 @property(copy) NSString *title; 89 @property(readonly, copy) NSString *referrer; 90 @property(readonly, copy) NSString *domain; 91 @property(readonly, copy) NSString *URL; 93 @property(copy) NSString *cookie; 94 @property(readonly, copy) NSString *inputEncoding AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER; 95 @property(readonly, copy) NSString *xmlEncoding AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER [all...] |