HomeSort by relevance Sort by last modified time
    Searched refs:copy (Results 26 - 50 of 11972) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/tuple/tuple.general/
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);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
CellAndSpan.java 31 public void copyFrom(CellAndSpan copy) {
32 cellX = copy.cellX;
33 cellY = copy.cellY;
34 spanX = copy.spanX;
35 spanY = copy.spanY;
  /prebuilts/go/darwin-x86/test/
copy1.go 7 // Verify that copy arguments requirements are enforced by the
17 _ = copy() // ERROR "missing arguments"
18 _ = copy(1, 2, 3) // ERROR "too many arguments"
20 _ = copy(si, "hi") // ERROR "have different element types.*int.*string"
21 _ = copy(si, sf) // ERROR "have different element types.*int.*float64"
23 _ = copy(1, 2) // ERROR "must be slices; have int, int"
24 _ = copy(1, si) // ERROR "first argument to copy should be"
25 _ = copy(si, 2) // ERROR "second argument to copy should be
    [all...]
  /prebuilts/go/linux-x86/test/
copy1.go 7 // Verify that copy arguments requirements are enforced by the
17 _ = copy() // ERROR "missing arguments"
18 _ = copy(1, 2, 3) // ERROR "too many arguments"
20 _ = copy(si, "hi") // ERROR "have different element types.*int.*string"
21 _ = copy(si, sf) // ERROR "have different element types.*int.*float64"
23 _ = copy(1, 2) // ERROR "must be slices; have int, int"
24 _ = copy(1, si) // ERROR "first argument to copy should be"
25 _ = copy(si, 2) // ERROR "second argument to copy should be
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.general/
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);
  /tools/tradefederation/core/tests/src/com/android/tradefed/build/
KernelBuildInfoTest.java 6 * You may obtain a copy of the License at
51 IKernelBuildInfo copy = (KernelBuildInfo) mBuildInfo.clone(); local
54 assertEquals(mBuildInfo.getBuildBranch(), copy.getBuildBranch());
55 assertEquals(mBuildInfo.getBuildFlavor(), copy.getBuildFlavor());
56 assertEquals(mBuildInfo.getBuildId(), copy.getBuildId());
57 assertEquals(mBuildInfo.getBuildTargetName(), copy.getBuildTargetName());
58 assertEquals(mBuildInfo.getCommitTime(), copy.getCommitTime());
59 assertEquals(mBuildInfo.getShortSha1(), copy.getShortSha1());
60 assertEquals(mBuildInfo.getTestTag(), copy.getTestTag());
62 assertFalse(mKernelFile.getAbsolutePath().equals(copy.getKernelFile()))
    [all...]
KernelDeviceBuildInfoTest.java 6 * You may obtain a copy of the License at
64 KernelDeviceBuildInfo copy = (KernelDeviceBuildInfo) mBuildInfo.clone(); local
67 assertEquals(mBuildInfo.getBuildBranch(), copy.getBuildBranch());
68 assertEquals(mBuildInfo.getBuildFlavor(), copy.getBuildFlavor());
69 assertEquals(mBuildInfo.getBuildId(), copy.getBuildId());
70 assertEquals(mBuildInfo.getBuildTargetName(), copy.getBuildTargetName());
71 assertEquals(mBuildInfo.getCommitTime(), copy.getCommitTime());
72 assertEquals(mBuildInfo.getShortSha1(), copy.getShortSha1());
73 assertEquals(mBuildInfo.getTestTag(), copy.getTestTag());
75 assertFalse(mDeviceFile.getAbsolutePath().equals(copy.getDeviceImageFile()))
    [all...]
DeviceBuildInfoTest.java 6 * You may obtain a copy of the License at
68 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); local
70 // ensure a copy of mImageFile was created
71 assertEquals(VERSION, copy.getBasebandVersion());
75 .equals(copy.getBasebandImageFile().getAbsolutePath()));
76 assertTrue(FileUtil.compareFileContents(mImageFile, copy.getBasebandImageFile()));
78 if (copy.getBasebandImageFile() != null) {
79 copy.getBasebandImageFile().delete();
81 copy.cleanUp();
95 * When the {@link BuildInfoProperties} for no sharding copy is set, the tests dir will not b
101 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); local
    [all...]
  /external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DefaultInterfaceWithBridges.java 5 // You may obtain a copy of the License at
21 default T copy(T t) { method in interface:GenericInterfaceWithDefaultMethod
33 default Integer copy(Integer t) { method in interface:InterfaceWithDefaultAndBridgeMethods
34 return GenericInterfaceWithDefaultMethod.super.copy(t);
50 public Integer copy(Integer i) { method in class:DefaultInterfaceWithBridges
51 return c.copy(i);
63 public Number copy(Number n) { method in class:DefaultInterfaceWithBridges
64 return ((GenericInterfaceWithDefaultMethod) c).copy(n);
  /hardware/libhardware/modules/sensors/dynamic_sensor/
RingBuffer.cpp 6 * You may obtain a copy of the License at
47 size_t copy = mSize - writePos; local
49 if (copy > size) {
50 copy = size;
53 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t));
55 if (size > copy) {
56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t));
86 size_t copy = mSize - readPos; local
88 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...]
  /frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
FieldBundleTest.java 6 * You may obtain a copy of the License at
31 FieldBundle copy = new FieldBundle("foo", "foo", "text", false); local
32 assertThat(bundle.isSchemaEqual(copy), is(true));
38 FieldBundle copy = new FieldBundle("foo", "foo", "text", true); local
39 assertThat(bundle.isSchemaEqual(copy), is(false));
45 FieldBundle copy = new FieldBundle("foo", "foo2", "text", true); local
46 assertThat(bundle.isSchemaEqual(copy), is(false));
52 FieldBundle copy = new FieldBundle("foo", "foo2", "int", false); local
53 assertThat(bundle.isSchemaEqual(copy), is(false));
59 FieldBundle copy = new FieldBundle("foo>bar", "foo", "text", false) local
    [all...]
  /external/elfutils/tests/
run-ranlib-test.sh 16 # You should have received a copy of the GNU General Public License
21 tempfiles ranlib-test.a ranlib-test.a-copy
31 cp ranlib-test.a ranlib-test.a-copy
36 cmp ranlib-test.a ranlib-test.a-copy
  /tools/tradefederation/contrib/src/com/android/tradefed/build/
TestzipBuildInfo.java 6 * You may obtain a copy of the License at
76 AppBuildInfo copy = new AppBuildInfo(getBuildId(), getBuildTargetName()); local
77 copy.addAllBuildAttributes(this);
79 copy.addAllFiles(this);
83 copy.setBuildBranch(getBuildBranch());
84 copy.setBuildFlavor(getBuildFlavor());
86 return copy;
  /external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
24 assert(std::char_traits<char16_t>::copy(s2, s1, 3) == s2);
28 assert(std::char_traits<char16_t>::copy(NULL, s1, 0) == NULL);
29 assert(std::char_traits<char16_t>::copy(s1, NULL, 0) == s1);
  /external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
24 assert(std::char_traits<char32_t>::copy(s2, s1, 3) == s2);
28 assert(std::char_traits<char32_t>::copy(NULL, s1, 0) == NULL);
29 assert(std::char_traits<char32_t>::copy(s1, NULL, 0) == s1);
  /external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
23 assert(std::char_traits<wchar_t>::copy(s2, s1, 3) == s2);
27 assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL);
28 assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
24 assert(std::char_traits<char16_t>::copy(s2, s1, 3) == s2);
28 assert(std::char_traits<char16_t>::copy(NULL, s1, 0) == NULL);
29 assert(std::char_traits<char16_t>::copy(s1, NULL, 0) == s1);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
24 assert(std::char_traits<char32_t>::copy(s2, s1, 3) == s2);
28 assert(std::char_traits<char32_t>::copy(NULL, s1, 0) == NULL);
29 assert(std::char_traits<char32_t>::copy(s1, NULL, 0) == s1);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
copy.pass.cpp 14 // static char_type* copy(char_type* s1, const char_type* s2, size_t n);
23 assert(std::char_traits<wchar_t>::copy(s2, s1, 3) == s2);
27 assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL);
28 assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
  /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/UnifiedEmail/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
137 public static void copy(byte[] input, OutputStream output) method in class:CopyUtils
154 public static void copy(byte[] input, Writer output) method in class:CopyUtils
157 copy(in, output); method
171 public static void copy( method in class:CopyUtils
177 copy(in, output, encoding); method
193 public static int copy( method in class:CopyUtils
218 public static int copy( method in class:CopyUtils
244 public static void copy( method in class:CopyUtils
249 copy(in, output); method
262 public static void copy( method in class:CopyUtils
268 copy(in, output); method
283 public static void copy( method in class:CopyUtils
288 copy(input, out); method
306 public static void copy( method in class:CopyUtils
312 copy(in, out); method
328 public static void copy(String input, Writer output) method in class:CopyUtils
    [all...]
  /external/icu/icu4c/source/test/intltest/
tstnrapi.cpp 33 // test copy constructor
34 Normalizer copy(norm);
35 if(copy.next()!=0xac00) {
40 Normalizer *clone=copy.clone();
41 if(*clone!=copy) {
42 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()!=copy");
45 if(clone->hashCode()!=copy.hashCode()) {
46 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->hashCode()!=copy.hashCode()");
52 if(clone->hashCode()==copy.hashCode()) {
53 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next().hashCode()==copy.hashCode()")
    [all...]
  /external/libcxx/test/std/localization/locales/locale/locale.operators/
eq.pass.cpp 24 std::locale copy(cloc);
32 assert(cloc == copy);
39 assert(copy == cloc);
40 assert(copy == copy);
41 assert(copy != n1);
42 assert(copy != n2);
43 assert(copy != noname1);
44 assert(copy != nonamec);
45 assert(copy != noname2)
    [all...]

Completed in 1468 milliseconds

12 3 4 5 6 7 8 91011>>