Searched refs:copy (Results 1 - 25 of 490) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/MC/
H A DAttribute.cpp109 Attribute* copy = new Attribute(*m_pBase); local
110 copy->setWholeArchive();
111 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
115 Attribute* copy = new Attribute(*m_pBase); local
116 copy->unsetWholeArchive();
117 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
121 Attribute* copy = new Attribute(*m_pBase); local
122 copy->setAsNeeded();
123 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
127 Attribute* copy local
133 Attribute* copy = new Attribute(*m_pBase); local
139 Attribute* copy = new Attribute(*m_pBase); local
145 Attribute* copy = new Attribute(*m_pBase); local
151 Attribute* copy = new Attribute(*m_pBase); local
[all...]
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
H A DFieldBundleTest.java6 * You may obtain a copy of the License at
31 FieldBundle copy = new FieldBundle("foo", "foo", "text", false);
32 assertThat(bundle.isSchemaEqual(copy), is(true));
38 FieldBundle copy = new FieldBundle("foo", "foo", "text", true);
39 assertThat(bundle.isSchemaEqual(copy), is(false));
45 FieldBundle copy = new FieldBundle("foo", "foo2", "text", true);
46 assertThat(bundle.isSchemaEqual(copy), is(false));
52 FieldBundle copy = new FieldBundle("foo", "foo2", "int", false);
53 assertThat(bundle.isSchemaEqual(copy), is(false));
59 FieldBundle copy
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java6 * You may obtain a copy of the License at
68 protected Shader copy() { method in class:BitmapShader
69 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
70 copyLocalMatrix(copy);
71 return copy;
H A DComposeShader.java6 * You may obtain a copy of the License at
94 protected Shader copy() { method in class:ComposeShader
95 final ComposeShader copy = new ComposeShader(
96 mShaderA.copy(), mShaderB.copy(), mPorterDuffMode);
97 copyLocalMatrix(copy);
98 return copy;
H A DRadialGradient.java6 * You may obtain a copy of the License at
117 protected Shader copy() { method in class:RadialGradient
118 final RadialGradient copy;
120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
123 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
125 copyLocalMatrix(copy);
126 return copy;
H A DSweepGradient.java6 * You may obtain a copy of the License at
102 protected Shader copy() { method in class:SweepGradient
103 final SweepGradient copy;
105 copy = new SweepGradient(mCx, mCy, mColors.clone(),
108 copy = new SweepGradient(mCx, mCy, mColor0, mColor1);
110 copyLocalMatrix(copy);
111 return copy;
H A DShader.java6 * You may obtain a copy of the License at
139 protected Shader copy() { method in class:Shader
140 final Shader copy = new Shader();
141 copyLocalMatrix(copy);
142 return copy;
H A DLinearGradient.java6 * You may obtain a copy of the License at
117 protected Shader copy() { method in class:LinearGradient
118 final LinearGradient copy;
120 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
123 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode);
125 copyLocalMatrix(copy);
126 return copy;
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DRectTest.java6 * You may obtain a copy of the License at
45 final Rect copy = copyOrNull(orig);
47 assertEquals(orig, copy);
48 assertNotSame(orig, copy);
/frameworks/wilhelm/tools/hashgen/
H A Dtest.c6 * You may obtain a copy of the License at
39 const struct SLInterfaceID_ copy = *original; local
40 MPH = IID_to_MPH(&copy);
42 fprintf(stderr, "error: IID_to_MPH(copy) = %d != %d\n", MPH, i);
/frameworks/base/cmds/statsd/benchmark/
H A Dhello_world_benchmark.cpp6 * You may obtain a copy of the License at
27 while (state.KeepRunning()) std::string copy(x);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DCharSequencesTest.java6 * You may obtain a copy of the License at
31 String copy = toString(forAsciiBytes(bytes));
32 assertTrue(s.equals(copy));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
35 assertTrue(s.equals(copy));
/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrength.java6 * You may obtain a copy of the License at
73 * @return A deep copy of this class.
76 public abstract CellSignalStrength copy(); method in class:CellSignalStrength
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp6 * 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/java/android/content/res/
H A DGradientColor.java6 * You may obtain a copy of the License at
101 // NOTE: they need to be copied in the copy constructor!
132 private GradientColor(GradientColor copy) { argument
133 if (copy != null) {
134 mChangingConfigurations = copy.mChangingConfigurations;
135 mDefaultColor = copy.mDefaultColor;
136 mShader = copy.mShader;
137 mGradientType = copy.mGradientType;
138 mCenterX = copy.mCenterX;
139 mCenterY = copy
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp6 * You may obtain a copy of the License at
142 size_t copy = entry->mSize; local
143 if (copy > size) {
144 copy = size;
152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) {
159 copy);
161 entry->mOffset += copy;
162 entry->mSize -= copy;
170 return copy;
[all...]
/frameworks/av/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
217 VideoCodec(const VideoCodec& copy) { argument
218 mCodec = copy.mCodec;
219 mBitRate = copy.mBitRate;
220 mFrameWidth = copy.mFrameWidth;
221 mFrameHeight = copy.mFrameHeight;
222 mFrameRate = copy.mFrameRate;
241 AudioCodec(const AudioCodec& copy) { argument
242 mCodec = copy.mCodec;
243 mBitRate = copy
265 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
217 VideoCodec(const VideoCodec& copy) { argument
218 mCodec = copy.mCodec;
219 mBitRate = copy.mBitRate;
220 mFrameWidth = copy.mFrameWidth;
221 mFrameHeight = copy.mFrameHeight;
222 mFrameRate = copy.mFrameRate;
241 AudioCodec(const AudioCodec& copy) { argument
242 mCodec = copy.mCodec;
243 mBitRate = copy
265 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/native/opengl/tools/glgen/src/
H A DGenerateGLES.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGLES
51 copy(javaPath, glStream);
52 copy(stubRoot + ".cpp", cStream);
99 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream);
100 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream);
101 copy("stubs/gles11/common.cpp", gl11cStream);
H A DGenerateEGL.java6 * You may obtain a copy of the License at
26 private static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateEGL
52 copy(javaPath, glStream);
53 copy(stubRoot + ".cpp", cStream);
96 copy("stubs/egl/" + suffix + "Header.java-if", egljStream);
97 copy("stubs/egl/" + suffix + "cHeader.cpp", eglcStream);
H A DGenerateGL.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGL
53 copy("stubs/jsr239/" + fname +
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream);
56 copy("stubs/jsr239/" + fname + ".cpp", cStream);
153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream);
154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream);
155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream);
156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream);
157 copy("stub
[all...]
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.cpp6 * You may obtain a copy of the License at
89 size_t copy = std::min(count, mQueue.size()); local
90 for (size_t i = 0; i < copy; ++i) {
93 mQueue.erase(mQueue.begin(), mQueue.begin() + copy);
95 LOG(VERBOSE) << "ASensorEventQueue::getEvents() returned " << copy << " events.";
97 return copy;
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp6 * You may obtain a copy of the License at
114 size_t copy = size - sizeDone; local
116 if (copy > buffer->size()) {
117 copy = buffer->size();
120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy);
122 sizeDone += copy;
124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothPacketEncoder.java6 * You may obtain a copy of the License at
122 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;
153 // now copy data bytes
/frameworks/base/tools/bit/
H A Dcommand.cpp6 * You may obtain a copy of the License at
75 map<string,string> copy; local
81 copy[name] = value;
85 copy[it->first] = it->second;
87 char** result = (char**)malloc(sizeof(char*)*(copy.size()+1));
89 for (map<string,string>::const_iterator it=copy.begin(); it!=copy.end(); it++) {

Completed in 357 milliseconds

1234567891011>>