Home
last modified time | relevance | path

Searched refs:file_contents (Results 1 - 16 of 16) sorted by relevance

/third_party/mesa3d/src/microsoft/spirv_to_dxil/
H A Dspirv2dxil.c122 char *file_contents = os_read_file(filename, &file_size); in main() local
123 if (!file_contents) { in main()
148 if (spirv_to_dxil((uint32_t *)file_contents, word_count, NULL, 0, in main()
155 free(file_contents); in main()
164 free(file_contents); in main()
176 free(file_contents); in main()
/third_party/gn/src/gn/
H A Dfunction_read_file.cc68 std::string file_contents; in RunReadFile() local
69 if (!base::ReadFileToString(file_path, &file_contents)) { in RunReadFile()
75 return ConvertInputToValue(scope->settings(), file_contents, function, in RunReadFile()
H A Dvisual_studio_writer_unittest.cc194 std::stringstream file_contents; in TEST_F() local
195 writer.WriteProjectFileContents(file_contents, *writer.projects_.back(), in TEST_F()
199 ASSERT_NE(file_contents.str().find("-tclean baz"), std::string::npos); in TEST_F()
/third_party/libfuse/example/
H A Dnotify_store_retrieve.c81 static char file_contents[MAX_STR_LEN]; variable
242 reply_buf_limited(req, file_contents, file_size, off, size); in tfs_read()
289 file_size = strftime(file_contents, MAX_STR_LEN, in update_fs()
308 bufv.buf[0].mem = file_contents; in update_fs_loop()
327 0, (void*) strdup(file_contents)); in update_fs_loop()
H A Dnotify_inval_inode.c82 static char file_contents[MAX_STR_LEN]; variable
239 reply_buf_limited(req, file_contents, file_size, off, size); in tfs_read()
258 file_size = strftime(file_contents, MAX_STR_LEN, in update_fs()
/third_party/skia/tools/copyright/
H A Dfileparser.py76 def FindAllCommentBlocks(self, file_contents):
79 return self._comment_pattern.findall(file_contents)
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect.py349 file_contents = target_file.read()
351 if file_contents == self.expected_file_contents:
356 act=file_contents,
362 file_contents.split('\n'),
366 if self.expected_file_contents.search(file_contents):
370 act=file_contents,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dexpect.py349 file_contents = target_file.read()
351 if file_contents == self.expected_file_contents:
356 act=file_contents,
362 file_contents.split('\n'),
366 if self.expected_file_contents.search(file_contents):
370 act=file_contents,
/third_party/spirv-tools/test/tools/
H A Dexpect.py364 file_contents = target_file.read()
366 if file_contents == self.expected_file_contents:
371 act=file_contents,
377 file_contents.split('\n'),
381 if self.expected_file_contents.search(file_contents):
385 act=file_contents,
/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc300 std::string file_contents; in ExpectFileContents() local
304 file_contents.append(reinterpret_cast<const char*>(data), size); in ExpectFileContents()
307 EXPECT_EQ(expected_contents, file_contents); in ExpectFileContents()
H A Dcommand_line_interface_unittest.cc489 std::string file_contents; in ReadDescriptorSet() local
490 GOOGLE_CHECK_OK(File::GetContents(path, &file_contents, true)); in ReadDescriptorSet()
492 if (!descriptor_set->ParseFromString(file_contents)) { in ReadDescriptorSet()
519 std::string file_contents; in ExpectFileContent() local
520 GOOGLE_CHECK_OK(File::GetContents(path, &file_contents, true)); in ExpectFileContent()
523 file_contents); in ExpectFileContent() local
/third_party/python/Lib/
H A Ddoctest.py228 file_contents = loader.get_data(filename)
229 file_contents = file_contents.decode(encoding)
232 return _newline_convert(file_contents), filename
/third_party/vulkan-loader/tests/framework/
H A Dtest_environment.cpp733 void FrameworkEnvironment::write_settings_file(std::string const& file_contents) { argument
734 auto out_path = get_folder(ManifestLocation::settings_location).write_manifest("vk_loader_settings.json", file_contents);
H A Dtest_environment.h597 void write_settings_file(std::string const& file_contents);
/third_party/node/tools/gyp/pylib/gyp/
H A Dinput.py172 def CheckedEval(file_contents):
179 syntax_tree = ast.parse(file_contents)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dinput.py172 def CheckedEval(file_contents):
179 syntax_tree = ast.parse(file_contents)

Completed in 24 milliseconds