Home
last modified time | relevance | path

Searched refs:file (Results 476 - 500 of 8763) sorted by relevance

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

/third_party/icu/icu4c/source/common/
H A Dumapfile.cpp14 * Memory mapped file wrappers for use by the ICU Data Implementation
113 return false; /* no file access */ in uprv_mapFile()
133 HANDLE file = INVALID_HANDLE_VALUE; in uprv_mapFile() local
137 /* open the input file */ in uprv_mapFile()
143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
161 file = CreateFileW(utf16Path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
165 if (file == INVALID_HANDLE_VALUE) { in uprv_mapFile()
166 // If we failed to open the file due to an out-of-memory error, then we want in uprv_mapFile()
176 /* create an unnamed Windows file-mapping object for the specified file */ in uprv_mapFile()
289 FILE *file; uprv_mapFile() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dumapfile.cpp14 * Memory mapped file wrappers for use by the ICU Data Implementation
113 return false; /* no file access */ in uprv_mapFile()
133 HANDLE file = INVALID_HANDLE_VALUE; in uprv_mapFile() local
137 /* open the input file */ in uprv_mapFile()
143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
161 file = CreateFileW(utf16Path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
165 if (file == INVALID_HANDLE_VALUE) { in uprv_mapFile()
166 // If we failed to open the file due to an out-of-memory error, then we want in uprv_mapFile()
176 /* create an unnamed Windows file-mapping object for the specified file */ in uprv_mapFile()
289 FILE *file; uprv_mapFile() local
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
H A Dimport.go4 // you may not use this file except in compliance with the License.
30 // File describes the coverage spans in a single source file.
97 // information from a .profraw file.
159 type file struct { type
167 Files []file `json:"files"`
187 file := File{Path: relpath}
192 file.Covered = appendSpan(file.Covered, Span{start, end})
194 file.Uncovered = appendSpan(file
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dumapfile.cpp14 * Memory mapped file wrappers for use by the ICU Data Implementation
113 return FALSE; /* no file access */ in uprv_mapFile()
133 HANDLE file = INVALID_HANDLE_VALUE; in uprv_mapFile() local
137 /* open the input file */ in uprv_mapFile()
143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
161 file = CreateFileW(utf16Path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
165 if (file == INVALID_HANDLE_VALUE) { in uprv_mapFile()
166 // If we failed to open the file due to an out-of-memory error, then we want in uprv_mapFile()
176 /* create an unnamed Windows file-mapping object for the specified file */ in uprv_mapFile()
289 FILE *file; uprv_mapFile() local
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.h60 // annotation_file should be generated from the filename of the source file
93 // Get an identifier that uniquely identifies this type within the file.
95 // outermost file scope.
101 // Gets the unqualified class name for the file. For each .proto file, there
105 std::string FileClassName(const FileDescriptor* file, bool immutable = true);
107 // Returns the file's Java package name.
108 std::string FileJavaPackage(const FileDescriptor* file);
109 std::string FileJavaPackage(const FileDescriptor* file, bool immutable);
148 return descriptor->file() in IsDescriptorProto()
260 HasGenericServices(const FileDescriptor* file, bool enforce_lite) HasGenericServices() argument
[all...]
/third_party/node/deps/v8/tools/
H A Dv8_presubmit.py208 for file in files:
210 handle = open(file, "rb")
212 if not file in self.sums or self.sums[file] != file_sum:
213 changed_or_new.append(file)
214 self.sums[file] = file_sum
219 def RemoveFile(self, file):
220 if file in self.sums:
221 self.sums.pop(file)
234 for file i
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc119 const FileDescriptorProto& file, Value value) { in AddFile()
120 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile()
121 GOOGLE_LOG(ERROR) << "File already exists in database: " << file.name(); in AddFile()
125 // We must be careful here -- calling file.package() if file.has_package() is in AddFile()
128 std::string path = file.has_package() ? file.package() : std::string(); in AddFile()
131 for (int i = 0; i < file.message_type_size(); i++) { in AddFile()
132 if (!AddSymbol(path + file.message_type(i).name(), value)) return false; in AddFile()
133 if (!AddNestedExtensions(file in AddFile()
118 AddFile( const FileDescriptorProto& file, Value value) AddFile() argument
344 Add(const FileDescriptorProto& file) Add() argument
350 AddAndOwn(const FileDescriptorProto* file) AddAndOwn() argument
383 MaybeCopy(const FileDescriptorProto* file, FileDescriptorProto* output) MaybeCopy() argument
557 auto* file = google::protobuf::Arena::CreateMessage<FileDescriptorProto>(&arena); Add() local
627 AddFile(const FileProto& file, Value value) AddFile() argument
898 const FileDescriptor* file = pool_.FindFileByName(filename); FindFileByName() local
907 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); FindFileContainingSymbol() local
[all...]
/test/xts/acts/kernel_lite/mem_posix/src/
H A DMmapApiTest.cpp4 * you may not use this file except in compliance with the License.
21 #include <sys/file.h>
312 * @tc.name mmap function file private map and read and write permission test
322 char file[] = MMAP_TESTFILE; in HWTEST_F() local
324 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); in HWTEST_F()
352 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
358 * @tc.name mmap function file share map and read and write permission test
368 char file[] = MMAP_TESTFILE; in HWTEST_F() local
370 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); in HWTEST_F()
398 EXPECT_TRUE(remove(file) in HWTEST_F()
414 char file[] = MMAP_TESTFILE; HWTEST_F() local
454 char file[] = MMAP_TESTFILE; HWTEST_F() local
500 char file[] = MMAP_TESTFILE; HWTEST_F() local
547 char file[] = MMAP_TESTFILE; HWTEST_F() local
594 char file[] = MMAP_TESTFILE; HWTEST_F() local
708 char file[] = MMAP_TESTFILE; HWTEST_F() local
767 char file[] = MMAP_TESTFILE; HWTEST_F() local
807 char file[] = MMAP_TESTFILE; HWTEST_F() local
836 char file[] = MMAP_TESTFILE; HWTEST_F() local
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_reg.h32 /** @file brw_reg.h
34 * This file defines struct brw_reg, which is our representation for EU
72 /** Number of message register file registers */
220 enum brw_reg_file file:3; /* :2 hardware format */ member
260 if (a->file == IMM) { in brw_regs_negative_equal()
382 * \param file one of the BRW_x_REGISTER_FILE values
395 brw_reg(enum brw_reg_file file, in brw_reg() argument
408 if (file == BRW_GENERAL_REGISTER_FILE) in brw_reg()
410 else if (file == BRW_ARCHITECTURE_REGISTER_FILE) in brw_reg()
418 reg.file in brw_reg()
[all...]
/third_party/libsnd/programs/
H A Dsndfile-info.c115 { printf ("Usage :\n %s <file> ...\n", progname) ; in usage_exit()
117 printf (" %s --instrument <file>\n", progname) ; in usage_exit()
118 printf (" Prints out the instrument data for the given file.\n\n") ; in usage_exit()
119 printf (" %s --broadcast <file>\n", progname) ; in usage_exit()
120 printf (" Prints out the broadcast WAV info for the given file.\n\n") ; in usage_exit()
121 printf (" %s --channel-map <file>\n", progname) ; in usage_exit()
122 printf (" Prints out the channel map for the given file.\n\n") ; in usage_exit()
123 printf (" %s --cart <file>\n", progname) ; in usage_exit()
124 printf (" Prints out the cart chunk WAV info for the given file.\n\n") ; in usage_exit()
211 /* Accumulate the total of all known file duration in generate_duration_str()
220 SNDFILE *file ; info_dump() local
285 { SNDFILE *file ; instrument_dump() local
326 { SNDFILE *file ; broadcast_dump() local
397 { SNDFILE *file ; chanmap_dump() local
473 { SNDFILE *file ; cart_dump() local
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Ddocgenerator.py145 but each interface is written into a different file as determined by the
229 """Generate an include file.
231 - directory - subdirectory to put file in
232 - basename - base name of the file
233 - contents - contents of the file (Asciidoc boilerplate aside)"""
238 # Create file
240 self.logMsg('diag', '# Generating include file:', filename)
244 write(self.genOpts.conventions.warning_comment, file=fp)
245 write('[[{0}]]'.format(basename), file=fp)
256 write('indexterm:[{}]'.format(index_term), file
[all...]
/third_party/zlib/test/
H A Dexample.c94 gzFile file; in test_gzio()
97 file = gzopen(fname, "wb"); in test_gzio()
98 if (file == NULL) { in test_gzio()
102 gzputc(file, 'h'); in test_gzio()
103 if (gzputs(file, "ello") != 4) { in test_gzio()
104 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err)); in test_gzio()
107 if (gzprintf(file, ", %s!", "hello") != 8) { in test_gzio()
108 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err)); in test_gzio()
111 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */ in test_gzio()
112 gzclose(file); in test_gzio()
[all...]
/base/account/os_account/frameworks/account_iam/test/unittest/src/
H A Dtest_common.cpp4 * you may not use this file except in compliance with the License.
27 FILE *file = popen(command.c_str(), "r"); in RunCommand() local
29 if (file != nullptr) { in RunCommand()
31 while ((fgets(commandResult, sizeof(commandResult), file)) != nullptr) { in RunCommand()
34 pclose(file); in RunCommand()
35 file = nullptr; in RunCommand()
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/
H A Dhc_file.h4 * you may not use this file except in compliance with the License.
39 int HcFileOpen(const char *path, int mode, FileHandle *file);
40 int HcFileSize(FileHandle file);
41 int HcFileRead(FileHandle file, void *dst, int dstSize);
42 int HcFileWrite(FileHandle file, const void *src, int srcSize);
43 void HcFileClose(FileHandle file);
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
H A Dhc_file.h4 * you may not use this file except in compliance with the License.
35 int HcFileOpen(const char *path, int mode, FileHandle *file);
36 int HcFileSize(FileHandle file);
37 int HcFileRead(FileHandle file, void *dst, int dstSize);
38 int HcFileWrite(FileHandle file, const void *src, int srcSize);
39 void HcFileClose(FileHandle file);
/third_party/ltp/lib/newlib_tests/shell/net/
H A Dtst_rhost_run.sh12 local file="/etc/fstab"
17 tst_rhost_run -c "[ -f $file ]" || \
18 tst_brk TCONF "$file not found on rhost"
20 tst_rhost_run -s -c "grep -q \"[^ ]\" $file"
21 tst_rhost_run -s -c "grep -q '[^ ]' $file"
/third_party/musl/libc-test/src/functionalext/supplement/stdio/stdio_gtest/
H A Dstdio_fputc_unlocked_test.cpp12 * @tc.desc: Ensure that the fputc_unlocked() function correctly writes a character to a file without any
18 FILE* file; in HWTEST_F() local
20 file = fopen("/proc/version", "w"); in HWTEST_F()
21 ASSERT_NE(nullptr, file); in HWTEST_F()
22 int result = fputc_unlocked(ch, file); in HWTEST_F()
24 fclose(file); in HWTEST_F()
H A Dstdio_fflush_unlocked_test.cpp12 * @tc.desc: Ensure that the fflush_unlocked() function correctly flushes any buffered output to the file.
17 FILE* file = fopen("test_fflush_unlocked", "w"); in HWTEST_F() local
18 ASSERT_NE(nullptr, file); in HWTEST_F()
19 fprintf(file, "This is a test message\n"); in HWTEST_F()
20 int result = fflush_unlocked(file); in HWTEST_F()
22 fclose(file); in HWTEST_F()
H A Dstdio_fpurge_test.cpp13 * @tc.desc: Ensure that the fpurge() function correctly discards any buffered data in the file stream.
18 FILE* file = fopen("test_fpurge.txt", "w+"); in HWTEST_F() local
19 ASSERT_NE(nullptr, file); in HWTEST_F()
20 fputs("Hello, World!", file); in HWTEST_F()
21 int result = fpurge(file); in HWTEST_F()
23 fclose(file); in HWTEST_F()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DPackageDescriptor.cs44 private readonly FileDescriptor file; field in Google.Protobuf.Reflection.PackageDescriptor
46 internal PackageDescriptor(string name, string fullName, FileDescriptor file) in PackageDescriptor() argument
48 this.file = file; in PackageDescriptor()
65 get { return file; }
/third_party/pcre2/pcre2/
H A DDetrail6 # This subroutine does the work for one file.
9 my($file) = $_[0];
11 open(IN, "$file") || die "Can't open $file for input";
24 open(OUT, ">$file") || die "Can't open $file for output";
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_doc.cpp4 * you may not use this file except in compliance with the License.
41 SysEventDoc::SysEventDoc(const std::string& file) : writer_(nullptr), reader_(nullptr), type_(0), curFile_(file) in SysEventDoc() argument
57 HIVIEW_LOGE("failed to init writer from file=%{public}s", curFile_.c_str()); in Insert()
61 // write event to the file in Insert()
63 // need to store to a new file in Insert()
92 HIVIEW_LOGE("failed to update current file"); in InitWriter()
104 HIVIEW_LOGE("failed to init reader from file=%{public}s", curFile_.c_str()); in InitReader()
111 bool SysEventDoc::IsFileFull(const std::string& file) in IsFileFull() argument
113 return FileUtil::GetFileSize(file) > in IsFileFull()
[all...]
/third_party/gn/src/gn/
H A Dimport_manager.cc3 // found in the LICENSE file.
20 const SourceFile& file, in UncachedImport()
23 ScopedTrace load_trace(TraceItem::TRACE_IMPORT_LOAD, file.value()); in UncachedImport()
27 node_for_err->GetRange(), settings->build_settings(), file, err); in UncachedImport()
33 scope->set_source_dir(file.GetDir()); in UncachedImport()
36 // These will be relative to the imported file, which is probably not what in UncachedImport()
44 // displays a why the file was imported (esp. useful for failed asserts). in UncachedImport()
67 // attempt to load the file, even if the scope is null.
75 bool ImportManager::DoImport(const SourceFile& file, in DoImport() argument
81 ss << std::this_thread::get_id() << file in DoImport()
19 UncachedImport(const Settings* settings, const SourceFile& file, const ParseNode* node_for_err, Err* err) UncachedImport() argument
[all...]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dcctest.h61 static inline void CheckHelper(const char* file, in CheckHelper() argument
66 printf("%s:%d:\n CHECK(%s) failed\n", file, line, source); in CheckHelper()
85 inline void CheckEqualsHelper(const char* file, int line, in CheckEqualsHelper() argument
93 file, line, expected_source, value_source); in CheckEqualsHelper()
105 inline void CheckEqualsHelper(const char* file, int line, in CheckEqualsHelper() argument
119 file, line, expected_source, value_source, expected, value); in CheckEqualsHelper()
125 inline void CheckEqualsHelper(const char* file, int line, in CheckEqualsHelper() argument
130 CheckEqualsHelper(file, line, expected_source, expected, value_source, static_cast<const char*>(value)); in CheckEqualsHelper()
136 CcTest(TestFunction* callback, const char* file, const char* name,
142 const char* file() cons in prev() function in CcTest
[all...]
/third_party/node/test/report/
H A Dtest-report-writereport.js51 // Test with a file argument.
52 const file = process.report.writeReport('custom-name-1.json');
53 const absolutePath = path.join(tmpdir.path, file);
55 assert.strictEqual(file, 'custom-name-1.json');
61 // Test with file and error arguments.
62 const file = process.report.writeReport('custom-name-2.json',
64 const absolutePath = path.join(tmpdir.path, file);
66 assert.strictEqual(file, 'custom-name-2.json');
74 const file = process.report.writeReport();
77 assert.strictEqual(file, proces
[all...]

Completed in 14 milliseconds

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