/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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...] |
/external/webrtc/talk/app/webrtc/objc/public/ |
RTCSessionDescription.h | 36 @property(nonatomic, copy, readonly) NSString *description; 39 @property(nonatomic, copy, readonly) NSString *type;
|
/device/google/contexthub/util/common/ |
ring.cpp | 6 * You may obtain a copy of the License at 48 size_t copy = mSize - writePos; local 50 if (copy > size) { 51 copy = size; 54 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); 56 if (size > copy) { 57 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); 87 size_t copy = mSize - readPos; local 89 if (copy > size) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
SynchronizedDescriptiveStatistics.java | 7 * the License. You may obtain a copy of the License at 53 * A copy constructor. Creates a deep-copy of the {@code original}. 55 * @param original the {@code SynchronizedDescriptiveStatistics} instance to copy 58 copy(original, this); method 142 * Returns a copy of this SynchronizedDescriptiveStatistics instance with the 145 * @return a copy of this 148 public synchronized SynchronizedDescriptiveStatistics copy() { method in class:SynchronizedDescriptiveStatistics 151 copy(this, result); method 160 * @param source SynchronizedDescriptiveStatistics to copy 164 public static void copy(SynchronizedDescriptiveStatistics source, method in class:SynchronizedDescriptiveStatistics [all...] |
UnivariateStatistic.java | 7 * the License. You may obtain a copy of the License at 47 * Returns a copy of the statistic with the same internal state. 49 * @return a copy of the statistic 51 UnivariateStatistic copy(); method in interface:UnivariateStatistic
|
/external/elfutils/libdwfl/ |
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/icu/icu4c/source/i18n/ |
number_fluent.cpp | 20 Derived copy(*this); 22 copy.fMacros.notation = notation; 23 return copy; 28 Derived copy(*this); 31 copy.fMacros.unit = unit; 32 return copy; 37 Derived copy(*this); 38 // Just copy the unit into the MacroProps by value, and delete it since we have ownership. 42 copy.fMacros.unit = *unit; 45 return copy; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 6 * You may obtain a copy of the License at 91 FrameLayout.LayoutParams copy; local 101 copy = new FrameLayout.LayoutParams(fllp); 102 assertEquals("Width", fllp.width, copy.width); 103 assertEquals("Height", fllp.height, copy.height); 104 assertEquals("Gravity", fllp.gravity, copy.gravity); 105 assertEquals("Left margin", fllp.leftMargin, copy.leftMargin); 106 assertEquals("Top margin", fllp.topMargin, copy.topMargin); 107 assertEquals("Right margin", fllp.rightMargin, copy.rightMargin); 108 assertEquals("Bottom margin", fllp.bottomMargin, copy.bottomMargin) [all...] |
/external/gptfdisk/ |
guid.cc | 41 } // copy constructor 45 } // copy (from string) constructor 49 } // copy (from char*) constructor 69 string copy, fragment; local 84 copy = DeleteSpaces(orig); 87 len = copy.length(); 95 uuidData[3] = StrToHex(copy, 0); 96 uuidData[2] = StrToHex(copy, 2); 97 uuidData[1] = StrToHex(copy, 4); 98 uuidData[0] = StrToHex(copy, 6) [all...] |
/external/python/cpython3/Lib/test/ |
test_copy.py | 1 """Unit tests for the copy module.""" 3 import copy 17 # Attempt full line coverage of copy.py from top to bottom 20 self.assertIs(copy.Error, copy.error) 21 self.assertTrue(issubclass(copy.Error, Exception)) 23 # The copy() method 27 y = copy.copy(x) 37 y = copy.copy(x [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
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.ps[i] + 1) || (fiddly.qs[i] != copy.qs[i] + 1) ) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
BiMapInverseTester.java | 6 * You may obtain a copy of the License at 46 BiMapPair<K, V> copy = SerializableTester.reserialize(pair); local 47 assertEquals(pair.forward, copy.forward); 48 assertEquals(pair.backward, copy.backward); 49 assertSame(copy.backward, copy.forward.inverse()); 50 assertSame(copy.forward, copy.backward.inverse());
|
/prebuilts/jdk/jdk8/darwin-x86/sample/forkjoin/mergesort/ |
MergeSort.java | 105 int[] copy = new int[high - low]; local 106 System.arraycopy(array, low, copy, 0, copy.length); 112 if (q >= copyHigh || (p < copyMiddle && copy[p] < copy[q]) ) { 113 array[i] = copy[p++]; 115 array[i] = copy[q++];
|
/prebuilts/jdk/jdk8/linux-x86/sample/forkjoin/mergesort/ |
MergeSort.java | 105 int[] copy = new int[high - low]; local 106 System.arraycopy(array, low, copy, 0, copy.length); 112 if (q >= copyHigh || (p < copyMiddle && copy[p] < copy[q]) ) { 113 array[i] = copy[p++]; 115 array[i] = copy[q++];
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
ComparatorDelegationOverheadBenchmark.java | 5 * in compliance with the License. You may obtain a copy of the License at 53 Integer[] copy = inputArrays[i & 0xFF].clone(); local 54 Arrays.sort(copy); 55 tmp += copy[0]; 63 Integer[] copy = inputArrays[i & 0xFF].clone(); local 64 Arrays.sort(copy, Ordering.natural()); 65 tmp += copy[0]; 80 Integer[] copy = inputArrays[i & 0xFF].clone(); local 81 Arrays.sort(copy, Ordering.from(NATURAL_INTEGER)); 82 tmp += copy[0] [all...] |
/external/brotli/research/ |
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 12 byte 1. Each number is a 32-bit integer. Copy length always comes before 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) { 32 CHECK(fread(copy, sizeof(int), 1, fin) == 1); 45 *copy = -1;
|
/external/webrtc/webrtc/api/objc/ |
RTCIceServer.h | 18 @property(nonatomic, copy, readonly) NSArray<NSString *> *urlStrings; 21 @property(nonatomic, copy, readonly, nullable) NSString *username; 24 @property(nonatomic, copy, readonly, nullable) NSString *credential;
|
/libcore/ojluni/src/main/java/java/security/cert/ |
PKIXRevocationChecker.java | 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 191 * DER-encoded OCSP response for that certificate. A deep copy of 199 Map<X509Certificate, byte[]> copy = new HashMap<>(responses.size()); local 201 copy.put(e.getKey(), e.getValue().clone()); 203 this.ocspResponses = copy; 213 * DER-encoded OCSP response for that certificate. A deep copy of 218 Map<X509Certificate, byte[]> copy = new HashMap<>(ocspResponses.size()); local 220 copy.put(e.getKey(), e.getValue().clone()); 222 return copy; 265 PKIXRevocationChecker copy = (PKIXRevocationChecker)super.clone(); local [all...] |
/external/python/cpython2/Lib/test/ |
test_copy.py | 1 """Unit tests for the copy module.""" 3 import copy 12 # Attempt full line coverage of copy.py from top to bottom 15 self.assertTrue(copy.Error is copy.error) 16 self.assertTrue(issubclass(copy.Error, Exception)) 18 # The copy() method 22 y = copy.copy(x) 32 y = copy.copy(x [all...] |
/external/libusb/.private/ |
bwince.cmd | 25 copy libusb\libusb-1.0.def %WINCE_TARGET_DIR% 26 copy libusb\libusb.h %WINCE_TARGET_DIR%\include\libusb-1.0 32 copy examples\listdevs.c %WINCE_TARGET_DIR%\examples\source 33 copy examples\xusb.c %WINCE_TARGET_DIR%\examples\source 34 copy msvc\stdint.h %WINCE_TARGET_DIR%\examples\source 35 copy .private\wbs_wince.txt %WINCE_TARGET_DIR%\README.txt 36 copy COPYING %WINCE_TARGET_DIR%\COPYING 42 rem Copy across the binaries 44 copy %%A\%MSBUILD_CONFIGURATION%\lib\libusb-1.0.lib %WINCE_TARGET_DIR%\%%A\static 45 copy %%A\%MSBUILD_CONFIGURATION%\examples\listdevs.exe %WINCE_TARGET_DIR%\examples\%% [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
SecondMoment.java | 7 * the License. You may obtain a copy of the License at 62 * Copy constructor, creates a new {@code SecondMoment} identical 65 * @param original the {@code SecondMoment} instance to copy 105 public SecondMoment copy() { method in class:SecondMoment 107 copy(this, result); method 115 * @param source SecondMoment to copy 116 * @param dest SecondMoment to copy to 119 public static void copy(SecondMoment source, SecondMoment dest) { method in class:SecondMoment 120 FirstMoment.copy(source, dest);
|
/external/clang/test/Analysis/diagnostics/ |
explicit-suppression.cpp | 13 // The virtual function is to make C not trivially copy assignable so that we call the 14 // variant of std::copy() that does not defer to memmove(). 19 std::copy(I, E, (C *)0);
|
/external/dtc/tests/ |
check_path.c | 16 * You should have received a copy of the GNU Lesser General Public 39 void *dt, *copy; local 42 copy = xmalloc(FDT_COPY_SIZE); 47 CHECK(fdt_open_into(dt, copy, FDT_COPY_SIZE)); 49 return copy;
|
overlay_bad_fixup.c | 17 * You should have received a copy of the GNU Lesser General Public 40 void *dt, *copy; local 44 copy = xmalloc(FDT_COPY_SIZE); 49 CHECK(fdt_open_into(dt, copy, FDT_COPY_SIZE), 0); 51 return copy;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/ |
copy_unaligned.c | 9 * Calls to copy which are not 128-byte aligned should be caught 32 copy(cacheline_buf+1);
|