Home
last modified time | relevance | path

Searched refs:file_name (Results 1 - 25 of 349) sorted by relevance

12345678910>>...14

/third_party/mbedtls/tests/scripts/
H A Dset_psa_test_dependencies.py136 def systematic_dependencies(file_name, function_name, arguments):
158 if os.path.basename(file_name) == 'test_suite_psa_crypto_persistent_key.data' and \
168 def updated_dependencies(file_name, function_name, arguments, dependencies):
177 automatic = systematic_dependencies(file_name, function_name, arguments)
183 def keep_manual_dependencies(file_name, function_name, arguments):
198 def process_data_stanza(stanza, file_name, test_case_number):
214 .format(test_case_number, file_name))
217 .format(test_case_number, file_name))
220 if keep_manual_dependencies(file_name, function_name, arguments):
239 .format(test_case_number, file_name))
[all...]
H A Dcheck_test_cases.py45 def error(self, file_name, line_number, fmt, *args):
47 format(file_name, line_number, *args))
50 def warning(self, file_name, line_number, fmt, *args):
53 .format(file_name, line_number, *args))
68 file_name, line_number, description):
73 file_name: a relative path to the file containing the test case.
162 file_name, _line_number, description):
164 base_name = re.sub(r'\.[^.]*$', '', re.sub(r'.*/', '', file_name))
189 file_name, line_number, description):
194 results.error(file_name, line_numbe
[all...]
/third_party/ltp/include/
H A Dtst_cgroup.h180 #define SAFE_CG_HAS(cg, file_name) \
181 safe_cg_has(__FILE__, __LINE__, (cg), (file_name))
185 const char *const file_name)
188 #define SAFE_CG_READ(cg, file_name, out, len) \
190 (cg), (file_name), (out), (len))
194 const char *const file_name,
198 #define SAFE_CG_PRINTF(cg, file_name, fmt, ...) \
200 (cg), (file_name), (fmt), __VA_ARGS__)
202 #define SAFE_CG_PRINT(cg, file_name, str) \
203 safe_cg_printf(__FILE__, __LINE__, (cg), (file_name), "
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c41 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name, in __libdwfl_open_by_build_id() argument
102 if (*file_name != NULL) in __libdwfl_open_by_build_id()
103 free (*file_name); in __libdwfl_open_by_build_id()
104 *file_name = realpath (name, NULL); in __libdwfl_open_by_build_id()
105 if (*file_name == NULL) in __libdwfl_open_by_build_id()
107 *file_name = name; in __libdwfl_open_by_build_id()
128 __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) in __libdwfl_open_mod_by_build_id() argument
139 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id); in __libdwfl_open_mod_by_build_id()
147 char **file_name, Elf **elfp) in dwfl_build_id_find_elf()
162 *file_name in dwfl_build_id_find_elf()
143 dwfl_build_id_find_elf(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *modname __attribute__ ((unused)), Dwarf_Addr base __attribute__ ((unused)), char **file_name, Elf **elfp) dwfl_build_id_find_elf() argument
[all...]
H A Doffline.c102 const char *file_name, int fd, Elf *elf);
104 const char *file_name, int fd, Elf *elf,
111 process_file (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_file() argument
123 return process_elf (dwfl, name, file_name, fd, elf); in process_file()
126 return process_archive (dwfl, name, file_name, fd, elf, predicate); in process_file()
132 process_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_elf() argument
135 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, in process_elf()
168 process_archive_member (Dwfl *dwfl, const char *name, const char *file_name, in process_archive_member() argument
193 if (unlikely (asprintf (&member_name, "%s(%s)", file_name, h->ar_name) < 0)) in process_archive_member()
249 process_archive (Dwfl *dwfl, const char *name, const char *file_name, in argument
280 __libdwfl_report_offline(Dwfl *dwfl, const char *name, const char *file_name, int fd, bool closefd, int (*predicate) (const char *module, const char *file)) __libdwfl_report_offline() argument
303 dwfl_report_offline(Dwfl *dwfl, const char *name, const char *file_name, int fd) dwfl_report_offline() argument
[all...]
H A Dfind-debuginfo.c161 find_debuginfo_in_path (Dwfl_Module *mod, const char *file_name, in find_debuginfo_in_path() argument
167 const char *file_basename = file_name == NULL ? NULL : basename (file_name); in find_debuginfo_in_path()
217 : file_name != NULL ? stat (file_name, &main_stat) in find_debuginfo_in_path()
224 char *file_dirname = (file_basename == file_name ? NULL in find_debuginfo_in_path()
225 : strndup (file_name, file_basename - 1 - file_name)); in find_debuginfo_in_path()
226 if (file_basename != file_name && file_dirname == NULL) in find_debuginfo_in_path()
352 const char *file_name, in dwfl_standard_find_debuginfo()
348 dwfl_standard_find_debuginfo(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *modname __attribute__ ((unused)), GElf_Addr base __attribute__ ((unused)), const char *file_name, const char *debuglink_file, GElf_Word debuglink_crc, char **debuginfo_file_name) dwfl_standard_find_debuginfo() argument
[all...]
/third_party/ltp/testcases/kernel/fs/fs_perms/
H A Dfs_perms.c68 static void testsetup(const char *file_name, int flag, mode_t mode, in testsetup() argument
73 file = fopen(file_name, "w"); in testsetup()
77 "Could not create test file %s.", file_name); in testsetup()
94 if (chmod(file_name, mode)) in testsetup()
96 "Could not chmod test file %s.", file_name); in testsetup()
98 if (chown(file_name, user_id, group_id)) in testsetup()
100 "Could not chown test file %s.", file_name); in testsetup()
106 static int testfperm(const char *file_name, int flag, int user_id, in testfperm() argument
130 execl(file_name, file_name, NUL in testfperm()
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dimageio_util.c71 int ImgIoUtilReadFile(const char* const file_name, in ImgIoUtilReadFile() argument
77 const int from_stdin = (file_name == NULL) || !WSTRCMP(file_name, "-"); in ImgIoUtilReadFile()
85 in = WFOPEN(file_name, "rb"); in ImgIoUtilReadFile()
87 WFPRINTF(stderr, "cannot open input file '%s'\n", (const W_CHAR*)file_name); in ImgIoUtilReadFile()
98 (const W_CHAR*)file_name); in ImgIoUtilReadFile()
106 (int)file_size, (const W_CHAR*)file_name); in ImgIoUtilReadFile()
118 int ImgIoUtilWriteFile(const char* const file_name, in ImgIoUtilWriteFile() argument
122 const int to_stdout = (file_name == NULL) || !WSTRCMP(file_name, " in ImgIoUtilWriteFile()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsymlinkat.c32 char *file_name = "/data/symlinkat.txt"; in symlinkat_0100() local
38 fdf = creat(file_name, O_RDWR | O_CREAT); in symlinkat_0100()
55 if (symlinkat(file_name, fdd, symlink_name) < 0) { in symlinkat_0100()
67 if (strcmp(buffer, file_name)) { in symlinkat_0100()
68 t_error("%s buffer is %s, not %s", __func__, buffer, file_name); in symlinkat_0100()
72 unlink(file_name); in symlinkat_0100()
84 char *file_name = "/data/symlinkat.txt"; in symlinkat_0200() local
102 if (symlinkat(file_name, fd, symlink_name) < 0) { in symlinkat_0200()
H A Dsymlink.c28 char *file_name = "/data/temp.txt"; in symlink_0100() local
30 FILE *f = fopen(file_name, "w"); in symlink_0100()
32 int result = symlink(file_name, link_name); in symlink_0100()
39 unlink(file_name); in symlink_0100()
50 char *file_name = "/data/temp.txt"; in symlink_0200() local
52 int result = symlink(file_name, link_name); in symlink_0200()
/third_party/curl/src/
H A Dtool_doswin.c70 static SANITIZEcode msdosify(char **const sanitized, const char *file_name,
74 const char *file_name,
110 Success: (SANITIZE_ERR_OK) *sanitized points to a sanitized copy of file_name.
113 SANITIZEcode sanitize_file_name(char **const sanitized, const char *file_name, in sanitize_file_name() argument
126 if(!file_name) in sanitize_file_name()
131 if(file_name[0] == '\\' && file_name[1] == '\\') in sanitize_file_name()
144 len = strlen(file_name); in sanitize_file_name()
147 truncate_dryrun(file_name, max_sanitized_len)) in sanitize_file_name()
157 strncpy(target, file_name, le in sanitize_file_name()
313 msdosify(char **const sanitized, const char *file_name, int flags) msdosify() argument
460 rename_if_reserved_dos_device_name(char **const sanitized, const char *file_name, int flags) rename_if_reserved_dos_device_name() argument
[all...]
/third_party/skia/tools/
H A Drewrite_includes.py57 for file_name in files:
58 if file_name.endswith('.h'):
59 if file_name in headers:
60 message = ('Header filename is used more than once!\n- ' + path + '/' + file_name +
61 '\n- ' + headers[file_name])
62 assert file_name not in headers, message
63 headers[file_name] = os.path.abspath(os.path.join(path, file_name))
72 for file_name in files:
73 yield os.path.join(path, file_name)
[all...]
/third_party/icu/tools/scripts/
H A Dicu-file-utf8-check.py61 # file_name: name of a text file.
64 def check_file(file_name, is_source):
66 f = open(file_name, 'rb')
74 print("Error: %s is a source code file but contains non-utf-8 bytes." % file_name)
78 if not (file_name.endswith(".txt") or file_name.endswith(".sln")
79 or file_name.endswith(".targets") or ".vcxproj" in file_name):
80 print("Warning: file %s contains a UTF-8 BOM: " % file_name)
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dvfprintf.c45 void vfprintf_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_test() argument
47 FILE *file = fopen(file_name, "w"); in vfprintf_test()
59 char *buffer = getfileall(file_name); in vfprintf_test()
63 remove(file_name); in vfprintf_test()
66 void vfprintf_n_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_n_test() argument
68 FILE *file = fopen(file_name, "w"); in vfprintf_n_test()
80 char *buffer = getfileall(file_name); in vfprintf_n_test()
84 remove(file_name); in vfprintf_n_test()
/third_party/libcoap/man/
H A Dexamples-code-check.c151 char file_name[300]; in check_synopsis() local
155 snprintf(file_name, sizeof(file_name), "tmp/%s-header.c", file); in check_synopsis()
156 fpcode = fopen(file_name, "w"); in check_synopsis()
158 fprintf(stderr, "fopen: %s: %s (%d)\n", file_name, strerror(errno), errno); in check_synopsis()
171 file_name[strlen(file_name)-1] = '\000'; in check_synopsis()
174 file_name, file_name); in check_synopsis()
459 char file_name[30 in main() local
[all...]
/third_party/gn/src/gn/
H A Dinput_file_manager.cc102 InputFileManager::InputFileData::InputFileData(const SourceFile& file_name) in InputFileData() argument
103 : file(file_name), loaded(false), sync_invocation(false) {} in InputFileData()
115 const SourceFile& file_name, in AsyncLoadFile()
125 InputFileMap::const_iterator found = input_files_.find(file_name); in AsyncLoadFile()
129 std::make_unique<InputFileData>(file_name); in AsyncLoadFile()
131 schedule_this = [this, origin, build_settings, file_name, in AsyncLoadFile()
133 BackgroundLoadFile(origin, build_settings, file_name, file); in AsyncLoadFile()
135 input_files_[file_name] = std::move(data); in AsyncLoadFile()
144 "The file \"" + file_name.value() + in AsyncLoadFile()
174 const SourceFile& file_name, in SyncLoadFile()
113 AsyncLoadFile(const LocationRange& origin, const BuildSettings* build_settings, const SourceFile& file_name, const FileLoadCallback& callback, Err* err) AsyncLoadFile() argument
171 SyncLoadFile( const LocationRange& origin, const BuildSettings* build_settings, const SourceFile& file_name, Err* err) SyncLoadFile() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A Dgen_packed_gl_enums.py78 // {file_name}:
117 def write_header(enums, path_prefix, file_name, data_source_name, includes, namespace,
137 file_name=file_name,
138 include_guard=generate_include_guard(file_name),
143 with (open(path_prefix + file_name, 'wt')) as f:
154 // {file_name}:
204 def write_cpp(enums, path_prefix, file_name, data_source_name, namespace, api_enum_name):
233 file_name=file_name,
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DOccurance.java18 private String file_name; field in Occurance
26 Occurance (String file_name, String file_path, int line_number) { in Occurance() argument
27 this.file_name = file_name; in Occurance()
37 return file_name; in getFileName()
/third_party/mindspore/
H A Dbuild_helper.py113 for file_name in os.listdir(folder_path):
114 if (file_name.endswith(".patch")):
115 files_list.append(file_name)
129 for file_name in os.listdir(patch_path):
130 if (file_name.endswith(".patch")):
131 patch_list.append(file_name)
132 for file_name in os.listdir(md5_path):
133 if (file_name.endswith(".md5")):
134 md5_list.append(file_name)
/third_party/skia/third_party/externals/libwebp/examples/
H A Dunicode_gif.h37 static GifFileType* DGifOpenFileUnicode(const W_CHAR* file_name, int* error) { in DGifOpenFileUnicode() argument
38 if (!WSTRCMP(file_name, "-")) { in DGifOpenFileUnicode()
49 int file_handle = _wopen(file_name, _O_RDONLY | _O_BINARY); in DGifOpenFileUnicode()
64 return DGifOpenFileName(file_name, error); in DGifOpenFileUnicode()
66 return DGifOpenFileName(file_name); in DGifOpenFileUnicode()
/third_party/node/deps/v8/third_party/inspector_protocol/
H A Dcode_generator.py166 def format_include(config, header, file_name=None):
167 if file_name is not None:
168 header = header + "/" + file_name + ".h"
175 def format_domain_include(config, header, file_name):
177 config.protocol.file_name_prefix + file_name)
180 def to_file_name(config, file_name):
182 return to_snake_case(file_name).replace(".cpp", ".cc")
183 return file_name
379 def read_protocol_file(self, file_name):
380 input_file = open(file_name, "
[all...]
H A Dconcatenate_protocols.py26 file_name = os.path.normpath(protocol)
27 if not os.path.isfile(file_name):
28 sys.stderr.write("Cannot find %s\n" % file_name)
30 input_file = open(file_name, "r")
31 parsed_json = pdl.loads(input_file.read(), file_name)
/third_party/node/tools/inspector_protocol/
H A Dconcatenate_protocols.py24 file_name = os.path.normpath(protocol)
25 if not os.path.isfile(file_name):
26 sys.stderr.write("Cannot find %s\n" % file_name)
28 input_file = open(file_name, "r")
29 parsed_json = pdl.loads(input_file.read(), file_name)
/third_party/jerryscript/jerry-main/
H A Dmain-unix-test.c36 read_file (const char *file_name, in read_file() argument
39 FILE *file = fopen (file_name, "rb"); in read_file()
42 jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Error: failed to open file: %s\n", file_name); in read_file()
49 jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Error: failed to read file: %s\n", file_name); in read_file()
92 const char *file_name = argv[i]; in main() local
95 const jerry_char_t *source_p = read_file (file_name, &source_size); in main()
/third_party/node/tools/
H A Dcheckimports.py10 def do_exist(file_name, lines, imported):
13 print('File "{0}" does not use "{1}"'.format(file_name, imported))
18 def is_valid(file_name):
19 with io.open(file_name, encoding='utf-8') as source_file:
30 valid = all([do_exist(file_name, lines, imported) for imported in importeds])
34 print("using statements aren't sorted in '{0}'.".format(file_name))

Completed in 10 milliseconds

12345678910>>...14