Searched defs:copy (Results 1 - 25 of 1014) sorted by relevance

1234567891011>>

/external/libedit/src/
H A Dwcsdup.c9 * 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/python/cpython2/Python/
H A Dstrdup.c9 register char *copy = malloc(strlen(str) + 1); local
10 if (copy != NULL)
11 return strcpy(copy, str);
/external/python/cpython3/Python/
H A Dstrdup.c9 char *copy = malloc(strlen(str) + 1); local
10 if (copy != NULL)
11 return strcpy(copy, str);
/external/tcpdump/missing/
H A Dstrdup.c45 char *copy; local
48 if ((copy = malloc(len)) == NULL)
50 memcpy(copy, str, len);
51 return (copy);
/external/clang/test/CodeGen/
H A D2007-04-24-VolatileStructCopy.c8 void copy(volatile struct foo *p, struct foo *q) { function
/external/perfetto/src/ftrace_reader/
H A Dformat_parser_unittest.cc6 * You may obtain a copy of the License at
119 std::string copy = input; local
120 copy.erase(i, j);
121 ParseFtraceEvent(copy);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DMemoable.java5 * 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/compiler-rt/test/asan/TestCases/
H A Dstrdup_oob_test.cc17 char *copy = strdup(kString); local
18 int x = copy[4 + argc]; // BOOM
/external/deqp/framework/delibs/decpp/
H A DdeMemPool.cpp9 * 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/elfutils/libdwfl/
H A Ddwfl_module_report_build_id.c60 void *copy = NULL; local
63 copy = malloc (len);
64 if (unlikely (copy == NULL))
69 memcpy (copy, bits, len);
74 mod->build_id_bits = copy;
/external/elfutils/libelf/
H A Delf32_getphdr.c133 /* Now copy the data and at the same time convert the
143 bool copy = ! (ALLOW_UNALIGNED local
147 if (! copy)
172 if (copy)
H A Delf32_getshdr.c107 /* Now copy the data and at the same time convert the byte order. */
117 bool copy = ! (ALLOW_UNALIGNED local
121 if (! copy)
167 if (copy)
/external/libcxx/test/std/utilities/tuple/tuple.general/
H A Dignore.pass.cpp28 { // Test that std::ignore provides constexpr copy/move constructors
29 auto copy = std::ignore; local
30 auto moved = std::move(copy);
33 { // Test that std::ignore provides constexpr copy/move assignment
34 auto copy = std::ignore; local
35 copy = std::ignore;
37 moved = std::move(copy);
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
H A Dminicircle.py20 import copy namespace
100 P = copy.deepcopy(P)
101 R = copy.deepcopy(R)
/external/brotli/research/
H A Dread_dist.h5 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
10 a position-distance pair, also a copy length may be specified. Copy length is
13 position-distance pair. Standalone copy length is allowed, in this case it is
28 bool ReadBackwardReference(FILE* fin, int* copy, int* pos, int* dist) { argument
32 CHECK(fread(copy, sizeof(int), 1, fin) == 1);
45 *copy = -1;
/external/clang/test/SemaCXX/
H A Dconstexpr-duffs-device.cpp4 constexpr void copy(const char *from, unsigned long count, char *to) { function
22 copy("Hello, world!", 14, stuff);
/external/compiler-rt/test/BlocksRuntime/
H A Dbyrefstruct.c21 BobTheStruct copy; local
32 memset(&copy, 0x2A, sizeof(copy));
40 copy = fiddly;
43 if ( &copy == &fiddly ) {
48 //printf("[%d]: fiddly.ps: %lu, copy.ps: %lu, fiddly.qs: %d, copy.qs: %d\n", i, fiddly.ps[i], copy.ps[i], fiddly.qs[i], copy.qs[i]);
49 if ( (fiddly.ps[i] != copy
[all...]
/external/conscrypt/libcore-stub/src/main/java/libcore/io/
H A DStreams.java6 * You may obtain a copy of the License at
55 public static int copy(InputStream in, OutputStream out) throws IOException { method in class:Streams
/external/icu/icu4c/source/common/unicode/
H A Durep.h123 * @param dst array in which to copy characters. The length of
144 * @param dest the index at which the copy of the UChars should be
148 void (*copy)(UReplaceable* rep, member in struct:UReplaceableCallbacks
/external/javassist/src/main/javassist/bytecode/
H A DDeprecatedAttribute.java47 * Makes a copy.
49 * @param newCp the constant pool table used by the new copy.
52 public AttributeInfo copy(ConstPool newCp, Map classnames) { method in class:DeprecatedAttribute
H A DSyntheticAttribute.java47 * Makes a copy.
49 * @param newCp the constant pool table used by the new copy.
52 public AttributeInfo copy(ConstPool newCp, Map classnames) { method in class:SyntheticAttribute
/external/python/cpython2/Lib/xml/etree/
H A DElementInclude.py25 # Permission to use, copy, modify, and distribute this software and
51 import copy namespace
115 node = copy.copy(node)
/external/python/cpython3/Lib/xml/etree/
H A DElementInclude.py25 # Permission to use, copy, modify, and distribute this software and
51 import copy namespace
116 node = copy.copy(node)
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowWifiConfiguration.java32 public WifiConfiguration copy(){ method in class:ShadowWifiConfiguration
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowFileUtils.java16 protected static long copy( FileDescriptor in, FileDescriptor out, method in class:ShadowFileUtils
19 // never do the native copy optimization block

Completed in 784 milliseconds

1234567891011>>