/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 22 import copy namespace 415 newcolumnlist = copy.copy(oldcolumnlist)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
collections.py | 180 inst_dict = vars(self).copy() 187 def copy(self): member in class:OrderedDict 188 'od.copy() -> a shallow copy of od' 270 'Return self as a plain tuple. Used by copy and pickle.' 557 def copy(self): member in class:Counter 558 'Return a shallow copy.'
|
gettext.py | 49 import locale, copy, os, re, struct, sys namespace 479 # Copy the translation object to allow setting fallbacks and 482 t = copy.copy(t)
|
sets.py | 145 def copy(self): member in class:BaseSet 146 """Return a shallow copy of a set.""" 151 __copy__ = copy # For the copy module 154 """Return a deep copy of a set; used by copy module.""" 156 # early, in case the deep copy recurses into another reference 160 from copy import deepcopy 540 # Return a copy of self as an immutable set
|
shutil.py | 3 XXX The functions here don't copy the resource fork or other metadata on Mac. 25 __all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2", 47 """copy data from file-like object fsrc to file-like object fdst""" 67 """Copy data from src to dst""" 87 """Copy mode bits from src to dst""" 94 """Copy all stat info (mode bits, atime, mtime, flags) from src to dst""" 111 def copy(src, dst): function 112 """Copy data and mode bits ("cp src dst"). 123 """Copy data and all stat info ("cp -p src dst"). 146 """Recursively copy a directory tree using copy2() [all...] |
webbrowser.py | 76 an entry in the BROWSER environment variable -- we can copy a general 95 import copy namespace 96 controller = copy.copy(controller)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_coercion.py | 1 import copy namespace 273 z = copy.copy(a) 274 except copy.Error:
|
test_fractions.py | 11 from copy import copy, deepcopy namespace 93 """Dummy Fraction subclass for copy and deepcopy testing.""" 589 self.assertEqual(id(r), id(copy(r))) 591 self.assertNotEqual(id(dr), id(copy(dr))) 593 self.assertTypedEquals(dr, copy(dr))
|
test_site.py | 17 from copy import copy namespace 41 """Save a copy of sys.path""" 46 self.old_vars = copy(sysconfig._CONFIG_VARS) 170 env = os.environ.copy() 177 env = os.environ.copy() 183 env = os.environ.copy() 190 env = os.environ.copy() 316 """Make a copy of sys.path"""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/sax/ |
xmlreader.py | 330 def copy(self): member in class:AttributesImpl 371 def copy(self): member in class:AttributesNSImpl
|
/system/core/toolbox/cp/ |
cp.c | 96 static int copy(char *[], enum op, int); 206 /* Copy the umask for explicit mode setting. */ 235 * In (1), the target becomes a copy of the source. That is, if the 303 exit(copy(argv, type, fts_options)); 328 copy(char *argv[], enum op type, int fts_options) function
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsTest.java | 6 * You may obtain a copy of the License at 178 LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map); local 180 Iterator<Entry<String, String>> iter = copy.entrySet().iterator(); 262 TreeMap<Integer, Integer> copy = Maps.newTreeMap(map); local 263 assertEquals(copy, map); 264 assertSame(copy.comparator(), map.comparator()); 287 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); local 288 assertEquals(original, copy); 293 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); local 294 assertEquals(original, copy); 301 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 6 * You may obtain a copy of the License at 181 // copy from values if needed. 965 // make a copy of the matrix 966 Matrix_Delegate copy = new Matrix_Delegate(mValues); local 969 setTranslate(copy.mValues, 0, 0); 972 copy.mapPoints(dst, dstIndex, src, srcIndex, ptCount); [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduComposer.java | 7 * You may obtain a copy of the License at 185 * Copy buf to mMessage. 347 mStack.copy(); 460 temp = EncodedStringValue.copy(address); 557 mStack.copy(); 638 mStack.copy(); 866 mStack.copy(); 895 mStack.copy(); 957 mStack.copy(); 1115 void copy() { method in class:PduComposer.BufferStack [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ImagePreset.java | 6 * You may obtain a copy of the License at 72 mFilters.add(sourceRepresentation.copy()); 83 representation = mFilters.elementAt(position).copy(); 142 representation = representation.copy(); 158 addFilter(rep.copy()); 459 return r.copy();
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 6 * You may obtain a copy of the License at 312 // copy the comparison baseline for the next read. 335 size_t copy = len - read < avail ? len - read : avail; local 336 memcpy(data + read, ctx->buffer + ctx->consumed, copy); 337 ctx->consumed += copy; 338 read += copy; 483 size_t copy = len - wrote < avail ? len - wrote : avail; local 484 memcpy(ctx->buffer + ctx->stored, data + wrote, copy); 485 ctx->stored += copy; 486 wrote += copy; [all...] |
/build/tools/releasetools/ |
common.py | 5 # You may obtain a copy of the License at 15 import copy namespace 873 cmd = copy.copy(diff_program)
|
/dalvik/dx/src/com/android/dx/ssa/ |
SsaRenamer.java | 6 * You may obtain a copy of the License at 199 RegisterSpec[] copy = new RegisterSpec[orig.length]; local 201 System.arraycopy(orig, 0, copy, 0, orig.length); 203 return copy; 489 * For moves: copy propogate the move if we can, but don't 525 * If we're going to copy-propogate, then the ssa register 570 * Do not copy-propogate, since the two registers have
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 6 * You may obtain a copy of the License at 274 copy(inputStream, outputStream); method 338 public void copy(InputStream in, OutputStream out) throws IOException { method in class:ImageDownloader.BitmapDownloaderTask
|
/development/tools/idegen/src/com/android/idegen/ |
IntellijProject.java | 6 * You may obtain a copy of the License at 199 Files.copy(file, toFile);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringBuffer2Test.java | 7 * the License. You may obtain a copy of the License at 515 String copy = sb.toString(); local 516 assertEquals(org, copy); 522 copy = sb.toString(); 523 assertEquals(rev, copy);
|
/external/chromium/chrome/common/extensions/ |
extension_unittest.cc | 564 // Make a deep copy of the input and remove one key at a time and see if we 566 scoped_ptr<DictionaryValue> copy; local 569 copy.reset(input.DeepCopy()); 570 copy->Remove(keys::kPageActionId, NULL); 571 action.reset(extension.LoadExtensionActionHelper(copy.get(), &error_msg)); 575 copy.reset(input.DeepCopy()); 576 copy->Remove(keys::kName, NULL); 577 action.reset(extension.LoadExtensionActionHelper(copy.get(), &error_msg)); 583 copy.reset(input.DeepCopy()); 584 copy->Remove(keys::kPageActionIcons, NULL) [all...] |
/external/chromium/net/server/ |
http_server.cc | 34 IdToConnectionMap copy = id_to_connection_; local 35 for (IdToConnectionMap::iterator it = copy.begin(); it != copy.end(); ++it)
|
/external/chromium_org/chrome/browser/web_resource/ |
notification_promo.cc | 132 // Returns a _new_ object that is a deep copy with replacements. 140 base::ListValue* copy = new base::ListValue; local 145 copy->Append(child_copy); 147 return copy; 153 base::DictionaryValue* copy = new base::DictionaryValue; local 159 copy->SetWithoutPathExpansion(it.key(), child_copy); 161 return copy; 175 // For everything else, just make a copy.
|
/external/chromium_org/chrome/test/chromedriver/ |
util.cc | 75 std::string copy = base64; local 79 base::RemoveChars(copy, "\n", ©); 80 return base::Base64Decode(copy, bytes);
|