Home
last modified time | relevance | path

Searched refs:file (Results 201 - 225 of 7900) sorted by relevance

12345678910>>...316

/third_party/selinux/secilc/
H A Dsecil2tree.c55 printf(" -o, --output=<file> write AST to <file>. (default: stdout)\n"); in usage()
70 FILE *file = NULL; in main() local
147 file = fopen(argv[i], "r"); in main()
148 if (!file) { in main()
149 fprintf(stderr, "Could not open file: %s\n", argv[i]); in main()
155 fprintf(stderr, "Could not stat file: %s\n", argv[i]); in main()
161 rc = fread(buffer, file_size, 1, file); in main()
163 fprintf(stderr, "Failure reading file: %s\n", argv[i]); in main()
166 fclose(file); in main()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/storemgmt/
H A Dfile_store.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
10 /* This file has quite some overlap with engines/e_loader_attic.c */
70 IS_FILE = 0, /* Read file and pass results */
77 BIO *file; member
82 } file; member
91 * |search_name| contains the file basename to look for.
117 OSSL_DECODER_CTX_free(ctx->_.file.decoderctx); in free_file_ctx()
118 OPENSSL_free(ctx->_.file.propq); in free_file_ctx()
119 OPENSSL_free(ctx->_.file in free_file_ctx()
[all...]
/third_party/openssl/providers/implementations/storemgmt/
H A Dfile_store.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
10 /* This file has quite some overlap with engines/e_loader_attic.c */
70 IS_FILE = 0, /* Read file and pass results */
77 BIO *file; member
82 } file; member
91 * |search_name| contains the file basename to look for.
117 OSSL_DECODER_CTX_free(ctx->_.file.decoderctx); in free_file_ctx()
118 OPENSSL_free(ctx->_.file.propq); in free_file_ctx()
119 OPENSSL_free(ctx->_.file in free_file_ctx()
[all...]
/third_party/ltp/include/
H A Dtst_safe_posix_ipc.h28 static inline int safe_mq_open(const char *file, const int lineno, in safe_mq_open() argument
54 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_open()
58 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_open()
65 static inline int safe_mq_close(const char *file, const int lineno, in safe_mq_close() argument
73 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_close()
76 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_close()
83 static inline int safe_mq_unlink(const char *file, const int lineno, in safe_mq_unlink() argument
91 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_unlink()
94 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mq_unlink()
101 static inline int safe_mq_notify(const char *file, cons argument
114 safe_mq_send(const char *file, const int lineno, mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio) safe_mq_send() argument
[all...]
/third_party/protobuf/benchmarks/util/
H A Dprotoc-gen-gogoproto.cc44 for (auto file : files) { in GenerateAll()
46 (new_pool_.FindFileByName(file->name()) == nullptr); in GenerateAll()
47 for (int j = 0; j < file->dependency_count(); j++) { in GenerateAll()
49 file->dependency(j)->name()) != nullptr); in GenerateAll()
51 for (int j = 0; j < file->public_dependency_count(); j++) { in GenerateAll()
53 file->public_dependency(j)->name()) != nullptr); in GenerateAll()
55 for (int j = 0; j < file->weak_dependency_count(); j++) { in GenerateAll()
57 file->weak_dependency(j)->name()) != nullptr); in GenerateAll()
60 Generate(file, parameter, context, error); in GenerateAll()
69 virtual bool Generate(const FileDescriptor* file, in Generate() argument
[all...]
/third_party/python/Lib/
H A Dabc.py125 def _dump_registry(cls, file=None):
127 print(f"Class: {cls.__module__}.{cls.__qualname__}", file=file)
128 print(f"Inv. counter: {get_cache_token()}", file=file)
131 print(f"_abc_registry: {_abc_registry!r}", file=file)
132 print(f"_abc_cache: {_abc_cache!r}", file=file)
133 print(f"_abc_negative_cache: {_abc_negative_cache!r}", file
[all...]
/third_party/zlib/contrib/minizip/
H A Dunzip.c23 See the accompanying file LICENSE, version 2000-Apr-09 or later
36 Roger Schlafly, described by Phil Katz in the file appnote.txt. This
37 file (appnote.txt) is distributed with the PKZIP program (even in the
120 /* unz_file_info64_internal contain internal info about a file in zipfile*/
127 /* file_in_zip_read_info_s contain internal information about a file in zipfile,
167 ZPOS64_T num_file; /* number of the current file in the zipfile*/
168 ZPOS64_T pos_in_central_dir; /* pos of the current file in the central dir*/
169 ZPOS64_T current_file_ok; /* flag about the usability of the current file*/
176 unz_file_info64 cur_file_info; /* public info about the current file in zip*/
179 file i
718 unzClose(unzFile file) unzClose() argument
917 unzCloseFile(unzFile file) unzCloseFile() argument
937 unzGetGlobalInfo64(unzFile file, unz_global_info64* pglobal_info) unzGetGlobalInfo64() argument
946 unzGetGlobalInfo(unzFile file, unz_global_info* pglobal_info32) unzGetGlobalInfo() argument
975 unz64local_GetCurrentFileInfoInternal(unzFile file, unz_file_info64 *pfile_info, unz_file_info64_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) unz64local_GetCurrentFileInfoInternal() argument
1218 unzGetCurrentFileInfo64(unzFile file, unz_file_info64 * pfile_info, char * szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char* szComment, uLong commentBufferSize) unzGetCurrentFileInfo64() argument
1229 unzGetCurrentFileInfo(unzFile file, unz_file_info * pfile_info, char * szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char* szComment, uLong commentBufferSize) unzGetCurrentFileInfo() argument
1270 unzGoToFirstFile(unzFile file) unzGoToFirstFile() argument
1290 unzGoToNextFile(unzFile file) unzGoToNextFile() argument
1322 unzLocateFile(unzFile file, const char *szFileName, int iCaseSensitivity) unzLocateFile() argument
1382 unzGoToFirstFileInternal(unzFile file, char *szFileName, uLong fileNameBufferSize) unzGoToFirstFileInternal() argument
1403 unzGoToNextFileInternal(unzFile file, char *szFileName, uLong fileNameBufferSize) unzGoToNextFileInternal() argument
1438 unzLocateFile2(unzFile file, const char *szFileName, int iCaseSensitivity) unzLocateFile2() argument
1515 unzGetFilePos64(unzFile file, unz64_file_pos* file_pos) unzGetFilePos64() argument
1530 unzGetFilePos(unzFile file, unz_file_pos* file_pos) unzGetFilePos() argument
1541 unzGoToFilePos64(unzFile file, const unz64_file_pos* file_pos) unzGoToFilePos64() argument
1562 unzGoToFilePos(unzFile file, unz_file_pos* file_pos) unzGoToFilePos() argument
1671 unzOpenCurrentFile3(unzFile file, int* method, int* level, int raw, const char* password) unzOpenCurrentFile3() argument
1841 unzOpenCurrentFile(unzFile file) unzOpenCurrentFile() argument
1845 unzOpenCurrentFilePassword(unzFile file, const char* password) unzOpenCurrentFilePassword() argument
1849 unzOpenCurrentFile2(unzFile file, int* method, int* level, int raw) unzOpenCurrentFile2() argument
1855 unzGetCurrentFileZStreamPos64(unzFile file) unzGetCurrentFileZStreamPos64() argument
1880 unzReadCurrentFile(unzFile file, voidp buf, unsigned len) unzReadCurrentFile() argument
2087 unztell(unzFile file) unztell() argument
2101 unztell64(unzFile file) unztell64() argument
2120 unzeof(unzFile file) unzeof() argument
2151 unzGetLocalExtrafield(unzFile file, voidp buf, unsigned len) unzGetLocalExtrafield() argument
2198 unzCloseCurrentFile(unzFile file) unzCloseCurrentFile() argument
2244 unzGetGlobalComment(unzFile file, char * szComment, uLong uSizeBuf) unzGetGlobalComment() argument
2271 unzGetOffset64(unzFile file) unzGetOffset64() argument
2285 unzGetOffset(unzFile file) unzGetOffset() argument
2294 unzSetOffset64(unzFile file, ZPOS64_T pos) unzSetOffset64() argument
2311 unzSetOffset(unzFile file, uLong pos) unzSetOffset() argument
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_ra.c30 /* This file implements an SSA-based register allocator. Unlike other
352 * half of this file too.
380 #define foreach_interval(interval, file) \
381 rb_tree_foreach (struct ra_interval, interval, &(file)->physreg_intervals, \
383 #define foreach_interval_rev(interval, file) \
384 rb_tree_foreach (struct ra_interval, interval, &(file)->physreg_intervals, \
386 #define foreach_interval_safe(interval, file) \
388 &(file)->physreg_intervals, physreg_node)
389 #define foreach_interval_rev_safe(interval, file) \
391 &(file)
459 ra_file_search_right(struct ra_file *file, physreg_t reg) ra_file_search_right() argument
488 struct ra_file *file = ir3_reg_ctx_to_file(ctx); interval_add() local
506 struct ra_file *file = ir3_reg_ctx_to_file(ctx); interval_delete() local
534 ra_file_init(struct ra_file *file) ra_file_init() argument
550 ra_file_insert(struct ra_file *file, struct ra_interval *interval) ra_file_insert() argument
561 ra_file_remove(struct ra_file *file, struct ra_interval *interval) ra_file_remove() argument
567 ra_file_mark_killed(struct ra_file *file, struct ra_interval *interval) ra_file_mark_killed() argument
579 ra_file_unmark_killed(struct ra_file *file, struct ra_interval *interval) ra_file_unmark_killed() argument
627 ra_file_dump(struct log_stream *stream, struct ra_file *file) ra_file_dump() argument
663 reg_file_size(struct ra_file *file, struct ir3_register *reg) reg_file_size() argument
683 ra_pop_interval(struct ra_ctx *ctx, struct ra_file *file, struct ra_interval *interval) ra_pop_interval() argument
713 ra_push_interval(struct ra_ctx *ctx, struct ra_file *file, const struct ra_removed_interval *removed, physreg_t dst) ra_push_interval() argument
730 ra_move_interval(struct ra_ctx *ctx, struct ra_file *file, struct ra_interval *interval, physreg_t dst) ra_move_interval() argument
753 check_dst_overlap(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *dst, physreg_t start, physreg_t end) check_dst_overlap() argument
793 get_reg_specified(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *reg, physreg_t physreg, bool is_source) get_reg_specified() argument
816 try_evict_regs(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *reg, physreg_t physreg, unsigned *_eviction_count, bool is_source, bool speculative) try_evict_regs() argument
1043 compress_regs_left(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *reg) compress_regs_left() argument
1300 update_affinity(struct ra_file *file, struct ir3_register *reg, physreg_t physreg) update_affinity() argument
1319 find_best_gap(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *dst, unsigned file_size, unsigned size, unsigned align) find_best_gap() argument
1371 get_reg(struct ra_ctx *ctx, struct ra_file *file, struct ir3_register *reg) get_reg() argument
1483 struct ra_file *file = ra_get_file(ctx, dst); insert_dst() local
1498 struct ra_file *file = ra_get_file(ctx, dst); allocate_dst_fixed() local
1542 struct ra_file *file = ra_get_file(ctx, dst); allocate_dst() local
1567 struct ra_file *file = ra_get_file(ctx, src); assign_src() local
1800 struct ra_file *file = ra_get_file(ctx, instr->dsts[0]); handle_precolored_input() local
1820 struct ra_file *file = ra_get_file(ctx, instr->dsts[0]); handle_input() local
1829 struct ra_file *file = ra_get_file(ctx, instr->dsts[0]); assign_input() local
1863 struct ra_file *file = ra_get_file(ctx, src); handle_precolored_source() local
1900 struct ra_file *file = ra_get_file(ctx, src); handle_chmask() local
1942 struct ra_file *file = ra_get_file(ctx, def); handle_live_in() local
1972 struct ra_file *file = ra_get_file(ctx, def); handle_phi() local
1998 struct ra_file *file = ra_get_file(ctx, phi->dsts[0]); assign_phi() local
2127 insert_file_live_in_moves(struct ra_ctx *ctx, struct ra_file *file) insert_file_live_in_moves() argument
2142 insert_entry_regs(struct ra_block_state *state, struct ra_file *file) insert_entry_regs() argument
2206 insert_file_live_out_moves(struct ra_ctx *ctx, struct ra_file *file) insert_file_live_out_moves() argument
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Dgzread.c51 file is reached, even though there may be unused data in the buffer. Once
52 that data has been used, no more attempts will be made to read the file.
55 available data from the input file. */
88 case, all further file reads will be directly to either the output buffer or
134 gzip file, to wit, if a single 31 byte is written, then we cannot tell
135 whether this is a single-byte file, or just a partially written gzip
136 file -- for here we assume that if a gzip file is being written, then
138 single byte is sufficient indication that it is not a gzip file) */
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
[all...]
H A Dgzwrite.c14 /* Initialize state for writing a gzip file. Mark initialization by setting
67 /* Compress whatever is at avail_in and next_in and write to the output file.
68 Return -1 if there is an error writing to the output file or if gz_init()
72 to the output file without compressing, and ignore flush. */
176 /* Write len bytes from buf to file. Return the number of bytes written. If
227 /* directly compress user buffer to file */
246 int ZEXPORT gzwrite(file, buf, len) in gzwrite()
247 gzFile file; in gzwrite()
254 if (file == NULL)
256 state = (gz_statep)file;
382 gzvprintf(gzFile file, const char *format, va_list va) gzvprintf() argument
454 gzprintf(gzFile file, const char *format, ...) gzprintf() argument
[all...]
/third_party/node/deps/zlib/
H A Dgzlib.c71 /* Reset gzip file state */
75 state->eof = 0; /* not at end of file */ in gz_reset()
87 /* Open a gzip file either by name or file descriptor. */
180 state->direct = 1; /* for empty file */ in gz_open()
233 /* open the file with the appropriate flags (or just use fd) */ in gz_open()
297 int ZEXPORT gzbuffer(gzFile file, unsigned size) { in gzbuffer() argument
301 if (file == NULL) in gzbuffer()
303 state = (gz_statep)file; in gzbuffer()
321 int ZEXPORT gzrewind(gzFile file) { in gzrewind() argument
342 gzseek64(gzFile file, z_off64_t offset, int whence) gzseek64() argument
415 gzseek(gzFile file, z_off_t offset, int whence) gzseek() argument
423 gztell64(gzFile file) gztell64() argument
438 gztell(gzFile file) gztell() argument
446 gzoffset64(gzFile file) gzoffset64() argument
467 gzoffset(gzFile file) gzoffset() argument
475 gzeof(gzFile file) gzeof() argument
490 gzerror(gzFile file, int *errnum) gzerror() argument
508 gzclearerr(gzFile file) gzclearerr() argument
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Dgzwrite.c13 /* Initialize state for writing a gzip file. Mark initialization by setting
55 /* Compress whatever is at avail_in and next_in and write to the output file.
56 Return -1 if there is an error writing to the output file, otherwise 0.
143 int ZEXPORT gzwrite(file, buf, len) in gzwrite()
144 gzFile file; in gzwrite()
154 if (file == NULL)
156 state = (gz_statep)file;
208 /* directly compress user buffer to file */
221 int ZEXPORT gzputc(file, c) in gzputc()
222 gzFile file; in gzputc()
281 gzprintf(gzFile file, const char *format, ...) gzprintf() argument
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dgzread.c51 file is reached, even though there may be unused data in the buffer. Once
52 that data has been used, no more attempts will be made to read the file.
55 available data from the input file. */
88 case, all further file reads will be directly to either the output buffer or
134 gzip file, to wit, if a single 31 byte is written, then we cannot tell
135 whether this is a single-byte file, or just a partially written gzip
136 file -- for here we assume that if a gzip file is being written, then
138 single byte is sufficient indication that it is not a gzip file) */
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
[all...]
H A Dgzwrite.c14 /* Initialize state for writing a gzip file. Mark initialization by setting
67 /* Compress whatever is at avail_in and next_in and write to the output file.
68 Return -1 if there is an error writing to the output file or if gz_init()
72 to the output file without compressing, and ignore flush. */
176 /* Write len bytes from buf to file. Return the number of bytes written. If
227 /* directly compress user buffer to file */
246 int ZEXPORT gzwrite(file, buf, len) in gzwrite()
247 gzFile file; in gzwrite()
254 if (file == NULL)
256 state = (gz_statep)file;
379 gzvprintf(gzFile file, const char *format, va_list va) gzvprintf() argument
451 gzprintf(gzFile file, const char *format, ...) gzprintf() argument
[all...]
/third_party/zlib/
H A Dgzlib.c70 /* Reset gzip file state */
75 state->eof = 0; /* not at end of file */ in gz_reset()
87 /* Open a gzip file either by name or file descriptor. */
181 state->direct = 1; /* for empty file */ in gz_open()
234 /* open the file with the appropriate flags (or just use fd) */ in gz_open()
302 int ZEXPORT gzbuffer(gzFile file, unsigned size) { in gzbuffer() argument
306 if (file == NULL) in gzbuffer()
308 state = (gz_statep)file; in gzbuffer()
326 int ZEXPORT gzrewind(gzFile file) { in gzrewind() argument
347 gzseek64(gzFile file, z_off64_t offset, int whence) gzseek64() argument
421 gzseek(gzFile file, z_off_t offset, int whence) gzseek() argument
430 gztell64(gzFile file) gztell64() argument
446 gztell(gzFile file) gztell() argument
455 gzoffset64(gzFile file) gzoffset64() argument
477 gzoffset(gzFile file) gzoffset() argument
486 gzeof(gzFile file) gzeof() argument
501 gzerror(gzFile file, int *errnum) gzerror() argument
519 gzclearerr(gzFile file) gzclearerr() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_service.c202 static int mpp_show_support_cmd(struct seq_file *file, void *v) in mpp_show_support_cmd() argument
204 seq_puts(file, "------------- SUPPORT CMD -------------\n"); in mpp_show_support_cmd()
205 seq_printf(file, "QUERY_HW_SUPPORT: 0x%08x\n", MPP_CMD_QUERY_HW_SUPPORT); in mpp_show_support_cmd()
206 seq_printf(file, "QUERY_HW_ID: 0x%08x\n", MPP_CMD_QUERY_HW_ID); in mpp_show_support_cmd()
207 seq_printf(file, "QUERY_CMD_SUPPORT: 0x%08x\n", MPP_CMD_QUERY_CMD_SUPPORT); in mpp_show_support_cmd()
208 seq_printf(file, "QUERY_BUTT: 0x%08x\n", MPP_CMD_QUERY_BUTT); in mpp_show_support_cmd()
209 seq_puts(file, "----\n"); in mpp_show_support_cmd()
210 seq_printf(file, "INIT_CLIENT_TYPE: 0x%08x\n", MPP_CMD_INIT_CLIENT_TYPE); in mpp_show_support_cmd()
211 seq_printf(file, "INIT_TRANS_TABLE: 0x%08x\n", MPP_CMD_INIT_TRANS_TABLE); in mpp_show_support_cmd()
212 seq_printf(file, "INIT_BUT in mpp_show_support_cmd()
231 mpp_show_support_device(struct seq_file *file, void *v) mpp_show_support_device() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_service.c203 static int mpp_show_support_cmd(struct seq_file *file, void *v) in mpp_show_support_cmd() argument
205 seq_puts(file, "------------- SUPPORT CMD -------------\n"); in mpp_show_support_cmd()
206 seq_printf(file, "QUERY_HW_SUPPORT: 0x%08x\n", MPP_CMD_QUERY_HW_SUPPORT); in mpp_show_support_cmd()
207 seq_printf(file, "QUERY_HW_ID: 0x%08x\n", MPP_CMD_QUERY_HW_ID); in mpp_show_support_cmd()
208 seq_printf(file, "QUERY_CMD_SUPPORT: 0x%08x\n", MPP_CMD_QUERY_CMD_SUPPORT); in mpp_show_support_cmd()
209 seq_printf(file, "QUERY_BUTT: 0x%08x\n", MPP_CMD_QUERY_BUTT); in mpp_show_support_cmd()
210 seq_puts(file, "----\n"); in mpp_show_support_cmd()
211 seq_printf(file, "INIT_CLIENT_TYPE: 0x%08x\n", MPP_CMD_INIT_CLIENT_TYPE); in mpp_show_support_cmd()
212 seq_printf(file, "INIT_TRANS_TABLE: 0x%08x\n", MPP_CMD_INIT_TRANS_TABLE); in mpp_show_support_cmd()
213 seq_printf(file, "INIT_BUT in mpp_show_support_cmd()
232 mpp_show_support_device(struct seq_file *file, void *v) mpp_show_support_device() argument
[all...]
/third_party/curl/lib/
H A Dfile.c10 * This software is licensed as described in the file COPYING, which
16 * furnished to do so, under the terms of the COPYING file.
59 #include "file.h"
131 data->req.p.file = calloc(1, sizeof(struct FILEPROTO)); in file_setup_connection()
132 if(!data->req.p.file) in file_setup_connection()
141 * connect-then-transfer protocol and "connect" to the file here
146 struct FILEPROTO *file = data->req.p.file; in file_connect() local
155 if(file->path) { in file_connect()
203 file in file_connect()
256 struct FILEPROTO *file = data->req.p.file; file_done() local
288 struct FILEPROTO *file = data->req.p.file; file_upload() local
421 struct FILEPROTO *file; file_do() local
[all...]
/third_party/libsnd/tests/
H A Dchunk_test.c108 { SNDFILE *file ; in chunk_test_helper() local
129 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, allow_fd, __LINE__) ; in chunk_test_helper()
140 err = sf_set_chunk (file, &chunk_info) ; in chunk_test_helper()
149 sf_close (file) ; in chunk_test_helper()
151 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, allow_fd, __LINE__) ; in chunk_test_helper()
157 iterator = sf_get_chunk_iterator (file, &chunk_info) ; in chunk_test_helper()
183 sf_close (file) ; in chunk_test_helper()
189 { SNDFILE *file ; in multichunk_test_helper() local
218 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, allow_fd, __LINE__) ; in multichunk_test_helper()
231 err = sf_set_chunk (file, in multichunk_test_helper()
320 { SNDFILE * file ; wav_subchunk_test() local
390 { SNDFILE * file ; large_free_test() local
[all...]
/third_party/mesa3d/src/util/
H A Dfossilize_db.c39 #include <sys/file.h>
59 * format uses a 64bit hash table to lookup file offsets for reading cache
75 check_files_opened_successfully(FILE *file, FILE *db_idx) in check_files_opened_successfully() argument
77 if (!file) { in check_files_opened_successfully()
84 if (file) in check_files_opened_successfully()
85 fclose(file); in check_files_opened_successfully()
109 * to do without locking the file as we assume the file is append only */
150 /* read cache item offset from index file */ in update_foz_index()
166 * 64bit hash table for looking up file offset in update_foz_index()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dlog.c2 This file is part of PulseAudio.
43 /* sd_journal_send() implicitly add fields for the source file,
164 if ((fd = pa_open_cloexec(t->file, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR)) < 0) { in pa_log_set_target()
165 pa_log(_("Failed to open target file '%s'."), t->file); in pa_log_set_target()
174 file_path = pa_sprintf_malloc("%s.xx", t->file); in pa_log_set_target()
175 p = file_path + strlen(t->file); in pa_log_set_target()
188 pa_log(_("Tried to open target file '%s', '%s.1', '%s.2' ... '%s.%d', but all failed."), in pa_log_set_target()
189 t->file, t->file, in pa_log_set_target()
654 pa_log_target_new(pa_log_target_type_t type, const char *file) pa_log_target_new() argument
[all...]
/third_party/libsnd/examples/
H A Dsndfilehandle.cc30 SndfileHandle file ; in create_file() local
34 printf ("Creating file named '%s'\n", fname) ; in create_file()
36 file = SndfileHandle (fname, SFM_WRITE, format, channels, srate) ; in create_file()
40 file.write (buffer, BUFFER_LEN) ; in create_file()
44 ** The SndfileHandle object will automatically close the file and in create_file()
55 SndfileHandle file ; in read_file() local
57 file = SndfileHandle (fname) ; in read_file()
59 printf ("Opened file '%s'\n", fname) ; in read_file()
60 printf (" Sample rate : %d\n", file.samplerate ()) ; in read_file()
61 printf (" Channels : %d\n", file in read_file()
[all...]
/third_party/python/Lib/msilib/
H A D__init__.py161 si.SetProperty(PID_WORDCOUNT, 2) # long file names, compressed, original media
197 def gen_id(self, file):
198 logical = _logical = make_id(file)
206 def append(self, full, file, logical):
210 logical = self.gen_id(file)
231 time. Files are added into the current component, and into the cab file.
290 def make_short(self, file):
291 oldfile = file
292 file = file
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-buf.c117 static int dma_buf_file_release(struct inode *inode, struct file *file) in dma_buf_file_release() argument
121 if (!is_dma_buf_file(file)) { in dma_buf_file_release()
125 dmabuf = file->private_data; in dma_buf_file_release()
210 static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) in dma_buf_mmap_internal() argument
214 if (!is_dma_buf_file(file)) { in dma_buf_mmap_internal()
218 dmabuf = file->private_data; in dma_buf_mmap_internal()
233 static loff_t dma_buf_llseek(struct file *file, loff_ argument
295 dma_buf_poll(struct file *file, poll_table *poll) dma_buf_poll() argument
461 dma_buf_ioctl(struct file *file, unsigned int cmd, unsigned long arg) dma_buf_ioctl() argument
511 dma_buf_show_fdinfo(struct seq_file *m, struct file *file) dma_buf_show_fdinfo() argument
539 is_dma_buf_file(struct file *file) is_dma_buf_file() argument
547 struct file *file; dma_buf_getfile() local
624 struct file *file; dma_buf_export() local
750 struct file *file; dma_buf_get() local
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_fileops.c26 struct file *klib_fopen(const char *filename, int flags, int mode) in klib_fopen()
28 struct file *filp = filp_open(filename, flags, mode); in klib_fopen()
32 void klib_fclose(struct file *filp) in klib_fclose()
40 int klib_fwrite(const char *buf, unsigned long size, struct file *filp) in klib_fwrite()
52 int klib_fread(char *buf, unsigned long size, struct file *filp) in klib_fread()
87 klib_fclose((struct file *)filp); in osal_klib_fclose()
98 return klib_fwrite(buf, size, (struct file *)filp); in osal_klib_fwrite()
109 return klib_fread(buf, size, (struct file *)filp); in osal_klib_fread()
120 return -1; /* no such file or directory */ in osal_klib_user_fread()
123 if (((((struct file *)fil in osal_klib_user_fread()
[all...]

Completed in 16 milliseconds

12345678910>>...316