| /third_party/selinux/libsepol/src/ |
| H A D | module.c | 239 /* Append each of the file contexts from each module to the base 240 * policy's file context. 'base_context' will be reallocated to a 242 * variable). 'base_fc_len' is the length of base's file context; it 350 static int read_helper(char *buf, struct policy_file *file, uint32_t bytes) in read_helper() argument 363 rc = next_entry(&buf[offset], file, read_len); in read_helper() 374 /* Get the section offsets from a package file, offsets will be malloc'd to 377 struct policy_file *file, in module_package_read_offsets() 387 ERR(file->handle, "out of memory"); in module_package_read_offsets() 391 rc = next_entry(buf, file, sizeof(uint32_t) * 3); in module_package_read_offsets() 393 ERR(file in module_package_read_offsets() 376 module_package_read_offsets(sepol_module_package_t * mod, struct policy_file *file, size_t ** offsets, uint32_t * sections) module_package_read_offsets() argument 470 struct policy_file *file = &spf->pf; sepol_module_package_read() local 655 struct policy_file *file = &spf->pf; sepol_module_package_info() local 845 write_helper(char *data, size_t len, struct policy_file *file) write_helper() argument 868 struct policy_file *file = &spf->pf; sepol_module_package_write() local [all...] |
| /third_party/cups-filters/cupsfilters/ |
| H A D | image-sgilib.c | 2 * SGI image file format library routines for CUPS. 9 * law. Distribution and use rights are outlined in the file "COPYING" 10 * which should have been included with this file. 14 * sgiClose() - Close an SGI image file. 15 * sgiGetRow() - Get a row of image data from a file. 16 * sgiOpen() - Open an SGI image file for reading or writing. 17 * sgiOpenFile() - Open an SGI image file for reading or writing. 18 * sgiPutRow() - Put a row of image data to a file. 48 * 'sgiClose()' - Close an SGI image file. 64 * Write the scanline offset table to the file in sgiClose() 177 FILE *file; /* Image file pointer */ sgiOpen() local 200 sgiOpenFile(FILE *file, int mode, int comp, int bpp, int xsize, int ysize, int zsize) sgiOpenFile() argument [all...] |
| /third_party/zlib/contrib/minizip/ |
| H A D | unzip.h | 110 /* unz_file_info contain information about a file in the zipfile */ 117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 123 uLong size_file_comment; /* file comment length 2 bytes */ 126 uLong internal_fa; /* internal file attributes 2 bytes */ 127 uLong external_fa; /* external file attributes 4 bytes */ 138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 144 uLong size_file_comment; /* file comment length 2 bytes */ 147 uLong internal_fa; /* internal file attributes 2 bytes */ 148 uLong external_fa; /* external file attributes 4 bytes */ 169 Open a Zip file [all...] |
| /third_party/ltp/include/ |
| H A D | tst_safe_macros.h | 48 int safe_chroot(const char *file, const int lineno, const char *path); 53 int safe_dup(const char *file, const int lineno, int oldfd); 58 int safe_dup2(const char *file, const int lineno, int oldfd, int newfd); 75 void *safe_realloc(const char *file, const int lineno, void *ptr, size_t size); 96 int safe_pipe2(const char *file, const int lineno, int fildes[2], int flags); 116 int safe_setregid(const char *file, const int lineno, 122 int safe_setreuid(const char *file, const int lineno, 128 int safe_setresgid(const char *file, const int lineno, 133 int safe_setresuid(const char *file, const int lineno, 144 int safe_setpgid(const char *file, cons 264 safe_mmap(const char *file, const int lineno, void *addr, size_t length, int prot, int flags, int fd, off_t offset) safe_mmap() argument 283 safe_ftruncate(const char *file, const int lineno, int fd, off_t length) safe_ftruncate() argument 304 safe_posix_fadvise(const char *file, const int lineno, int fd, off_t offset, off_t len, int advice) safe_posix_fadvise() argument 321 safe_truncate(const char *file, const int lineno, const char *path, off_t length) safe_truncate() argument 342 safe_stat(const char *file, const int lineno, const char *path, struct stat *buf) safe_stat() argument 363 safe_fstat(const char *file, const int lineno, int fd, struct stat *buf) safe_fstat() argument 383 safe_lstat(const char *file, const int lineno, const char *path, struct stat *buf) safe_lstat() argument 404 safe_statfs(const char *file, const int lineno, const char *path, struct statfs *buf) safe_statfs() argument 425 safe_lseek(const char *file, const int lineno, int fd, off_t offset, int whence) safe_lseek() argument 446 safe_getrlimit(const char *file, const int lineno, int resource, struct rlimit *rlim) safe_getrlimit() argument 467 safe_setrlimit(const char *file, const int lineno, int resource, const struct rlimit *rlim) safe_setrlimit() argument [all...] |
| /third_party/ffmpeg/tools/ |
| H A D | sofa2wavs.c | 4 * This file is part of FFmpeg. 40 printf("invalid input SOFA file: %s\n", argv[1]); in main() 57 FILE *file; in main() local 69 file = fopen(filename, "w+"); in main() 70 fwrite("RIFF", 4, 1, file); in main() 71 fwrite("\xFF\xFF\xFF\xFF", 4, 1, file); in main() 72 fwrite("WAVE", 4, 1, file); in main() 73 fwrite("fmt ", 4, 1, file); in main() 74 fwrite("\x10\x00\00\00", 4, 1, file); in main() 75 fwrite("\x03\x00", 2, 1, file); in main() [all...] |
| /third_party/openssl/test/testutil/ |
| H A D | tests.c | 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 26 void test_fail_message_prefix(const char *prefix, const char *file, in test_fail_message_prefix() argument 40 if (file != NULL) { in test_fail_message_prefix() 41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix() 58 * int test6(const char *file, int line, int n) { 60 * test_fail_message(1, file, line, "int", "value %d is not %d", n, 6); 69 static void test_fail_message(const char *prefix, const char *file, int line, 75 static void test_fail_message_va(const char *prefix, const char *file, in test_fail_message_va() argument 80 test_fail_message_prefix(prefix, file, lin in test_fail_message_va() 88 test_fail_message(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, ...) test_fail_message() argument 109 test_info(const char *file, int line, const char *desc, ...) test_info() argument 128 test_error(const char *file, int line, const char *desc, ...) test_error() argument 161 test_skip(const char *file, int line, const char *desc, ...) test_skip() argument 244 test_ptr_null(const char *file, int line, const char *s, const void *p) test_ptr_null() argument 252 test_ptr(const char *file, int line, const char *s, const void *p) test_ptr() argument 260 test_true(const char *file, int line, const char *s, int b) test_true() argument 268 test_false(const char *file, int line, const char *s, int b) test_false() argument 276 test_str_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_eq() argument 290 test_str_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_ne() argument 304 test_strn_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_eq() argument 318 test_strn_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_ne() argument 332 test_mem_eq(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_eq() argument 345 test_mem_ne(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_ne() argument 388 test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a) test_BN_eq_one() argument 396 test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a) test_BN_odd() argument 404 test_BN_even(const char *file, int line, const char *s, const BIGNUM *a) test_BN_even() argument 413 test_BN_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_eq_word() argument 427 test_BN_abs_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_abs_eq_word() argument [all...] |
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_kcpu_debugfs.c | 36 * @file: The seq_file to print to 40 static void kbasep_csf_kcpu_debugfs_print_cqs_waits(struct seq_file *file, in kbasep_csf_kcpu_debugfs_print_cqs_waits() argument 62 seq_printf(file, " %llx(%u > %u, inherit_err: %s), ", in kbasep_csf_kcpu_debugfs_print_cqs_waits() 70 * @file: The seq_file to print to 74 static void kbasep_csf_kcpu_debugfs_print_queue(struct seq_file *file, in kbasep_csf_kcpu_debugfs_print_queue() argument 83 seq_printf(file, "%16u, %11u, %7u, %13llu %8u", in kbasep_csf_kcpu_debugfs_print_queue() 98 seq_printf(file, ", Fence %pK %s %s", in kbasep_csf_kcpu_debugfs_print_queue() 105 seq_puts(file, ", CQS "); in kbasep_csf_kcpu_debugfs_print_queue() 106 kbasep_csf_kcpu_debugfs_print_cqs_waits(file, kctx, in kbasep_csf_kcpu_debugfs_print_queue() 110 seq_puts(file, ", in kbasep_csf_kcpu_debugfs_print_queue() 126 kbasep_csf_kcpu_debugfs_show(struct seq_file *file, void *data) kbasep_csf_kcpu_debugfs_show() argument 155 kbasep_csf_kcpu_debugfs_open(struct inode *in, struct file *file) kbasep_csf_kcpu_debugfs_open() argument 169 struct dentry *file; kbase_csf_kcpu_debugfs_init() local [all...] |
| /third_party/node/test/fixtures/wpt/FileAPI/file/ |
| H A D | File-constructor.any.js | 19 var file = new File(arg1, "dummy"); 20 assert_true(file instanceof File); 21 assert_equals(file.name, "dummy"); 22 assert_equals(file.size, expectedSize); 23 assert_equals(file.type, ""); 24 // assert_false(file.isClosed); XXX: File.isClosed doesn't seem to be implemented 25 assert_not_equals(file.lastModified, ""); 76 var file = new File(["bits"], arg2); 77 assert_true(file instanceof File); 78 assert_equals(file [all...] |
| /third_party/libsnd/tests/ |
| H A D | command_test.c | 86 printf (" trunc - test file truncation\n") ; in main() 229 { SNDFILE *file ; in float_norm_test() local 246 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in float_norm_test() 255 if ((k = (unsigned int) sf_write_float (file, float_data, BUFFER_LEN / 2)) != BUFFER_LEN / 2) in float_norm_test() 261 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in float_norm_test() 263 if ((k = (unsigned int) sf_write_float (file, float_data + BUFFER_LEN / 2, BUFFER_LEN / 2)) != BUFFER_LEN / 2) in float_norm_test() 268 sf_close (file) ; in float_norm_test() 271 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in float_norm_test() 284 { printf ("\n\nLine %d: Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_LEN, sfinfo.frames) ; in float_norm_test() 289 { printf ("Line %d: Incorrect number of channels in file in float_norm_test() 345 { SNDFILE *file ; double_norm_test() local 557 { SNDFILE *file ; calc_peak_test() local 672 { SNDFILE *file ; truncate_test() local 748 SNDFILE *file ; instrument_test() local 937 SNDFILE *file ; cue_test() local 999 SNDFILE *file ; cue_test_var() local 1103 SNDFILE *file ; broadcast_test() local 1191 SNDFILE *file ; broadcast_rdwr_test() local 1229 SNDFILE *file ; check_coding_history_newlines() local 1299 SNDFILE *file ; broadcast_coding_history_test() local 1403 SNDFILE *file ; broadcast_coding_history_size() local 1466 SNDFILE *file ; cart_test() local 1627 SNDFILE *file ; cart_rdwr_test() local 1678 { SNDFILE *file ; channel_map_test() local 1748 SNDFILE *file ; raw_needs_endswap_test() local [all...] |
| H A D | peak_chunk_test.c | 60 printf (" aiff - test AIFF file PEAK chunk\n") ; in main() 61 printf (" caf - test CAF file PEAK chunk\n") ; in main() 62 printf (" wav - test WAV file peak chunk\n") ; in main() 116 { SNDFILE *file ; in test_float_peak() local 140 /* Write a file with PEAK chunks. */ in test_float_peak() 141 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, 0, __LINE__) ; in test_float_peak() 144 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_TRUE) ; in test_float_peak() 145 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ; in test_float_peak() 146 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_TRUE) ; in test_float_peak() 152 test_write_double_or_die (file, in test_float_peak() 317 { SNDFILE *file ; read_write_peak_test() local [all...] |
| /third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
| H A D | unzip.h | 110 /* unz_file_info contain information about a file in the zipfile */ 117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 123 uLong size_file_comment; /* file comment length 2 bytes */ 126 uLong internal_fa; /* internal file attributes 2 bytes */ 127 uLong external_fa; /* external file attributes 4 bytes */ 138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 144 uLong size_file_comment; /* file comment length 2 bytes */ 147 uLong internal_fa; /* internal file attributes 2 bytes */ 148 uLong external_fa; /* external file attributes 4 bytes */ 169 Open a Zip file [all...] |
| /third_party/skia/third_party/externals/zlib/contrib/minizip/ |
| H A D | unzip.h | 110 /* unz_file_info contain information about a file in the zipfile */ 117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 123 uLong size_file_comment; /* file comment length 2 bytes */ 126 uLong internal_fa; /* internal file attributes 2 bytes */ 127 uLong external_fa; /* external file attributes 4 bytes */ 138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 144 uLong size_file_comment; /* file comment length 2 bytes */ 147 uLong internal_fa; /* internal file attributes 2 bytes */ 148 uLong external_fa; /* external file attributes 4 bytes */ 169 Open a Zip file [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/osal/hisiv600/ |
| H A D | hdmi_osal.c | 24 struct file *hdmi_osal_file_open(const hi_char *file_name, osal_file_flag e_flags)
in hdmi_osal_file_open() 26 struct file *file = NULL;
in hdmi_osal_file_open() local 33 file = osal_klib_fopen(file_name, e_flags, HDMI_FILE_MODE);
in hdmi_osal_file_open() 35 return file;
in hdmi_osal_file_open() 38 hi_void hdmi_osal_file_close(struct file *file)
in hdmi_osal_file_close() argument 40 if (file != HI_NULL) {
in hdmi_osal_file_close() 41 osal_klib_fclose(file);
in hdmi_osal_file_close() 46 hi_s32 hdmi_osal_file_read(struct file *fil argument 58 hdmi_osal_file_write(struct file *file, hi_char *buf, hi_u32 len) hdmi_osal_file_write() argument [all...] |
| /third_party/backends/tools/ |
| H A D | style-check.sh | 54 for file in "$@"; do 55 test -d $file && continue # skip directories, just in case 56 file=$(echo $file | sed 's,^\.\/,,') 57 case $file in 75 trim_trailing_whitespace $file 76 insert_final_newline $file 77 trim_trailing_blank_lines $file 79 if ! check_trailing_whitespace $file; then 81 echo "trailing whitespace: $file" > [all...] |
| /third_party/vk-gl-cts/scripts/src_util/ |
| H A D | check_license.py | 10 # you may not use this file except in compliance with the License. 33 # \note Defined this way to avoid triggering license check error on this file 40 def readFile (file): 41 f = open(file, 'rt') 46 def getFileLicense (file): 47 contents = readFile(file) 59 def checkFileLicense (file): 60 license = getFileLicense(file) 63 print("%s: contains MIT license" % file) 65 print("%s: contains multiple licenses" % file) [all...] |
| /third_party/gn/src/gn/ |
| H A D | path_output.cc | 3 // found in the LICENSE file. 25 void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const { in WriteFile() 26 WritePathStr(out, file.value()); in WriteFile() 72 void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const { in WriteFile() 74 EscapeStringToStream(out, file.value(), options_); in WriteFile() 79 for (const auto& file : files) { in WriteFiles() 81 WriteFile(out, file); in WriteFiles() 87 for (const auto& file : files) { in WriteFiles() 89 WriteFile(out, file); in WriteFiles() 95 for (const auto& file in WriteFiles() 101 WriteDir(std::ostream& out, const OutputFile& file, DirSlashEnding slash_ending) const WriteDir() argument [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/ |
| H A D | packet_tool.py | 7 * you may not use this file except in compliance with the License.
95 with open(outputPath, 'wb+') as file:
96 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
101 file.write(
111 file.write(data)
112 file.write(struct.pack('IIII', 0, 0, 0, 0))
114 file.flush()
116 file.seek(6)
117 newdata = file.read(headLen - 6)
119 file [all...] |
| /third_party/mesa3d/src/broadcom/simulator/ |
| H A D | v3d_simulator.c | 25 * @file v3d_simulator.c 29 * This file's goal is to emulate the V3D ioctls' behavior in the kernel on 38 * handles for each of our GEM bos so that this file can look up its state 40 * outside of this file still call ioctls directly on the fd). 127 struct v3d_simulator_file *file; member 188 set_gmp_flags(struct v3d_simulator_file *file, in set_gmp_flags() argument 194 uint32_t *gmp = file->gmp_vaddr; in set_gmp_flags() 212 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); in v3d_create_simulator_bo() local 213 struct v3d_simulator_bo *sim_bo = rzalloc(file, in v3d_create_simulator_bo() 217 sim_bo->file in v3d_create_simulator_bo() 240 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_create_simulator_bo_for_gem() local 346 v3d_get_simulator_bo(struct v3d_simulator_file *file, int gem_handle) v3d_get_simulator_bo() argument 360 v3d_simulator_copy_in_handle(struct v3d_simulator_file *file, int handle) v3d_simulator_copy_in_handle() argument 371 v3d_simulator_copy_out_handle(struct v3d_simulator_file *file, int handle) v3d_simulator_copy_out_handle() argument 388 v3d_simulator_pin_bos(struct v3d_simulator_file *file, struct drm_v3d_submit_cl *submit) v3d_simulator_pin_bos() argument 400 v3d_simulator_unpin_bos(struct v3d_simulator_file *file, struct drm_v3d_submit_cl *submit) v3d_simulator_unpin_bos() argument 417 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_get_simulator_perfmon() local 430 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_perfmon_switch() local 480 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_submit_cl_ioctl() local 537 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_create_bo_ioctl() local 599 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_mmap_bo_ioctl() local 611 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_get_bo_offset_ioctl() local 624 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_gem_close_ioctl() local 646 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_submit_tfu_ioctl() local 675 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_submit_csd_ioctl() local 707 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_perfmon_create_ioctl() local 737 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_perfmon_destroy_ioctl() local 756 struct v3d_simulator_file *file = v3d_get_simulator_file_for_fd(fd); v3d_simulator_perfmon_get_values_ioctl() local [all...] |
| /base/startup/init/services/init/ |
| H A D | init_service_file.c | 4 * you may not use this file except in compliance with the License. 33 static int CreateFile(ServiceFile *file) in CreateFile() argument 35 INIT_CHECK(file != NULL && file->fileName != NULL, return -1); in CreateFile() 37 if (realpath(file->fileName, path) == NULL) { in CreateFile() 39 INIT_ERROR_CHECK(strncpy_s(path, strlen(file->fileName) + 1, file->fileName, strlen(file->fileName)) >= 0, in CreateFile() 42 INIT_LOGV("File path =%s . file flags =%d, file per in CreateFile() [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-fs-chmod-mask.js | 29 const file = path.join(tmpdir.path, `chmod-async-${suffix}.txt`); 30 fs.writeFileSync(file, 'test', 'utf-8'); 32 fs.chmod(file, input, common.mustSucceed(() => { 33 assert.strictEqual(fs.statSync(file).mode & 0o777, mode); 38 const file = path.join(tmpdir.path, `chmodSync-${suffix}.txt`); 39 fs.writeFileSync(file, 'test', 'utf-8'); 41 fs.chmodSync(file, input); 42 assert.strictEqual(fs.statSync(file).mode & 0o777, mode); 46 const file = path.join(tmpdir.path, `fchmod-async-${suffix}.txt`); 47 fs.writeFileSync(file, 'tes [all...] |
| /third_party/musl/scripts/ |
| H A D | runtest.sh | 81 for file in `ls *` 83 if [ "$(FileSuffix ${file})" = "so" ] \ 84 || [ "$(ShieldedCases ${file})" = "ShieldedCases" ] \ 85 || [ "$(IsGwpasanTest ${file})" = "yes" ] \ 86 || [ -d $file ] 89 elif [ -x $file ] && [ -s $file ] 91 echo $file >> /data/tests/libc-test/FileList.txt 92 ./runtest -w '' -t 30 $file >> /data/tests/libc-test/REPORT 98 for file i [all...] |
| /third_party/EGL/sdk/docs/man/html/ |
| H A D | makeindex.py | 28 print('Usage:', sys.argv[0], ' gendir srcdir accordfilename flatfilename', file=sys.stderr) 37 print('Unknown invocation mode', file=sys.stderr) 53 # Docbook source and generated HTML 5 file extensions 64 # file - name of file containing the feature 66 # alias - True if this is an alias of another feature in the file. 67 # Usually if alias is False, feature is the basename of file. 72 file = None, 76 self.file = file [all...] |
| /third_party/skia/third_party/externals/egl-registry/sdk/docs/man/html/ |
| H A D | makeindex.py | 28 print('Usage:', sys.argv[0], ' gendir srcdir accordfilename flatfilename', file=sys.stderr) 37 print('Unknown invocation mode', file=sys.stderr) 53 # Docbook source and generated HTML 5 file extensions 64 # file - name of file containing the feature 66 # alias - True if this is an alias of another feature in the file. 67 # Usually if alias is False, feature is the basename of file. 72 file = None, 76 self.file = file [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
| H A D | mmz_userdev.c | 140 static int mmz_userdev_open(struct inode *inode, struct file *file) in mmz_userdev_open() argument 157 /* This file could be opened just for once */ in mmz_userdev_open() 158 file->private_data = (void *)pmu; in mmz_userdev_open() 163 static int ioctl_mmb_alloc(struct file *file, in ioctl_mmb_alloc() argument 166 struct mmz_userdev_info *pmu = file->private_data; in ioctl_mmb_alloc() 206 static int ioctl_mmb_alloc_v2(struct file *file, struct mmb_info *pmi) in ioctl_mmb_alloc_v2() argument 208 struct mmz_userdev_info *pmu = file in ioctl_mmb_alloc_v2() 293 ioctl_mmb_free(struct file *file, struct mmb_info *pmi) ioctl_mmb_free() argument 319 ioctl_mmb_attr(struct file *file, struct mmb_info *pmi) ioctl_mmb_attr() argument 332 ioctl_mmb_user_remap(struct file *file, struct mmb_info *pmi, int cached) ioctl_mmb_user_remap() argument 419 ioctl_mmb_user_unmap(struct file *file, struct mmb_info *pmi) global() argument 502 ioctl_mmb_virt2phys(struct file *file, struct mmb_info *pmi) global() argument 570 ioctl_mmb_check_phy_in_priv(struct file const *file, struct mmb_info const *pmi) global() argument 583 ioctl_mmb_user_mmf_map(struct file const *file, struct mmb_info *pmi) global() argument 595 ioctl_mmb_user_mmf_map_cache(struct file const *file, struct mmb_info *pmi) global() argument 613 mmz_userdev_ioctl_m(struct file *file, unsigned int cmd, struct mmb_info *pmi) global() argument 674 mmz_userdev_ioctl_r(struct file *file, unsigned int cmd, struct mmb_info *pmi) global() argument 704 mmz_userdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) global() argument 880 compat_mmz_userdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) global() argument 886 mmz_userdev_mmap(struct file *file, struct vm_area_struct *vma) global() argument 991 mmz_userdev_release(struct inode *inode, struct file *file) global() argument 1065 mmz_userdev_ioctl_t(struct file *file, unsigned int cmd, struct mmb_info *pmi) global() argument [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| H A D | reflib.py | 28 file = kwargs.pop('file',sys.stdout) 30 file.write(' '.join(str(arg) for arg in args)) 31 file.write(end) 60 """Set the file handle to log either or both warnings and diagnostics to. 80 file = kwargs.pop('file', diagFile) 82 if file is not None: 83 file.write(logHeader('DIAG') + ' '.join(str(arg) for arg in args)) 84 file [all...] |