/third_party/gn/src/base/files/ |
H A D | file.cc | 15 File::Info::Info() = default; 17 File::Info::~Info() = default; 19 File::File() = default; 21 File::File(const FilePath& path, uint32_t flags) : error_details_(FILE_OK) { in File() function in base::File 25 File::File(ScopedPlatformFile platform_file) in File() function in base::File 32 File::File(PlatformFil function in base::File 39 File::File(Error error_details) : error_details_(error_details) {} File() function in base::File 41 File::File(File&& other) File() function in base::File [all...] |
H A D | file_win.cc | 18 static_assert(File::FROM_BEGIN == FILE_BEGIN && 19 File::FROM_CURRENT == FILE_CURRENT && 20 File::FROM_END == FILE_END, 23 bool File::IsValid() const { in IsValid() 27 PlatformFile File::GetPlatformFile() const { in GetPlatformFile() 31 PlatformFile File::TakePlatformFile() { in TakePlatformFile() 35 void File::Close() { in Close() 42 int64_t File::Seek(Whence whence, int64_t offset) { in Seek() 53 int File::Read(int64_t offset, char* data, int size) { in Read() 74 int File [all...] |
H A D | file.h | 41 class File { class 90 // too, and the ParamTraits<base::File::Info> implementation in 120 File(); 124 File(const FilePath& path, uint32_t flags); 127 explicit File(ScopedPlatformFile platform_file); 128 explicit File(PlatformFile platform_file); 131 explicit File(Error error_details); 133 File(File&& other); 135 ~File(); [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | MinidumpEmitter.cpp | 116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { 118 support::ulittle32_t(File.allocateBytes(Data))}; 121 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) { 122 File.allocateObject(S.MDExceptionStream); 124 size_t DataEnd = File.tell(); 133 S.MDExceptionStream.ThreadContext = layout(File, S.ThreadContext); 138 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) { 139 Range.Entry.Memory = layout(File, Range.Content); 142 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) { 143 M.Entry.ModuleNameRVA = File [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
H A D | TextStub.cpp | 290 "File type is not set in YAML context"); in mapping() 312 "File type is not set in YAML context"); in mapping() 433 NormalizedTBD(IO &IO, const InterfaceFile *&File) { in NormalizedTBD() 434 Architectures = File->getArchitectures(); in NormalizedTBD() 435 UUIDs = File->uuids(); in NormalizedTBD() 436 Platforms = File->getPlatforms(); in NormalizedTBD() 437 InstallName = File->getInstallName(); in NormalizedTBD() 438 CurrentVersion = PackedVersion(File->getCurrentVersion()); in NormalizedTBD() 439 CompatibilityVersion = PackedVersion(File->getCompatibilityVersion()); in NormalizedTBD() 440 SwiftABIVersion = File in NormalizedTBD() 616 auto *File = new InterfaceFile; denormalize() local 911 auto *File = new InterfaceFile; denormalize() local 1094 auto *File = static_cast<TextAPIContext *>(Context); DiagHandler() local 1119 auto File = std::unique_ptr<InterfaceFile>( get() local 1128 writeToStream(raw_ostream &OS, const InterfaceFile &File) writeToStream() argument [all...] |
/third_party/node/test/fixtures/wpt/FileAPI/file/ |
H A D | File-constructor.any.js | 1 // META: title=File constructor 7 assert_true("File" in globalThis, "globalThis should have a File property."); 8 }, "File interface object exists"); 11 assert_throws_js(TypeError, () => new File(), 13 assert_throws_js(TypeError, () => new File([]), 19 var file = new File(arg1, "dummy"); 20 assert_true(file instanceof File); 24 // assert_false(file.isClosed); XXX: File.isClosed doesn't seem to be implemented 35 test_first_argument([new File([], 'worl [all...] |
/third_party/node/test/parallel/ |
H A D | test-file.js | 5 const { Blob, File } = require('buffer'); 9 // ensure File extends Blob 10 assert.deepStrictEqual(Object.getPrototypeOf(File.prototype), Blob.prototype); 14 assert.throws(() => new File(), TypeError); 15 assert.throws(() => new File([]), TypeError); 22 const desc = Object.getOwnPropertyDescriptor(File.prototype, prop); 33 const file = new File([], ''); 34 assert.strictEqual(file[Symbol.toStringTag], 'File'); 35 assert.strictEqual(File.prototype[Symbol.toStringTag], 'File'); [all...] |
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/ |
H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js | 97 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. 98 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx' does not exist. 99 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' does not exist. 100 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ets' does not exist. 101 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ets' does not exist. 105 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' does not exist. 107 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts' does not exist. 108 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx' does not exist. 109 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts' does not exist. 110 File '/use [all...] |
H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js | 97 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. 98 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx' does not exist. 99 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' does not exist. 100 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ets' does not exist. 101 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ets' does not exist. 105 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' does not exist. 107 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts' does not exist. 108 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx' does not exist. 109 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts' does not exist. 110 File '/use [all...] |
H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js | 95 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. 96 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx' does not exist. 97 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts' does not exist. 98 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ets' does not exist. 99 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ets' does not exist. 103 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. 104 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. 105 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 111 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json' does not exist. 112 File '/use [all...] |
H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package.js | 95 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. 96 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx' does not exist. 97 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts' does not exist. 98 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ets' does not exist. 99 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ets' does not exist. 103 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. 104 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. 105 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 111 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json' does not exist. 112 File '/use [all...] |
/third_party/unity/test/ |
H A D | rakefile_helper.rb | 52 lines = File.readlines(filename) 63 return src_file if File.exist?(src_file) 100 [ File.join('..','src') ].each do |f| 106 [ $extra_paths, 'src', File.join('tests'), File.join('testdata'), $cfg[:paths][:support] ].flatten.uniq.compact.each do |f| 138 out_file = File.join('build', File.basename(file, C_EXTENSION)) + $cfg[:extension][:object] 145 exe_name = File.join('build', File.basename(exe_name)) 151 bin_name = File [all...] |
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/buildtools/ |
H A D | GeneratePhonePrefixData.java | 24 import java.io.File; 59 private final File inputPath; 74 public GeneratePhonePrefixData(File inputPath, AbstractPhonePrefixDataIOHandler ioHandler) in GeneratePhonePrefixData() 189 private List<File> createOutputFiles(File countryCodeFile, int countryCode, String language) in createOutputFiles() 191 List<File> outputFiles = new ArrayList<File>(); in createOutputFiles() 233 private Map<File, List<File>> createInputOutputMappings() throws IOException { in createInputOutputMappings() 234 Map<File, Lis in createInputOutputMappings() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeGuardOfFormThisMemberErrors.js | 2 // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision 6 get isFile(): this is File { 7 return this instanceof File; 19 export class File extends FileSystemObject { 29 let file: FileSystemObject = new File("foo/bar.txt", "foo"); 51 // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision
60 return this instanceof File;
78 var File = /** @class */ (function (_super) {
79 __extends(File, _super);
80 function File(pat [all...] |
H A D | typeGuardOfFormThisMember.js | 2 // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision 6 get isFile(): this is File { 7 return this instanceof File; 19 export class File extends FileSystemObject { 29 let file: FileSystemObject = new File("foo/bar.txt", "foo"); 62 let guard: GenericGuard<File>; 101 // There's a 'File' class in the stdlib, wrap with a namespace to avoid collision
110 return this instanceof File;
128 var File = /** @class */ (function (_super) {
129 __extends(File, _supe [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | programopt.c | 90 newInst[i].DstReg.File = PROGRAM_OUTPUT; in insert_mvp_dp4_code() 93 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR; in insert_mvp_dp4_code() 96 newInst[i].SrcReg[1].File = PROGRAM_INPUT; in insert_mvp_dp4_code() 161 newInst[0].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code() 164 newInst[0].SrcReg[0].File = PROGRAM_INPUT; in insert_mvp_mad_code() 167 newInst[0].SrcReg[1].File = PROGRAM_STATE_VAR; in insert_mvp_mad_code() 173 newInst[i].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code() 176 newInst[i].SrcReg[0].File = PROGRAM_INPUT; in insert_mvp_mad_code() 179 newInst[i].SrcReg[1].File = PROGRAM_STATE_VAR; in insert_mvp_mad_code() 182 newInst[i].SrcReg[2].File in insert_mvp_mad_code() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/ |
H A D | FontLoader.java | 6 import java.io.File; 14 public static List<File> getFontFiles(String fontDir) { in getFontFiles() 15 List<File> fontFiles = new ArrayList<File>(); in getFontFiles() 16 getFontFiles(fontFiles, new File(fontDir), "", true); in getFontFiles() 20 public static Font getFont(File fontFile) throws IOException { in getFont() 29 List<File> fonts, File dir, String startFrom, boolean foundStart) { in getFontFiles() 30 File[] files = dir.listFiles(); in getFontFiles() 31 for (File fil in getFontFiles() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 119 struct match_info File; member 157 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 158 tokens.File.Length = match_length(matches, 3); in init_rc_normal_src() 174 /* File */ in init_rc_normal_src() 175 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { in init_rc_normal_src() 176 src_reg->File = RC_FILE_TEMPORARY; in init_rc_normal_src() 177 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { in init_rc_normal_src() 178 src_reg->File in init_rc_normal_src() 250 struct match_info File; global() member [all...] |
/third_party/skia/third_party/externals/tint/src/utils/io/ |
H A D | command_posix.cc | 29 /// File is a simple wrapper around a POSIX file descriptor 30 class File { class 35 File() : handle_(kClosed) {} in File() function in tint::utils::__anon26162::File 38 explicit File(int handle) : handle_(handle) {} in File() function in tint::utils::__anon26162::File 41 ~File() { Close(); } in ~File() 44 File& operator=(File&& rhs) { in operator =() 66 File(const File&) = delete; 67 File [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | FileStreams.cpp | 95 if (File.IsDeviceFile)
in Read() 97 if (File.SizeDefined)
in Read() 99 if (VirtPos >= File.Size)
in Read() 100 return VirtPos == File.Size ? S_OK : E_FAIL;
in Read() 101 const UInt64 rem = File.Size - VirtPos;
in Read() 143 const bool result = File.Seek((Int64)alignedPos, FILE_BEGIN, realNewPosition);
in Read() 151 if (File.SizeDefined)
in Read() 152 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize);
in Read() 160 const bool result = File.Read1(Buf, readSize, BufSize);
in Read() 172 bool result = File in Read() [all...] |
H A D | FileStreams.h | 67 NWindows::NFile::NIO::CInFile File;
in Z7_class_final() local 104 File.PreserveATime = v;
in Z7_class_final() 109 return File.GetLength(length);
in Z7_class_final() 115 return File.Open(fileName);
in Z7_class_final() 121 return File.OpenShared(fileName, shareForWrite);
in Z7_class_final() 140 NWindows::NFile::NIO::COutFile File;
145 return File.Create(fileName, createAlways);
150 return File.Open(fileName, creationDisposition);
159 return File.SetTime(cTime, aTime, mTime);
161 bool SetMTime(const CFiTime *mTime) { return File [all...] |
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/ |
H A D | BuildShortNumberMetadataJsonFromXmlGoldenTest.java | 20 import java.io.File; 34 File srcDir = new File("target/test-classes/com/google/i18n/phonenumbers/buildtools/testdata"); in testBuildMetadataJsonFromXmlGolden() 35 File inputXml = new File(srcDir, INPUT_FILE_NAME); in testBuildMetadataJsonFromXmlGolden() 36 File outputFile = File.createTempFile("testOutput", ""); in testBuildMetadataJsonFromXmlGolden() 38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden()
|
H A D | BuildMetadataJsonFromXmlGoldenTest.java | 20 import java.io.File; 34 File srcDir = new File("target/test-classes/com/google/i18n/phonenumbers/buildtools/testdata"); in testBuildMetadataJsonFromXmlGolden() 35 File inputXml = new File(srcDir, INPUT_FILE_NAME); in testBuildMetadataJsonFromXmlGolden() 36 File outputFile = File.createTempFile("testOutput", ""); in testBuildMetadataJsonFromXmlGolden() 38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | File.hpp | 27 class File class 30 using ID = dbg::ID<File>; 35 static std::shared_ptr<File> createVirtual(ID id, std::string name, std::string source); 38 static std::shared_ptr<File> createPhysical(ID id, std::string path); 77 virtual ~File() = default; 80 inline File(ID id, std::string dir, std::string name, std::string source); 83 File::File(ID id, std::string dir, std::string name, std::string source) in File() function in vk::dbg::File 90 std::string File::path() const in path()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | Deprecator.java | 13 import java.io.File; 62 File srcDir = null; in main() 63 File dstDir = null; in main() 68 srcDir = new File(srcPath); in main() 76 dstDir = new File(dstPath); in main() 128 public boolean accept(File dir, String name) { 130 if (new File(dir, name).isDirectory()) { 139 void process(File srcDir, File dstDir) { in process() 140 File[] file in process() [all...] |