Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DCopyUtils.java137 public static void copy(byte[] input, OutputStream output) in copy() method in CopyUtils
154 public static void copy(byte[] input, Writer output) in copy() method in CopyUtils
157 copy(in, output); in copy()
171 public static void copy( in copy() method in CopyUtils
177 copy(in, output, encoding); in copy()
193 public static int copy( in copy() method in CopyUtils
218 public static int copy( in copy() method in CopyUtils
244 public static void copy( in copy() method in CopyUtils
249 copy(in, output); in copy()
262 public static void copy( in copy() method in CopyUtils
[all …]
DIOUtils.java218 copy(input, output); in toByteArray()
236 copy(input, output); in toByteArray()
260 copy(input, output, encoding); in toByteArray()
298 copy(is, output); in toCharArray()
322 copy(is, output, encoding); in toCharArray()
340 copy(input, sw); in toCharArray()
360 copy(input, sw); in toString()
383 copy(input, sw, encoding); in toString()
400 copy(input, sw); in toString()
1001 public static int copy(InputStream input, OutputStream output) throws IOException { in copy() method in IOUtils
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java176 SimCard copy = new SimCard(this); in withImportAndDismissStates() local
177 copy.mImported = imported; in withImportAndDismissStates()
178 copy.mDismissed = dismissed; in withImportAndDismissStates()
179 return copy; in withImportAndDismissStates()
191 final SimCard copy = new SimCard(this); in withContacts() local
192 copy.mContacts = contacts; in withContacts()
193 return copy; in withContacts()
197 final SimCard copy = new SimCard(this); in withContacts() local
198 copy.mContacts = Arrays.asList(contacts); in withContacts()
199 return copy; in withContacts()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DCellAndSpan.java31 public void copyFrom(CellAndSpan copy) { in copyFrom() argument
32 cellX = copy.cellX; in copyFrom()
33 cellY = copy.cellY; in copyFrom()
34 spanX = copy.spanX; in copyFrom()
35 spanY = copy.spanY; in copyFrom()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterGradRepresentation.java86 public Band(Band copy) { in Band() argument
87 mask = copy.mask; in Band()
88 xPos1 = copy.xPos1; in Band()
89 yPos1 = copy.yPos1; in Band()
90 xPos2 = copy.xPos2; in Band()
91 yPos2 = copy.yPos2; in Band()
92 brightness = copy.brightness; in Band()
93 contrast = copy.contrast; in Band()
94 saturation = copy.saturation; in Band()
139 public FilterRepresentation copy() { in copy() method in FilterGradRepresentation
DFilterDrawRepresentation.java100 public StrokeData(StrokeData copy) { in StrokeData() argument
101 mType = copy.mType; in StrokeData()
102 mPath = new Path(copy.mPath); in StrokeData()
103 mRadius = copy.mRadius; in StrokeData()
104 mColor = copy.mColor; in StrokeData()
105 noPoints = copy.noPoints; in StrokeData()
106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); in StrokeData()
187 public FilterRepresentation copy() { in copy() method in FilterDrawRepresentation
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md278 A very special decision during design of RapidJSON is that, assignment of value does not copy the s…
290 … are often unnoticed. Especially when we need to create temporary object, copy it to another varia…
292 For example, if normal *copy* semantics was used:
306 ![Copy semantics makes a lots of copy operations.](diagram/move2.png)
346 1. copy-string: allocates a buffer, and then copy the source data into it.
349 Copy-string is always safe because it owns a copy of the data. Const-string can be used for storing…
353 Therefore, when we assign a copy-string, we call this overloaded `SetString()` with allocator:
419 …eateString)) to the array, you need to create a string Value by using the copy-string API. To avo…
423 contact.PushBack(Value("copy", document.GetAllocator()).Move(), // copy string
427 Value val("key", document.GetAllocator()); // copy string
[all …]
Dsax.md70 bool String(const char* str, SizeType length, bool copy) {
71 cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl;
75 bool Key(const char* str, SizeType length, bool copy) {
76 cout << "Key(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl;
109 bool String(const Ch* str, SizeType length, bool copy);
111 bool Key(const Ch* str, SizeType length, bool copy);
124copy)` is called when the `Reader` encounters a string. The first parameter is pointer to the stri…
426 …return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the stri…
429 bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); }
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsFooterViewHolder.java39 private final View copy; field in CallDetailsFooterViewHolder
53 copy = view.findViewById(R.id.call_detail_action_copy); in CallDetailsFooterViewHolder()
57 copy.setOnClickListener(this); in CallDetailsFooterViewHolder()
66 copy.setVisibility(View.GONE); in setPhoneNumber()
76 if (view == copy) { in onClick()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java82 public void copy(@Nonnull final InputPointers ip) { in copy() method in InputPointers
83 mXCoordinates.copy(ip.mXCoordinates); in copy()
84 mYCoordinates.copy(ip.mYCoordinates); in copy()
85 mPointerIds.copy(ip.mPointerIds); in copy()
86 mTimes.copy(ip.mTimes); in copy()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp15 bool String(const char* str, SizeType length, bool copy) { in String()
16 cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; in String()
20 bool Key(const char* str, SizeType length, bool copy) { in Key()
21 cout << "Key(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; in Key()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java80 WifiConfiguration copy = Shadows.shadowOf(config).copy(); in makeCopy() local
81 copy.networkId = networkId; in makeCopy()
82 return copy; in makeCopy()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java354 mStack.copy(); in appendEncodedString()
467 temp = EncodedStringValue.copy(address); in appendAddressType()
565 mStack.copy(); in appendHeader()
647 mStack.copy(); in appendHeader()
929 mStack.copy(); in makeMessageBody()
957 mStack.copy(); in makeMessageBody()
1024 mStack.copy(); in makeMessageBody()
1089 mStack.copy(); in makeMessageBody()
1189 void copy() { in copy() method in PduComposer.BufferStack
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java611 ImagePreset copy = new ImagePreset(oldPreset); in removeFilterRepresentation() local
612 copy.removeFilter(filterRepresentation); in removeFilterRepresentation()
613 MasterImage.getImage().setPreset(copy, copy.getLastRepresentation(), true); in removeFilterRepresentation()
615 FilterRepresentation lastRepresentation = copy.getLastRepresentation(); in removeFilterRepresentation()
635 ImagePreset copy = new ImagePreset(oldPreset); in useFilterRepresentation() local
636 FilterRepresentation representation = copy.getRepresentation(filterRepresentation); in useFilterRepresentation()
638 filterRepresentation = filterRepresentation.copy(); in useFilterRepresentation()
639 copy.addFilter(filterRepresentation); in useFilterRepresentation()
648 copy.removeFilter(representation); in useFilterRepresentation()
649 copy.addFilter(filterRepresentation); in useFilterRepresentation()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java94 File copy = mStorage.getFile(mSlot); in testRead() local
95 try(ClipStorageReader provider = mStorage.createReader(copy)) { in testRead()
123 File copy = mStorage.getFile(mSlot); in testReadConcurrently() local
125 try(ClipStorageReader reader = mStorage.createReader(copy)) { in testReadConcurrently()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dprettywriter.h73 bool String(const Ch* str, SizeType length, bool copy = false) {
74 (void)copy;
91 … bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
Dwriter.h122 bool String(const Ch* str, SizeType length, bool copy = false) {
123 (void)copy;
140 … bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
Dreader.h196 …bool Key(const Ch* str, SizeType len, bool copy) { return static_cast<Override&>(*this).String(str… in Key()
248 internal::StreamLocalCopy<InputStream> copy(is); in SkipWhitespace()
249 InputStream& s(copy.s); in SkipWhitespace()
638 internal::StreamLocalCopy<InputStream> copy(is);
639 InputStream& s(copy.s);
773 internal::StreamLocalCopy<InputStream> copy(is); in ParseNumber()
774 NumberStream<InputStream, (parseFlags & kParseFullPrecisionFlag) != 0> s(*this, copy.s); in ParseNumber()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbuffer_with_extendable_buffer_test.cpp66 EXPECT_TRUE(targetBuffer.copy(&buffer)); in TEST()
80 EXPECT_TRUE(smallBuffer.copy(&emptyBuffer)); in TEST()
81 EXPECT_FALSE(emptyBuffer.copy(&smallBuffer)); in TEST()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java56 mUpdates.put(item.id, item.copy()); in update()
63 mOriginalItems.put(entry.id, entry.copy()); in loadWorkspaceEntries()
67 mUpdates.put(entry.id, entry.copy()); in loadWorkspaceEntries()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharEscaper.java201 char[] copy = new char[size];
203 System.arraycopy(dest, 0, copy, 0, index);
205 return copy;
DUnicodeEscaper.java424 char[] copy = new char[size]; in growBuffer() local
426 System.arraycopy(dest, 0, copy, 0, index); in growBuffer()
428 return copy; in growBuffer()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java86 copy(child, extension.srcTarget[0]); in fillInLauncherExtension()
87 copy(parent, extension.srcTarget[1]); in fillInLauncherExtension()
91 private static void copy(Target src, LauncherTarget dst) { in copy() method in StatsLogCompatManager
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp369 void (CDelaunay::*copy)(int,int)) in rcssort()
393 (this->*copy)( sij,temp ); in rcssort()
455 (this->*copy)( si+1,temp ); in rcssort()
459 (this->*copy)( sk,sj ); in rcssort()
463 (this->*copy)( temp,sj ); in rcssort()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java72 mFilters.add(sourceRepresentation.copy()); in ImagePreset()
83 representation = mFilters.elementAt(position).copy(); in getFilterRepresentation()
142 representation = representation.copy(); in getFilterRepresentationCopyFrom()
158 addFilter(rep.copy()); in updateOrAddFilterRepresentation()
459 return r.copy(); in getFilterWithSerializationName()

12345678910>>...15