HomeSort by relevance Sort by last modified time
    Searched defs:copy (Results 326 - 350 of 1328) sorted by null

<<11121314151617181920>>

  /external/guava/guava-tests/test/com/google/common/io/
ByteStreamsTest.java 6 * You may obtain a copy of the License at
19 import static com.google.common.io.ByteStreams.copy;
192 // copy, both suppliers
193 ByteStreams.copy(okRead, okWrite);
198 ByteStreams.copy(okRead, brokenWrite);
207 ByteStreams.copy(brokenRead, okWrite);
216 ByteStreams.copy(brokenRead, brokenWrite);
224 // copy, input supplier
226 ByteStreams.copy(okRead, out);
233 ByteStreams.copy(okRead, out)
352 copy(in, out); method
    [all...]
CharStreamsTest.java 6 * You may obtain a copy of the License at
20 import static com.google.common.io.CharStreams.copy;
170 CharStreams.copy(okRead, okWrite);
175 CharStreams.copy(okRead, brokenWrite);
184 CharStreams.copy(brokenRead, okWrite);
193 CharStreams.copy(brokenRead, brokenWrite);
230 copy(in, out); method
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLSparseArrayProperty.java 6 * You may obtain a copy of the License at
124 SparseArray<IGLProperty> copy = new SparseArray<IGLProperty>(mSparseArray.size()); local
128 copy.put(key, value);
131 return new GLSparseArrayProperty(mType, mDefaultValue, mCreateOnAccess, copy);
  /external/guava/guava-tests/test/com/google/common/collect/
ArrayTableTest.java 6 * You may obtain a copy of the License at
202 Table<String, Integer, Character> copy = ArrayTable.create(original); local
203 assertEquals(original, copy);
206 assertEquals((Character) 'a', copy.get("foo", 1));
207 assertEquals(copy.rowKeySet(), original.rowKeySet());
208 assertEquals(copy.columnKeySet(), original.columnKeySet());
216 Table<String, Integer, Character> copy = ArrayTable.create(original); local
217 assertEquals(4, copy.size());
218 assertEquals((Character) 'a', copy.get("foo", 1));
219 assertEquals((Character) 'b', copy.get("bar", 1))
    [all...]
TreeMultimapNaturalTest.java 6 * You may obtain a copy of the License at
195 TreeMultimap<String, Integer> copy = TreeMultimap.create(multimap); local
196 assertEquals(multimap, copy);
206 * Test that creating one TreeMultimap from another does not copy the
464 TreeMultimap<String, Integer> copy local
466 ASSERT.that(copy.values()).hasContentsInOrder(1, 3, 7, 2, 6, 0, 4);
467 ASSERT.that(copy.keySet()).hasContentsInOrder("foo", "google", "tree");
468 assertEquals(multimap.keyComparator(), copy.keyComparator());
469 assertEquals(multimap.valueComparator(), copy.valueComparator());
  /cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfoTest.java 6 * You may obtain a copy of the License at
43 // simple test to ensure packageName is copied by copy constructor
46 ApplicationInfo copy = new ApplicationInfo(info); local
47 assertEquals(info.packageName, copy.packageName);
  /dalvik/dx/src/com/android/dx/cf/code/
ExecutionStack.java 6 * You may obtain a copy of the License at
61 * Makes and returns a mutable copy of this instance.
63 * @return {@code non-null;} the copy
65 public ExecutionStack copy() { method in class:ExecutionStack
OneLocalsArray.java 6 * You may obtain a copy of the License at
49 public OneLocalsArray copy() { method in class:OneLocalsArray
  /dalvik/vm/alloc/
Alloc.cpp 6 * You may obtain a copy of the License at
202 * Create a copy of an object, for Object.clone().
225 Object* copy = (Object*)dvmMalloc(size, flags); local
226 if (copy == NULL)
229 DVM_OBJECT_INIT(copy, clazz);
231 /* Copy instance data. We assume memcpy copies by words. */
232 memcpy((char*)copy + offset, (char*)obj + offset, size - offset);
236 dvmSetFinalizable(copy);
241 return copy;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ControlTest.java 7 * the License. You may obtain a copy of the License at
424 // if copy file exists, run the "changing" test
558 File copy = new File(copyName); local
559 if (copy.exists()) {
560 copy.delete();
562 copy.createNewFile();
563 copy.deleteOnExit();
566 Writer out = new FileWriter(copy);
573 return copy;
    [all...]
  /external/apache-http/src/org/apache/http/message/
HeaderGroup.java 13 * with the License. You may obtain a copy of the License at
279 * Returns a copy of this object
281 * @return copy of this object
283 public HeaderGroup copy() { method in class:HeaderGroup
  /external/chromium/base/
pickle_unittest.cc 86 // test copy constructor
268 Pickle copy; local
269 copy = copy_refs_source_buffer;
270 ASSERT_EQ(source.size(), copy.size());
  /external/chromium/net/base/
dnssec_unittest.cc 586 uint8 copy[sizeof(kChain)]; local
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
cryptstring.h 45 virtual CryptStringImpl * Copy() const = 0;
59 virtual CryptStringImpl * Copy() const { return new EmptyCryptStringImpl(); }
70 CryptString(const CryptString & other) : impl_(other.impl_->Copy()) {}
71 explicit CryptString(const CryptStringImpl & impl) : impl_(impl.Copy()) {}
74 impl_.reset(other.impl_->Copy());
183 virtual CryptStringImpl * Copy() const {
184 InsecureCryptStringImpl * copy = new InsecureCryptStringImpl; local
185 copy->password() = password_;
186 return copy;
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
mat3.js 89 * Copy the values from one mat3 to another
95 mat3.copy = function(out, a) {
  /external/chromium_org/cc/quads/
render_pass_unittest.cc 25 // Copy() tests.
100 scoped_ptr<RenderPass> copy = pass->Copy(new_id); local
101 EXPECT_EQ(new_id, copy->id);
102 EXPECT_RECT_EQ(pass->output_rect, copy->output_rect);
103 EXPECT_EQ(pass->transform_to_root_target, copy->transform_to_root_target);
104 EXPECT_RECT_EQ(pass->damage_rect, copy->damage_rect);
105 EXPECT_EQ(pass->has_transparent_background, copy->has_transparent_background);
106 EXPECT_EQ(0u, copy->quad_list.size());
108 // The copy request should not be copied/duplicated
    [all...]
  /external/chromium_org/chrome/test/functional/ap_lab/
ap_configurator.py 5 import copy namespace
151 'args': copy.copy(args),
  /external/chromium_org/chrome/test/functional/
test_utils.py 5 import copy namespace
36 """Copy a file from data directory to downloads directory.
44 shutil.copy(data_file, download_dir)
48 """Copy a file from content data directory to downloads directory.
56 shutil.copy(data_file, download_dir)
190 """Returns a copy of 'item_to_strip' where unmatched key-value pairs in
203 item_to_strip: item to copy and remove all unmatched key-value pairs
208 a copy of 'item_to_strip' where all key-value pairs that do not have a
218 return_list = copy.deepcopy(list2)
236 return copy.deepcopy(item_to_strip
    [all...]
  /external/chromium_org/components/policy/core/common/
policy_map.cc 28 scoped_ptr<Entry> copy(new Entry);
29 copy->level = level;
30 copy->scope = scope;
32 copy->value = value->DeepCopy();
34 copy->external_data_fetcher =
37 return copy.Pass();
109 PolicyMap* copy = new PolicyMap(); local
110 copy->CopyFrom(*this);
111 return make_scoped_ptr(copy);
  /external/chromium_org/content/browser/dom_storage/
dom_storage_area.cc 207 DOMStorageArea* copy = new DOMStorageArea( local
210 copy->map_ = map_;
211 copy->is_shutdown_ = is_shutdown_;
212 copy->is_initial_import_done_ = true;
215 // shallow copy is made (scheduled by the upper layer). Another OnCommitTimer
220 return copy;
344 // It's possible that there is nothing to commit, since a shallow copy occured
dom_storage_area_unittest.cc 79 scoped_refptr<DOMStorageArea> copy; local
90 // Verify that a copy shares the same map.
91 copy = area->ShallowCopy(2, std::string());
92 EXPECT_EQ(kOrigin, copy->origin());
93 EXPECT_EQ(2, copy->namespace_id());
94 EXPECT_EQ(area->Length(), copy->Length());
95 EXPECT_EQ(area->GetItem(kKey).string(), copy->GetItem(kKey).string());
96 EXPECT_EQ(area->Key(0).string(), copy->Key(0).string());
97 EXPECT_EQ(copy->map_.get(), area->map_.get());
99 // But will deep copy-on-write as needed
    [all...]
  /external/chromium_org/mojo/public/tests/
bindings_type_conversion_unittest.cc 219 test_structs::NamedRegion copy = redmond_region; local
220 RedmondNamedRegion redmond_region2 = copy.To<RedmondNamedRegion>();
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
update.py 6 import copy namespace
255 bundle = copy.deepcopy(local_manifest.GetBundle(bundle_name))
  /external/chromium_org/remoting/base/
compound_buffer_unittest.cc 54 CompoundBuffer copy; local
55 copy.CopyFrom(target_, pos, pos + size);
56 EXPECT_TRUE(CompareData(copy, data_->data() + pos, size));
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleRule.cpp 16 * You should have received a copy of the GNU Library General Public License
99 PassRefPtr<StyleRuleBase> StyleRuleBase::copy() const function in class:WebCore::StyleRuleBase
103 return toStyleRule(this)->copy();
105 return toStyleRulePage(this)->copy();
107 return toStyleRuleFontFace(this)->copy();
109 return toStyleRuleMedia(this)->copy();
111 return toStyleRuleSupports(this)->copy();
113 return toStyleRuleRegion(this)->copy();
115 // FIXME: Copy import rules.
119 return toStyleRuleKeyframes(this)->copy();
    [all...]

Completed in 1646 milliseconds

<<11121314151617181920>>