| /third_party/skia/third_party/externals/tint/src/ |
| H A D | program_id.cc | 4 // you may not use this file except in compliance with the License. 45 const char* file, in AssertProgramIDsEqual() 54 tint::InternalCompilerError(file, line, system, diagnostics) << msg; in AssertProgramIDsEqual() 40 AssertProgramIDsEqual(ProgramID a, ProgramID b, bool if_valid, diag::System system, const char* msg, const char* file, size_t line) AssertProgramIDsEqual() argument
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | declarationFilesGeneratingTypeReferences.js | 32 out.d.ts(1,23): error TS2688: Cannot find type definition file for 'jquery'.
43 !!! error TS2688: Cannot find type definition file for 'jquery'.
|
| /third_party/rust/crates/rustix/tests/fs/ |
| H A D | fcntl.rs | 7 let file = rustix::fs::openat( in test_fcntl_dupfd_cloexec() 15 let new = rustix::fs::fcntl_dupfd_cloexec(&file, 700).unwrap(); in test_fcntl_dupfd_cloexec()
|
| /third_party/rust/crates/rustix/tests/time/ |
| H A D | dynamic_clocks.rs | 14 let file = std::fs::File::open("Cargo.toml").unwrap(); in test_dynamic_clocks() 15 clock_gettime_dynamic(DynamicClockId::Dynamic(file.as_fd())).unwrap_err(); in test_dynamic_clocks()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
| H A D | vktSpvAsmSignedIntCompareTests.cpp | 9 * you may not use this file except in compliance with the License. 21 * \file 60 std::string file = std::string(cases[i].basename) + ".amber"; in createSignedIntCompareTests() local 61 cts_amber::AmberTestCase *testCase = cts_amber::createAmberTestCase(testCtx, cases[i].basename, cases[i].description, data_dir, file); in createSignedIntCompareTests()
|
| H A D | vktSpvAsmSignedOpTests.cpp | 9 * you may not use this file except in compliance with the License. 21 * \file 75 std::string file = std::string(cases[i].basename) + ".amber"; in createSignedOpTests() local 76 cts_amber::AmberTestCase *testCase = cts_amber::createAmberTestCase(testCtx, cases[i].basename, cases[i].description, data_dir, file); in createSignedOpTests()
|
| /third_party/weex-loader/ |
| H A D | uglify-source.js | 4 * you may not use this file except in compliance with the License. 26 files.forEach(function(file) { 27 const filePath = path.join(inputPath, file);
|
| /base/security/selinux_adapter/scripts/ |
| H A D | build_policy_api.py | 7 you may not use this file except in compliance with the License. 111 Check whether the last line of te file is empty. 112 :param policy_file: te file 164 def deal_with_roletype(version, cil_write, elem_list, type_set, file, line): 166 print('Error: invalid roletype in %s:%d' % (file, line)) 177 def deal_with_typeattribute(version, cil_write, elem_list, type_set, file, line): 179 print('Error: invalid typeattribute in %s:%d' % (file, line)) 189 def deal_with_typeattributeset(version, cil_write, elem_list, type_set, file, line): 191 print('Error: invalid typeattributeset in %s:%d' % (file, line)) 201 def deal_with_policy(version, cil_write, elem_list, type_set, file, lin [all...] |
| /foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
| H A D | io_util.cpp | 4 * you may not use this file except in compliance with the License. 100 bool FileExists(CORE_NS::IFileManager& fileManager, BASE_NS::string_view folder, BASE_NS::string_view file) in FileExists() argument 105 if (entry.type == CORE_NS::IDirectory::Entry::FILE && entry.name == file) { in FileExists() 121 // The last "part" should be a file name, so terminate there. in CreateDirectories() 182 // First try copying as a file. in Copy() 272 auto file = fileManager.CreateFile(fileUri); in SaveTextFile() local 273 if (file) { in SaveTextFile() 274 file->Write(fileContents.data(), fileContents.length()); in SaveTextFile() 275 file->Close(); in SaveTextFile() 284 auto file in LoadTextFile() local [all...] |
| /foundation/filemanagement/dfs_service/test/unittests/cloud_disk/ |
| H A D | file_operations_helper_test.cpp | 4 * you may not use this file except in compliance with the License. 381 std::shared_ptr<CloudDiskFile> file = std::make_shared<CloudDiskFile>(); in HWTEST_F() local 382 data->fileCache.insert(std::make_pair(1, file)); in HWTEST_F() 711 std::shared_ptr<CloudDiskFile> file = nullptr; in HWTEST_F() local 714 fuseoperationshelper_->PutCloudDiskFile(data, file, key); in HWTEST_F() 735 std::shared_ptr<CloudDiskFile> file = make_shared<CloudDiskFile>(); in HWTEST_F() local 736 file->refCount.store(0); in HWTEST_F() 739 fuseoperationshelper_->PutCloudDiskFile(data, file, key); in HWTEST_F() 760 std::shared_ptr<CloudDiskFile> file = make_shared<CloudDiskFile>(); in HWTEST_F() local 761 file in HWTEST_F() [all...] |
| /third_party/curl/lib/ |
| H A D | formdata.c | 10 * This software is licensed as described in the file COPYING, which 16 * furnished to do so, under the terms of the COPYING file. 330 /* Get contents from a given file name */ in FormAdd() 351 /* We upload a file */ in FormAdd() 767 free(form->showfilename); /* free the faked file name */ in curl_formfree() 822 struct curl_httppost *file; in Curl_getformdata() local 838 /* If we have more than a file here, create a mime subpart and fill it. */ in Curl_getformdata() 856 for(file = post; !result && file; file in Curl_getformdata() [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| H A D | ICUBinary.java | 32 * Reads the ICU .dat package file format. 328 // The item path must use the ICU file separator character, in addDataFilesFromFolder() 334 for (File file : files) { in addDataFilesFromFolder() 335 String fileName = file.getName(); in addDataFilesFromFolder() 340 if (file.isDirectory()) { in addDataFilesFromFolder() 342 addDataFilesFromFolder(file, itemPath, dataFiles); in addDataFilesFromFolder() 344 ByteBuffer pkgBytes = mapFile(file); in addDataFilesFromFolder() 349 dataFiles.add(new SingleDataFile(itemPath.toString(), file)); in addDataFilesFromFolder() 416 * Loads an ICU binary data file and returns it as a ByteBuffer. 428 * Loads an ICU binary data file an [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| H A D | ICUBinary.java | 36 * Reads the ICU .dat package file format. 332 // The item path must use the ICU file separator character, in addDataFilesFromFolder() 338 for (File file : files) { in addDataFilesFromFolder() 339 String fileName = file.getName(); in addDataFilesFromFolder() 344 if (file.isDirectory()) { in addDataFilesFromFolder() 346 addDataFilesFromFolder(file, itemPath, dataFiles); in addDataFilesFromFolder() 348 ByteBuffer pkgBytes = mapFile(file); in addDataFilesFromFolder() 353 dataFiles.add(new SingleDataFile(itemPath.toString(), file)); in addDataFilesFromFolder() 421 * Loads an ICU binary data file and returns it as a ByteBuffer. 433 * Loads an ICU binary data file an [all...] |
| /third_party/mesa3d/src/nouveau/codegen/ |
| H A D | nv50_ir_target_nv50.cpp | 202 TargetNV50::getFileSize(DataFile file) const in getFileSize() 204 switch (file) { in getFileSize() 221 assert(!"invalid file"); in getFileSize() 228 TargetNV50::getFileUnit(DataFile file) const in getFileUnit() 230 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit() 232 if (file == FILE_SYSTEM_VALUE) in getFileUnit() 421 TargetNV50::isAccessSupported(DataFile file, DataType ty) const in isAccessSupported() argument 426 return (file == FILE_MEMORY_LOCAL) || (file in isAccessSupported() [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuildWatch/noEmitOnError/ |
| H A D | does-not-emit-any-files-on-error.js | 50 [[90m12:00:33 AM[0m] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist 59 [[90m12:00:35 AM[0m] Found 1 error. Watching for file changes. 98 //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents
104 [[90m12:00:40 AM[0m] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist 113 [[90m12:00:42 AM[0m] Found 1 error. Watching for file changes. 163 [[90m12:00:47 AM[0m] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist 167 [[90m12:01:06 AM[0m] Found 0 errors. Watching for file changes. 251 [[90m12:01:13 AM[0m] Found 1 error. Watching for file changes. 292 //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents
307 [[90m12:01:21 AM[0m] Found 1 error. Watching for file change [all...] |
| /third_party/protobuf/src/google/protobuf/compiler/java/ |
| H A D | java_file.cc | 188 FileGenerator::FileGenerator(const FileDescriptor* file, const Options& options, in FileGenerator() argument 190 : file_(file), in FileGenerator() 191 java_package_(FileJavaPackage(file, immutable_api)), in FileGenerator() 192 message_generators_(file->message_type_count()), in FileGenerator() 193 extension_generators_(file->extension_count()), in FileGenerator() 194 context_(new Context(file, options)), in FileGenerator() 198 classname_ = name_resolver_->GetFileClassName(file, immutable_api); in FileGenerator() 213 // Check that no class name matches the file's class name. This is a common in Validate() 221 ": Cannot generate Java output because the file's outer class name, " in Validate() 227 "option to specify a different outer class name for the .proto file in Validate() [all...] |
| /third_party/python/Lib/ |
| H A D | trace.py | 102 # Ignore a file when it contains one of the ignorable paths 129 # If the file 'path' is part of a package, then the filename isn't 172 # Try to merge existing counts file. 178 print(("Skipping counts file %r: %s" 179 % (self.infile, err)), file=sys.stderr) 182 """Return True if the filename does not refer to a file 240 # accessible on a per-file basis 295 print("Can't save counts files because %s" % err, file=sys.stderr) 298 """Return a coverage results file in path.""" 305 "- skipping" % (path, err)), file [all...] |
| /base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
| H A D | trace_utils.cpp | 4 * you may not use this file except in compliance with the License.
111 for (const auto &file : files) {
in DoClean() 112 if (IsMine(file)) {
in DoClean() 114 stat(file.c_str(), &fileInfo);
in DoClean() 118 fileLists.push_back(file);
in DoClean() 121 fileLists.push_back(file);
in DoClean() 131 for (const auto &file : myFiles.begin()->second) {
in DoClean() 132 FileUtil::RemoveFile(file);
in DoClean() 133 HIVIEW_LOGI("remove file : %{public}s is deleted.", file in DoClean() [all...] |
| /base/request/request/frameworks/js/napi/src/upload/ |
| H A D | js_util.cpp | 4 * you may not use this file except in compliance with the License.
260 bool JSUtil::Convert2FileL5(napi_env env, napi_value jsFile, Upload::File &file)
in Convert2FileL5() argument 262 if (!SetOptionalParam(env, jsFile, "filename", file.filename)) {
in Convert2FileL5() 265 if (!SetOptionalParam(env, jsFile, "name", file.name)) {
in Convert2FileL5() 268 if (!SetMandatoryParam(env, jsFile, "uri", file.uri)) {
in Convert2FileL5() 271 if (!SetOptionalParam(env, jsFile, "type", file.type)) {
in Convert2FileL5() 294 Upload::File file;
in Convert2FileVector() local 295 bool ret = Convert2FileL5(env, jsFile, file);
in Convert2FileVector() 299 files.push_back(file);
in Convert2FileVector()
|
| /base/request/request/services/src/manage/ |
| H A D | mod.rs | 3 // you may not use this file except in compliance with the License. 87 let file = File::create(file_path).unwrap(); in ut_manager_task_state_and_reason() 92 .file_spec(file) in ut_manager_task_state_and_reason() 192 let file = File::open(file_path).unwrap(); in ut_manager_task_state_and_reason() 193 assert_eq!(file.metadata().unwrap().len(), GITEE_FILE_LEN); in ut_manager_task_state_and_reason() 204 let file = File::create(file_path).unwrap(); in ut_manager_state_change_error() 209 .file_spec(file) in ut_manager_state_change_error() 292 let file = File::create(file_path).unwrap(); in ut_manager_reschedule() 297 .file_spec(file) in ut_manager_reschedule()
|
| /base/request/request/services/src/manage/events/ |
| H A D | mod.rs | 3 // you may not use this file except in compliance with the License. 257 let file = File::create(file_path).unwrap(); in ut_task_manager_construct() 261 .file_spec(file) in ut_task_manager_construct() 275 let file = File::create(file_path).unwrap(); in ut_task_manager_start() 280 .file_spec(file) in ut_task_manager_start() 300 let file = File::create(file_path).unwrap(); in ut_task_manager_pause_resume() 305 .file_spec(file) in ut_task_manager_pause_resume() 327 let file = File::create(file_path).unwrap(); in ut_task_manager_stop_resume() 332 .file_spec(file) in ut_task_manager_stop_resume()
|
| /base/update/sys_installer/services/module_update/util/src/ |
| H A D | module_utils.cpp | 4 * you may not use this file except in compliance with the License. 86 bool CheckFileSuffix(const std::string &file, const std::string &suffix) in CheckFileSuffix() argument 88 std::size_t pos = file.find_last_of('.'); in CheckFileSuffix() 90 LOG(ERROR) << "Invalid file name " << file; in CheckFileSuffix() 93 std::string fileSuffix = file.substr(pos); in CheckFileSuffix() 97 std::string GetFileName(const std::string &file) in GetFileName() argument 99 std::size_t startPos = file.find_last_of('/') + 1; in GetFileName() 100 std::size_t endPos = file.find_last_of('.'); in GetFileName() 101 return file in GetFileName() [all...] |
| /foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/ |
| H A D | ability_recovery.cpp | 4 * you may not use this file except in compliance with the License. 144 std::string file = GetSaveAppCachePath(savedStateId); in SerializeDataToFile() local 145 if (file.empty()) { in SerializeDataToFile() 146 TAG_LOGE(AAFwkTag::RECOVERY, "failed to persisted file path"); in SerializeDataToFile() 154 int fd = open(file.c_str(), O_RDWR | O_CREAT, (mode_t)0600); in SerializeDataToFile() 156 TAG_LOGE(AAFwkTag::RECOVERY, "failed to open %{public}s", file.c_str()); in SerializeDataToFile() 177 TAG_LOGD(AAFwkTag::RECOVERY, "file size: %{public}zu", sz); in SerializeDataToFile() 185 std::string file = GetSaveAppCachePath(savedStateId); in ReadSerializeDataFromFile() local 186 if (file.empty()) { in ReadSerializeDataFromFile() 187 TAG_LOGE(AAFwkTag::RECOVERY, "failed to persisted file pat in ReadSerializeDataFromFile() [all...] |
| /third_party/curl/src/ |
| H A D | tool_paramhlp.c | 10 * This software is licensed as described in the file COPYING, which 16 * furnished to do so, under the terms of the COPYING file. 68 ParameterError file2string(char **bufp, FILE *file) in file2string() argument 73 if(file) { in file2string() 76 while(fgets(buffer, sizeof(buffer), file)) { in file2string() 91 ParameterError file2memory(char **bufp, size_t *size, FILE *file) in file2memory() argument 93 if(file) { in file2memory() 101 nread = fread(buffer, 1, sizeof(buffer), file); in file2memory() 102 if(ferror(file)) { in file2memory() 111 } while(!feof(file)); in file2memory() [all...] |
| /third_party/backends/backend/ |
| H A D | kvs20xx.c | 224 s->file = h; in sane_open() 236 sanei_scsi_close (s->file); in sane_open() 243 sanei_usb_release_interface (s->file, 0); in sane_open() 244 sanei_usb_close (s->file); in sane_open() 255 s->file = h; in sane_open() 281 sanei_usb_release_interface (s->file, 0); in sane_close() 282 sanei_usb_close (s->file); in sane_close() 285 sanei_scsi_close (s->file); in sane_close()
|