Home
last modified time | relevance | path

Searched refs:file (Results 276 - 300 of 8763) sorted by relevance

1...<<11121314151617181920>>...351

/third_party/skia/third_party/externals/tint/tools/src/cmd/trim-includes/
H A Dmain.go4 // you may not use this file except in compliance with the License.
18 // trim-includes removes each #include from each file, then runs the provided
21 // After all the #include statements have been tested, the file is
59 trim-includes removes each #include from each file, then runs the provided build
62 After all the #include statements have been tested, the file is clang-formatted
113 for fileIdx, file := range files {
114 fmt.Printf("[%d/%d]: %v\n", fileIdx+1, len(files), file.path)
115 includeLines := file.includesLineNumbers()
116 enabled := make(map[int]bool, len(file.lines))
117 for i := range file
170 type file struct { global() type
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdioextndk.cpp4 * you may not use this file except in compliance with the License.
54 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Flbf() local
55 NAPI_ASSERT(env, file != nullptr, "Flbf fopen Error"); in Flbf()
56 __flbf(file); in Flbf()
62 fclose(file); in Flbf()
71 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fwriting() local
72 NAPI_ASSERT(env, file != nullptr, "Fwriting fopen Error"); in Fwriting()
73 int returnValue = __fwriting(file); in Fwriting()
79 fclose(file); in Fwriting()
88 FILE *file in Fpending() local
105 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); FBufSize() local
122 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Fpurge() local
139 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Freadable() local
156 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Freading() local
187 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Fwritable() local
205 FILE *file = fopen(path, mode); DPrintf() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_fileops.c21 #include "hi_osal.h" /* because of ioctl redefine, hi_osal.h should not be the first included file */
23 struct file *klib_fopen(const char *filename, int flags, int mode) in klib_fopen()
25 struct file *filp = filp_open(filename, flags, mode); in klib_fopen()
29 void klib_fclose(struct file *filp) in klib_fclose()
37 int klib_fwrite(const char *buf, int len, struct file *filp) in klib_fwrite()
46 int klib_fread(char *buf, unsigned int len, struct file *filp) in klib_fread()
63 klib_fclose((struct file *)filp); in osal_klib_fclose()
69 return klib_fwrite(buf, len, (struct file *)filp); in osal_klib_fwrite()
75 return klib_fread(buf, len, (struct file *)filp); in osal_klib_fread()
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
H A Dtest_regressions.js3 // found in the LICENSE file.
62 // Test that when a file with "use strict" is used in the inputs,
63 // the result is only strict if no other file contains anything
69 const file = createFuzzTest(
73 execFile(file);
80 const file = createFuzzTest(
84 execFile(file);
96 const file = createFuzzTest(
100 execFile(file);
107 const file
[all...]
/third_party/node/test/common/
H A Dcpu-prof.js11 .filter((file) => file.endsWith('.cpuprofile'))
12 .map((file) => path.join(dir, file));
15 function getFrames(file, suffix) {
16 const data = fs.readFileSync(file, 'utf8');
25 function verifyFrames(output, file, suffix) {
26 const { frames, nodes } = getFrames(file, suffix);
H A Dprof.js10 .filter((file) => file.endsWith('.heapprofile'))
11 .map((file) => path.join(dir, file));
30 function findFirstFrame(file, func) {
31 const data = fs.readFileSync(file, 'utf8');
37 function verifyFrames(output, file, func) {
38 const { frame, roots } = findFirstFrame(file, func);
/third_party/musl/src/process/
H A Dexecvp.c9 int __execvpe(const char *file, char *const argv[], char *const envp[]) in __execvpe() argument
16 if (!*file) return -1; in __execvpe()
18 if (strchr(file, '/')) in __execvpe()
19 return execve(file, argv, envp); in __execvpe()
22 k = strnlen(file, NAME_MAX+1); in __execvpe()
38 memcpy(b+(z-p)+(z>p), file, k+1); in __execvpe()
55 int execvp(const char *file, char *const argv[]) in execvp() argument
57 return __execvpe(file, argv, __environ); in execvp()
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Devm_overlay.sh46 local file="foo1.txt"
48 tst_res TINFO "overwrite file in overlay"
49 EXPECT_PASS echo lower \> $lower/$file
50 EXPECT_PASS echo overlay \> $merged/$file
55 local file="foo2.txt"
57 tst_res TINFO "append file in overlay"
58 EXPECT_PASS echo lower \> $lower/$file
59 EXPECT_PASS echo overlay \>\> $merged/$file
64 local file="foo3.txt"
66 tst_res TINFO "create a new file i
[all...]
/third_party/lwip/src/include/lwip/apps/
H A Dfs.h27 * This file is part of the lwIP TCP/IP stack.
70 arbitrary data, e.g. holding some file state or file system handle */
89 err_t fs_open(struct fs_file *file, const char *name);
90 void fs_close(struct fs_file *file);
93 int fs_read_async(struct fs_file *file, char *buffer, int count, fs_wait_cb callback_fn, void *callback_arg);
95 int fs_read(struct fs_file *file, char *buffer, int count);
99 int fs_is_file_ready(struct fs_file *file, fs_wait_cb callback_fn, void *callback_arg);
101 int fs_bytes_left(struct fs_file *file);
104 /** This user-defined function is called when a file i
[all...]
/third_party/python/Tools/scripts/
H A Dfixnotice.py5 Actually, this script will simply replace a block of text in a file from one
7 throughout the file. It writes a backup file and then does an os.rename()
15 --oldnotice=file
16 Use the notice in the file as the old (to be replaced) string, instead
19 --newnotice=file
20 Use the notice in the file as the new (replacement) string, instead of
26 file.
29 Print a message for every file looked at, indicating whether the file
[all...]
/base/hiviewdfx/hiview/base/event_store/sequence/
H A Dsys_event_sequence_mgr.cpp4 * you may not use this file except in compliance with the License.
33 std::ofstream file; in SaveStringToFile() local
34 file.open(filePath.c_str(), std::ios::in | std::ios::out); in SaveStringToFile()
35 if (!file.is_open()) { in SaveStringToFile()
36 file.open(filePath.c_str(), std::ios::out); in SaveStringToFile()
37 if (!file.is_open()) { in SaveStringToFile()
41 file.seekp(0); in SaveStringToFile()
42 file.write(content.c_str(), content.length() + 1); in SaveStringToFile()
43 bool ret = !file.fail(); in SaveStringToFile()
44 file in SaveStringToFile()
[all...]
/third_party/cJSON/fuzzing/
H A Dafl.c31 FILE *file = NULL; in read_file() local
37 file = fopen(filename, "rb"); in read_file()
38 if (file == NULL) in read_file()
44 if (fseek(file, 0, SEEK_END) != 0) in read_file()
48 length = ftell(file); in read_file()
53 if (fseek(file, 0, SEEK_SET) != 0) in read_file()
65 /* read the file into memory */ in read_file()
66 read_chars = fread(content, sizeof(char), (size_t)length, file); in read_file()
77 if (file != NULL) in read_file()
79 fclose(file); in read_file()
[all...]
/third_party/node/test/parallel/
H A Dtest-file-write-stream2.js68 const file = fs.createWriteStream(filepath, {
72 file.on('open', function(fd) {
78 file.on('drain', function() {
85 console.error(`ondrain write ret= ${file.write(EXPECTED)}`);
90 file.end();
94 file.on('close', function() {
96 assert.strictEqual(file.bytesWritten, EXPECTED.length * 2);
97 file.write('should not work anymore', (err) => {
103 const ret = file.write(String(i));
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/
H A DFontLoader.java31 for (File file : files) { in getFontFiles()
32 if (file.getName().endsWith(".ttf")) { in getFontFiles()
33 if (foundStart || startFrom.endsWith(file.getName())) { in getFontFiles()
35 fonts.add(file); in getFontFiles()
38 if (file.isDirectory()) { in getFontFiles()
39 getFontFiles(fonts, file, startFrom, foundStart); in getFontFiles()
44 private static Font[] load(File file) throws IOException { in load() argument
47 FileInputStream is = new FileInputStream(file); in load()
51 System.err.println("Could not load the font : " + file.getName()); in load()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
H A Dlog_util.cpp4 * you may not use this file except in compliance with the License.
85 bool LogUtil::ReadFileBuff(const string& file, stringstream& buffer) in ReadFileBuff() argument
87 int fd = LogUtil::GetFileFd(file); in ReadFileBuff()
89 HIVIEW_LOGE("%{public}s get fd fail, fd is %{public}d.", file.c_str(), fd); in ReadFileBuff()
95 HIVIEW_LOGE("read file: %s failed, fd is %d\n", file.c_str(), fd); in ReadFileBuff()
104 int LogUtil::GetFileFd(const string& file) in GetFileFd() argument
106 if (file.empty() || !FileUtil::IsLegalPath(file)) { in GetFileFd()
107 HIVIEW_LOGE("the system file ( in GetFileFd()
119 FileExist(const string& file) FileExist() argument
[all...]
/third_party/elfutils/tests/
H A Dline2addr.c2 This file is part of elfutils.
4 This file is free software; you can redistribute it and/or modify
63 char *file; member
79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) in handle_module()
85 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, in handle_module() local
87 if (file != NULL) in handle_module()
93 if (strcmp (file, a->file) || line != a->line || col != 0) in handle_module()
95 file, line); in handle_module()
99 || strcmp (file, in handle_module()
[all...]
/third_party/libsnd/tests/
H A Dlocale_test.c61 SNDFILE * file ; in wchar_test() local
71 file = sf_wchar_open (filename, SFM_WRITE, &info) ; in wchar_test()
72 exit_if_true (file == NULL, "\n\nLine %d : sf_wchar_open failed : %s\n\n", __LINE__, sf_strerror (NULL)) ; in wchar_test()
73 sf_close (file) ; in wchar_test()
75 /* This should check that the file did in fact get created with a in wchar_test()
83 /* Use this because the file was created with CreateFileW. */ in wchar_test()
136 SNDFILE *file ; in locale_test()
152 file = test_open_file_or_die (ldata->filename, SFM_WRITE, &sfinfo, 0, __LINE__) ; in locale_test()
153 test_write_short_or_die (file, 0, wdata, ARRAY_LEN (wdata), __LINE__) ; in locale_test()
154 sf_close (file) ; in locale_test()
[all...]
/third_party/ltp/include/
H A Dtst_safe_sysv_ipc.h14 int safe_msgget(const char *file, const int lineno, key_t key, int msgflg);
18 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp,
23 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp,
28 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd,
35 int safe_shmget(const char *file, const int lineno, key_t key, size_t size,
40 void *safe_shmat(const char *file, const int lineno, int shmid,
45 int safe_shmdt(const char *file, const int lineno, const void *shmaddr);
48 int safe_shmctl(const char *file, const int lineno, int shmid, int cmd,
55 int safe_semget(const char *file, const int lineno, key_t key, int nsems,
60 int safe_semctl(const char *file, cons
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_d2.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
45 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_file_ex() argument
50 if (file == NULL in X509_STORE_load_file_ex()
52 || X509_LOOKUP_load_file_ex(lookup, file, X509_FILETYPE_PEM, libctx, in X509_STORE_load_file_ex()
59 int X509_STORE_load_file(X509_STORE *ctx, const char *file) in X509_STORE_load_file() argument
61 return X509_STORE_load_file_ex(ctx, file, NULL, NULL); in X509_STORE_load_file()
94 int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_locations_ex() argument
98 if (file == NULL && path == NULL) in X509_STORE_load_locations_ex()
100 if (file ! in X509_STORE_load_locations_ex()
107 X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path) X509_STORE_load_locations() argument
[all...]
/third_party/python/Lib/asyncio/
H A Dbase_tasks.py67 def _task_print_stack(task, limit, file):
83 print(f'No stack for {task!r}', file=file)
85 print(f'Traceback for {task!r} (most recent call last):', file=file)
87 print(f'Stack for {task!r} (most recent call last):', file=file)
89 traceback.print_list(extracted_list, file=file)
92 print(line, file
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dinterfacedocgenerator.py50 write('=== ' + title, file=fp)
51 write('',file=fp)
69 write('ifdef::' + required + '[]', file=fp)
70 write(f'If {requiredlink} is supported:', file=fp)
71 write('',file=fp)
76 write(' * ' + markup + api, file=fp)
84 write(' * Extending ' + parentstring + ':', file=fp)
86 write(' ** ' + markup + api, file=fp)
89 write(' * ' + markup + api, file=fp)
92 write('endif::' + required + '[]', file
[all...]
/third_party/openssl/crypto/x509/
H A Dx509_d2.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
45 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_file_ex() argument
50 if (file == NULL in X509_STORE_load_file_ex()
52 || X509_LOOKUP_load_file_ex(lookup, file, X509_FILETYPE_PEM, libctx, in X509_STORE_load_file_ex()
59 int X509_STORE_load_file(X509_STORE *ctx, const char *file) in X509_STORE_load_file() argument
61 return X509_STORE_load_file_ex(ctx, file, NULL, NULL); in X509_STORE_load_file()
94 int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, in X509_STORE_load_locations_ex() argument
98 if (file == NULL && path == NULL) in X509_STORE_load_locations_ex()
100 if (file ! in X509_STORE_load_locations_ex()
107 X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path) X509_STORE_load_locations() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dfileserver_example_dirs.c2 This file is part of libmicrohttpd
21 * @file fileserver_example.c
36 FILE *file = cls; in file_reader() local
38 (void) fseek (file, pos, SEEK_SET); in file_reader()
39 return fread (buf, 1, max, file); in file_reader()
45 FILE *file = cls; in file_free_callback() local
46 fclose (file); in file_free_callback()
90 FILE *file; in ahc_echo() local
106 file = fopen (&url[1], "rb"); in ahc_echo()
108 file in ahc_echo()
[all...]
H A Dfileserver_example_external_select.c2 This file is part of libmicrohttpd
20 * @file fileserver_example_external_select.c
35 FILE *file = cls; in file_reader() local
37 (void) fseek (file, pos, SEEK_SET); in file_reader()
38 return fread (buf, 1, max, file); in file_reader()
44 FILE *file = cls; in free_callback() local
45 fclose (file); in free_callback()
60 FILE *file; in ahc_echo() local
74 file = fopen (&url[1], "rb"); in ahc_echo()
76 file in ahc_echo()
[all...]
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeDefs.c8 * you may not use this file except in compliance with the License.
20 * \file
86 void deAssertFail (const char* reason, const char* file, int line) in deAssertFail() argument
94 callback(reason, file, line); in deAssertFail()
112 num = deMin32((int)strlen(file), DE_LENGTH_OF_ARRAY(wfile)-1); in deAssertFail()
114 wfile[i] = file[i]; in deAssertFail()
124 _assert(reason, file, line); in deAssertFail()
126 fprintf(stderr, "Assertion '%s' failed at %s:%d\n", reason, file, line); in deAssertFail()
130 __assert_fail(reason, file, (unsigned int)line, "Unknown function"); in deAssertFail()
132 __assert(reason, file, (unsigne in deAssertFail()
[all...]

Completed in 8 milliseconds

1...<<11121314151617181920>>...351