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

12 3 4 5

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_suppressions.cc 65 char *file_contents; local
68 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size,
75 Parse(file_contents);
  /external/tensorflow/tensorflow/python/lib/io/
file_io_test.py 53 file_contents = file_io.read_file_to_string(file_path)
54 self.assertEqual("testing", file_contents)
60 file_contents = file_io.read_file_to_string(file_path)
61 self.assertEqual("testing", file_contents)
68 file_contents = file_io.read_file_to_string(file_path)
69 self.assertEqual("old", file_contents)
72 file_contents = file_io.read_file_to_string(file_path)
73 self.assertEqual("new", file_contents)
96 file_contents = f.read()
97 self.assertEqual("begin\na1\na2\n", file_contents)
    [all...]
  /system/core/property_service/property_info_checker/
property_info_checker.cpp 149 auto file_contents = std::string{}; local
150 if (!ReadFileToString(filename, &file_contents)) {
156 ParsePropertyInfoFile(file_contents, &property_info_entries, &errors);
  /test/vts-testcase/kernel/api/proc/
KernelProcFileTestBase.py 159 def parse_contents(self, file_contents):
163 file_contents: string, entire contents of a file
171 return self.parser.parse(file_contents, lexer=self.lexer)
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-pe/
pe-compile.exp 63 if { $verbose > 2 } then { verbose "output is [file_contents tmpdir/$testname.base]" 3 }
102 if { $verbose > 2 } then { verbose "output is [file_contents tmpdir/$testname.def]" 3 }
105 if { $verbose == 2 } then { verbose "output is [file_contents tmpdir/$testname.def]" 2 }
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/
spec.py 170 file_contents = []
171 file_contents.append(self.copyright)
172 file_contents.append('\n#pragma once')
173 file_contents.append('#include <unordered_map>')
174 file_contents.append('\n// enum values for unique validation error codes')
175 file_contents.append('// Corresponding validation error message for each enum is given in the mapping table below')
176 file_contents.append('// When a given error occurs, these enum values should be passed to the as the messageCode')
177 file_contents.append('// parameter to the PFN_vkDebugReportCallbackEXT function')
187 file_contents.extend(enum_decl)
188 file_contents.append('\n// Mapping from unique validation error enum to the corresponding error message'
    [all...]
  /external/tensorflow/tensorflow/core/api_def/
api_test.cc 57 string file_contents; local
58 TF_CHECK_OK(ReadFileToString(env, file_path, &file_contents));
59 file_contents = PBTxtFromMultiline(file_contents);
62 CHECK(tensorflow::protobuf::TextFormat::ParseFromString(file_contents,
  /external/google-breakpad/src/processor/
microdump_processor_unittest.cc 62 void ReadFile(const string& file_name, string* file_contents) {
63 assert(file_contents);
74 *file_contents = string(&bytes[0], bytes.size());
  /external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
supplicant.cpp 31 std::string file_contents; local
32 if (!android::base::ReadFileToString(src_file_path, &file_contents)) {
39 file_contents, dest_file_path, kConfigFileMode, getuid(),
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/elf/
elf.exp 30 verbose "output is [file_contents "dump.out"]" 2
46 verbose_eval {[file_contents "dump.out"]} 3
49 verbose "output is [file_contents "dump.out"]" 2
  /external/tensorflow/tensorflow/contrib/ffmpeg/
decode_audio_op.cc 45 const tensorflow::StringPiece& file_contents,
50 OP_REQUIRES_OK(context, WriteFile(temp_filename, file_contents));
248 const tensorflow::StringPiece file_contents = contents.scalar<string>()(); variable
249 Decode(context, file_contents, file_format_, samples_per_second_,
  /external/autotest/client/site_tests/network_ShillInitScripts/
network_ShillInitScripts.py 330 def file_contents(self, filename): member in class:network_ShillInitScripts
462 self.assure(self.magic_header in self.file_contents(shill_profile),
482 self.assure(self.magic_header not in self.file_contents(shill_profile),
590 self.file_contents(self.new_shill_user_profile),
671 self.file_contents(self.new_shill_user_profile),
695 self.file_contents(self.new_shill_user_profile),
716 self.file_contents(self.new_shill_user_profile),
742 self.file_contents(self.new_shill_user_profile),
  /external/jsoncpp/scons-tools/
srcdist.py 6 ##def DoxyfileParse(file_contents):
14 ## lex = shlex.shlex(instream = file_contents, posix = True)
  /system/core/init/
property_service.cpp 651 auto file_contents = ReadFile(filename); local
652 if (!file_contents) {
654 << "': " << file_contents.error();
657 file_contents->push_back('\n');
659 LoadProperties(file_contents->data(), filter, filename);
782 auto file_contents = std::string(); local
783 if (!ReadFileToString(filename, &file_contents)) {
789 ParsePropertyInfoFile(file_contents, property_infos, &errors);
  /build/make/tools/releasetools/
test_common.py 205 file_contents = os.urandom(1024)
206 self._test_ZipWrite(file_contents)
209 file_contents = os.urandom(1024)
210 self._test_ZipWrite(file_contents, {
215 self._test_ZipWrite(file_contents, {
222 file_contents = get_2gb_string()
223 self._test_ZipWrite(file_contents, {
  /toolchain/binutils/binutils-2.27/gas/testsuite/lib/
gas-defs.exp 39 set which_as [file_contents "gas.which"]
40 set tmp [file_contents "gas.version"]
95 set to_return [file_contents "$return_contents_of"]
693 verbose "pruned stderr is [file_contents "dump.stderr"]" 2
759 verbose_eval {[file_contents "dump.out"]} 3
762 verbose "output is [file_contents "dump.out"]" 2
834 proc file_contents { filename } {
891 verbose "output is [file_contents "dump.out"]" 2
910 verbose "output is [file_contents "dump.out"]" 2
  /external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
supplicant.cpp 44 std::string file_contents; local
45 if (!android::base::ReadFileToString(src_file_path, &file_contents)) {
52 file_contents, dest_file_path, kConfigFileMode, getuid(),
  /toolchain/binutils/binutils-2.27/ld/testsuite/lib/
ld-lib.exp 71 set tmp [prune_warnings [file_contents "ld.version"]]
111 set link_output [file_contents "ld.tmp"]
310 set exec_output [file_contents "ld.tmp"]
385 set exec_output [prune_warnings [file_contents "ld.stderr"]]
834 set comp_output [prune_warnings [file_contents "ld.tmp"]]
856 set comp_output [prune_warnings [file_contents "objcopy.tmp"]]
942 set comp_output [file_contents "ld.tmp"]
959 append comp_output [file_contents "ld.tmp"]
1051 set comp_output [prune_warnings [file_contents "ld.tmp"]]
1065 if { $verbose > 2 } then { verbose "output is [file_contents $dumpfile]" 3
    [all...]
  /external/google-breakpad/src/tools/mac/dump_syms/
macho_dump.cc 161 ByteBuffer file_contents(reinterpret_cast<uint8_t *>(mapping)
165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) {
  /external/libbrillo/brillo/message_loops/
base_message_loop.h 67 // Parses the contents of the file /proc/misc passed in |file_contents| and
70 static int ParseBinderMinor(const std::string& file_contents);
  /external/libmojo/third_party/catapult/devil/devil/android/
flag_changer.py 125 file_contents = self._device.ReadFile(
127 assert file_contents == cmd_line, (
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-ifunc/
ifunc.exp 73 [file_contents readelf.out] nil osabi] } {
104 if { ![regexp ".*\[ \]*IFUNC\[ \]+GLOBAL\[ \]+DEFAULT .* \[UND0-9\]+\[ \]+library_func2\n" [file_contents readelf.out]] } {
131 if { ![regexp "\[0-9a-f\]+\[ \]+\[0-9a-f\]+\[ \]+R_\[_0-9A-Z\]+_IREL(|ATIVE)\[ \]*\[0-9a-f\]*\n" [file_contents readelf.out]] } {
151 if [string match "" [file_contents readelf.out]] then {
156 if { ![regexp "\\(\\)" [file_contents readelf.out]] } {
  /external/autotest/server/cros/dynamic_suite/
control_file_getter.py 341 file_contents = self._list_suite_controls(suite_name=suite_name)
342 files = file_contents.keys()
346 return {f: file_contents[f] for f in files}
  /art/profman/
profile_assistant_test.cc 288 bool DumpClassesAndMethods(const std::string& filename, std::string* file_contents) {
291 return RunProfman(filename, extra_args, file_contents);
294 bool DumpOnly(const std::string& filename, std::string* file_contents) {
297 return RunProfman(filename, extra_args, file_contents);
687 std::string file_contents; local
689 file_contents += class_name + std::string("\n");
692 ASSERT_TRUE(CreateAndDump(file_contents, &output_file_contents));
693 ASSERT_EQ(output_file_contents, file_contents);
    [all...]
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-unique/
unique.exp 69 [file_contents readelf.out] nil osabi] } {
99 if { ![regexp ".*\[ \]*OBJECT\[ \]+UNIQUE\[ \]+DEFAULT\[ \]+\[UND0-9\]+\[ \]+\[ab\]\n" [file_contents readelf.out]] } {

Completed in 1454 milliseconds

12 3 4 5