/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/python/cpython2/Python/ |
H A D | strdup.c | 9 register char *copy = malloc(strlen(str) + 1); local 10 if (copy != NULL) 11 return strcpy(copy, str);
|
/external/python/cpython3/Python/ |
H A D | strdup.c | 9 char *copy = malloc(strlen(str) + 1); local 10 if (copy != NULL) 11 return strcpy(copy, str);
|
/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/clang/test/CodeGen/ |
H A D | 2007-04-24-VolatileStructCopy.c | 8 void copy(volatile struct foo *p, struct foo *q) { function
|
/external/perfetto/src/ftrace_reader/ |
H A D | format_parser_unittest.cc | 6 * 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 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/compiler-rt/test/asan/TestCases/ |
H A D | strdup_oob_test.cc | 17 char *copy = strdup(kString); local 18 int x = copy[4 + argc]; // BOOM
|
/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/elfutils/libdwfl/ |
H A D | dwfl_module_report_build_id.c | 60 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 D | elf32_getphdr.c | 133 /* 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 D | elf32_getshdr.c | 107 /* 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 D | ignore.pass.cpp | 28 { // 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 D | minicircle.py | 20 import copy namespace 100 P = copy.deepcopy(P) 101 R = copy.deepcopy(R)
|
/external/brotli/research/ |
H A D | read_dist.h | 5 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 D | constexpr-duffs-device.cpp | 4 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 D | byrefstruct.c | 21 BobTheStruct copy; local 32 memset(©, 0x2A, sizeof(copy)); 40 copy = fiddly; 43 if ( © == &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 D | Streams.java | 6 * 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 D | urep.h | 123 * @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 D | DeprecatedAttribute.java | 47 * 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 D | SyntheticAttribute.java | 47 * 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 D | ElementInclude.py | 25 # 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 D | ElementInclude.py | 25 # 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 D | ShadowWifiConfiguration.java | 32 public WifiConfiguration copy(){ method in class:ShadowWifiConfiguration
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowFileUtils.java | 16 protected static long copy( FileDescriptor in, FileDescriptor out, method in class:ShadowFileUtils 19 // never do the native copy optimization block
|