/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_cp.py | 261 contents = pkgutil.get_data('gslib', 'tests/test_data/%s' % name) 262 return self.CreateTempFile(file_name=name, contents=contents) 266 key_uri = self.CreateObject(contents='foo') 267 fpath = self.CreateTempFile(contents='bar') 279 fpath = self.CreateTempFile(contents='foo') 289 key_uri = self.CreateObject(bucket_uri=bucket1_uri, contents='foo') 405 fpath = self.CreateTempFile(contents='foo/bar\n') 423 fpath = self.CreateTempFile(contents='foo/bar\n') 510 k1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data2' [all...] |
test_acl.py | 60 obj_uri = suri(self.CreateObject(contents='foo')) 61 inpath = self.CreateTempFile(contents='badAcl') 69 inpath = self.CreateTempFile(contents='badAcl') 76 obj_uri = suri(self.CreateObject(contents='foo')) 77 inpath = self.CreateTempFile(contents='<ValidXml></ValidXml>') 86 inpath = self.CreateTempFile(contents='<ValidXml></ValidXml>') 94 obj_uri = suri(self.CreateObject(contents='foo')) 97 inpath = self.CreateTempFile(contents=acl_string) 110 obj_uri = suri(self.CreateObject(contents='foo')) 115 inpath = self.CreateTempFile(contents=acl_string [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
android_command_line_backend.py | 106 def _WriteFile(self, contents): 107 self._device.WriteFile(self.command_line_file, contents, as_root=True)
|
/external/curl/docs/examples/ |
getinmemory.c | 39 WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) 51 memcpy(&(mem->memory[mem->size]), contents, realsize);
|
postinmemory.c | 33 WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) 45 memcpy(&(mem->memory[mem->size]), contents, realsize);
|
/external/google-breakpad/src/google_breakpad/processor/ |
microdump.h | 78 // Set this region's address and contents. If we have placed an 80 // can use this to provide the region's contents. 81 void Init(uint64_t base_address, const std::vector<uint8_t>& contents); 108 explicit Microdump(const string& contents);
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableCollection.java | 195 * Copies the contents of this immutable collection into the specified array at the specified 317 Object[] contents; field in class:ImmutableCollection.ArrayBasedBuilder 322 this.contents = new Object[initialCapacity]; 331 if (contents.length < minCapacity) { 332 this.contents = ObjectArrays.arraysCopyOf( 333 this.contents, expandedCapacity(contents.length, minCapacity)); 341 contents[size++] = element; 349 System.arraycopy(elements, 0, contents, size, elements.length);
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
InMemoryResourceLoader.java | 55 public void store(String name, String contents) { 56 items.put(name, contents);
|
/external/libchrome/base/ |
PRESUBMIT.py | 21 contents = input_api.ReadFile(f) 22 if pattern.search(contents):
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
SimpleOrthoGroupStrategy.java | 80 public void beforeGroup (int group, Array<Decal> contents) {
82 Sort.instance().sort(contents, comparator);
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
UnixDirectoryListingFormatterTest.groovy | 52 def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_MODIFIED,
59 def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_MODIFIED)
66 def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_MODIFIED)
73 def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_MODIFIED)
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/ |
RemoteFileTest.java | 36 private static final String CONTENTS = "abcdef 1234567890";
42 String contents = remoteFile.readFile(FILE);
local 43 assertEquals("contents", CONTENTS, contents);
62 fileSystem.add(new FileEntry(FILE, CONTENTS));
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/ |
RemoteFileTest.java | 43 final String CONTENTS = "abcdef 1234567890";
45 // Replace the default RETR CommandHandler; customize returned file contents
47 retrCommandHandler.setFileContents(CONTENTS);
52 String contents = remoteFile.readFile(FILENAME);
local 54 // Verify returned file contents
55 assertEquals("contents", CONTENTS, contents);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/ |
RemoteFileTest.java | 43 final String CONTENTS = "abcdef 1234567890";
45 // Replace the default RETR CommandHandler; customize returned file contents
47 retrCommandHandler.setFileContents(CONTENTS);
52 String contents = remoteFile.readFile(FILENAME);
local 54 // Verify returned file contents
55 assertEquals("contents", CONTENTS, contents);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
PrimitiveArrayTest.java | 228 private LongArr[] contents; field in class:PrimitiveArrayTest.ArrayLongArr 231 return contents; 234 public void setContents(LongArr[] contents) { 235 this.contents = contents; 244 if (contents.length != other.getContents().length) 246 for (int i = 0; i < contents.length; ++i) { 247 if (!Arrays.equals(contents[i].getLongs(), other.getContents()[i].getLongs())) {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
StaticAccessImportOnDemandTest.java | 58 private void assertText(String contents, TextView textView) { 59 assertEquals(contents, textView.getText().toString());
|
StaticAccessImportOnDemandWithConflictTest.java | 58 private void assertText(String contents, TextView textView) { 59 assertEquals(contents, textView.getText().toString());
|
StaticAccessTest.java | 61 private void assertText(String contents, TextView textView) { 62 assertEquals(contents, textView.getText().toString());
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.java | 97 ByteArrayOutputStream contents = new ByteArrayOutputStream(); local 102 contents.write(buf, 0, len);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_wintypes.py | 16 self.assertEqual(repr(value.contents), 'VARIANT_BOOL(True)') 28 self.assertEqual(repr(value.contents), 'VARIANT_BOOL(False)')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
curses_tests.py | 28 contents = box.edit() 30 stdscr.addstr(repr(contents))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_wintypes.py | 16 self.assertEqual(repr(value.contents), 'VARIANT_BOOL(True)') 28 self.assertEqual(repr(value.contents), 'VARIANT_BOOL(False)')
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
curses_tests.py | 28 contents = box.edit() 30 stdscr.addstr(repr(contents))
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug101.go | 14 if a[0] != 1 || a[1] != 2 || a[2] != 3 { panic("array contents") }
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug101.go | 14 if a[0] != 1 || a[1] != 2 || a[2] != 3 { panic("array contents") }
|