| /third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| H A D | cpp_file.h | 71 FileGenerator(const FileDescriptor* file, const Options& options); 78 // output) to the metadata file describing this proto header. 81 // output) to the metadata file describing this PB header. 91 // Internal type used by GenerateForwardDeclarations (defined in file.cc). 106 const FileDescriptor* file); 109 void GetCrossFileReferencesForFile(const FileDescriptor* file, 124 // Generates top or bottom of a header file. 156 // Sometimes the names we use in a .proto file happen to be defined as 192 // this file. If you need a pre-order walk just reverse iterate.
|
| /third_party/python/Lib/wsgiref/ |
| H A D | simple_server.py | 141 print("Hello world!", file=stdout) 142 print(file=stdout) 145 print(k,'=',repr(v), file=stdout)
|
| /third_party/skia/experimental/xps_to_png/ |
| H A D | xps_to_png.cs | 5 * found in the LICENSE file. 96 System.Console.WriteLine("file missing: '" + arg + "'\n\n"); in Main() 100 foreach (string file in xpsFiles) { in Main() 102 () => try_convert(dpi, file, file)); in Main()
|
| /third_party/vk-gl-cts/scripts/ |
| H A D | run_internal_tests.py | 10 # you may not use this file except in compliance with the License. 88 for file in [batchResultFile, junitFile]: 89 if os.path.exists(file): 90 os.remove(file)
|
| /third_party/zlib/examples/ |
| H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 25 # define SET_BINARY_MODE(file) 30 /* Compress from file source to file dest until EOF on source. 52 /* compress until end of file */ in def() 77 /* done when last data in file processed */ in def() 86 /* Decompress from file source to file dest until stream ends or EOF. 110 /* decompress until deflate stream ends or end of file */ in inf() [all...] |
| /device/soc/rockchip/common/vendor/drivers/net/ |
| H A D | rfkill-bt.c | 446 static ssize_t bluesleep_read_proc_lpm(struct file *file, char __user *buffer, size_t count, loff_t *data)
in bluesleep_read_proc_lpm() argument 451 static ssize_t bluesleep_write_proc_lpm(struct file *file, const char __user *buffer, size_t count, loff_t *data)
in bluesleep_write_proc_lpm() argument 456 static ssize_t bluesleep_read_proc_btwrite(struct file *file, char __user *buffer, size_t count, loff_t *data)
in bluesleep_read_proc_btwrite() argument 461 static ssize_t bluesleep_write_proc_btwrite(struct file *file, const char __user *buffer, size_t count, loff_t *data)
in bluesleep_write_proc_btwrite() argument
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_vinstr.c | 117 struct file *filp, 121 struct file *filp, 126 struct file *filp, 131 struct file *filp); 133 /* Vinstr client file operations */ 963 * @filp: Non-NULL pointer to file structure. 970 struct file *filp, in kbasep_vinstr_hwcnt_reader_ioctl() 1034 * @filp: Non-NULL pointer to file structure. 1041 struct file *filp, in kbasep_vinstr_hwcnt_reader_poll() 1061 * @filp: Non-NULL pointer to file structur [all...] |
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_vinstr.c | 110 static unsigned int kbasep_vinstr_hwcnt_reader_poll(struct file *filp, poll_table *wait); 112 static long kbasep_vinstr_hwcnt_reader_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); 114 static int kbasep_vinstr_hwcnt_reader_mmap(struct file *filp, struct vm_area_struct *vma); 116 static int kbasep_vinstr_hwcnt_reader_release(struct inode *inode, struct file *filp); 118 /* Vinstr client file operations */ 903 * @filp: Non-NULL pointer to file structure. 909 static long kbasep_vinstr_hwcnt_reader_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in kbasep_vinstr_hwcnt_reader_ioctl() 965 * @filp: Non-NULL pointer to file structure. 971 static unsigned int kbasep_vinstr_hwcnt_reader_poll(struct file *filp, poll_table *wait) in kbasep_vinstr_hwcnt_reader_poll() 993 * @filp: Non-NULL pointer to file structur [all...] |
| /device/soc/rockchip/rk3588/kernel/net/rfkill/ |
| H A D | rfkill-bt.c | 459 static ssize_t bluesleep_read_proc_lpm(struct file *file, char __user *buffer, in bluesleep_read_proc_lpm() argument 465 static ssize_t bluesleep_write_proc_lpm(struct file *file, in bluesleep_write_proc_lpm() argument 472 static ssize_t bluesleep_read_proc_btwrite(struct file *file, in bluesleep_read_proc_btwrite() argument 479 static ssize_t bluesleep_write_proc_btwrite(struct file *file, in bluesleep_write_proc_btwrite() argument
|
| /foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/ |
| H A D | sa_cpp_client_proxy_code_emitter.cpp | 4 * you may not use this file except in compliance with the License.
17 #include "util/file.h"
33 File file(filePath, File::WRITE);
in EmitInterfaceProxyHeaderFile() 49 file.WriteData(data.c_str(), data.size());
in EmitInterfaceProxyHeaderFile() 50 file.Flush();
in EmitInterfaceProxyHeaderFile() 51 file.Close();
in EmitInterfaceProxyHeaderFile() 226 File file(filePath, File::WRITE);
in EmitInterfaceProxyCppFile() 246 file.WriteData(data.c_str(), data.size());
in EmitInterfaceProxyCppFile() 247 file.Flush();
in EmitInterfaceProxyCppFile() 248 file in EmitInterfaceProxyCppFile() [all...] |
| /third_party/backends/backend/ |
| H A D | kvs40xx.c | 325 s->file = h; in sane_open() 337 sanei_scsi_close (s->file); in sane_open() 344 sanei_usb_release_interface (s->file, 0); in sane_open() 345 sanei_usb_close (s->file); in sane_open() 356 s->file = h; in sane_open() 395 sanei_usb_release_interface (s->file, 0); in sane_close() 396 sanei_usb_close (s->file); in sane_close() 399 sanei_scsi_close (s->file); in sane_close()
|
| /third_party/gn/src/gn/ |
| H A D | substitution_writer.cc | 3 // found in the LICENSE file. 43 source file names to output file names or arguments. 54 static list of literal file names that do not depend on the sources. 65 The name of the source file including directory (*). This will generally 70 The file part of the source including the extension. 74 The filename part of the source file with no directory or extension. This 75 will generally be used for specifying a transformation from a source file 76 to a destination file with the same name but different extension. 80 The directory (*) containing the source file wit [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_transform.h | 249 unsigned file, unsigned index, unsigned writemask) in tgsi_transform_dst_reg() 251 reg->Register.File = file; in tgsi_transform_dst_reg() 258 unsigned file, unsigned index) in tgsi_transform_src_reg_xyzw() 260 reg->Register.File = file; in tgsi_transform_src_reg_xyzw() 262 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg_xyzw() 270 unsigned file, unsigned index, in tgsi_transform_src_reg() 274 reg->Register.File = file; in tgsi_transform_src_reg() 276 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg() 248 tgsi_transform_dst_reg(struct tgsi_full_dst_register *reg, unsigned file, unsigned index, unsigned writemask) tgsi_transform_dst_reg() argument 257 tgsi_transform_src_reg_xyzw(struct tgsi_full_src_register *reg, unsigned file, unsigned index) tgsi_transform_src_reg_xyzw() argument 269 tgsi_transform_src_reg(struct tgsi_full_src_register *reg, unsigned file, unsigned index, unsigned swizzleX, unsigned swizzleY, unsigned swizzleZ, unsigned swizzleW) tgsi_transform_src_reg() argument
|
| H A D | tgsi_build.c | 122 unsigned file, in tgsi_build_declaration() 136 assert( file < TGSI_FILE_COUNT ); in tgsi_build_declaration() 140 declaration.File = file; in tgsi_build_declaration() 812 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() 819 texture_offset.File = file; in tgsi_build_texture_offset() 851 unsigned file, in tgsi_build_src_register() 866 assert( file < TGSI_FILE_COUNT ); in tgsi_build_src_register() 874 src_register.File = file; in tgsi_build_src_register() 905 unsigned file, in tgsi_build_ind_register() 914 assert( file < TGSI_FILE_COUN in tgsi_build_ind_register() 121 tgsi_build_declaration( unsigned file, unsigned usage_mask, unsigned interpolate, unsigned dimension, unsigned semantic, unsigned invariant, unsigned local, unsigned array, unsigned atomic, unsigned mem_type, struct tgsi_header *header ) tgsi_build_declaration() argument 811 tgsi_build_texture_offset( int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_texture_offset() argument 850 tgsi_build_src_register( unsigned file, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w, unsigned negate, unsigned absolute, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_src_register() argument 904 tgsi_build_ind_register( unsigned file, unsigned swizzle, int index, unsigned arrayid, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_ind_register() argument 989 tgsi_build_dst_register( unsigned file, unsigned mask, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_dst_register() argument [all...] |
| /third_party/node/deps/uv/src/unix/ |
| H A D | process.c | 380 execvpe(options->file, options->args, environ); in uv__process_child_init() 382 execvp(options->file, options->args); in uv__process_child_init() 466 * the file actions in uv__spawn_set_posix_spawn_attrs() 665 if (options->file == NULL) in uv__spawn_resolve_and_spawn() 674 /* If options->file contains a slash, posix_spawn/posix_spawnp should behave in uv__spawn_resolve_and_spawn() 678 if (strchr(options->file, '/') != NULL) { in uv__spawn_resolve_and_spawn() 680 err = posix_spawn(pid, options->file, actions, attrs, options->args, env); in uv__spawn_resolve_and_spawn() 697 k = strnlen(options->file, NAME_MAX + 1); in uv__spawn_resolve_and_spawn() 704 /* Compose the new process file from the entry in the PATH in uv__spawn_resolve_and_spawn() 705 * environment variable and the actual file nam in uv__spawn_resolve_and_spawn() [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | deepfreeze.py | 112 def __init__(self, file: TextIO) -> None: 114 self.file = file 136 self.file.writelines((" "*self.level, arg, "\n")) 463 file, modname = arg.rsplit(':', 1) 464 with open(file, "r", encoding="utf8") as fd: 486 parser.add_argument('args', nargs="+", help="Input file and module name (required) in file:modname format") 504 with open(output, "w", encoding="utf-8") as file: 506 generate(args.args, file) [all...] |
| /third_party/toybox/toys/pending/ |
| H A D | crond.c | 23 -L Log to file 382 loginfo(LOG_LEVEL7, "ignoring file '%s' (no such user)", entry->d_name); in scan_cronfiles() 435 char *file = "/bin/sh"; in do_fork() local 439 if (!strcmp("SHELL", v->name)) file = v->val; in do_fork() 449 if (prog) file = prog; in do_fork() 450 if (TT.flagd) loginfo(LOG_LEVEL5, "child running %s", file); in do_fork() 461 execlp(file, file, (prog ? "-ti" : "-c"), (prog ? NULL : job->cmd), (char *) NULL); in do_fork() 462 loginfo(LOG_ERROR, "can't execute '%s' for user %s", file, cfile->username); in do_fork() 464 if (!prog) dprintf(1, "Exec failed: %s -c %s\n", file, jo in do_fork() [all...] |
| /third_party/python/Lib/tkinter/test/test_tkinter/ |
| H A D | test_images.py | 74 file=self.testfile) 121 self.assertEqual(image['file'], '-file {} {} {} {}') 122 image.configure(file=self.testfile) 123 self.assertEqualStrList(image['file'], 124 ('-file', '', '', '',self.testfile)) 157 file=self.testfile) 168 file=testfile) 174 self.assertEqual(image['file'], testfile) 192 self.assertEqual(image['file'], '') [all...] |
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_linux_exportfs.c | 46 static int dhd_ring_proc_open(struct inode *inode, struct file *file); 47 ssize_t dhd_ring_proc_read(struct file *file, char *buffer, size_t tt, loff_t *loff); 56 dhd_ring_proc_open(struct inode *inode, struct file *file) in dhd_ring_proc_open() argument 61 ret = single_open(file, 0, PDE_DATA(inode)); in dhd_ring_proc_open() 64 ret = single_open(file, 0, NULL); in dhd_ring_proc_open() 73 dhd_ring_proc_read(struct file *file, cha argument [all...] |
| /third_party/googletest/googletest/src/ |
| H A D | gtest-death-test.cc | 31 // This file implements death tests. 125 "Indicates the file, line number, temporal index of " 126 "the single death test to run, and a file descriptor to " 347 // platforms, it is read from a file descriptor. 383 Matcher<const std::string&> matcher, const char* file, in Create() 386 statement, std::move(matcher), file, line, test); in Create() 509 // Writes a status byte to the child's status file descriptor, then 656 const char* file, int line) in WindowsDeathTest() 658 file_(file), in WindowsDeathTest() 666 // The name of the file i 382 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 655 WindowsDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) WindowsDeathTest() argument 815 FuchsiaDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) FuchsiaDeathTest() argument 1153 ExecDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) ExecDeathTest() argument 1440 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument [all...] |
| /third_party/mesa3d/src/broadcom/compiler/ |
| H A D | vir_register_allocate.c | 94 return (inst->dst.file == QFILE_MAGIC && in qinst_writes_tmu() 250 if (inst->src[i].file != QFILE_TEMP) in v3d_choose_spill_node() 270 if (inst->dst.file == QFILE_TEMP) { in v3d_choose_spill_node() 290 assert(inst->dst.file == QFILE_TEMP); in v3d_choose_spill_node() 458 assert(dst.file == QFILE_TEMP); in v3d_emit_spill_tmua() 462 assert(fill_dst->file == QFILE_TEMP); in v3d_emit_spill_tmua() 498 assert(inst->dst.file == QFILE_TEMP); in v3d_emit_tmu_spill() 614 if (inst->src[i].file != QFILE_TEMP || in v3d_spill_reg() 674 if (inst->dst.file == QFILE_TEMP && in v3d_spill_reg() 894 * register file ca in vir_init_reg_sets() [all...] |
| /third_party/ltp/testcases/kernel/fs/doio/ |
| H A D | iogen.c | 15 * otherwise, applies only to this software file. Patent licenses, if 33 * iogen - a tool for generating file/sds io for a doio process 51 #include <sys/file.h> 89 * Structure for retaining test file information 93 char f_path[MAX_FNAME_LENGTH + 1]; /* file name (full path) */ 95 int f_iou; /* file iounit */ 96 int f_riou; /* file raw iounit (for O_RAW/O_SSD) */ 99 int f_type; /* file type S_IFREG, etc... */ 140 int O_opt = 0; /* file creation Open flags */ 170 struct file_info *File_List; /* info about each file */ 1378 char *file, *cp, ch; parse_cmdline() local [all...] |
| /third_party/node/lib/ |
| H A D | repl.js | 437 function defaultEval(code, context, file, cb) { 455 const hostDefinedOptionId = Symbol(`eval:${file}`); 493 file, // filename, 531 file, // filename, 1794 help: 'Save all evaluated commands in this REPL session to a file', 1795 action: function(file) { 1797 fs.writeFileSync(file, ArrayPrototypeJoin(this.lines, '\n')); 1798 this.output.write(`Session saved to: ${file}\n`); 1800 this.output.write(`Failed to save: ${file}\n`); 1807 help: 'Load JS from a file int [all...] |
| /third_party/node/deps/googletest/src/ |
| H A D | gtest-death-test.cc | 31 // This file implements death tests. 129 "Indicates the file, line number, temporal index of " 130 "the single death test to run, and a file descriptor to " 351 // platforms, it is read from a file descriptor. 387 Matcher<const std::string&> matcher, const char* file, in Create() 390 statement, std::move(matcher), file, line, test); in Create() 513 // Writes a status byte to the child's status file descriptor, then 674 const char* file, int line) in WindowsDeathTest() 676 file_(file), in WindowsDeathTest() 684 // The name of the file i 386 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 673 WindowsDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) WindowsDeathTest() argument 833 FuchsiaDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) FuchsiaDeathTest() argument 1147 ExecDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) ExecDeathTest() argument 1405 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument [all...] |
| /third_party/lwip/src/apps/http/makefsdata/ |
| H A D | makefsdata.c | 4 * This file is part of the lwIP TCP/IP stack. 22 /** Makefsdata can generate *all* files deflate-compressed (where file size shrinks). 119 int file_put_ascii(FILE *file, const char *ascii_string, int len, int *i); 161 printf(" switch -e: exclude HTTP header from file (header is created at runtime, default is off)" NEWLINE); in print_usage() 164 printf(" switch -ssi: ssi filename (ssi support controlled by file list, not by extension)" NEWLINE); in print_usage() 167 printf(" switch -m: include \"Last-Modified\" header based on file time" NEWLINE); in print_usage() 229 printf("Writing to file \"%s\"\n", targetfile); in main() 299 printf("Failed to create file \"fsdata.tmp\"\n"); in main() 304 printf("Failed to create file \"fshdr.tmp\"\n"); in main() 335 * file heade in main() 452 tinydir_file file; process_sub() local 491 tinydir_file file; process_sub() local 1224 file_put_ascii(FILE *file, const char *ascii_string, int len, int *i) file_put_ascii() argument [all...] |