Home
last modified time | relevance | path

Searched refs:file (Results 4501 - 4525 of 8833) sorted by relevance

1...<<181182183184185186187188189190>>...354

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_parser.cpp4 * you may not use this file except in compliance with the License.
48 std::shared_ptr<HeifParser> file = std::make_shared<HeifParser>(stream); in MakeFromStream() local
53 heif_error errorBox = file->AssembleBoxes(reader); in MakeFromStream()
58 heif_error errorImage = file->AssembleImages(); in MakeFromStream()
63 *out = std::move(file); in MakeFromStream()
/foundation/multimodalinput/input/service/dfx/src/
H A Ddfx_hisysevent.cpp4 * you may not use this file except in compliance with the License.
64 std::ifstream file(realPath); in GetVendorInfo()
65 if (!file.is_open()) { in GetVendorInfo()
66 MMI_HILOGE("Unable to open file:%{public}s, error:%{public}d", nodePath.c_str(), errno); in GetVendorInfo()
70 file >> vendorInfo; in GetVendorInfo()
71 file.close(); in GetVendorInfo()
/foundation/communication/netmanager_base/utils/common_utils/src/
H A Dnetmanager_base_common_utils.cpp4 * you may not use this file except in compliance with the License.
650 std::ofstream file(filePath, std::ios::out | std::ios::trunc); in WriteFile()
651 if (!file.is_open()) { in WriteFile()
652 NETMGR_LOG_E("write file=%{public}s fstream failed. err %{public}d %{public}s", in WriteFile()
656 file << fileContent; in WriteFile()
657 file.close(); in WriteFile()
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/
H A Ddistributed_kv_store_ffi.cpp4 * you may not use this file except in compliance with the License.
221 int32_t FfiOHOSDistributedKVStoreSingleKVStoreBackup(int64_t id, const char* file) in FfiOHOSDistributedKVStoreSingleKVStoreBackup() argument
227 return instance->Backup(file); in FfiOHOSDistributedKVStoreSingleKVStoreBackup()
230 int32_t FfiOHOSDistributedKVStoreSingleKVStoreRestore(int64_t id, const char* file) in FfiOHOSDistributedKVStoreSingleKVStoreRestore() argument
236 return instance->Restore(file); in FfiOHOSDistributedKVStoreSingleKVStoreRestore()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/udmfclient_fuzzer/
H A Dudmf_client_fuzzer.cpp4 * you may not use this file except in compliance with the License.
29 #include "file.h"
488 File file; in GetSummaryFuzz() local
489 file.SetUri(svalue + "uri"); in GetSummaryFuzz()
490 file.SetRemoteUri(svalue + "remoteUri"); in GetSummaryFuzz()
491 std::shared_ptr<UnifiedRecord> record3 = std::make_shared<File>(file); in GetSummaryFuzz()
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_utils.cpp4 * you may not use this file except in compliance with the License.
371 auto file = static_cast<UDMF::File *>(record.get()); in File2PasteRecord() local
372 if (file == nullptr) { in File2PasteRecord()
373 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_CLIENT, "get file record failed."); in File2PasteRecord()
376 auto uriRecord = PasteDataRecord::NewUriRecord(OHOS::Uri(file->GetUri())); in File2PasteRecord()
377 uriRecord->SetDetails(file->GetDetails()); in File2PasteRecord()
385 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_CLIENT, "to file, record is null."); in PasteRecord2File()
390 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_CLIENT, "get uri from paste record to file failed."); in PasteRecord2File()
/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp4 * you may not use this file except in compliance with the License.
529 DHLOGE("The file path is invalid."); in SaveFile()
534 DHLOGE("open file failed"); in SaveFile()
557 CHECK_AND_RETURN_RET_LOG(dumpFile == nullptr, dumpFile, "Error opening dump file!"); in OpenDumpFileInner()
560 CHECK_AND_RETURN_RET_LOG(dumpFile == nullptr, dumpFile, "Error opening dump file!"); in OpenDumpFileInner()
573 CHECK_AND_RETURN_LOG(writeResult != bufferSize, "Failed to write the file."); in WriteDumpFile()
586 CHECK_AND_RETURN_LOG(*dumpFile == nullptr, "Invalid file para"); in ChangeDumpFileState()
600 void DumpFileUtil::OpenDumpFile(const std::string &para, const std::string &fileName, FILE **file) in OpenDumpFile() argument
602 if (*file != nullptr) { in OpenDumpFile()
603 DumpFileUtil::ChangeDumpFileState(para, file, fileNam in OpenDumpFile()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp4 * you may not use this file except in compliance with the License.
732 char file[PATH_LEN] = {0}; in WriteStringToFile() local
733 if (snprintf_s(file, PATH_LEN, PATH_LEN - 1, "/proc/%d/unexpected_die_catch", pid) == -1) { in WriteStringToFile()
736 int fd = open(file, O_RDWR); in WriteStringToFile()
741 WLOGFI("failed to write 0 for %s", file); in WriteStringToFile()
/test/xts/acts/multimedia/av_codec/audio_encoder/src/
H A Davcodec_audio_avbuffer_encoder_demo.cpp4 * you may not use this file except in compliance with the License.
202 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
210 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
215 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
219 DEMO_CHECK_AND_RETURN_RET_LOG(outputFile_.is_open(), false, "Fatal: open output file failed"); in InitFile()
227 DEMO_CHECK_AND_RETURN_RET_LOG(InitFile(inputFile, outputFile), false, "Fatal: InitFile file failed"); in RunCase()
279 std::ifstream file(filePath, std::ios::binary | std::ios::ate); in GetFileSize()
280 if (!file) { in GetFileSize()
281 std::cerr << "Failed to open file: " << filePath << std::endl; in GetFileSize()
285 std::streampos fileSize = file in GetFileSize()
[all...]
/third_party/ffmpeg/tests/fate/
H A Dmatroska.mak60 # The input file has a Block whose payload has a size of zero before reversing
125 # The input file of the following test contains Content Light Level as well as
139 # to anamorphic video. Given that the input file has lots of filler material,
156 # (the input file lacks ReferenceBlock elements making everything a keyframe).
/third_party/gn/src/gn/
H A Dohos_components_checker.cc3 // found in the LICENSE file.
242 *err = Err(target->defined_from(), "Header file range is too large.", in InterceptIncludesOverRange()
446 std::ofstream file; in GenerateScanList() local
447 file.open(build_dir_ + "/" + SCAN_RESULT_PATH + "/" + path, std::ios::app); in GenerateScanList()
448 file << subsystem << " " << component << " " << label << " " << deps << "\n"; in GenerateScanList()
449 file.close(); in GenerateScanList()
/third_party/libsnd/src/
H A Dms_adpcm.c52 appear in the actual WAVE file. They should be read in
67 ** For a mono file, the block is laid out as follows:
75 ** For a stereo file, the block is laid out as follows:
128 if (psf->file.mode == SFM_WRITE) in wavlike_msadpcm_init()
161 if (psf->file.mode == SFM_READ) in wavlike_msadpcm_init()
185 if (psf->file.mode == SFM_WRITE) in wavlike_msadpcm_init()
270 in case I ever find a file which decodes incorrectly. in msadpcm_decode_block()
578 { /* Stereo file. */ in msadpcm_encode_block()
789 if (psf->file.mode == SFM_WRITE) in msadpcm_close()
790 { /* Now we know static int for certain the length of the file w in msadpcm_close()
[all...]
/third_party/libabigail/tools/
H A Dabidw.cc8 /// @file
10 /// This program reads an elf file, try to load its debug info (in
181 << "usage: " << prog_name << " [options] [<path-to-elf-file>]\n" in display_usage()
187 << " --headers-dir|--hd <path> the path to headers of the elf file\n" in display_usage()
188 << " --header-file|--hf <path> the path one header of the elf file\n" in display_usage()
189 << " --out-file <file-path> write the output to 'file-path'\n" in display_usage()
191 << " --suppressions|--suppr <path> specify a suppression file\ in display_usage()
[all...]
/third_party/node/lib/internal/
H A Dchild_process.js379 validateString(options.file, 'options.file');
380 this.spawnfile = options.file;
400 // because we won't be able to set up the stdio file descriptors.
1117 result.error = errnoException(result.error, 'spawnSync ' + options.file);
1118 result.error.path = options.file;
/third_party/libinput/test/
H A Dlitest.h97 litest_fail_condition(const char *file,
104 litest_fail_comparison_int(const char *file,
113 litest_fail_comparison_double(const char *file,
122 litest_fail_comparison_ptr(const char *file,
/third_party/ltp/tools/sparse/sparse-src/
H A Dsemind.c98 " add Generate or updates semantic index file for c-source code;\n" in show_help()
103 " -D, --database=FILE Specify database file (default: %2$s);\n" in show_help()
109 " SINDEX_DATABASE Database file location.\n" in show_help()
169 " -e, --explain Show what happens in the specified file position;\n" in show_help_search()
170 " -l, --location Show usage of symbols from a specific file position;\n" in show_help_search()
540 " file INTEGER NOT NULL," in open_temp_database()
558 "CREATE TABLE file (" in open_database()
564 " file INTEGER NOT NULL REFERENCES file(id) ON DELETE CASCADE," in open_database()
572 "CREATE UNIQUE INDEX semind_0 ON semind (symbol, kind, mode, file, lin in open_database()
610 sqlite3_int64 file; global() member
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_batch.c24 * @file iris_batch.c
1031 _iris_batch_flush(struct iris_batch *batch, const char *file, int line) in _iris_batch_flush() argument
1045 const char *basefile = strstr(file, "iris/"); in _iris_batch_flush()
1047 file = basefile + 5; in _iris_batch_flush()
1051 file, line, iris_batch_name_to_string(batch->name), batch->ctx_id, in _iris_batch_flush()
/third_party/node/deps/openssl/openssl/util/
H A Dfind-doc-nits5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
115 # We collect them in a hash table with each file being a key, so we can attach
147 # 'header' - inclusive selector, adds any header file to the
199 # contains hash tables showing which POD file each of those man
631 'file name' => 'filename',
632 'file system' => 'filesystem',
681 next if $k eq 'file system'
827 # Map of links in each POD file; filename => [ "foo(1)", "bar(3)", ... ]
829 # Map of names in each POD file o
[all...]
/third_party/rust/crates/libc/src/windows/
H A Dmod.rs306 pub fn freopen(filename: *const c_char, mode: *const c_char, file: *mut FILE) -> *mut FILE; in freopen()
307 pub fn fflush(file: *mut FILE) -> c_int; in fflush()
308 pub fn fclose(file: *mut FILE) -> c_int; in fclose()
410 pub fn wutime(file: *const wchar_t, buf: *mut utimbuf) -> ::c_int; in wutime()
/third_party/openssl/test/
H A Dcmp_ctx_test.c7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at
124 static int msg_total_size_log_cb(const char *func, const char *file, int line, in msg_total_size_log_cb() argument
247 static int test_log_cb(const char *func, const char *file, int line, in test_log_cb() argument
255 (TEST_str_eq(file, OPENSSL_FILE) in test_log_cb()
256 || TEST_str_eq(file, "(no file)")) in test_log_cb()
/third_party/openssl/util/
H A Dfind-doc-nits5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
115 # We collect them in a hash table with each file being a key, so we can attach
147 # 'header' - inclusive selector, adds any header file to the
199 # contains hash tables showing which POD file each of those man
631 'file name' => 'filename',
632 'file system' => 'filesystem',
681 next if $k eq 'file system'
827 # Map of links in each POD file; filename => [ "foo(1)", "bar(3)", ... ]
829 # Map of names in each POD file o
[all...]
/third_party/python/Lib/lib2to3/tests/data/
H A Dpy2_test_grammar.py383 def tellme(file=sys.stdout):
384 print >> file, 'hello world'
389 def tellme(file=None):
390 print >> file, 'goodbye universe'
/third_party/python/Lib/test/
H A Dtest_asyncore.py377 with open(os_helper.TESTFN, 'wb') as file:
378 file.write(self.d)
405 with open(os_helper.TESTFN, 'rb') as file:
406 self.assertEqual(file.read(), self.d + d1 + d2)
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/
H A Dexports-with-incremental.js63 [12:00:56 AM] Found 0 errors. Watching for file changes.
386 [12:01:27 AM] Found 1 error. Watching for file changes.
449 //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents
450 //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents
451 //// [/user/username/projects/myproject/lib1/public.js] file written with same contents
452 //// [/user/username/projects/myproject/lib2/data2.js] file written with same contents
453 //// [/user/username/projects/myproject/lib2/data.js] file written with same contents
454 //// [/user/username/projects/myproject/lib2/public.js] file written with same contents
455 //// [/user/username/projects/myproject/app.js] file written with same contents
457 {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file"
[all...]
H A Dexports.js63 [12:00:54 AM] Found 0 errors. Watching for file changes.
257 [12:01:20 AM] Found 1 error. Watching for file changes.
320 //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents
321 //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents
322 //// [/user/username/projects/myproject/lib1/public.js] file written with same contents
323 //// [/user/username/projects/myproject/lib2/data2.js] file written with same contents
324 //// [/user/username/projects/myproject/lib2/data.js] file written with same contents
325 //// [/user/username/projects/myproject/lib2/public.js] file written with same contents
326 //// [/user/username/projects/myproject/app.js] file written with same contents
347 [12:01:31 AM] Found 1 error. Watching for file change
[all...]

Completed in 34 milliseconds

1...<<181182183184185186187188189190>>...354