Home
last modified time | relevance | path

Searched refs:file (Results 301 - 325 of 8763) sorted by relevance

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

/third_party/python/Lib/
H A Ddis.py68 def dis(x=None, *, file=None, depth=None, show_caches=False, adaptive=False):
78 distb(file=file, show_caches=show_caches, adaptive=adaptive)
97 print("Disassembly of %s:" % name, file=file)
99 dis(x1, file=file, depth=depth, show_caches=show_caches, adaptive=adaptive)
101 print("Sorry:", msg, file=file)
102 print(file
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPrograms.cpp8 * you may not use this file except in compliance with the License.
20 * \file
410 // Open file with "w" access to truncate it in shaderCacheFirstRunCheck()
417 // Parse chunked shader cache file for hashes and offsets in shaderCacheFirstRunCheck()
418 FILE* file = fopen(commandLine.getShaderCacheFilename(), "rb"); in shaderCacheFirstRunCheck() local
420 if (file) in shaderCacheFirstRunCheck()
428 offset = (deUint32)ftell(file); in shaderCacheFirstRunCheck()
429 if (ok) ok = fread(&chunksize, 1, 4, file) == 4; in shaderCacheFirstRunCheck()
430 if (ok) ok = fread(&hash, 1, 4, file) == 4; in shaderCacheFirstRunCheck()
432 if (ok) ok = fseek(file, offse in shaderCacheFirstRunCheck()
484 FILE* file = fopen(shaderCacheFilename, "rb"); shadercacheLoad() local
542 FILE* file = fopen(shaderCacheFilename, "rb"); shadercacheSave() local
583 FILE* file = fopen(shaderCacheFilename, "ab"); shadercacheSave() local
[all...]
/third_party/node/deps/zlib/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
11 int ZEXPORT gzclose(gzFile file) { in gzclose() argument
15 if (file == NULL) in gzclose()
17 state = (gz_statep)file; in gzclose()
19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); in gzclose()
21 return gzclose_r(file); in gzclose()
/third_party/zlib/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
11 int ZEXPORT gzclose(gzFile file) { in gzclose() argument
15 if (file == NULL) in gzclose()
17 state = (gz_statep)file; in gzclose()
19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); in gzclose()
21 return gzclose_r(file); in gzclose()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_base.cpp4 * you may not use this file except in compliance with the License.
49 auto file = std::make_shared<std::ifstream>(); in OpenFile() local
50 file->open(filePath, std::ios::in | std::ios::binary); in OpenFile()
51 if (file->is_open()) { in OpenFile()
52 return file; in OpenFile()
90 std::cout<<"\nplease select audio file: 0.noAudio 1.aac 2.mpeg 3.amrnb 4.amrwb"<<std::endl; in SelectAudioMode()
124 std::cout<<"please select video file:0.noVideo 1.h264 2.mpeg4 3.h265 4.hdr vivid"<<std::endl; in SelectVideoMode()
158 std::cout<<"please select cover file:0.NoCover 1.jpg 2.png 3.bmp"<<std::endl; in SelectCoverMode()
208 std::cout<<"open audio file failed! file nam in SelectModeAndOpenFile()
279 WriteSingleTrackSample(uint32_t trackId, std::shared_ptr<std::ifstream> file) WriteSingleTrackSample() argument
296 WriteSingleTrackSampleByBufferQueue(sptr<AVBufferQueueProducer> bufferQueue, std::shared_ptr<std::ifstream> file) WriteSingleTrackSampleByBufferQueue() argument
318 ReadSampleDataInfo(std::shared_ptr<std::ifstream> file, std::shared_ptr<AVBuffer> &buffer) ReadSampleDataInfo() argument
353 ReadSampleDataInfoByBufferQueue(std::shared_ptr<std::ifstream> file, std::shared_ptr<AVBuffer> &buffer, sptr<AVBufferQueueProducer> bufferQueue) ReadSampleDataInfoByBufferQueue() argument
494 MulThdWriteTrackSample(AVMuxerDemoBase *muxerBase, uint32_t trackId, std::shared_ptr<std::ifstream> file) MulThdWriteTrackSample() argument
500 MulThdWriteTrackSampleByBufferQueue(AVMuxerDemoBase *muxerBase, sptr<AVBufferQueueProducer> bufferQueue, std::shared_ptr<std::ifstream> file) MulThdWriteTrackSampleByBufferQueue() argument
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java71 * FileDescriptor} for a relevant {@code .proto} file. You can obtain it by calling {@code
73 * in that file, and file descriptors for all the imported {@code .proto} files.
83 * Describes a {@code .proto} file, including everything defined within. That includes, in
84 * particular, descriptors for all the messages and file descriptors for all other imported {@code
94 /** Get the file name. */
114 * in the {@code .proto} file, which differs from the Java package.
125 /** Get a list of top-level message types declared in this file. */
130 /** Get a list of top-level enum types declared in this file. */
135 /** Get a list of top-level services declared in this file
822 private final FileDescriptor file; global() field in Descriptors.Descriptor
861 Descriptor( final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) Descriptor() argument
1257 private final FileDescriptor file; global() field in Descriptors.FieldDescriptor
1363 FieldDescriptor( final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) FieldDescriptor() argument
1781 private final FileDescriptor file; global() field in Descriptors.EnumDescriptor
1787 EnumDescriptor( final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) EnumDescriptor() argument
1893 private final FileDescriptor file; global() field in Descriptors.EnumValueDescriptor
1896 EnumValueDescriptor( final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) EnumValueDescriptor() argument
1914 EnumValueDescriptor( final FileDescriptor file, final EnumDescriptor parent, final Integer number) EnumValueDescriptor() argument
2001 private final FileDescriptor file; global() field in Descriptors.ServiceDescriptor
2004 ServiceDescriptor( final ServiceDescriptorProto proto, final FileDescriptor file, final int index) ServiceDescriptor() argument
2108 private final FileDescriptor file; global() field in Descriptors.MethodDescriptor
2115 MethodDescriptor( final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) MethodDescriptor() argument
2159 computeFullName( final FileDescriptor file, final Descriptor parent, final String name) computeFullName() argument
2286 importPublicDependencies(final FileDescriptor file) importPublicDependencies() argument
2517 PackageDescriptor(final String name, final String fullName, final FileDescriptor file) PackageDescriptor() argument
2525 private final FileDescriptor file; global() field in Descriptors.DescriptorPool.PackageDescriptor
2533 addPackage(final String fullName, final FileDescriptor file) addPackage() argument
2708 OneofDescriptor( final OneofDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) OneofDescriptor() argument
2726 private final FileDescriptor file; global() field in Descriptors.OneofDescriptor
[all...]
/third_party/cJSON/tests/unity/auto/
H A Dgenerate_module.rb8 # A simple module only requires a source file, header file, and test file.
9 # Triad modules require a source, header, and test file for each triad type (like model, conductor, and hardware).
58 # Create default file paths if none were provided
141 # single file patterns (currently just 'test') can reject the other parts of the triad
194 files.each do |file|
195 all_files_exist = false unless File.exist?(file[:path])
200 files.each_with_index do |file, _i|
201 # If this file alread
[all...]
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03.c44 static char file[PATH_MAX]; variable
51 snprintf(file, PATH_MAX, "%s/rdonly", MNTPOINT); in test_rdonly()
52 TST_EXP_FAIL(otfd = open(file, O_CREAT | O_RDWR, 0700), EROFS); in test_rdonly()
57 snprintf(file, PATH_MAX, "%s/nodev", MNTPOINT); in test_nodev()
58 SAFE_MKNOD(file, S_IFBLK | 0777, 0); in test_nodev()
59 TST_EXP_FAIL(otfd = open(file, O_RDWR, 0700), EACCES); in test_nodev()
60 SAFE_UNLINK(file); in test_nodev()
65 snprintf(file, PATH_MAX, "%s/noexec", MNTPOINT); in test_noexec()
66 otfd = SAFE_OPEN(file, O_CREAT | O_RDWR, 0700); in test_noexec()
67 TST_EXP_FAIL(execlp(file, basenam in test_noexec()
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dby_file.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
28 "Load file into cache",
52 const char *file; in by_file_ctrl_ex() local
57 file = ossl_safe_getenv(X509_get_default_cert_file_env()); in by_file_ctrl_ex()
58 if (file) in by_file_ctrl_ex()
59 ok = (X509_load_cert_crl_file_ex(ctx, file, X509_FILETYPE_PEM, in by_file_ctrl_ex()
89 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex() argument
99 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_cert_file_ex()
154 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, in argument
159 X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_crl_file() argument
216 X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, OSSL_LIB_CTX *libctx, const char *propq) X509_load_cert_crl_file_ex() argument
257 X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_cert_crl_file() argument
[all...]
/third_party/openssl/crypto/x509/
H A Dby_file.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
28 "Load file into cache",
52 const char *file; in by_file_ctrl_ex() local
57 file = ossl_safe_getenv(X509_get_default_cert_file_env()); in by_file_ctrl_ex()
58 if (file) in by_file_ctrl_ex()
59 ok = (X509_load_cert_crl_file_ex(ctx, file, X509_FILETYPE_PEM, in by_file_ctrl_ex()
89 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex() argument
99 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_cert_file_ex()
154 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, in argument
159 X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_crl_file() argument
216 X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, OSSL_LIB_CTX *libctx, const char *propq) X509_load_cert_crl_file_ex() argument
257 X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_cert_crl_file() argument
[all...]
/third_party/icu/icu4c/source/python/icutools/databuilder/
H A Dfiltration.py28 filter_type = "file-stem"
30 if filter_type == "file-stem":
43 print("Error: Unknown filterType option: %s" % filter_type, file=sys.stderr)
49 for file in request.all_input_files():
50 assert self.match(file)
54 def _file_to_file_stem(file):
55 start = file.filename.rfind("/")
56 limit = file.filename.rfind(".")
57 return file.filename[start+1:limit]
60 def _file_to_subdir(file)
[all...]
/third_party/node/deps/v8/tools/
H A Dlocs.py5 # found in the LICENSE file.
118 help="Output results for each file separately")
138 build_dir), file=sys.stderr)
143 print("Error: Building {} failed.".format(build_dir), file=sys.stderr)
148 compile_commands_file), file=out)
153 compile_commands_file, build_dir), file=sys.stderr)
158 ninja_deps_file), file=out)
163 ninja_deps_file, build_dir), file=sys.stderr)
195 def __init__(self, file, target, loc, in_bytes, expanded, expanded_bytes):
197 self.file
[all...]
H A Dshell-utils.h44 FILE* file = fopen(name, "rb"); in ReadFileAndRepeat() local
46 if (file == NULL) return NULL; in ReadFileAndRepeat()
48 fseek(file, 0, SEEK_END); in ReadFileAndRepeat()
49 int file_size = static_cast<int>(ftell(file)); in ReadFileAndRepeat()
50 rewind(file); in ReadFileAndRepeat()
56 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file)); in ReadFileAndRepeat()
59 fclose(file); in ReadFileAndRepeat()
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/
H A Dfiltration.py28 filter_type = "file-stem"
30 if filter_type == "file-stem":
43 print("Error: Unknown filterType option: %s" % filter_type, file=sys.stderr)
49 for file in request.all_input_files():
50 assert self.match(file)
54 def _file_to_file_stem(file):
55 start = file.filename.rfind("/")
56 limit = file.filename.rfind(".")
57 return file.filename[start+1:limit]
60 def _file_to_subdir(file)
[all...]
/third_party/mbedtls/library/
H A Ddebug_internal.h2 * \file debug_internal.h
18 * context, file and line number parameters.
22 * \param file file the message has occurred in
31 const char *file, int line,
37 * which supplies the ssl context, file and line number parameters.
41 * \param file file the error has occurred in
50 const char *file, int line,
56 * which supplies the ssl context, file an
[all...]
/third_party/mesa3d/src/compiler/spirv/
H A Dnir_load_libclc.c87 const struct clc_file *file; member
100 clc->file = get_libclc_file(ptr_bit_size); in open_clc_data()
103 if (clc->file->static_data) { in open_clc_data()
110 if (clc->file->sys_path != NULL) { in open_clc_data()
111 int fd = open(clc->file->sys_path, O_RDONLY); in open_clc_data()
118 fprintf(stderr, "fstat failed on %s: %m\n", clc->file->sys_path); in open_clc_data()
125 _mesa_sha1_update(&ctx, clc->file->sys_path, strlen(clc->file->sys_path)); in open_clc_data()
143 if (clc->file->static_data) { in map_clc_data()
146 ZSTD_getFrameContentSize(clc->file in map_clc_data()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Deg_debug.c34 /* Parsed IBs are difficult to read without colors. Use "less -R file" to
35 * read them, or use "aha -b -f file" to convert them to html.
51 static void print_value(FILE *file, uint32_t value, int bits) in print_value() argument
56 fprintf(file, "%u\n", value); in print_value()
58 fprintf(file, "%u (0x%0*x)\n", value, bits / 4, value); in print_value()
63 fprintf(file, "%.1ff (0x%0*x)\n", f, bits / 4, value); in print_value()
66 fprintf(file, "0x%0*x\n", bits / 4, value); in print_value()
70 static void print_named_value(FILE *file, const char *name, uint32_t value, in print_named_value() argument
73 print_spaces(file, INDENT_PKT); in print_named_value()
74 fprintf(file, COLOR_YELLO in print_named_value()
78 eg_dump_reg(FILE *file, unsigned offset, uint32_t value, uint32_t field_mask) eg_dump_reg() argument
[all...]
/third_party/node/lib/
H A Dchild_process.js203 file: command,
234 return module.exports.execFile(opts.file,
263 function normalizeExecFileArgs(file, args, options, callback) {
300 return { file, args, options, callback };
304 * Spawns the specified file as a shell.
305 * @param {string} file
328 function execFile(file, args, options, callback) {
329 ({ file, args, options, callback } = normalizeExecFileArgs(file, args, options, callback));
351 const child = spawn(file, arg
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_filesrc.c1 /* Find source file information.
3 This file is part of elfutils.
6 This file is free software; you can redistribute it and/or modify
38 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, in dwarf_filesrc() argument
41 if (file == NULL || idx >= file->nfiles) in dwarf_filesrc()
45 *mtime = file->info[idx].mtime; in dwarf_filesrc()
48 *length = file->info[idx].length; in dwarf_filesrc()
50 return file->info[idx].name; in dwarf_filesrc()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/stdio_gtest/
H A Dstdio_clearerr_unlocked_test.cpp15 * @tc.desc: Test the usage of clearerr_unlocked to clear error indicators on a file stream, ensuring the stream
21 FILE* file; in HWTEST_F() local
24 file = fopen("/proc/version", "r"); in HWTEST_F()
25 ASSERT_NE(nullptr, file); in HWTEST_F()
26 while ((ch = fgetc(file)) != EOF) { in HWTEST_F()
28 clearerr_unlocked(file); in HWTEST_F()
30 fclose(file); in HWTEST_F()
H A Dstdio_feof_unlocked_test.cpp13 * @tc.desc: Test the usage of feof_unlocked to check the end-of-file indicator on a file stream, ensuring that it
14 * accurately reflects whether there are more characters to be read from the file.
19 FILE* file; in HWTEST_F() local
21 file = fopen("/proc/version", "r"); in HWTEST_F()
22 ASSERT_NE(nullptr, file); in HWTEST_F()
23 EXPECT_TRUE(!feof_unlocked(file)); in HWTEST_F()
24 ch = fgetc(file); in HWTEST_F()
25 fclose(file); in HWTEST_F()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_pool_debugfs.c101 static ssize_t kbase_mem_pool_debugfs_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) in kbase_mem_pool_debugfs_write() argument
107 kbase_debugfs_helper_seq_write(file, ubuf, count, MEMORY_GROUP_MANAGER_NR_GROUPS, kbase_mem_pool_debugfs_trim); in kbase_mem_pool_debugfs_write()
111 static int kbase_mem_pool_debugfs_open(struct inode *in, struct file *file) in kbase_mem_pool_debugfs_open() argument
113 return single_open(file, kbase_mem_pool_debugfs_size_show, in->i_private); in kbase_mem_pool_debugfs_open()
131 static ssize_t kbase_mem_pool_debugfs_max_size_write(struct file *file, const char __user *ubuf, size_t count, in kbase_mem_pool_debugfs_max_size_write() argument
137 err = kbase_debugfs_helper_seq_write(file, ubuf, count, MEMORY_GROUP_MANAGER_NR_GROUPS, in kbase_mem_pool_debugfs_max_size_write()
142 static int kbase_mem_pool_debugfs_max_size_open(struct inode *in, struct file *fil argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_cpu_queue_debugfs.c45 * @file: The seq_file for printing to
50 static int kbasep_csf_cpu_queue_debugfs_show(struct seq_file *file, void *data) in kbasep_csf_cpu_queue_debugfs_show() argument
52 struct kbase_context *kctx = file->private; in kbasep_csf_cpu_queue_debugfs_show()
57 seq_printf(file, "Dump request already started! (try again)\n"); in kbasep_csf_cpu_queue_debugfs_show()
67 seq_printf(file, "CPU Queues table (version:v%u):\n", MALI_CSF_CPU_QUEUE_DEBUGFS_VERSION); in kbasep_csf_cpu_queue_debugfs_show()
77 seq_printf(file, "%s\n", kctx->csf.cpu_queue.buffer); in kbasep_csf_cpu_queue_debugfs_show()
84 seq_printf(file, "Dump error! (time out)\n"); in kbasep_csf_cpu_queue_debugfs_show()
93 static int kbasep_csf_cpu_queue_debugfs_open(struct inode *in, struct file *file) in kbasep_csf_cpu_queue_debugfs_open() argument
95 return single_open(file, kbasep_csf_cpu_queue_debugfs_sho in kbasep_csf_cpu_queue_debugfs_open()
107 struct dentry *file; kbase_csf_cpu_queue_debugfs_init() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_pool_debugfs.c105 static ssize_t kbase_mem_pool_debugfs_write(struct file *file, in kbase_mem_pool_debugfs_write() argument
111 err = kbase_debugfs_helper_seq_write(file, ubuf, count, in kbase_mem_pool_debugfs_write()
116 static int kbase_mem_pool_debugfs_open(struct inode *in, struct file *file) in kbase_mem_pool_debugfs_open() argument
118 return single_open(file, kbase_mem_pool_debugfs_size_show, in kbase_mem_pool_debugfs_open()
140 static ssize_t kbase_mem_pool_debugfs_max_size_write(struct file *file, in kbase_mem_pool_debugfs_max_size_write() argument
146 err = kbase_debugfs_helper_seq_write(file, ubuf, count, in kbase_mem_pool_debugfs_max_size_write()
153 struct file *fil in kbase_mem_pool_debugfs_max_size_open()
152 kbase_mem_pool_debugfs_max_size_open(struct inode *in, struct file *file) kbase_mem_pool_debugfs_max_size_open() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/src/
H A Dcommon_tool.cpp4 * you may not use this file except in compliance with the License.
36 FILE *file = popen(cmd.c_str(), "r"); in ExecuteCmd() local
37 if (file == nullptr) { in ExecuteCmd()
42 while (fgets(tmp, sizeof(tmp), file) != nullptr) { in ExecuteCmd()
49 pclose(file); in ExecuteCmd()
55 FILE *file = popen(cmd.c_str(), "r"); in ExecuteCmd() local
56 if (file == nullptr) { in ExecuteCmd()
59 pclose(file); in ExecuteCmd()
109 FILE *file = fopen(path.c_str(), "r"); in GetFileBuildTime() local
110 if (file in GetFileBuildTime()
[all...]

Completed in 12 milliseconds

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