Home
last modified time | relevance | path

Searched refs:file (Results 501 - 525 of 8763) sorted by relevance

1...<<21222324252627282930>>...351

/third_party/skia/third_party/externals/freetype/builds/unix/
H A Dftsystem.c10 * This file is part of the FreeType project, and may only be used,
13 * this file you indicate that you have read the license and
20 /* we use our special ftconfig.h file, not the standard one */
250 int file; in FT_BASE_DEF() local
257 /* open the file */ in FT_BASE_DEF()
258 file = open( filepathname, O_RDONLY ); in FT_BASE_DEF()
259 if ( file < 0 ) in FT_BASE_DEF()
269 /* issues and cleans up the kernel file table a bit. */ in FT_BASE_DEF()
273 (void)fcntl( file, F_SETFD, FD_CLOEXEC ); in FT_BASE_DEF()
275 (void)fcntl( file, F_SETF in FT_BASE_DEF()
[all...]
/third_party/vk-gl-cts/framework/delibs/destream/
H A DdeFileStream.c8 * you may not use this file except in compliance with the License.
20 * \file
29 deFile* file; member
40 deFileResult result = deFile_read(fileStream->file, buf, bufSize, &_numRead); in fileIOStream_read()
68 deFileResult result = deFile_write(fileStream->file, buf, bufSize, &_numWritten); in fileIOStream_write()
110 deFile_destroy(fileStream->file); in fileIOStream_deinit()
158 /* \note mika Check that file is readable and writeable, currently not supported by deFile */ in fileIOStream_init()
162 fileStream->file = deFile_create(filename, mode); in fileIOStream_init()
166 if (!fileStream->file) in fileIOStream_init()
178 /* \note mika Check that file i in deFileInStream_init()
[all...]
/third_party/NuttX/drivers/bch/
H A Dbchdev_driver.c5 * contributor license agreements. See the NOTICE file distributed with
7 * ASF licenses this file to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance with the
45 static int bch_open(struct file *filep);
46 static int bch_close(struct file *filep);
47 static off_t bch_seek(struct file *filep, off_t offset, int whence);
48 static ssize_t bch_read(struct file *filep, char *buffer,
50 static ssize_t bch_write(struct file *filep, const char *buffer,
52 static int bch_ioctl(struct file *filep, int cmd,
84 static int bch_open(struct file *file
[all...]
/third_party/mbedtls/library/
H A Dplatform.c294 * standard libc file functions to read from and write to a pre-defined filename
298 FILE *file; in mbedtls_platform_std_nv_seed_read() local
301 if ((file = fopen(MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "rb")) == NULL) { in mbedtls_platform_std_nv_seed_read()
306 mbedtls_setbuf(file, NULL); in mbedtls_platform_std_nv_seed_read()
308 if ((n = fread(buf, 1, buf_len, file)) != buf_len) { in mbedtls_platform_std_nv_seed_read()
309 fclose(file); in mbedtls_platform_std_nv_seed_read()
314 fclose(file); in mbedtls_platform_std_nv_seed_read()
320 FILE *file; in mbedtls_platform_std_nv_seed_write() local
323 if ((file = fopen(MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "w")) == NULL) { in mbedtls_platform_std_nv_seed_write()
328 mbedtls_setbuf(file, NUL in mbedtls_platform_std_nv_seed_write()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DConfigurator.cpp4 // you may not use this file except in compliance with the License.
52 fstream file(path.c_str(), ios::in); in readFile()
53 if(file.fail()) return false; in readFile()
58 while(getline(file, line)) in readFile()
70 file.close(); in readFile()
107 file.close(); in readFile()
126 fstream file(path.c_str(), ios::out); in writeFile()
127 if(file.fail()) return; in writeFile()
129 file << "; " << title << endl << endl; in writeFile()
133 file << "[" << name in writeFile()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DConfigurator.cpp4 // you may not use this file except in compliance with the License.
52 fstream file(path.c_str(), ios::in); in readFile()
53 if(file.fail()) return false; in readFile()
58 while(getline(file, line)) in readFile()
70 file.close(); in readFile()
107 file.close(); in readFile()
126 fstream file(path.c_str(), ios::out); in writeFile()
127 if(file.fail()) return; in writeFile()
129 file << "; " << title << endl in writeFile()
134 file << "[" << name in writeFile()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DdumpICUrules.bat76 # Mapping from Java file names to ICU file names
77 # Constraints on ICU4C file name: icudt20b_
108 # We filter names based on what is in use in the index file.
193 next if (/_index\.txt$/); # The index file was processed above
205 file($id, $_, $out);
213 # Convert a Java file name to C
214 # Param: Java file name of the form m|Transliterator_(.+)\.utf8\.txt$|
215 # Return: A C file name (e.g., ldevan.txt) or the empty string,
216 # if there is no mapping, or $JAVA_ONLY if the given file is
[all...]
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dfile_util.cpp4 * you may not use this file except in compliance with the License.
30 bool IsFileExists(const std::string& file) in IsFileExists() argument
32 return access(file.c_str(), F_OK) == 0; in IsFileExists()
35 bool IsFile(const std::string& file) in IsFile() argument
38 return lstat(file.c_str(), &statBuf) == 0 ? S_ISREG(statBuf.st_mode) : false; in IsFile()
47 bool RemoveFile(const std::string& file) in RemoveFile() argument
49 return !IsFileExists(file) || (remove(file.c_str()) == 0); in RemoveFile()
/third_party/elfutils/libasm/
H A Dasm_addstrz.c3 This file is part of elfutils.
6 This file is free software; you can redistribute it and/or modify
82 fputs ("\t.string\t\"", asmscn->ctx->out.file); in asm_addstrz()
87 fputs ("\\000", asmscn->ctx->out.file); in asm_addstrz()
89 fprintf (asmscn->ctx->out.file, "\\%03o", in asm_addstrz()
92 fputs ("\\\\", asmscn->ctx->out.file); in asm_addstrz()
95 fputs ("\\n\"", asmscn->ctx->out.file); in asm_addstrz()
99 fputc (*str, asmscn->ctx->out.file); in asm_addstrz()
106 fputs ("\"\n", asmscn->ctx->out.file); in asm_addstrz()
/third_party/NuttX/drivers/pipes/
H A Dpipe_common.h5 * contributor license agreements. See the NOTICE file distributed with
7 * ASF licenses this file to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance with the
138 struct file; /* Forward reference */
143 int pipecommon_open(struct file *filep);
144 int pipecommon_close(struct file *filep);
145 ssize_t pipecommon_read(struct file *, char *, size_t);
146 ssize_t pipecommon_write(struct file *, const char *, size_t);
147 int pipecommon_ioctl(struct file *filep, int cmd, unsigned long arg);
148 int pipecommon_poll(struct file *file
[all...]
/third_party/alsa-lib/alsalisp/
H A Dalsalisp.c35 static void interpret_filename(const char *file) in interpret_filename() argument
43 if (file != NULL && strcmp(file, "-") != 0) { in interpret_filename()
44 if ((err = snd_input_stdio_open(&in, file, "r")) < 0) { in interpret_filename()
45 fprintf(stderr, "unable to open filename '%s' (%s)\n", file, snd_strerror(err)); in interpret_filename()
50 fprintf(stderr, "unable to attach stdin '%s' (%s)\n", file, snd_strerror(err)); in interpret_filename()
68 printf("file %s passed ok via alsa lisp interpreter\n", file); in interpret_filename()
75 fprintf(stderr, "usage: alsalisp [-vdw] [file...]\n"); in usage()
/third_party/libsnd/tests/
H A Ddwvw_test.c59 SNDFILE *file ; in dwvw_test() local
73 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in dwvw_test()
84 sf_write_int (file, write_buf, BUFFER_SIZE) ; in dwvw_test()
85 sf_close (file) ; in dwvw_test()
87 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in dwvw_test()
89 if ((k = (int) sf_read_int (file, read_buf, BUFFER_SIZE)) != BUFFER_SIZE) in dwvw_test()
104 sf_close (file) ; in dwvw_test()
/third_party/mesa3d/src/compiler/glsl/tests/
H A Dwarnings_test.py69 for file in files:
70 print('Testing {} ...'.format(file), end='')
71 file = os.path.join(args.test_directory, file)
73 with open('{}.expected'.format(file), 'rb') as f:
77 runner + ['--just-log', '--version', '150', file],
103 print('Skipping due to inability to run host binaries', file=sys.stderr)
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_opt_coalesce_ff_writes.c25 * @file vc4_opt_coalesce_ff_writes.c
47 if (inst->src[i].file == QFILE_TEMP) { in qir_opt_coalesce_ff_writes()
57 if (mov_inst->src[0].file != QFILE_TEMP) in qir_opt_coalesce_ff_writes()
60 if (!(mov_inst->dst.file == QFILE_VPM || in qir_opt_coalesce_ff_writes()
61 mov_inst->dst.file == QFILE_TLB_COLOR_WRITE || in qir_opt_coalesce_ff_writes()
62 mov_inst->dst.file == QFILE_TLB_COLOR_WRITE_MS || in qir_opt_coalesce_ff_writes()
95 inst->dst.file = mov_inst->dst.file; in qir_opt_coalesce_ff_writes()
/third_party/node/deps/v8/third_party/wasm-api/example/
H A Dhello.c28 FILE* file = fopen("hello.wasm", "r"); in main() local
29 if (!file) { in main()
33 fseek(file, 0L, SEEK_END); in main()
34 size_t file_size = ftell(file); in main()
35 fseek(file, 0L, SEEK_SET); in main()
38 if (fread(binary.data, file_size, 1, file) != 1) { in main()
42 fclose(file); in main()
H A Dfinalize.c23 FILE* file = fopen("finalize.wasm", "r"); in run_in_store() local
24 if (!file) { in run_in_store()
28 fseek(file, 0L, SEEK_END); in run_in_store()
29 size_t file_size = ftell(file); in run_in_store()
30 fseek(file, 0L, SEEK_SET); in run_in_store()
33 if (fread(binary.data, file_size, 1, file) != 1) { in run_in_store()
37 fclose(file); in run_in_store()
H A Dserialize.c26 FILE* file = fopen("serialize.wasm", "r"); in main() local
27 if (!file) { in main()
31 fseek(file, 0L, SEEK_END); in main()
32 size_t file_size = ftell(file); in main()
33 fseek(file, 0L, SEEK_SET); in main()
36 if (fread(binary.data, file_size, 1, file) != 1) { in main()
40 fclose(file); in main()
H A Dstart.c29 FILE* file = fopen("start.wasm", "r"); in main() local
30 if (!file) { in main()
34 fseek(file, 0L, SEEK_END); in main()
35 size_t file_size = ftell(file); in main()
36 fseek(file, 0L, SEEK_SET); in main()
39 if (fread(binary.data, file_size, 1, file) != 1) { in main()
43 fclose(file); in main()
/third_party/node/deps/v8/src/diagnostics/
H A Dcode-tracer.h3 // found in the LICENSE file.
47 FILE* file() const { return tracer_->file(); } in file() function in v8::internal::final::Scope
56 FILE* file = this->file(); in StreamScope() local
57 if (file == stdout) { in StreamScope()
60 file_stream_.emplace(file); in StreamScope()
83 "could not open file. If on Android, try passing " in OpenFile()
84 "--redirect-code-traces-to=/sdcard/Download/<file-name>"); in OpenFile()
102 FILE* file() cons function in v8::internal::final
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Do_fopen.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
40 FILE *file = NULL; in openssl_fopen() local
70 (file = _wfopen(wfilename, wmode)) == NULL && in openssl_fopen()
74 * UTF-8 decode succeeded, but no file, filename in openssl_fopen()
77 file = fopen(filename, mode); in openssl_fopen()
80 file = fopen(filename, mode); in openssl_fopen()
86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
109 file = fopen(filename, mode); in openssl_fopen()
114 file in openssl_fopen()
[all...]
/third_party/openssl/crypto/
H A Do_fopen.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
40 FILE *file = NULL; in openssl_fopen() local
70 (file = _wfopen(wfilename, wmode)) == NULL && in openssl_fopen()
74 * UTF-8 decode succeeded, but no file, filename in openssl_fopen()
77 file = fopen(filename, mode); in openssl_fopen()
80 file = fopen(filename, mode); in openssl_fopen()
86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
109 file = fopen(filename, mode); in openssl_fopen()
114 file in openssl_fopen()
[all...]
/third_party/skia/resources/sksl/
H A Dupdate_fuzzer.py6 # found in the LICENSE file.
21 # Locate this script in the file system.
30 # Iterate over every file in this directory and use it to assemble our corpus.
32 for file in files:
34 if (not file.startswith('.') # Hidden
35 and not file.endswith('.py') # Python
36 and not file.endswith('.test') # ES2 conformance script
37 and not file.endswith('.txt')): # Text
39 pathInZip = '%d_%s' % (fileNum, file)
41 with open('%s/%s' % (root, file), '
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_name_resolver.h61 // Gets the unqualified outer class name for the file.
62 std::string GetFileClassName(const FileDescriptor* file, bool immutable);
63 // Gets the unqualified immutable outer class name of a file.
64 std::string GetFileImmutableClassName(const FileDescriptor* file);
65 // Gets the unqualified default immutable outer class name of a file
66 // (converted from the proto file's name).
67 std::string GetFileDefaultImmutableClassName(const FileDescriptor* file);
69 // Check whether there is any type defined in the proto file that has
71 bool HasConflictingClassName(const FileDescriptor* file,
79 std::string GetDescriptorClassName(const FileDescriptor* file);
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dmock_code_generator.h51 // its own file so that it can be used both directly and as a plugin.
58 // its own file. NAMES is a comma-separated list of the names of those other
61 // MockCodeGenerator will also modify its behavior slightly if the input file
84 // should have inserted lines into this file.
90 const std::string& file,
98 const std::string& file,
101 // Get the name of the file which would be written by the given generator.
103 const FileDescriptor* file);
105 const std::string& file);
109 bool Generate(const FileDescriptor* file, cons
[all...]
/third_party/vk-gl-cts/framework/egl/
H A DegluDefs.cpp8 * you may not use this file except in compliance with the License.
20 * \file
39 void checkError (deUint32 err, const char* message, const char* file, int line) in checkError() argument
49 throw BadAllocError(desc.str().c_str(), DE_NULL, file, line); in checkError()
51 throw Error(err, desc.str().c_str(), DE_NULL, file, line); in checkError()
61 Error::Error (deUint32 errCode, const char* message, const char* expr, const char* file, int line) in Error() argument
62 : tcu::TestError (message, expr, file, line) in Error()
72 BadAllocError::BadAllocError (const char* message, const char* expr, const char* file, int line) in BadAllocError() argument
73 : tcu::ResourceError(message, expr, file, line) in BadAllocError()

Completed in 12 milliseconds

1...<<21222324252627282930>>...351