HomeSort by relevance Sort by last modified time
    Searched full:file_contents (Results 1 - 25 of 122) sorted by null

1 2 3 4 5

  /system/core/init/
util_test.cpp 34 auto file_contents = ReadFile("/proc/does-not-exist"); local
36 ASSERT_FALSE(file_contents);
37 EXPECT_EQ("open() failed: No such file or directory", file_contents.error_string());
46 auto file_contents = ReadFile(tf.path); local
47 ASSERT_FALSE(file_contents) << strerror(errno);
48 EXPECT_EQ("Skipping insecure file", file_contents.error_string());
57 auto file_contents = ReadFile(tf.path); local
58 ASSERT_FALSE(file_contents) << strerror(errno);
59 EXPECT_EQ("Skipping insecure file", file_contents.error_string());
65 auto file_contents = ReadFile("/charger") local
72 auto file_contents = ReadFile("\/proc\/version"); local
102 auto file_contents = ReadFile(path); local
117 auto file_contents = ReadFile(tf.path); local
    [all...]
persistent_properties.cpp 150 auto file_contents = ReadFile(persistent_property_filename); local
151 if (!file_contents) {
152 return Error() << "Unable to read persistent property file: " << file_contents.error();
154 return *file_contents;
160 auto file_contents = ReadPersistentPropertyFile(); local
161 if (!file_contents) return file_contents.error();
164 if (persistent_properties.ParseFromString(*file_contents)) return persistent_properties;
  /external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
html_module_unittest.py 79 file_contents = {}
80 file_contents[os.path.normpath('/tmp/a/foo.js')] = """
85 FakeLoader([os.path.normpath('/tmp')], file_contents),
99 file_contents = {}
100 file_contents[os.path.normpath('/foo.js')] = ''
103 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
115 file_contents = {}
118 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
130 file_contents = {}
131 file_contents[os.path.normpath('/tmp/a/foo.html')] = ""
    [all...]
  /external/autotest/tko/
jsonp_fetcher.cgi 26 file_contents = urllib2.urlopen('http://localhost' + path).read() variable in class:LogFileNotFound
27 result_dict['result'] = file_contents
  /external/v8/tools/testrunner/server/
signatures.py 36 file_contents = base64.b64encode(f.read())
47 return [file_contents, signature]
50 def VerifySignature(filename, file_contents, signature, pubkeyfile):
52 f.write(base64.b64decode(file_contents))
  /external/tensorflow/tensorflow/core/api_def/
update_api_def.cc 147 string RemoveDoc(const OpDef& op, const string& file_contents,
150 const auto doc_start_location = file_contents.find(kDocStart, start_location);
158 return file_contents;
160 const auto doc_end_location = file_contents.find(kDocEnd, doc_start_location);
164 return file_contents;
168 string doc_text = file_contents.substr(
177 return file_contents;
180 auto before_doc = file_contents.substr(0, doc_start_location);
183 file_contents.substr(doc_end_location + sizeof(kDocEnd) - 1);
195 string file_contents; local
    [all...]
update_api_def.h 29 // If unsuccessful, returns original file_contents and prints an error.
31 // in file_contents.
32 string RemoveDoc(const OpDef& op, const string& file_contents,
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
RetrCommandHandlerTest.java 97 final String FILE_CONTENTS = "abc_123 456";
98 commandHandler.setFileContents(FILE_CONTENTS);
102 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
RetrCommandHandlerTest.java 96 final String FILE_CONTENTS = "abc_123 456";
97 commandHandler.setFileContents(FILE_CONTENTS);
101 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
  /external/v8/gypfiles/
gyp_environment.py 25 file_contents = open(file_path).read()
27 file_data = eval(file_contents, {'__builtins__': None}, None)
  /test/vts-testcase/kernel/api/selinux/
KernelSelinuxFileTestBase.py 36 def result_correct(self, file_contents):
43 file_contents: String, the contents of an selinux file
SelinuxCheckReqProtTest.py 33 file_contents: String, the contents of the checkreqprot file
  /tools/tradefederation/core/tests/src/com/android/tradefed/result/
SnapshotInputStreamSourceTest.java 28 private static final String FILE_CONTENTS = "These are file contents!";
33 mInputStream = new ByteArrayInputStream(FILE_CONTENTS.getBytes());
  /external/libmojo/mojo/edk/embedder/
platform_channel_pair_posix_unittest.cc 207 const std::string file_contents("hello world");
214 ASSERT_EQ(file_contents.size(),
215 fwrite(file_contents.data(), 1, file_contents.size(), fp.get()));
254 EXPECT_EQ(file_contents.size(), bytes_read);
255 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
  /external/skia/tools/copyright/
fileparser.py 76 def FindAllCommentBlocks(self, file_contents):
79 return self._comment_pattern.findall(file_contents)
  /external/skqp/tools/copyright/
fileparser.py 76 def FindAllCommentBlocks(self, file_contents):
79 return self._comment_pattern.findall(file_contents)
  /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/
readelf.exp 33 proc file_contents { filename } {
62 [file_contents readelf.out] nil readelf_size] } {
64 verbose -log "output is \n[file_contents readelf.out]"
120 verbose "output is \n[file_contents readelf.out]" 2
241 if { [string compare [file_contents readelf.out] [file_contents $srcdir/$subdir/readelf.wa]] != 0 } then {
243 verbose "output is \n[file_contents readelf.out]" 2
244 verbose "expected is \n[file_contents $srcdir/$subdir/readelf.wa]" 2
  /external/vulkan-validation-layers/scripts/
spec.py 209 file_contents = []
210 file_contents.append(self.copyright)
211 file_contents.append('\n#pragma once')
212 file_contents.append('\n// Disable auto-formatting for generated file')
213 file_contents.append('// clang-format off')
214 file_contents.append('\n#include <unordered_map>')
215 file_contents.append('\n// enum values for unique validation error codes')
216 file_contents.append('// Corresponding validation error message for each enum is given in the mapping table below')
217 file_contents.append('// When a given error occurs, these enum values should be passed to the as the messageCode')
218 file_contents.append('// parameter to the PFN_vkDebugReportCallbackEXT function'
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
io_ops_test.py 58 file_contents = f.read()
59 self.assertEqual(file_contents, contents)
72 file_contents = f.read()
73 self.assertEqual(file_contents, contents)
  /system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/
property_info_serializer.h 44 void ParsePropertyInfoFile(const std::string& file_contents,
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-x86-64/
dwarfreloc.exp 83 set comp_output [prune_warnings [file_contents "ld.stderr"]]
93 verbose "output is [file_contents "dump.out"]" 2
108 set comp_output [prune_warnings [file_contents "ld.stderr"]]
118 verbose "output is [file_contents "dump.out"]" 2
  /system/core/property_service/libpropertyinfoserializer/
property_info_file.cpp 96 void ParsePropertyInfoFile(const std::string& file_contents,
103 for (const auto& line : Split(file_contents, "\n")) {
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/symver/
symver.exp 27 verbose "output is [file_contents "dump.out"]" 2
  /external/autotest/server/cros/dynamic_suite/
control_file_getter_unittest.py 75 file_contents = {f:self._CONTENTS for f in self._FILES}
78 suite_name='').AndReturn(file_contents)
82 self.assertEquals(suite_info[k], file_contents[k])
  /external/chromium-trace/catapult/devil/devil/android/tools/
device_monitor_test.py 30 self.file_contents = {
41 side_effect=lambda file_name: self.file_contents[file_name])
161 self.file_contents['/sys/class/thermal/thermal_zone0/temp'] = 'n0t a numb3r'

Completed in 898 milliseconds

1 2 3 4 5