HomeSort by relevance Sort by last modified time
    Searched refs:contents (Results 201 - 225 of 2345) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/dbus-binding-generator/chromeos-dbus-bindings/
proxy_generator_mock_unittest.cc 174 base::FilePath CreateInputFile(const string& contents) {
177 int written = base::WriteFile(path, contents.c_str(), contents.size());
178 EXPECT_EQ(contents.size(), static_cast<size_t>(written));
243 string contents;
244 EXPECT_TRUE(base::ReadFileToString(output_path, &contents));
247 test_utils::EXPECT_TEXT_CONTAINED(kExpectedContent, contents);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PropertyResourceBundleTest.java 187 Vector<String> contents = new Vector<String>(); local
189 contents.add(keys.nextElement());
192 assertEquals("did not get the right number of properties", 4, contents
194 assertTrue("did not get the parent property p1", contents
196 assertTrue("did not get the parent property p2", contents
198 assertTrue("did not get the local property p3", contents.contains("p3"));
199 assertTrue("did not get the local property p4", contents.contains("p4"));
  /system/tools/aidl/
io_delegate.cpp 86 unique_ptr<string> contents; local
89 return contents;
91 contents.reset(new string);
94 contents->resize(file_size + content_suffix.length());
96 // Read the file contents into the beginning of the string
97 in.read(&(*contents)[0], file_size);
99 contents->replace(file_size, content_suffix.length(), content_suffix);
102 return contents;
  /ndk/sources/host-tools/make-3.81/
dir.c 338 /* Table of directory contents hashed by device and inode number. */
345 /* The directory's contents. This data may be shared by several
348 struct directory_contents *contents;
485 setting the `contents' member to a nil pointer. */
486 dir->contents = 0;
490 /* Search the contents hash table; device and inode are the key. */
519 /* Enter it in the contents hash table. */
571 /* Point the name-hashed entry for DIR at its contents data. */
572 dir->contents = dc;
740 return dir_contents_file_exists_p (find_directory (dirname)->contents,
346 struct directory_contents *contents; member in struct:directory
1090 struct directory_contents *contents; \/* The directory being read. *\/ member in struct:dirstream
    [all...]
  /prebuilts/go/darwin-x86/src/io/ioutil/
ioutil_test.go 24 contents, err := ReadFile(filename)
30 contents, err = ReadFile(filename)
35 checkSize(t, filename, int64(len(contents)))
52 contents, err := ReadFile(filename)
57 if string(contents) != data {
58 t.Fatalf("contents = %q\nexpected = %q", string(contents), data)
  /prebuilts/go/linux-x86/src/io/ioutil/
ioutil_test.go 24 contents, err := ReadFile(filename)
30 contents, err = ReadFile(filename)
35 checkSize(t, filename, int64(len(contents)))
52 contents, err := ReadFile(filename)
57 if string(contents) != data {
58 t.Fatalf("contents = %q\nexpected = %q", string(contents), data)
  /external/guava/guava/src/com/google/common/collect/
ImmutableSortedSet.java 196 Comparable[] contents = new Comparable[6 + remaining.length]; local
197 contents[0] = e1;
198 contents[1] = e2;
199 contents[2] = e3;
200 contents[3] = e4;
201 contents[4] = e5;
202 contents[5] = e6;
203 System.arraycopy(remaining, 0, contents, 6, remaining.length);
204 return construct(Ordering.natural(), contents.length, (E[]) contents);
    [all...]
  /external/pdfium/xfa/src/fxbarcode/oned/
BC_OnedUPCAWriter.cpp 43 const CFX_WideStringC& contents) {
45 for (i = 0; i < contents.GetLength(); i++) {
46 if (contents.GetAt(i) >= '0' && contents.GetAt(i) <= '9') {
55 const CFX_WideStringC& contents) {
58 for (int32_t i = 0; i < contents.GetLength(); i++) {
59 ch = contents.GetAt(i);
70 int32_t CBC_OnedUPCAWriter::CalcChecksum(const CFX_ByteString& contents) {
74 for (int32_t i = contents.GetLength() - 1; i >= 0; i--) {
76 odd += FXSYS_atoi(contents.Mid(i, 1));
    [all...]
  /external/google-breakpad/src/common/linux/
synth_elf_unittest.cc 65 string contents; local
66 ASSERT_TRUE(table.GetContents(&contents));
69 contents.c_str(),
70 contents.size()));
86 string contents; local
87 ASSERT_TRUE(table.GetContents(&contents));
89 contents.c_str(),
90 contents.size()));
109 string contents; local
110 ASSERT_TRUE(table.GetContents(&contents));
214 string contents; local
289 string contents; local
377 string contents; local
    [all...]
  /external/google-breakpad/src/common/
module_unittest.cc 72 string contents = s.str(); local
74 contents.c_str());
92 string contents = s.str(); local
98 contents.c_str());
141 string contents = s.str(); local
155 contents.c_str());
196 string contents = s.str(); local
204 contents.c_str());
243 string contents = s.str(); local
249 contents.c_str())
275 string contents = s.str(); local
327 string contents = s.str(); local
403 string contents = s.str(); local
422 string contents = s.str(); local
447 string contents = s.str(); local
472 string contents = s.str(); local
501 string contents = s.str(); local
538 string contents = s.str(); local
    [all...]
  /external/chromium-trace/catapult/catapult_build/
js_checks.py 143 contents = list(f.NewContents())
145 '\n'.join(contents),
148 for i, line in enumerate(contents, start=1):
187 def CheckStrictMode(contents, is_html_file=False):
190 statements_to_check.extend(_FirstStatementsInScriptElements(contents))
192 statements_to_check.append(_FirstStatement(contents))
201 def _FirstStatementsInScriptElements(contents):
203 soup = parse_html.BeautifulSoup(contents)
208 def _FirstStatement(contents):
210 stripped_contents = strip_js_comments.StripJSComments(contents).strip(
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
ListCommandHandlerTest.groovy 44 final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc")
52 final entry1 = new FileEntry(path: p(DIR, "abc.txt"), lastModified: LAST_MODIFIED, contents: "abc")
54 final entry3 = new FileEntry(path: p(DIR, "another_file.doc"), lastModified: LAST_MODIFIED, contents: DATA3)
72 final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc")
85 final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc")
  /external/webrtc/webrtc/p2p/base/
sessiondescription.cc 16 ContentInfos& contents, const std::string& name) {
17 for (ContentInfos::iterator content = contents.begin();
18 content != contents.end(); ++content) {
27 const ContentInfos& contents, const std::string& name) {
28 for (ContentInfos::const_iterator content = contents.begin();
29 content != contents.end(); ++content) {
38 const ContentInfos& contents, const std::string& type) {
39 for (ContentInfos::const_iterator content = contents.begin();
40 content != contents.end(); ++content) {
77 content != copy->contents().end(); ++content)
    [all...]
  /external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_filesystem.py 54 ... contents='Dear Prudence\\nWon\\'t you come out to play?\\n')
156 def __init__(self, contents):
157 self.contents = binascii.hexlify(contents).decode('utf-8')
160 return len(self.contents)//2
164 return binascii.unhexlify(bytearray(self.contents, 'utf-8'))
166 return binascii.unhexlify(bytearray(self.contents, 'utf-8')).decode(sys.getdefaultencoding())
183 contents=None):
190 contents: the contents of the filesystem object; should be a string fo
    [all...]
  /external/google-breakpad/src/common/mac/
macho_reader.cc 190 fprintf(stderr, "%s: the contents of load command #%ld, of type %d,"
202 fprintf(stderr, "%s: the segment '%s' claims its contents lie beyond"
209 " claims its contents lie outside the segment's contents\n",
215 " table's contents are located beyond the end of the file\n",
360 // Mach-O files in .dSYM bundles have the contents of the loaded
363 // segments' contents NULL starting and ending pointers.
365 segment.contents.start = segment.contents.end = NULL;
367 segment.contents.start = buffer_.start + file_offset
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_compose.py 35 components = [self.CreateObject(bucket_uri=bucket_uri, contents=data).uri
88 bucket_uri=bucket_uri, contents='hello ', object_name='component1')
90 bucket_uri=bucket_uri, contents='world!', object_name='component2')
101 k1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data1')
102 k2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data2')
119 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo')
test_mv.py 84 fpath1 = self.CreateTempFile(tmpdir=tmpdir, contents='data1')
85 fpath2 = self.CreateTempFile(tmpdir=tmpdir, contents='data2')
101 fpath1 = self.CreateTempFile(contents='data1')
103 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data2')
110 contents = self.RunGsUtil(['cat', suri(object_uri)], return_stdout=True)
111 self.assertEqual(contents, 'data2')
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/testcase/
base.py 100 The directory and all of its contents will be deleted after the test.
116 self.CreateTempFile(tmpdir=tmpdir, file_name=name, contents='test %d' % i)
119 def CreateTempFile(self, tmpdir=None, contents=None, file_name=None):
125 contents: The contents to write to the file. If not specified, a test
145 contents = (contents if contents is not None
146 else self.MakeTempName('contents'))
147 f.write(contents)
    [all...]
  /external/libbrillo/brillo/
file_utils_unittest.cc 29 // Writes |contents| to |file_path_|. Pulled into a separate function just
31 void WriteFile(const std::string& contents) {
32 EXPECT_EQ(contents.length(),
33 base::WriteFile(file_path_, contents.c_str(), contents.length()));
36 // Verifies that the file at |file_path_| exists and contains |contents|.
37 void ExpectFileContains(const std::string& contents) {
41 EXPECT_EQ(contents, new_contents);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
CameraGroupStrategy.java 130 public void beforeGroup (int group, Array<Decal> contents) {
133 contents.sort(cameraSorter);
135 for (int i = 0, n = contents.size; i < n; i++) {
136 Decal decal = contents.get(i);
147 contents.clear();
149 contents.addAll(materialGroup);
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Tooltip.java 37 /** @param contents May be null. */
38 public Tooltip (T contents) {
39 this(contents, TooltipManager.getInstance());
42 /** @param contents May be null. */
43 public Tooltip (T contents, TooltipManager manager) {
46 container = new Container(contents) {
63 public void setActor (T contents) {
64 container.setActor(contents);
  /external/vogar/test/vogar/target/
TestRunnerTest.java 56 + "//00xx{\"completedNormally\":true}\n", ios.contents(Stream.OUT));
86 + "//00xx{\"completedNormally\":true}\n", ios.contents(Stream.OUT));
103 String out = ios.contents(Stream.OUT);
137 String out = ios.contents(Stream.OUT);
187 + "//00xx{\"completedNormally\":true}\n", ios.contents(Stream.OUT));
208 + "//00xx{\"completedNormally\":true}\n", ios.contents(Stream.OUT));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ReaderTest.java 162 private char[] contents; field in class:ReaderTest.MockReader
173 contents = data;
174 length = contents.length;
180 contents = null;
186 if (null == contents) {
198 buf[offset + i] = contents[current_offset + i];
  /packages/apps/Browser2/src/org/chromium/webview_shell/
WebViewLayoutTest.java 120 * Reads a file and returns it's contents as string.
127 StringBuilder contents = new StringBuilder(); local
131 contents.append(line);
132 contents.append("\n");
134 return contents.toString();
144 * Writes a file with the given fileName and contents. If overwrite is true overwrites any
148 private static void writeFile(final String fileName, final String contents, boolean overwrite)
166 outputStream.write(contents.getBytes());
  /external/autotest/client/site_tests/security_RuntimeExecStack/
security_RuntimeExecStack.py 34 contents = ''
38 contents += line + '\n'
59 return 3, contents

Completed in 696 milliseconds

1 2 3 4 5 6 7 891011>>