| /third_party/icu/icu4c/source/test/letest/ |
| H A D | gendata.cpp | 10 * file name: gendata.cpp 81 * FIXME: should use the output file name and the current date. 93 " file name: letest.xml\n" 100 void dumpLongs(FILE *file, const char *tag, le_int32 *longs, le_int32 count) { in dumpLongs() argument 104 fprintf(file, " <%s>\n", tag); in dumpLongs() 108 fprintf(file, " %s\n", lineBuffer); in dumpLongs() 117 fprintf(file, " %s\n", lineBuffer); in dumpLongs() 120 fprintf(file, " </%s>\n\n", tag); in dumpLongs() 123 void dumpFloats(FILE *file, const char *tag, float *floats, le_int32 count) { in dumpFloats() argument 127 fprintf(file, " < in dumpFloats() [all...] |
| /third_party/python/Lib/distutils/command/ |
| H A D | config.py | 9 this header file lives". 109 with open(filename, "w") as file: 112 file.write("#include <%s>\n" % header) 113 file.write("\n") 114 file.write(body) 116 file.write("\n") 173 """Construct a source file from 'body' (a string containing lines 192 """Construct a source file (just like 'try_cpp()'), run it through 196 preprocesses an empty file -- which can be useful to determine the 205 with open(out) as file [all...] |
| /third_party/skia/third_party/externals/libjpeg-turbo/ |
| H A D | rdswitch.c | 4 * This file was part of the Independent JPEG Group's software: 9 * file. 11 * This file contains routines to process some of cjpeg's more complicated 13 * -qtables file Read quantization tables from text file 14 * -scans file Read scan script from text file 25 text_getc(FILE *file) in text_getc() argument 31 ch = getc(file); in text_getc() 34 ch = getc(file); in text_getc() [all...] |
| H A D | jinclude.h | 4 * This file was part of the Independent JPEG Group's software: 9 * file. 11 * This file exists to provide a single place to fix any problems with 14 * you may have to edit this file.) 16 * NOTE: this file is NOT intended to be included by applications using the 21 /* Include auto-config file to find out which system include files we need. */ 85 #define JFREAD(file, buf, sizeofbuf) \ 86 ((size_t)fread((void *)(buf), (size_t)1, (size_t)(sizeofbuf), (file))) 87 #define JFWRITE(file, buf, sizeofbuf) \ 88 ((size_t)fwrite((const void *)(buf), (size_t)1, (size_t)(sizeofbuf), (file))) [all...] |
| /third_party/skia/src/ports/ |
| H A D | SkOSFile_win.cpp | 5 * found in the LICENSE file. 46 HANDLE file = (HANDLE)_get_osfhandle(fileno); in sk_ino() local 47 if (INVALID_HANDLE_VALUE == file) { in sk_ino() 53 if (0 == GetFileInformationByHandle(file, &info)) { in sk_ino() 87 HANDLE file = (HANDLE)_get_osfhandle(fileno); in sk_fdmmap() local 88 if (INVALID_HANDLE_VALUE == file) { in sk_fdmmap() 93 if (0 == GetFileSizeEx(file, &fileSize)) { in sk_fdmmap() 94 //TODO: use SK_TRACEHR(GetLastError(), "Could not get file size.") to report. in sk_fdmmap() 101 SkAutoWinMMap mmap(CreateFileMapping(file, nullptr, PAGE_READONLY, 0, 0, nullptr)); in sk_fdmmap() 103 //TODO: use SK_TRACEHR(GetLastError(), "Could not create file mappin in sk_fdmmap() 131 sk_qread(FILE* file, void* buffer, size_t count, size_t offset) sk_qread() argument [all...] |
| /third_party/skia/third_party/externals/zlib/google/ |
| H A D | zip_internal.cc | 3 // found in the LICENSE file. 44 HANDLE file = 0; in ZipOpenFunc() local 61 file = CreateFile(filename16.c_str(), desired_access, share_mode, in ZipOpenFunc() 65 if (file == INVALID_HANDLE_VALUE) in ZipOpenFunc() 66 file = NULL; in ZipOpenFunc() 68 if (file != NULL) { in ZipOpenFunc() 70 file_ret.hf = file; in ZipOpenFunc() 74 CloseHandle(file); in ZipOpenFunc() 83 // Callback function for zlib that opens a file stream from a file descripto 87 FILE* file = NULL; FdOpenFileFunc() local [all...] |
| /third_party/skia/third_party/externals/freetype/builds/amiga/src/base/ |
| H A D | ftsystem.c | 10 /* This file is part of the FreeType project, and may only be used, */ 13 /* this file you indicate that you have read the license and */ 20 /* This file contains the Amiga interface used by FreeType to access */ 65 BPTR file; member 262 Close ( sysfile->file ); in ft_amiga_stream_close() 311 Seek( sysfile->file, offset, OFFSET_BEGINNING ); in ft_amiga_stream_io() 330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE ); in ft_amiga_stream_io() 351 read_bytes = Read( sysfile->file, buffer, count ); in ft_amiga_stream_io() 403 sysfile->file = Open( (STRPTR)filepathname, MODE_OLDFILE ); in FT_BASE_DEF() 404 if ( !sysfile->file ) in FT_BASE_DEF() [all...] |
| /third_party/selinux/checkpolicy/ |
| H A D | checkmodule.c | 49 static int read_binary_policy(policydb_t * p, const char *file, const char *progname) in read_binary_policy() argument 56 fd = open(file, O_RDONLY); in read_binary_policy() 59 file, strerror(errno)); in read_binary_policy() 64 file, strerror(errno)); in read_binary_policy() 72 fprintf(stderr, "Can't map '%s': %s\n", file, strerror(errno)); in read_binary_policy() 132 printf(" -b treat input as a binary policy file\n"); in usage() 150 const char *file = txtfile, *outfile = NULL; in main() local 177 file = binfile; in main() 253 file = argv[optind++]; in main() 265 if (read_binary_policy(&modpolicydb, file, arg in main() [all...] |
| /third_party/selinux/secilc/ |
| H A D | secilc.c | 49 printf(" -o, --output=<file> write binary policy to <file>\n"); in usage() 51 printf(" -f, --filecontext=<file> write file contexts to <file>\n"); in usage() 87 FILE *file = NULL; in main() local 268 file = fopen(argv[i], "r"); in main() 269 if (!file) { in main() 270 fprintf(stderr, "Could not open file: %s\n", argv[i]); in main() 276 fprintf(stderr, "Could not stat file in main() [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | descriptor_unittest.cc | 35 // This file makes extensive use of RFC 3092. :) 73 DescriptorProto* AddMessage(FileDescriptorProto* file, in AddMessage() argument 75 DescriptorProto* result = file->add_message_type(); in AddMessage() 87 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, in AddEnum() argument 89 EnumDescriptorProto* result = file->add_enum_type(); in AddEnum() 101 ServiceDescriptorProto* AddService(FileDescriptorProto* file, in AddService() argument 103 ServiceDescriptorProto* result = file->add_service(); in AddService() 119 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension() argument 124 FieldDescriptorProto* result = file->add_extension(); in AddExtension() 192 void AddEmptyEnum(FileDescriptorProto* file, cons argument 484 FileDescriptorProto file; TEST_F() local 543 const FileDescriptor* file = pool.BuildFile(proto); TEST_F() local 552 ExtractDebugString( const FileDescriptor* file, std::set<std::string>* visited, std::vector<std::pair<std::string, std::string>>* debug_strings) ExtractDebugString() argument 1150 FileDescriptorProto file; SetUp() local 2300 const FileDescriptor* file = pool_->BuildFile(file_proto); GetFieldDescriptorOfType() local 2567 const FileDescriptor* file = pool.BuildFile(file_proto); TEST_F() local 2647 const FileDescriptor* file = pool.BuildFile(file_proto); TEST_F() local 2854 const FileDescriptor* file = BuildFile(extension_proto); TEST_P() local 2908 const FileDescriptor* file = BuildFile(option_proto); TEST_P() local 2971 const FileDescriptor* file = BuildFile(test_proto); TEST_P() local 3001 const FileDescriptor* file = message->file(); TEST() local 3188 const FileDescriptor* file = pool.BuildFile(file_proto); TEST() local 3266 const FileDescriptor* file = pool.BuildFile(file_proto); TEST() local 3343 const FileDescriptor* file = pool.BuildFile(file_proto); TEST() local 3423 const FileDescriptor* file = pool.BuildFile(file_proto); TEST() local 3444 const FileDescriptor* file = msg->file(); TEST() local 3678 BuildFileInTestPool(const FileDescriptor* file) BuildFileInTestPool() argument 4024 const FileDescriptor* file = BuildFile( TEST_F() local 4044 const FileDescriptor* file = BuildFile(strings::Substitute( TEST_F() local 4205 const FileDescriptor* file = BuildFile( TEST_F() local 6807 const FileDescriptor* file = pool.FindFileContainingSymbol("Foo"); TEST_F() local 6947 const FileDescriptor* file = pool.FindFileByName("foo.proto"); TEST_F() local 7099 const FileDescriptor* file = pool.FindFileByName("foo.proto"); TEST_F() local 7864 const FileDescriptor* file = pool_.FindFileByName("foo.proto"); TEST_F() local 7904 const FileDescriptor* file = pool_.FindFileByName("foo.proto"); TEST_F() local 7949 const FileDescriptor* file = pool_.FindFileByName("foo.proto"); TEST_F() local 8008 const FileDescriptor* file = pool_.FindFileByName("foo.proto"); TEST_F() local 8036 const FileDescriptor* file = pool_.FindFileByName("foo.proto"); TEST_F() local [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/rtasm/ |
| H A D | rtasm_x86sse.c | 49 switch( reg.file ) { in x86_print_reg() 248 if (regmem.file == file_REG32 && in emit_modrm() 317 struct x86_reg x86_make_reg( enum x86_reg_file file, in x86_make_reg() argument 322 reg.file = file; in x86_make_reg() 333 assert(reg.file == file_REG32); in x86_make_disp() 357 return x86_make_reg( reg.file, reg.idx ); in x86_get_base_reg() 458 assert(dst.file == file_REG32); in x86_mov_reg_imm() 517 assert(dst.file == file_REG32); in x86_group1_imm() 830 assert(src.file in x86_div() [all...] |
| /third_party/python/Tools/c-analyzer/c_parser/ |
| H A D | info.py | 186 class SourceLine(namedtuple('Line', 'file kind data conditions')): 195 return self.file.filename 199 return self.file.lno 254 class ParsedItem(namedtuple('ParsedItem', 'file kind parent name data')): 272 if column == 'file': 281 kwargs['file'] = FileInfo.from_raw(value) 298 self._id = DeclID(str(self.file), self.funcname, self.name) 303 if not self.file: 305 return self.file.filename 309 if not self.file [all...] |
| /third_party/backends/include/sane/ |
| H A D | sanei_jinclude.h | 5 * This file is part of the Independent JPEG Group's software. 6 * For conditions of distribution and use, see the accompanying README file. 8 * This file exists to provide a single place to fix any problems with 11 * you may have to edit this file.) 13 * NOTE: this file is NOT intended to be included by applications using the 18 /* Include auto-config file to find out which system include files we need. */ 88 #define JFREAD(file,buf,sizeofbuf) \ 89 ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) 90 #define JFWRITE(file,buf,sizeofbuf) \ 91 ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) [all...] |
| /third_party/PyYAML/tests/lib/ |
| H A D | test_sort_keys.py | 6 with open(input_filename, 'rb') as file: 7 input = file.read().decode('utf-8') 8 with open(sorted_filename, 'rb') as file: 9 sorted = file.read().decode('utf-8')
|
| /third_party/mesa3d/bin/ |
| H A D | git_sha1_gen.py | 2 Generate the contents of the git_sha1.h file. 30 Avoid touching the output file if it doesn't need modifications 34 with open(args.output, 'r') as file: 35 if file.read() == contents: 37 with open(args.output, 'w') as file: 38 file.write(contents)
|
| /third_party/node/test/parallel/ |
| H A D | test-fs-write-stream.js | 30 const file = path.join(tmpdir.path, 'write.txt'); 35 const stream = fs.WriteStream(file); 47 const stream = fs.createWriteStream(file); 58 const stream = fs.createWriteStream(file);
|
| /third_party/ltp/tools/sparse/sparse-src/ |
| H A D | test-parsing.c | 3 * to tokenize, preprocess and parse a C file, and prints out 55 char *file; in main() local 67 FOR_EACH_PTR(filelist, file) { in main() 68 list = sparse(file); in main() 78 } END_FOR_EACH_PTR(file); in main()
|
| /third_party/node/deps/v8/include/v8-include/ |
| H A D | v8-source-location.h | 3 // found in the LICENSE file. 40 const char* file = __builtin_FILE(), size_t line = __builtin_LINE()) { in Current() 41 return SourceLocation(function, file, line); in Current() 61 * Returns the name of the current source file represented by this object. 63 * \returns the file name as cstring. 82 constexpr SourceLocation(const char* function, const char* file, size_t line) in SourceLocation() argument 83 : function_(function), file_(file), line_(line) {} in SourceLocation()
|
| /third_party/node/deps/v8/include/cppgc/ |
| H A D | source-location.h | 3 // found in the LICENSE file. 40 const char* file = __builtin_FILE(), size_t line = __builtin_LINE()) { in Current() 41 return SourceLocation(function, file, line); in Current() 61 * Returns the name of the current source file represented by this object. 63 * \returns the file name as cstring. 82 constexpr SourceLocation(const char* function, const char* file, size_t line) in SourceLocation() argument 83 : function_(function), file_(file), line_(line) {} in SourceLocation()
|
| /third_party/mesa3d/src/util/ |
| H A D | os_memory_debug.h | 45 debug_malloc(const char *file, unsigned line, const char *function, 49 debug_calloc(const char *file, unsigned line, const char *function, 53 debug_free(const char *file, unsigned line, const char *function, 57 debug_realloc(const char *file, unsigned line, const char *function,
|
| /third_party/libabigail/relicensing-scripts/ |
| H A D | has-spdx-header.sh | 5 file= 13 echo "$prog: [options] file" 16 echo " -f|--file prefix output with file name" 18 echo " --show-no-spdx show file name if it has no spdx header" 51 license=$(head --lines=5 $file | sed -n -E "s/^.*(SPDX-License-Identifier:)[ ]*([^*/]+).*$/\2/p") 68 -f|--file) 103 file=$1
|
| /third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
| H A D | ReactorDebugInfo.hpp | 4 // you may not use this file except in compliance with the License. 28 std::string file; member 30 bool operator==(const FunctionLocation &rhs) const { return name == rhs.name && file == rhs.file; } in operator ==() 37 return std::hash<std::string>()(l.file) * 31 + 64 // non-Reactor file. If limit is non-zero, then a maximum of limit
|
| /third_party/skia/third_party/externals/tint/src/utils/io/ |
| H A D | tmpfile_windows.cc | 4 // you may not use this file except in compliance with the License. 27 // As we're adding an extension, to ensure the file is really unique, try in TmpFilePath() 32 // The "x" arg forces the function to fail if the file already exists. in TmpFilePath() 53 FILE* file = nullptr; in Append() local 54 if (fopen_s(&file, path_.c_str(), "ab") != 0) { in Append() 57 fwrite(data, size, 1, file); in Append() 58 fclose(file); in Append()
|
| /third_party/skia/third_party/externals/tint/src/val/ |
| H A D | msl.cc | 4 // you may not use this file except in compliance with the License. 35 utils::TmpFile file(".metal"); in Msl() 36 file << source; in Msl() 44 "-c", file.Path()); in Msl() 49 "-c", file.Path()); in Msl()
|
| /third_party/python/Lib/distutils/ |
| H A D | dist.py | 191 # 'dist_files' is the list of (command, pyversion, file) that 194 # gives sysconfig.get_python_version() if the dist file is 197 # file. pyversion should not be used to specify minimum or 331 # -- Config file finding/parsing methods --------------------------- 341 Distutils __inst__.py file lives), a file in the user's home 345 The file in the user's home directory can be disabled with the 351 # Where to look for the system-wide Distutils config file 354 # Look for the system config file 359 # What to call the per-user config file [all...] |