Home
last modified time | relevance | path

Searched refs:file (Results 726 - 750 of 7574) sorted by relevance

1...<<21222324252627282930>>...303

/third_party/mesa3d/src/vulkan/registry/
H A Dupdate-aliases.py101 def file_matches_path(file: str, path: str) -> bool:
102 # if path is a folder; match any file within
103 if path.endswith('/') and file.startswith(path):
105 return file == path
109 file for file in files_with_aliases
110 if not file_matches_path(file, excluded_path)
114 print('No alias found in any file.')
118 print('\n'.join(f'- {file}' for file i
[all...]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_scan.h76 unsigned array_max[TGSI_FILE_COUNT]; /**< highest index array per register file */
212 unsigned file,
222 tgsi_is_bindless_image_file(unsigned file) in tgsi_is_bindless_image_file() argument
224 return file != TGSI_FILE_IMAGE && in tgsi_is_bindless_image_file()
225 file != TGSI_FILE_MEMORY && in tgsi_is_bindless_image_file()
226 file != TGSI_FILE_BUFFER && in tgsi_is_bindless_image_file()
227 file != TGSI_FILE_CONSTBUF && in tgsi_is_bindless_image_file()
228 file != TGSI_FILE_HW_ATOMIC; in tgsi_is_bindless_image_file()
/third_party/python/Tools/scripts/
H A Dgenerate_stdlib_module_names.py162 file=fp)
163 print("// List used to create sys.stdlib_module_names.", file=fp)
164 print(file=fp)
165 print("static const char* _Py_stdlib_module_names[] = {", file=fp)
167 print(f'"{name}",', file=fp)
168 print("};", file=fp)
174 file=sys.stderr)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
H A DfindBalance.py25 file = loadFile(specFile)
26 if file == None:
36 for str in file:
140 help='Set the diagnostic file')
142 help='Set the warning file')
144 help='Set the log file for both diagnostics and warnings')
156 for file in results.files:
157 findBalance(file)
161 for file in sorted(skipped):
162 print('\t' + file)
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dmap_html_anchors.py6 # map_html_anchors - map each id= element in a spec HTML file onto the
15 # Usage: map_html_anchors.py file.html > xrefMap.py
97 print(f'Cannot find title for <div id="{id}" class="{classes}"> - unrecognized class', file=sys.stderr)
106 print(f'Replacing key {id} -> ({val[0]}, {val[1]}) with ({chapter_id}, {id_title})', file=sys.stderr)
116 'javascript') in the specified file."""
124 print('exports.xrefMap = {', file=fp)
126 print('xrefMap = {', file=fp)
130 print(f" '{id}' : [ '{id_map[id][0]}', '{id_map[id][1]}' ],", file=fp)
132 print('}', file=fp)
142 help='Specify name of JavaScript file t
[all...]
/third_party/skia/src/ports/
H A DSkOSFile_stdio.cpp5 * found in the LICENSE file.
80 FILE* file = nullptr; in sk_fopen() local
82 file = fopen_win(path, perm); in sk_fopen()
84 file = fopen(path, perm); in sk_fopen()
88 if (!file && kRead_SkFILE_Flag == flags) { in sk_fopen()
91 file = fopen(bundlePath.c_str(), perm); in sk_fopen()
96 if (nullptr == file && (flags & kWrite_SkFILE_Flag)) { in sk_fopen()
100 return file; in sk_fopen()
/third_party/python/Lib/
H A D_py_abc.py72 def _dump_registry(cls, file=None):
74 print(f"Class: {cls.__module__}.{cls.__qualname__}", file=file)
75 print(f"Inv. counter: {get_cache_token()}", file=file)
81 print(f"{name}: {value!r}", file=file)
/third_party/skia/third_party/externals/freetype/builds/vms/
H A Dftsystem.c10 /* 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 /* we use our special ftconfig.h file, not the standard one */
210 int file; in FT_BASE_DEF() local
217 /* open the file */ in FT_BASE_DEF()
218 file = open( filepathname, O_RDONLY ); in FT_BASE_DEF()
219 if ( file < 0 ) in FT_BASE_DEF()
226 if ( fstat( file, &stat_buf ) < 0 ) in FT_BASE_DEF()
229 FT_ERROR(( " could not `fstat' file `%s'\n", filepathname )); in FT_BASE_DEF()
246 file, in FT_BASE_DEF()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
H A Dfailure_signal_handler_test.cc5 // you may not use this file except in compliance with the License.
88 void InstallHandlerWithWriteToFileAndRaise(const char* file, int signo) { in InstallHandlerWithWriteToFileAndRaise() argument
89 error_file = fopen(file, "w"); in InstallHandlerWithWriteToFileAndRaise()
100 std::string file = absl::StrCat(tmp_dir, "/signo_", signo); in TEST_P() local
106 EXPECT_EXIT(InstallHandlerWithWriteToFileAndRaise(file.c_str(), signo), in TEST_P()
111 InstallHandlerWithWriteToFileAndRaise(file.c_str(), signo), exit_regex); in TEST_P()
114 // Open the file in this process and check its contents. in TEST_P()
115 std::fstream error_output(file); in TEST_P()
116 ASSERT_TRUE(error_output.is_open()) << file; in TEST_P()
/third_party/vk-gl-cts/scripts/src_util/
H A Dcheck_include_guards.py10 # you may not use this file except in compliance with the License.
99 for file in files:
100 if isHeader(file):
101 headers.append(os.path.join(root, file))
106 for file in files:
107 if isHeader(file):
108 if not hasValidIncludeGuard(file):
110 print("File %s contains invalid include guards" % file)
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_schedule_instructions.cpp37 /** @file brw_fs_schedule_instructions.cpp
784 if (inst->src[i].file == VGRF) { in count_reads_remaining()
786 } else if (inst->src[i].file == FIXED_GRF) { in count_reads_remaining()
862 if (inst->dst.file == VGRF) { in update_register_pressure()
870 if (inst->src[i].file == VGRF) { in update_register_pressure()
872 } else if (inst->src[i].file == FIXED_GRF && in update_register_pressure()
886 if (inst->dst.file == VGRF) { in get_register_pressure_benefit()
896 if (inst->src[i].file == VGRF && in get_register_pressure_benefit()
901 if (inst->src[i].file == FIXED_GRF && in get_register_pressure_benefit()
1170 if (inst->src[i].file in calculate_deps()
[all...]
H A Dbrw_fs.cpp24 /** @file brw_fs.cpp
26 * This file drives the GLSL IR -> LIR translation, contains the
67 assert(dst.file != IMM && dst.file != UNIFORM); in init()
74 switch (dst.file) { in init()
87 unreachable("Invalid destination register file"); in init()
232 return src[1].file == VGRF; in is_send_from_grf()
235 return src[0].file == VGRF; in is_send_from_grf()
238 return src[0].file == VGRF; in is_send_from_grf()
407 if (src[i].file in has_source_and_destination_hazard()
[all...]
H A Dbrw_eu_emit.c54 if (src->file == BRW_MESSAGE_REGISTER_FILE) in gfx6_resolve_implied_move()
57 if (src->file != BRW_ARCHITECTURE_REGISTER_FILE || src->nr != BRW_ARF_NULL) { in gfx6_resolve_implied_move()
82 if (devinfo->ver >= 7 && reg->file == BRW_MESSAGE_REGISTER_FILE) { in gfx7_convert_mrf_to_grf()
83 reg->file = BRW_GENERAL_REGISTER_FILE; in gfx7_convert_mrf_to_grf()
93 if (dest.file == BRW_MESSAGE_REGISTER_FILE) in brw_set_dest()
95 else if (dest.file == BRW_GENERAL_REGISTER_FILE) in brw_set_dest()
103 if (dest.file == BRW_ARCHITECTURE_REGISTER_FILE && in brw_set_dest()
115 assert(dest.file == BRW_GENERAL_REGISTER_FILE || in brw_set_dest()
116 dest.file == BRW_ARCHITECTURE_REGISTER_FILE); in brw_set_dest()
123 brw_inst_set_dst_reg_file(devinfo, inst, dest.file); in brw_set_dest()
[all...]
/third_party/gn/src/gn/
H A Dvariables.cc3 // found in the LICENSE file.
118 command line or in the args.gn file.
207 line or in the args.gn file.
360 Absolute path to the target's generated file directory. This will be the
361 "root_gen_dir" followed by the relative path to the current build file. If
362 your file is in "//tools/doom_melon" then target_gen_dir would be
386 Absolute path to the target's generated file directory. If your current
465 Normally, for a file in target A to include a file from target B, A must list
562 source_expansion") to insert the source file name
[all...]
H A Dframeworks_utils.cc3 // found in the LICENSE file.
16 std::string_view GetFrameworkName(const std::string& file) { in GetFrameworkName() argument
17 if (FindFilenameOffset(file) != 0) in GetFrameworkName()
20 std::string_view extension = FindExtension(&file); in GetFrameworkName()
24 return FindFilenameNoExtension(&file); in GetFrameworkName()
/arkcompiler/runtime_core/libpandafile/
H A Dfile.h4 * you may not use this file except in compliance with the License.
184 Span file(GetBase(), header->file_size); in GetSpanFromId()
185 ThrowIfWithCheck(!id.IsValid() || id.GetOffset() >= file.size(), File::INVALID_FILE_OFFSET, in GetSpanFromId()
187 return file.Last(file.size() - id.GetOffset()); in GetSpanFromId()
193 Span file(GetBase(), header->file_size); in GetClasses()
194 Span class_idx_data = file.SubSpan(header->class_idx_off, header->num_classes * sizeof(uint32_t)); in GetClasses()
201 Span file(GetBase(), header->file_size); in GetLiteralArrays()
202 Span litarr_idx_data = file.SubSpan(header->literalarray_idx_off, header->num_literalarrays * sizeof(uint32_t)); in GetLiteralArrays()
209 Span file(GetBas in GetIndexHeaders()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir.c119 if (qir_is_tex(inst) && inst->dst.file != QFILE_TEX_S_DIRECT) in qir_get_nsrc()
141 switch (inst->dst.file) { in qir_has_side_effects()
168 if (inst->src[i].file == QFILE_VARY && in qir_has_side_effect_reads()
173 if (inst->src[i].file == QFILE_VPM) in qir_has_side_effect_reads()
177 if (inst->dst.file == QFILE_VPM) in qir_has_side_effect_reads()
187 if (inst->src[i].file == QFILE_UNIF) in qir_has_uniform_read()
246 switch (inst->dst.file) { in qir_is_tex()
261 switch (inst->dst.file) { in qir_has_implicit_tex_uniform()
412 switch (reg.file) { in qir_print_reg()
447 fprintf(stderr, "%s", files[reg.file]); in qir_print_reg()
[all...]
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
H A Dmemfd_create_common.c172 void *check_mmap(const char *file, const int lineno, void *addr, size_t length, in check_mmap() argument
177 p = safe_mmap(file, lineno, addr, length, prot, flags, fd, offset); in check_mmap()
179 tst_res_(file, lineno, TPASS, in check_mmap()
186 void check_mmap_fail(const char *file, const int lineno, void *addr, in check_mmap_fail() argument
190 safe_munmap(file, lineno, NULL, addr, length); in check_mmap_fail()
191 tst_res_(file, lineno, TFAIL, in check_mmap_fail()
198 tst_res_(file, lineno, TPASS | TERRNO, in check_mmap_fail()
203 void check_munmap(const char *file, const int lineno, void *p, size_t length) in check_munmap() argument
205 safe_munmap(file, lineno, NULL, p, length); in check_munmap()
207 tst_res_(file, linen in check_munmap()
210 check_mfd_has_seals(const char *file, const int lineno, int fd, int seals) check_mfd_has_seals() argument
223 check_mprotect(const char *file, const int lineno, void *addr, size_t length, int prot) check_mprotect() argument
[all...]
/third_party/python/Modules/clinic/
H A D_pickle.c.h32 "Write a pickled representation of the given object to the open file.");
66 "Pickler(file, protocol=None, fix_imports=True, buffer_callback=None)\n"
69 "This takes a binary file for writing a pickle data stream.\n"
80 "The *file* argument must have a write() method that accepts a single\n"
81 "bytes argument. It can thus be a file object opened for binary\n"
90 "serialized into *file* as part of the pickle stream.\n"
101 _pickle_Pickler___init___impl(PicklerObject *self, PyObject *file,
109 static const char * const _keywords[] = {"file", "protocol", "fix_imports", "buffer_callback", NULL}; in _pickle_Pickler___init__()
115 PyObject *file; in _pickle_Pickler___init__() local
124 file in _pickle_Pickler___init__()
335 PyObject *file; _pickle_Unpickler___init__() local
505 PyObject *file; _pickle_dump() local
670 PyObject *file; _pickle_load() local
[all...]
/third_party/littlefs/scripts/
H A Dperfbd.py111 'file', 'function', 'line',
114 _by = ['file', 'function', 'line']
120 def __new__(cls, file='', function='', line=0,
123 return super().__new__(cls, file, function, int(Int(line)),
128 return PerfBdResult(self.file, self.function, self.line,
155 # matches dir/file table
215 # decodedline seems to have issues with multiple dir/file
240 # found a file entry
260 file = os.path.abspath(files.get(op_file, '?'))
261 lines.append((file, op_lin
[all...]
/third_party/node/test/wasi/c/
H A Dfollow_symlink.c5 FILE* file = fopen("/sandbox/subdir/input_link.txt", "r"); in main() local
6 assert(file != NULL); in main()
8 char c = fgetc(file); in main()
12 c = fgetc(file); in main()
H A Dread_file.c5 FILE* file = fopen("/sandbox/input.txt", "r"); in main() local
6 assert(file != NULL); in main()
8 char c = fgetc(file); in main()
12 c = fgetc(file); in main()
H A Dwrite_file.c5 static char* message = "hello, file!";
8 FILE* file = fopen("/tmp/output.txt", "w"); in main() local
9 assert(file != NULL); in main()
11 int nwritten = fprintf(file, "%s", message); in main()
13 int r = fclose(file); in main()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DDebug.cpp4 // you may not use this file except in compliance with the License.
26 FILE *file = fopen("debug.txt", "a"); in trace() local
28 if(file) in trace()
32 vfprintf(file, format, vararg); in trace()
35 fclose(file); in trace()
/third_party/icu/icu4c/source/samples/csdet/
H A Dcsdet.c31 FILE *file; in main() local
42 file = fopen(filename, "rb"); in main()
44 if (file == NULL) { in main()
45 printf("Cannot open file \"%s\"\n\n", filename); in main()
51 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); in main()
53 fclose(file); in main()

Completed in 14 milliseconds

1...<<21222324252627282930>>...303