Home
last modified time | relevance | path

Searched refs:file (Results 4151 - 4175 of 14508) sorted by relevance

1...<<161162163164165166167168169170>>...581

/third_party/json/docs/mkdocs/scripts/
H A Dcheck_structure.py49 for file in files:
50 with open(file) as file_content:
52 existing_sections = [] # the list of h2 sections in the file
55 h1sections = 0 # the number of h1 sections in the file
68 report('structure/unexpected_section', f'{file}:{lineno+1}', f'unexpected top-level title "{line}"')
73 report('style/title', f'{file}:{lineno+1}', 'overview pages should have a better title than "Overview"')
77 report('whitespace/line_length', f'{file}:{lineno+1} ({current_section})', f'line is too long ({len(line)} vs. 160 chars)')
94 report('style/numbering', f'{file}:{lineno} ({current_section})', f'undocumented overloads: {", ".join([f"({x})" for x in undocumented])}')
96 report('style/numbering', f'{file}:{lineno} ({current_section})', f'unexpected overloads: {", ".join([f"({x})" for x in unexpected])}')
104 report('structure/section_order', f'{file}
[all...]
/third_party/ltp/include/
H A Dtst_test.h51 void tst_res_(const char *file, const int lineno, int ttype,
62 void tst_resm_hexd_(const char *file, const int lineno, int ttype,
73 void tst_brk_(const char *file, const int lineno, int ttype,
297 /* NULL terminated array of resource file names */
372 * Create and open a random file inside the given dir path.
373 * It unlinks the file after opening and return file descriptor.
390 int tst_validate_children_(const char *file, const int lineno,
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_dead_code_eliminate.cpp28 /** @file brw_vec4_dead_code_eliminate.cpp
56 if ((inst->dst.file == VGRF && !inst->has_side_effects()) || in dead_code_eliminate()
59 if (inst->dst.file == VGRF) { in dead_code_eliminate()
140 if (inst->dst.file == VGRF && !inst->predicate && in dead_code_eliminate()
163 if (inst->src[i].file == VGRF) { in dead_code_eliminate()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx01.c12 * The metadata for normal file are tested against expected values:
22 * The metadata for device file are tested against expected values:
55 FILE *file; in test_mnt_id() local
66 file = SAFE_FOPEN("/proc/self/mountinfo", "r"); in test_mnt_id()
68 while (fgets(line, sizeof(line), file)) { in test_mnt_id()
82 SAFE_FCLOSE(file); in test_mnt_id()
/third_party/ltp/tools/sparse/sparse-src/
H A Dctags.c87 perror("open tags file"); in show_tags()
216 char *file; in main() local
219 FOR_EACH_PTR(filelist, file) { in main()
220 sparse(file); in main()
222 } END_FOR_EACH_PTR(file); in main()
H A Dgraph.c60 " file=\"%s\";\n" in graph_ep()
117 /* Insert edges for intra- or inter-file calls, depending on the value
168 char *file; in main() local
178 * structures and intra-file calls */ in main()
179 FOR_EACH_PTR(filelist, file) { in main()
181 fsyms = sparse(file); in main()
196 } END_FOR_EACH_PTR(file); in main()
198 /* Graph inter-file calls */ in main()
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_rsa_legacy.c5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
43 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) in SSL_use_RSAPrivateKey_file() argument
55 if (BIO_read_filename(in, file) <= 0) { in SSL_use_RSAPrivateKey_file()
125 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_RSAPrivateKey_file() argument
137 if (BIO_read_filename(in, file) <= 0) { in SSL_CTX_use_RSAPrivateKey_file()
/third_party/python/Tools/c-analyzer/c_parser/
H A Ddatafiles.py64 def _get_format(file, default='tsv'):
65 if isinstance(file, str):
66 filename = file
68 filename = getattr(file, 'name', '')
/third_party/vk-gl-cts/external/amber/src/tools/
H A Dupdate_vk_wrappers.py6 # you may not use this file except in compliance with the License.
27 def read_inc(file):
30 with open(file, 'r') as f:
40 def read_vk(file):
42 tree = ET.parse(file)
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DDebug.cpp4 // you may not use this file except in compliance with the License.
171 FILE *file = fopen(TRACE_OUTPUT_FILE, "a"); in logv() local
173 if(file) in logv()
175 vfprintf(file, format, args); in logv()
176 fclose(file); in logv()
/third_party/openssl/ssl/
H A Dssl_rsa_legacy.c5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
43 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) in SSL_use_RSAPrivateKey_file() argument
55 if (BIO_read_filename(in, file) <= 0) { in SSL_use_RSAPrivateKey_file()
125 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_RSAPrivateKey_file() argument
137 if (BIO_read_filename(in, file) <= 0) { in SSL_CTX_use_RSAPrivateKey_file()
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_source_encoding.py24 PEP 263 specifies how that can change on a per-file basis. Either the first
26 [encoding second line]. If the file has the BOM marker it is considered UTF-8
39 with open(mapping[self.module_name], 'wb') as file:
40 file.write(source)
128 with open(mapping[module_name], 'wb') as file:
129 file.write(source)
/third_party/python/Modules/_io/clinic/
H A D_iomodule.c.h6 "open($module, /, file, mode=\'r\', buffering=-1, encoding=None,\n"
10 "Open file and return a stream. Raise OSError upon failure.\n"
12 "file is either a text or byte string giving the name (and the path\n"
13 "if the file isn\'t in the current working directory) of the file to\n"
14 "be opened or an integer file descriptor of the file to be\n"
15 "wrapped. (If a file descriptor is given, it is closed when the\n"
18 "mode is an optional string that specifies the mode in which the file\n"
20 "mode. Other common values are \'w\' for writing (truncating the file i
140 PyObject *file; _io_open() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
H A Dfractal.cpp4 // you may not use this file except in compliance with the License.
80 // writeBMP writes the given image as a bitmap to the given file, returning
86 auto file = fopen(path, "wb"); in writeBMP() local
87 if (!file) { in writeBMP()
88 fprintf(stderr, "Could not open file '%s'\n", path); in writeBMP()
91 defer(fclose(file)); in writeBMP()
94 auto put1 = [&](uint8_t val) { ok = ok && fwrite(&val, 1, 1, file) == 1; }; in writeBMP()
104 // Bitmap file header in writeBMP()
/third_party/protobuf/php/ext/google/protobuf/
H A Dnames.c209 char *GetPhpClassname(const upb_filedef *file, const char *fullname) { in GetPhpClassname() argument
213 const char *package = upb_filedef_package(file); in GetPhpClassname()
214 const char *php_namespace = upb_filedef_phpnamespace(file); in GetPhpClassname()
215 const char *prefix = upb_filedef_phpprefix(file); in GetPhpClassname()
/base/telephony/core_service/services/sim/src/
H A Doperator_file_parser.cpp4 * you may not use this file except in compliance with the License.
46 FILE *file = nullptr; in WriteOperatorConfigJson() local
47 file = fopen(GetOperatorConfigFilePath(filename).c_str(), "w"); in WriteOperatorConfigJson()
48 if (file == nullptr) { in WriteOperatorConfigJson()
53 int ret = fwrite(cjValue, sizeof(char), strlen(cjValue), file); in WriteOperatorConfigJson()
54 (void)fclose(file); in WriteOperatorConfigJson()
57 file = nullptr; in WriteOperatorConfigJson()
59 printf("write json to file failed!"); in WriteOperatorConfigJson()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
H A Dsimdisk.c4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
210 static ssize_t proc_read_simdisk(struct file *file, char __user *buf, in proc_read_simdisk() argument
213 struct simdisk *dev = PDE_DATA(file_inode(file)); in proc_read_simdisk()
232 static ssize_t proc_write_simdisk(struct file *file, const char __user *buf, in proc_write_simdisk() argument
236 struct simdisk *dev = PDE_DATA(file_inode(file)); in proc_write_simdisk()
/kernel/linux/linux-5.10/arch/alpha/math-emu/
H A Dqrnnd.S4 # This file is part of GCC.
13 # compiled version of this file with other programs, and to distribute
15 # file. (The General Public License restrictions do apply in other
16 # respects; for example, they cover modification of the file, and
19 # This file is distributed in the hope that it will be useful, but
25 # along with GCC; see the file COPYING. If not, write to the
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dtraps.c214 void __pte_error(const char *file, int line, unsigned long val) in __pte_error() argument
216 pr_emerg("%s:%d: bad pte %08lx.\n", file, line, val); in __pte_error()
219 void __pmd_error(const char *file, int line, unsigned long val) in __pmd_error() argument
221 pr_emerg("%s:%d: bad pmd %08lx.\n", file, line, val); in __pmd_error()
224 void __pgd_error(const char *file, int line, unsigned long val) in __pgd_error() argument
226 pr_emerg("%s:%d: bad pgd %08lx.\n", file, line, val); in __pgd_error()
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dstart_up.c348 char *file, *driver; in parse_iomem() local
352 file = strchr(str,','); in parse_iomem()
353 if (file == NULL) { in parse_iomem()
357 *file = '\0'; in parse_iomem()
358 file++; in parse_iomem()
359 fd = open(file, O_RDWR, 0); in parse_iomem()
361 perror("parse_iomem - Couldn't open io file"); in parse_iomem()
366 perror("parse_iomem - cannot stat_fd file"); in parse_iomem()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dcow_user.c36 * The same must hold for V2 - we want file format compatibility, not anything
66 * The bitmap and data portions of the file will be aligned as specified
223 cow_printf("Backing file name \"%s\" is too long - names are " in write_cow_header()
235 cow_printf("write_cow_header - backing file '%s' mtime " in write_cow_header()
244 "backing file '%s', err = %d\n", in write_cow_header()
258 "new COW file '%s' failed, err = %d\n", cow_file, in write_cow_header()
285 char *file; in read_cow_header() local
322 file = header->v1.backing_file; in read_cow_header()
335 file = header->v2.backing_file; in read_cow_header()
353 file in read_cow_header()
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dpgtable.h58 extern void __pte_error(const char *file, int line, pte_t);
59 extern void __pmd_error(const char *file, int line, pmd_t);
60 extern void __pgd_error(const char *file, int line, pgd_t);
132 struct file;
133 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
296 * This gives us up to 31 swap files and 128GB per swap file. Note that
/kernel/linux/linux-5.10/drivers/char/
H A Draw.c49 * We just rewrite the i_mapping for the /dev/raw/rawN file descriptor to
50 * point at the blockdev's address_space and set the file handle to use
56 static int raw_open(struct inode *inode, struct file *filp) in raw_open()
110 static int raw_release(struct inode *inode, struct file *filp) in raw_release()
130 raw_ioctl(struct file *filp, unsigned int command, unsigned long arg) in raw_ioctl()
201 static long raw_ctl_ioctl(struct file *filp, unsigned int command, in raw_ctl_ioctl()
242 static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd, in raw_ctl_compat_ioctl() argument
/kernel/linux/linux-6.6/arch/alpha/lib/
H A Dudiv-qrnnd.S4 # This file is part of GCC.
13 # compiled version of this file with other programs, and to distribute
15 # file. (The General Public License restrictions do apply in other
16 # respects; for example, they cover modification of the file, and
19 # This file is distributed in the hope that it will be useful, but
25 # along with GCC; see the file COPYING. If not, write to the
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
H A Dvhci_driver.c191 FILE *file; in read_record() local
204 file = fopen(path, "r"); in read_record()
205 if (!file) { in read_record()
211 if (fgets(buffer, buffer_len, file) == NULL) { in read_record()
214 fclose(file); in read_record()
217 fclose(file); in read_record()

Completed in 15 milliseconds

1...<<161162163164165166167168169170>>...581