Home
last modified time | relevance | path

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

12345678910>>...72

/frameworks/compile/mclinker/lib/MC/
DAttribute.cpp109 Attribute* copy = new Attribute(*m_pBase); in setWholeArchive() local
110 copy->setWholeArchive(); in setWholeArchive()
111 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setWholeArchive()
115 Attribute* copy = new Attribute(*m_pBase); in unsetWholeArchive() local
116 copy->unsetWholeArchive(); in unsetWholeArchive()
117 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in unsetWholeArchive()
121 Attribute* copy = new Attribute(*m_pBase); in setAsNeeded() local
122 copy->setAsNeeded(); in setAsNeeded()
123 ReplaceOrRecord(m_AttrPool, m_pBase, copy); in setAsNeeded()
127 Attribute* copy = new Attribute(*m_pBase); in unsetAsNeeded() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/
DRegisterStatusBarResultTest.java63 final RegisterStatusBarResult copy = clone(original); in testParcelable() local
65 assertThat(copy.mIcons).hasSize(original.mIcons.size()); in testParcelable()
67 assertThat(copy.mIcons.get(dumyIconKey).user) in testParcelable()
70 assertThat(copy.mDisabledFlags1).isEqualTo(original.mDisabledFlags1); in testParcelable()
71 assertThat(copy.mSystemUiVisibility).isEqualTo(original.mSystemUiVisibility); in testParcelable()
72 assertThat(copy.mMenuVisible).isEqualTo(original.mMenuVisible); in testParcelable()
73 assertThat(copy.mImeWindowVis).isEqualTo(original.mImeWindowVis); in testParcelable()
74 assertThat(copy.mImeBackDisposition).isEqualTo(original.mImeBackDisposition); in testParcelable()
75 assertThat(copy.mShowImeSwitcher).isEqualTo(original.mShowImeSwitcher); in testParcelable()
76 assertThat(copy.mDisabledFlags2).isEqualTo(original.mDisabledFlags2); in testParcelable()
[all …]
DStatusBarIconTest.java49 final StatusBarIcon copy = clone(original); in testParcelable() local
51 assertThat(copy.user).isEqualTo(original.user); in testParcelable()
52 assertThat(copy.pkg).isEqualTo(original.pkg); in testParcelable()
53 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable()
54 assertThat(copy.iconLevel).isEqualTo(original.iconLevel); in testParcelable()
55 assertThat(copy.visible).isEqualTo(original.visible); in testParcelable()
56 assertThat(copy.number).isEqualTo(original.number); in testParcelable()
57 assertThat(copy.contentDescription).isEqualTo(original.contentDescription); in testParcelable()
/frameworks/base/core/java/android/content/res/
DGradientColor.java132 private GradientColor(GradientColor copy) { in GradientColor() argument
133 if (copy != null) { in GradientColor()
134 mChangingConfigurations = copy.mChangingConfigurations; in GradientColor()
135 mDefaultColor = copy.mDefaultColor; in GradientColor()
136 mShader = copy.mShader; in GradientColor()
137 mGradientType = copy.mGradientType; in GradientColor()
138 mCenterX = copy.mCenterX; in GradientColor()
139 mCenterY = copy.mCenterY; in GradientColor()
140 mStartX = copy.mStartX; in GradientColor()
141 mStartY = copy.mStartY; in GradientColor()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h211 VideoCodec(const VideoCodec& copy) { in VideoCodec()
212 mCodec = copy.mCodec; in VideoCodec()
213 mBitRate = copy.mBitRate; in VideoCodec()
214 mFrameWidth = copy.mFrameWidth; in VideoCodec()
215 mFrameHeight = copy.mFrameHeight; in VideoCodec()
216 mFrameRate = copy.mFrameRate; in VideoCodec()
235 AudioCodec(const AudioCodec& copy) { in AudioCodec()
236 mCodec = copy.mCodec; in AudioCodec()
237 mBitRate = copy.mBitRate; in AudioCodec()
238 mSampleRate = copy.mSampleRate; in AudioCodec()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DGenerateGL.java26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGL
53 copy("stubs/jsr239/" + fname + in emit()
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream); in emit()
56 copy("stubs/jsr239/" + fname + ".cpp", cStream); in emit()
153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream); in main()
154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream); in main()
155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream); in main()
156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream); in main()
157 copy("stubs/jsr239/GL11ExtensionPackHeader.java-if", gl11ExtPackStream); in main()
158 copy("stubs/jsr239/GLImplHeader.java-impl", glImplStream); in main()
[all …]
DGenerateGLES.java26 static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateGLES
51 copy(javaPath, glStream); in emit()
52 copy(stubRoot + ".cpp", cStream); in emit()
99 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream); in main()
100 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream); in main()
101 copy("stubs/gles11/common.cpp", gl11cStream); in main()
DGenerateEGL.java26 private static void copy(String filename, PrintStream out) throws IOException { in copy() method in GenerateEGL
52 copy(javaPath, glStream); in emit()
53 copy(stubRoot + ".cpp", cStream); in emit()
96 copy("stubs/egl/" + suffix + "Header.java-if", egljStream); in main()
97 copy("stubs/egl/" + suffix + "cHeader.cpp", eglcStream); in main()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp142 size_t copy = entry->mSize; in read() local
143 if (copy > size) { in read()
144 copy = size; in read()
152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) { in read()
159 copy); in read()
161 entry->mOffset += copy; in read()
162 entry->mSize -= copy; in read()
170 return copy; in read()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp114 size_t copy = size - sizeDone; in readAt_l() local
116 if (copy > buffer->size()) { in readAt_l()
117 copy = buffer->size(); in readAt_l()
120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy); in readAt_l()
122 sizeDone += copy; in readAt_l()
124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in readAt_l()
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothPacketEncoder.java122 int copy = mAccumulationBuffer.length - mAccumulatedBytes;
123 if (copy > remaining) copy = remaining;
124 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy);
125 mAccumulatedBytes += copy;
126 offset += copy;
127 remaining -= copy;
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java550 private VClipPath_Delegate(VClipPath_Delegate copy) { in VClipPath_Delegate() argument
551 super(copy); in VClipPath_Delegate()
642 private VFullPath_Delegate(VFullPath_Delegate copy) { in VFullPath_Delegate() argument
643 super(copy); in VFullPath_Delegate()
645 mStrokeColor = copy.mStrokeColor; in VFullPath_Delegate()
646 mStrokeWidth = copy.mStrokeWidth; in VFullPath_Delegate()
647 mStrokeAlpha = copy.mStrokeAlpha; in VFullPath_Delegate()
648 mFillColor = copy.mFillColor; in VFullPath_Delegate()
649 mFillAlpha = copy.mFillAlpha; in VFullPath_Delegate()
650 mTrimPathStart = copy.mTrimPathStart; in VFullPath_Delegate()
[all …]
/frameworks/base/services/core/java/com/android/server/incident/
DRequestQueue.java84 ArrayList<Rec> copy = null;
87 copy = new ArrayList<Rec>(mPending);
91 if (copy != null) {
92 final int size = copy.size();
94 copy.get(i).runnable.run();
/frameworks/av/media/libdatasource/
DDataURISource.cpp104 size_t copy = mBuffer->size() - offset; in readAt() local
105 if (copy > size) { in readAt()
106 copy = size; in readAt()
109 memcpy(data, mBuffer->data() + offset, copy); in readAt()
111 return copy; in readAt()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java77 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithDefaultValues() local
78 compareWifiP2pDevices(device, copy); in testCopyConstructorWithDefaultValues()
96 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithUpdatedValues() local
97 compareWifiP2pDevices(device, copy); in testCopyConstructorWithUpdatedValues()
115 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithNullWfdInfo() local
116 compareWifiP2pDevices(device, copy); in testCopyConstructorWithNullWfdInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DEdgeLight.java38 public static EdgeLight[] copy(EdgeLight[] array) { in copy() method in EdgeLight
39 EdgeLight[] copy = new EdgeLight[array.length]; in copy() local
41 copy[i] = new EdgeLight(array[i]); in copy()
43 return copy; in copy()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCharSequencesTest.java31 String copy = toString(forAsciiBytes(bytes)); in testCharSequences() local
32 assertTrue(s.equals(copy)); in testCharSequences()
34 copy = toString(forAsciiBytes(bytes, 0, s.length())); in testCharSequences()
35 assertTrue(s.equals(copy)); in testCharSequences()
/frameworks/base/tests/net/common/java/android/net/
DDependenciesTest.java75 final byte[] copy = Arrays.copyOfRange(src, offset, offset + copySize); in testArrays()
76 assertArrayEquals(expected, copy); in testArrays()
84 final byte[] copy = Arrays.copyOf(src, src.length); in testCopyOf()
85 assertArrayEquals(src, copy); in testCopyOf()
86 assertFalse(src == copy); in testCopyOf()
/frameworks/base/tools/bit/
Dcommand.cpp75 map<string,string> copy; in GetEnv() local
81 copy[name] = value; in GetEnv()
85 copy[it->first] = it->second; in GetEnv()
87 char** result = (char**)malloc(sizeof(char*)*(copy.size()+1)); in GetEnv()
89 for (map<string,string>::const_iterator it=copy.begin(); it!=copy.end(); it++) { in GetEnv()
/frameworks/base/core/java/com/android/internal/os/
DBinderDeathDispatcher.java66 final ArraySet<DeathRecipient> copy; in binderDied() local
68 copy = mRecipients; in binderDied()
74 if (copy == null) { in binderDied()
78 final int size = copy.size(); in binderDied()
80 copy.valueAt(i).binderDied(); in binderDied()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp94 size_t copy = std::min(count, mQueue.size()); in getEvents() local
95 for (size_t i = 0; i < copy; ++i) { in getEvents()
98 mQueue.erase(mQueue.begin(), mQueue.begin() + copy); in getEvents()
100 LOG(VERBOSE) << "ASensorEventQueue::getEvents() returned " << copy << " events."; in getEvents()
102 return copy; in getEvents()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java983 public VectorDrawableState(VectorDrawableState copy) { in VectorDrawableState() argument
984 if (copy != null) { in VectorDrawableState()
985 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
986 mChangingConfigurations = copy.mChangingConfigurations; in VectorDrawableState()
987 mTint = copy.mTint; in VectorDrawableState()
988 mBlendMode = copy.mBlendMode; in VectorDrawableState()
989 mAutoMirrored = copy.mAutoMirrored; in VectorDrawableState()
990 mRootGroup = new VGroup(copy.mRootGroup, mVGTargetsMap); in VectorDrawableState()
991 createNativeTreeFromCopy(copy, mRootGroup); in VectorDrawableState()
993 mBaseWidth = copy.mBaseWidth; in VectorDrawableState()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DRectTest.java46 final Rect copy = copyOrNull(orig); in copyOrNull_copiesNonNull() local
48 assertEquals(orig, copy); in copyOrNull_copiesNonNull()
49 assertNotSame(orig, copy); in copyOrNull_copiesNonNull()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp325 size_t copy = numBytesPerInputFrame - mInputSize; in onQueueFilled() local
326 if (copy > inHeader->nFilledLen) { in onQueueFilled()
327 copy = inHeader->nFilledLen; in onQueueFilled()
334 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy); in onQueueFilled()
335 mInputSize += copy; in onQueueFilled()
337 inHeader->nOffset += copy; in onQueueFilled()
338 inHeader->nFilledLen -= copy; in onQueueFilled()
343 (copy * 1000000LL / kSampleRate) / sizeof(int16_t); in onQueueFilled()
/frameworks/av/cmds/stagefright/
Dstream.cpp236 size_t copy = size; in writeData() local
237 if (copy + mCurrentBufferOffset > mem->size()) { in writeData()
238 copy = mem->size() - mCurrentBufferOffset; in writeData()
241 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); in writeData()
242 mCurrentBufferOffset += copy; in writeData()
249 data = (const uint8_t *)data + copy; in writeData()
250 size -= copy; in writeData()
252 totalWritten += copy; in writeData()

12345678910>>...72