/external/python/cpython3/Tools/scripts/ |
treesync.py | 17 copy the slave to the master 19 copy the master to the slave 123 copy(master, slave, answer=create_files) 134 # Master is newer -- copy master to slave 139 copy(master, slave, answer=write_slave) 141 # Slave is newer -- copy slave to master 149 print("***UPDATING MASTER (BINARY COPY)***") 150 copy(slave, master, "rb", answer=write_master) 153 copy(slave, master, "r", answer=write_master) 176 def copy(src, dst, rmode="rb", wmode="wb", answer='ask') function [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiConfiguration.java | 32 public WifiConfiguration copy(){ method in class:ShadowWifiConfiguration
|
/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...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowWifiConfigurationTest.java | 44 WifiConfiguration copy = shadowOf(wifiConfiguration).copy(); local 46 assertThat(copy.networkId).isEqualTo(1); 47 assertThat(copy.SSID).isEqualTo("SSID"); 48 assertThat(copy.BSSID).isEqualTo("BSSID"); 49 assertThat(copy.preSharedKey).isEqualTo("preSharedKey"); 50 assertThat(copy.status).isEqualTo(666); 51 assertThat(copy.wepTxKeyIndex).isEqualTo(777); 52 assertThat(copy.priority).isEqualTo(2); 53 assertThat(copy.hiddenSSID).isTrue() 74 WifiConfiguration copy = shadowOf(wifiConfiguration).copy(); local 91 WifiConfiguration copy = shadowOf(wifiConfiguration).copy(); local [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowWifiConfiguration.java | 34 public WifiConfiguration copy() { method in class:ShadowWifiConfiguration
|
/external/skia/src/effects/ |
SkToSRGBColorFilter.cpp | 31 auto copy = alloc->make<SkColorSpaceTransferFn>(srcFn); local 32 p->append(SkRasterPipeline::parametric_r, copy); 33 p->append(SkRasterPipeline::parametric_g, copy); 34 p->append(SkRasterPipeline::parametric_b, copy);
|
/external/skia/src/gpu/ |
GrSurfaceContext.h | 43 * Copy 'src' into the proxy backing this context 45 * @param srcRect the subset of 'src' to copy 47 * @return true if the copy succeeded; false otherwise 54 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint); 56 bool copy(GrSurfaceProxy* src) { function in class:GrSurfaceContext 57 return this->copy(src,
|
/external/skqp/src/effects/ |
SkToSRGBColorFilter.cpp | 31 auto copy = alloc->make<SkColorSpaceTransferFn>(srcFn); local 32 p->append(SkRasterPipeline::parametric_r, copy); 33 p->append(SkRasterPipeline::parametric_g, copy); 34 p->append(SkRasterPipeline::parametric_b, copy);
|
/external/skqp/src/gpu/ |
GrSurfaceContext.h | 43 * Copy 'src' into the proxy backing this context 45 * @param srcRect the subset of 'src' to copy 47 * @return true if the copy succeeded; false otherwise 54 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint); 56 bool copy(GrSurfaceProxy* src) { function in class:GrSurfaceContext 57 return this->copy(src,
|
/external/tensorflow/tensorflow/core/kernels/ |
assign_op.h | 5 You may obtain a copy of the License at 88 // 2. Try to copy into an existing buffer. 101 Copy(context, &reshaped_old_lhs, rhs); 106 // side, hand off to lhs and copy the rhs into it. 107 PersistentTensor copy; variable 111 ©, ©Tensor, attr)); 117 Copy(context, copyTensor, rhs); 125 // copy outside the lock. 127 Copy(context, &old_unlocked_lhs, rhs); 130 virtual void Copy(OpKernelContext* context, Tensor* lhs [all...] |
/external/v8/src/libplatform/tracing/ |
trace-object.cc | 65 bool copy = !!(flags & TRACE_EVENT_FLAG_COPY); local 68 if (copy) { 79 // We only take a copy of arg_vals if they are of type COPY_STRING. 89 if (copy) {
|
/external/webrtc/webrtc/base/ |
taskparent.cc | 76 ChildSet copy = *children_; local 77 for (ChildSet::iterator it = copy.begin(); it != copy.end(); ++it) {
|
/frameworks/av/media/libstagefright/ |
DataURISource.cpp | 6 * You may obtain a copy of the License at 93 size_t copy = mBuffer->size() - offset; local 94 if (copy > size) { 95 copy = size; 98 memcpy(data, mBuffer->data() + offset, copy); 100 return copy;
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
CharSequencesTest.java | 6 * You may obtain a copy of the License at 31 String copy = toString(forAsciiBytes(bytes)); local 32 assertTrue(s.equals(copy)); 34 copy = toString(forAsciiBytes(bytes, 0, s.length())); 35 assertTrue(s.equals(copy));
|
/frameworks/base/graphics/java/android/graphics/ |
ComposeShader.java | 6 * You may obtain a copy of the License at 94 protected Shader copy() { method in class:ComposeShader 95 final ComposeShader copy = new ComposeShader( local 96 mShaderA.copy(), mShaderB.copy(), mPorterDuffMode); 97 copyLocalMatrix(copy); 98 return copy;
|
SweepGradient.java | 6 * You may obtain a copy of the License at 102 protected Shader copy() { method in class:SweepGradient 103 final SweepGradient copy; local 105 copy = new SweepGradient(mCx, mCy, mColors.clone(), 108 copy = new SweepGradient(mCx, mCy, mColor0, mColor1); 110 copyLocalMatrix(copy); 111 return copy;
|
/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...] |
/frameworks/wilhelm/tests/sandbox/ |
engine.c | 6 * You may obtain a copy of the License at 145 // Use a copy of the interface ID to make sure lookup is not purely relying on address 147 struct SLInterfaceID_ copy = *engine_ids[index]; local 148 result = (*engineObject)->GetInterface(engineObject, ©, &interface_again); 152 printf("copy = "); 153 slesutPrintIID(©);
|
/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...] |
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestChronoLocalDate.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 101 List<ChronoLocalDate> copy = new ArrayList<>(dates); local 102 Collections.shuffle(copy); 103 Collections.sort(copy, ChronoLocalDate.timeLineOrder()); 104 assertEquals(copy, dates); 105 assertTrue(ChronoLocalDate.timeLineOrder().compare(copy.get(0), copy.get(1)) < 0); 125 List<LocalDate> copy = new ArrayList<>(dates); 126 Collections.shuffle(copy); [all...] |
/libcore/tools/upstream/src/main/java/libcore/ |
CopyUpstreamFiles.java | 6 * You may obtain a copy of the License at 76 Files.copy(from, to);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterDirectRepresentation.java | 6 * You may obtain a copy of the License at 22 public FilterRepresentation copy() { method in class:FilterDirectRepresentation
|
FilterRedEyeRepresentation.java | 6 * You may obtain a copy of the License at 38 public FilterRepresentation copy() { method in class:FilterRedEyeRepresentation
|
FilterUserPresetRepresentation.java | 6 * You may obtain a copy of the License at 44 public FilterRepresentation copy(){ method in class:FilterUserPresetRepresentation
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ControlPoint.java | 6 * You may obtain a copy of the License at 50 public ControlPoint copy() { method in class:ControlPoint
|