/external/replicaisland/src/com/replica/replicaisland/ |
FixedSizeArray.java | 110 * @return The contents of the last element in the array. 147 * Clears the contents of the array, releasing all references to objects it contains and 199 final T[] contents = mContents; 202 index = Arrays.binarySearch(contents, object, comparator); 204 index = Arrays.binarySearch(contents, object); 216 final int result = comparator.compare(contents[x], object); 227 if (contents[x] == object) {
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_lifecycle.py | 81 fpath = self.CreateTempFile(contents=self.empty_doc1) 89 fpath = self.CreateTempFile(contents=self.lifecycle_doc) 97 fpath = self.CreateTempFile(contents=self.lifecycle_doc_bucket_style) 105 fpath = self.CreateTempFile(contents=self.lifecycle_created_before_doc) 113 fpath = self.CreateTempFile(contents=self.bad_doc) 120 fpath = self.CreateTempFile(contents=self.xml_doc) 129 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.lifecycle_doc) 135 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1) 145 fpath = self.CreateTempFile(contents=self.lifecycle_doc) 182 fpath = self.CreateTempFile(contents=self.lifecycle_doc [all...] |
test_setmeta.py | 32 objuri = suri(self.CreateObject(contents='foo')) 47 objuri = suri(self.CreateObject(contents='foo')) 64 object_uri = self.CreateObject(contents='foo') 89 object_uri = self.CreateObject(contents='foo') 119 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 120 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 139 objuri = self.CreateObject(contents='foo')
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-m32c.c | 320 This function is responsible for adjusting the section contents as 347 bfd_byte * contents, 445 rel, 1, relend, howto, 0, contents); 491 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); 532 printf (" %02x", contents[rel->r_offset+i]); 537 contents, rel->r_offset, relocation, 709 bfd_byte *contents = splt->contents; 713 unsigned int x = bfd_get_32 (dynobj, contents + i); 738 splt->contents = (bfd_byte *) bfd_zalloc (dynobj, splt->size) 706 bfd_byte *contents = splt->contents; local 1379 bfd_byte * contents = NULL; local 1901 bfd_byte *contents; local [all...] |
elf32-sh.c | 131 asection *input_section, bfd_byte *contents, 161 /* Get the symbol_section contents. */ 164 if (elf_section_data (symbol_section)->this_hdr.contents != NULL) 165 contents = elf_section_data (symbol_section)->this_hdr.contents; 169 &contents)) 171 if (contents != NULL) 172 free (contents); 178 start_ptr = contents + start; 179 for (cum_diff = -6, ptr = contents + end; cum_diff < 0 && ptr > start_ptr; 506 bfd_byte *contents = NULL; local 882 bfd_byte *contents; local [all...] |
coff-sh.c | 435 /* This is a common symbol. The section contents include the 651 section contents. */ 713 bfd_byte *contents = NULL; 754 /* Get the section contents. */ 755 if (contents == NULL) 757 if (coff_section_data (abfd, sec)->contents != NULL) 758 contents = coff_section_data (abfd, sec)->contents; 761 if (!bfd_malloc_and_get_section (abfd, sec, &contents)) 779 insn = bfd_get_16 (abfd, contents + laddr) 712 bfd_byte *contents = NULL; local 1065 bfd_byte *contents; local [all...] |
simple.c | 169 Returns the relocated contents of section @var{sec}. The symbols in 188 bfd_byte *contents, *data; local 198 contents = outbuf; 199 if (!bfd_get_full_section_contents (abfd, sec, &contents)) 201 return contents; 270 contents = bfd_get_relocated_section_contents (abfd, 276 if (contents == NULL && data != NULL) 284 return contents;
|
elf64-x86-64.c | 2757 bfd_byte *contents; local [all...] |
/external/google-breakpad/src/processor/ |
minidump_unittest.cc | 97 // read minidump contents into memory, construct a stringstream around them 125 string contents; local 126 ASSERT_TRUE(dump.GetContents(&contents)); 127 istringstream stream(contents); 136 string contents; local 137 ASSERT_TRUE(big_minidump.GetContents(&contents)); 138 istringstream stream(contents); 147 stream.Append("stream contents"); 151 string contents; local 152 ASSERT_TRUE(dump.GetContents(&contents)); 187 string contents; local 240 string contents; local 319 string contents; local 362 string contents; local 418 string contents; local 456 string contents; local 568 string contents; local 659 string contents; local 716 string contents; local 790 string contents; local 875 string contents; local 957 string contents; local 1020 string contents; local 1104 string contents; local 1203 string contents; local [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_shutil_test.py | 205 contents = 'contents of file' 206 self.filesystem.CreateFile(src_file, contents=contents) 211 self.assertEqual(contents, self.filesystem.GetObject(dst_file).contents) 216 contents = 'contents of file' 217 self.filesystem.CreateFile(src_file, contents=contents) [all...] |
fake_filesystem_test.py | 53 self.fake_file = fake_filesystem.FakeFile('foobar', contents='dummy_file') 62 self.assertEqual({}, self.fake_dir.contents) 67 self.assertEqual({'foobar': self.fake_file}, self.fake_dir.contents) 87 self.assertEqual('', self.fake_file.contents) 91 self.assertEqual('', self.fake_file.contents) 95 self.assertEqual('dummy_', self.fake_file.contents) 99 self.assertEqual('dummy_file', self.fake_file.contents) 103 self.assertEqual('dummy_file\0\0\0', self.fake_file.contents) 116 filesystem.CreateFile(file_path, contents='contents here1', inode=42 [all...] |
/external/v8/tools/ |
presubmit.py | 328 def ProcessContents(self, name, contents): 332 if '\t' in contents: 336 if not COPYRIGHT_HEADER_PATTERN.search(contents): 339 if ' \n' in contents or contents.endswith(' '): 342 parts = contents.split(' \n') 343 if not contents.endswith(' '): 354 if not contents.endswith('\n') or contents.endswith('\n\n'): 361 parts = contents.split('\n' [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbPortManager.java | 70 // Contents: "", "ufp", "dfp", or "ufp dfp". 74 // Contents: "", "ufp", or "dfp". 78 // Contents: "", "source", or "sink". 82 // Contents: "", "host", or "device". 421 // Parse the sysfs file contents. 581 final String contents = readFile(portDir, SYSFS_PORT_SUPPORTED_MODES); local 582 if (contents != null) { 583 if (contents.contains(PORT_MODE_DFP)) { 586 if (contents.contains(PORT_MODE_UFP)) { 594 final String contents = readFile(portDir, SYSFS_PORT_MODE) local 607 final String contents = readFile(portDir, SYSFS_PORT_POWER_ROLE); local 620 final String contents = readFile(portDir, SYSFS_PORT_DATA_ROLE); local 683 SystemProperties.set(propertyFromFilename(filename), contents); local [all...] |
/external/vboot_reference/cgpt/ |
cgpt_show.c | 100 char contents[256]; // scratch buffer for formatting output local 106 require(snprintf(contents, sizeof(contents), 107 "Label: \"%s\"", label) < sizeof(contents)); 110 index+1, contents); 132 require(snprintf(contents, sizeof(contents), 134 priority, tries, successful) < sizeof(contents)); 135 printf(PARTITION_MORE, "Attr: ", contents); 138 require(snprintf(contents, sizeof(contents) [all...] |
/external/dbus/dbus/ |
dbus-keyring.c | 398 DBusString contents; local 413 if (!_dbus_string_init (&contents)) 422 _dbus_string_free (&contents); 446 if (!_dbus_file_get_contents (&contents, 456 if (!_dbus_string_validate_ascii (&contents, 0, 457 _dbus_string_get_length (&contents))) 459 _dbus_warn ("Secret keyring file contains non-ASCII! Ignoring existing contents\n"); 460 _dbus_string_set_length (&contents, 0); 466 while (_dbus_string_pop_line (&contents, &line)) 570 _dbus_string_set_length (&contents, 0) [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
html_module.py | 16 return 'polymer-element' in html_resource.contents 27 parser_results = parse_html_deps.HTMLModuleParser().Parse(self.contents) 43 if 'tr.exportTo' in self.contents: 60 js = inline_script.contents 87 for contents in self._parser_results.inline_stylesheets: 90 self.loader, module_dirname, contents) 156 resource.contents
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 172 final ArrayList<E> contents = Lists.newArrayList(); field in class:ImmutableSet.Builder 177 contents.add(checkNotNull(element)); 183 contents.ensureCapacity(contents.size() + elements.length); 191 contents.ensureCapacity(contents.size() + collection.size()); 203 return copyOf(contents.iterator());
|
/external/libchrome/base/files/ |
file_util.cc | 128 std::string* contents, 130 if (contents) 131 contents->clear(); 148 if (contents) 149 contents->append(buf.get(), std::min(len, max_size - size)); 164 bool ReadFileToString(const FilePath& path, std::string* contents) { 165 return ReadFileToString(path, contents, std::numeric_limits<size_t>::max());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_asynchat.py | 66 self.contents = [] 85 self.contents.append(self.buffer) 125 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 156 self.assertEqual(c.contents, [data[:termlen]]) 177 self.assertEqual(c.contents, []) 189 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 199 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 210 self.assertEqual(c.contents, ["hello world", "", "I'm not dead yet!"]) 228 self.assertEqual(c.contents, [])
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_asynchat.py | 66 self.contents = [] 85 self.contents.append(self.buffer) 125 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 156 self.assertEqual(c.contents, [data[:termlen]]) 177 self.assertEqual(c.contents, []) 189 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 199 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 210 self.assertEqual(c.contents, ["hello world", "", "I'm not dead yet!"]) 228 self.assertEqual(c.contents, [])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_asynchat.py | 66 self.contents = [] 85 self.contents.append(self.buffer) 125 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 156 self.assertEqual(c.contents, [data[:termlen]]) 177 self.assertEqual(c.contents, []) 189 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 199 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 210 self.assertEqual(c.contents, ["hello world", "", "I'm not dead yet!"]) 228 self.assertEqual(c.contents, [])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_asynchat.py | 66 self.contents = [] 85 self.contents.append(self.buffer) 125 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 156 self.assertEqual(c.contents, [data[:termlen]]) 177 self.assertEqual(c.contents, []) 189 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 199 self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"]) 210 self.assertEqual(c.contents, ["hello world", "", "I'm not dead yet!"]) 228 self.assertEqual(c.contents, [])
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 57 byte[] contents; 60 contents = report.getContents().getBytes(); 75 out.write(contents);
|
/external/boringssl/src/tool/ |
pkcs12.cc | 51 "Dump the key and contents of the given file to stdout", 81 std::unique_ptr<uint8_t[]> contents(new uint8_t[size]); 85 n = read(fd, &contents[off], size - off); 120 CBS_init(&pkcs12, contents.get(), size);
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
request_handler.py | 45 contents = open(filename, 'r') 46 self.response.out.write(contents.read()) 47 contents.close()
|