Home
last modified time | relevance | path

Searched refs:file (Results 2701 - 2725 of 8833) sorted by relevance

1...<<101102103104105106107108109110>>...354

/third_party/skia/infra/bots/assets/chromebook_arm_gles/
H A Dcreate.py6 # found in the LICENSE file.
28 'create_and_upload.py.' % key), file=sys.stderr)
63 print('This script only runs on Linux.', file=sys.stderr)
/third_party/skia/build/fuchsia/skqp/
H A Dappend_assets_to_manifest5 # found in the LICENSE file.
9 |root_dir| and appends every file as a Fuchsia package manifest entry to
61 for file in file_lines:
62 source = file
/third_party/spirv-tools/utils/
H A Dgenerate_changelog.py6 # you may not use this file except in compliance with the License.
17 # Args: <CHANGES-file> <tag> <output-file>
18 # Updates an output file with changelog from the given CHANGES file and tag.
19 # - search for first line matching <tag> in file <CHANGES-file>
21 # - writes all the lines in between those 2 tags into <output-file>
58 logging.error("usage: {} <CHANGES-path> <tag> <output-file>".format(sys.argv[0]))
67 with open(changes_path, "r") as file
[all...]
/vendor/ohemu/qemu_mini_system_demo/
H A Dqemu_run.sh5 #you may not use this file except in compliance with the License.
33 qemu_option+="-serial file:$test_file"
46 -e, --exec file_name kernel exec file name
52 By default, the kernel exec file is: ${elf_file}.
/third_party/ntfs-3g/ntfsprogs/
H A Dntfswipe.c22 * distribution in the file COPYING); if not, write to the Free Software
173 " -t --tails Wipe file tails\n" in usage()
857 * wipe_tails - Wipe the file tails in all its data attributes
862 * Disk space is allocated in clusters. If a file isn't an exact multiple of
1484 * Windows recreates the file at bootup, so it can be wiped without harm.
1572 * free_file - Release the resources used by a file object
1573 * \param file The unwanted file object
1575 * This will free up the memory used by a file object and iterate through the
1580 static void free_file (struct ufile *file) in free_file() argument
1716 struct ufile *file = NULL; destroy_record() local
[all...]
/third_party/mesa3d/src/intel/tools/
H A Di965_gram.y96 return brw_reg(reg->file,
316 if (reg->file == BRW_MESSAGE_REGISTER_FILE &&
701 if ($7.file != BRW_IMMEDIATE_VALUE) {
930 if (dest.file != ARF || dest.nr != BRW_ARF_NOTIFICATION_COUNT)
1689 $$ = brw_reg($1.file,
1726 $$ = brw_reg($3.file,
1755 $$ = brw_reg($3.file,
1796 $$.file = BRW_GENERAL_REGISTER_FILE;
1806 $$.file = BRW_GENERAL_REGISTER_FILE;
1815 $$.file
[all...]
/third_party/python/Lib/asyncio/
H A Dbase_events.py874 async def sock_sendfile(self, sock, file, offset=0, count=None,
879 self._check_sendfile_params(sock, file, offset, count)
881 return await self._sock_sendfile_native(sock, file,
886 return await self._sock_sendfile_fallback(sock, file,
889 async def _sock_sendfile_native(self, sock, file, offset, count):
894 f"and file {file!r} combination")
896 async def _sock_sendfile_fallback(self, sock, file, offset, count):
898 file.seek(offset)
912 read = await self.run_in_executor(None, file
[all...]
/third_party/skia/tests/
H A DCodecTest.cpp5 * found in the LICENSE file.
602 // The other strings should look like the beginning of a file type, so we'll call some in DEF_TEST()
628 // Create the codec from the resource file in test_dimensions()
758 // Write to a png file. in DEF_TEST()
854 // Now read the file with SkCodec. in DEF_TEST()
1340 for (auto file : files) { in DEF_TEST()
1341 auto stream = LimitedRewindingStream::Make(file, SkCodec::MinBufferedBytesNeeded()); in DEF_TEST()
1343 SkDebugf("Missing resources (%s). Set --resourcePath.\n", file); in DEF_TEST()
1349 ERRORF(r, "Failed to create codec for %s,", file); in DEF_TEST()
1359 ERRORF(r, "Is scanline decoding now implemented for %s?", file); in DEF_TEST()
1402 auto file = "images/plane_interlaced.png"; DEF_TEST() local
1684 const char* file = "invalid_images/ossfuzz6274.gif"; DEF_TEST() local
1744 const char* file = "images/b78329453.jpeg"; DEF_TEST() local
1780 const char* file = "images/mandrill_cmyk.jpg"; DEF_TEST() local
1799 const char* file = "images/crbug807324.png"; DEF_TEST() local
[all...]
/foundation/multimodalinput/input/service/window_manager/test/
H A Dinput_display_bind_helper_test.cpp4 * you may not use this file except in compliance with the License.
58 MMI_HILOGE("Open file fail.%s\n", fileName.c_str()); in WriteConfigFile()
81 std::ofstream file(INPUT_DEVICE_NAME_FILE); in InitInputNode()
82 if (!file.is_open()) { in InitInputNode()
86 file << INPUT_NODE_NAME; in InitInputNode()
87 file.close(); in InitInputNode()
102 std::ofstream file(INPUT_DEVICE_NAME_CONFIG); in InitConfigFile()
103 if (!file.is_open()) { in InitConfigFile()
107 file << DISPLAY_MAPPING; in InitConfigFile()
108 file in InitConfigFile()
[all...]
/third_party/curl/projects/
H A Dgenerate.bat11 rem * This software is licensed as described in the file COPYING, which
17 rem * furnished to do so, under the terms of the COPYING file.
38 rem Switch to this batch file's directory
204 rem %2 - Input template file
205 rem %3 - Output project file
282 rem Generates a single file xml element.
287 rem %4 - Output project file
354 rem Removes the given project file.
398 echo Error: This batch file cannot run from a network drive
403 echo Error: This batch file shoul
[all...]
/third_party/backends/japi/
H A DJscanimage.java3 This file is part of the SANE package.
28 the executable file might be covered by the GNU General Public
450 Menu file = new Menu("File"); in initMenu()
451 mbar.add(file); in initMenu()
454 file.add(exitMenuItem); in initMenu()
553 // Get file name. in actionPerformed()
563 System.out.println("Error creating file: " + fname); in actionPerformed()
574 File file; // For working with names. in actionPerformed()
583 file = new File(fname); in actionPerformed()
584 dlg.setFile(file in actionPerformed()
[all...]
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h543 const char* file, int line) { in AddTestSuiteInstantiation()
545 InstantiationInfo(instantiation_name, func, name_func, file, line)); in AddTestSuiteInstantiation()
565 const char* file = gen_it->file; variable
587 << "' is invalid, in " << file << " line " << line << std::endl;
591 << file << " line " << line << std::endl;
604 SuiteApiResolver<TestSuite>::GetSetUpCaseOrSuite(file, line),
605 SuiteApiResolver<TestSuite>::GetTearDownCaseOrSuite(file, line),
638 // Name generator function, Source file, Source line>
647 file(file_i in InstantiationInfo()
540 AddTestSuiteInstantiation(const std::string& instantiation_name, GeneratorCreationFunc* func, ParamNameGeneratorFunc* name_func, const char* file, int line) AddTestSuiteInstantiation() argument
653 const char* file; global() member
[all...]
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-param-util.h519 const char* file, int line) { in AddTestSuiteInstantiation()
521 InstantiationInfo(instantiation_name, func, name_func, file, line)); in AddTestSuiteInstantiation()
539 const char* file = gen_it->file; variable
559 << "' is invalid, in " << file
564 << "', in " << file << " line " << line << std::endl;
577 SuiteApiResolver<TestSuite>::GetSetUpCaseOrSuite(file, line),
578 SuiteApiResolver<TestSuite>::GetTearDownCaseOrSuite(file, line),
602 // Name generator function, Source file, Source line>
612 file(file_i in InstantiationInfo()
516 AddTestSuiteInstantiation(const std::string& instantiation_name, GeneratorCreationFunc* func, ParamNameGeneratorFunc* name_func, const char* file, int line) AddTestSuiteInstantiation() argument
618 const char* file; global() member
[all...]
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-param-util.h543 const char* file, int line) { in AddTestSuiteInstantiation()
545 InstantiationInfo(instantiation_name, func, name_func, file, line)); in AddTestSuiteInstantiation()
565 const char* file = gen_it->file; variable
589 << file << " line " << line << "" << std::endl;
593 << file << " line " << line << std::endl;
606 SuiteApiResolver<TestSuite>::GetSetUpCaseOrSuite(file, line),
607 SuiteApiResolver<TestSuite>::GetTearDownCaseOrSuite(file, line),
640 // Name generator function, Source file, Source line>
649 file(file_i in InstantiationInfo()
540 AddTestSuiteInstantiation(const std::string& instantiation_name, GeneratorCreationFunc* func, ParamNameGeneratorFunc* name_func, const char* file, int line) AddTestSuiteInstantiation() argument
655 const char* file; global() member
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_target_nvc0.cpp266 TargetNVC0::getFileSize(DataFile file) const
271 switch (file) {
289 assert(!"invalid file");
295 TargetNVC0::getFileUnit(DataFile file) const
297 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE ||
298 file == FILE_BARRIER || file == FILE_THREAD_STATE)
455 TargetNVC0::isAccessSupported(DataFile file, DataTyp argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_ctx.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
341 char *file = NULL; in ossl_cmp_log_trace_cb() local
349 msg = ossl_cmp_log_parse_metadata(buf, &level, &func, &file, &line); in ossl_cmp_log_trace_cb()
355 file != NULL ? file : "(no file)", in ossl_cmp_log_trace_cb()
361 OPENSSL_free(file); in ossl_cmp_log_trace_cb()
368 const char *func, const char *file, int line, in ossl_cmp_print_log()
388 if (file in ossl_cmp_print_log()
367 ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx, const char *func, const char *file, int line, const char *level_str, const char *format, ...) ossl_cmp_print_log() argument
[all...]
/third_party/openssl/crypto/cmp/
H A Dcmp_ctx.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
341 char *file = NULL; in ossl_cmp_log_trace_cb() local
349 msg = ossl_cmp_log_parse_metadata(buf, &level, &func, &file, &line); in ossl_cmp_log_trace_cb()
355 file != NULL ? file : "(no file)", in ossl_cmp_log_trace_cb()
361 OPENSSL_free(file); in ossl_cmp_log_trace_cb()
368 const char *func, const char *file, int line, in ossl_cmp_print_log()
388 if (file in ossl_cmp_print_log()
367 ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx, const char *func, const char *file, int line, const char *level_str, const char *format, ...) ossl_cmp_print_log() argument
[all...]
/build/tools/component_tools/static_check/bundle_check/
H A Dbundle_json_check.py5 # you may not use this file except in compliance with the License.
110 with os.fdopen(os.open(out_path, flags, modes), 'w') as file:
111 file.write(all_error_json)
168 with open(path, 'r') as file:
170 self.__json = json.load(file)
172 raise ValueError("'" + path + "'" + " is not a json file.")
173 with open(path, 'r') as file:
174 self.__lines = file.readlines()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/fm11nt081d/
H A Dfm11nt081d.c300 static hi_s32 nfc_open(struct inode *inode, struct file *filp) in nfc_open()
306 static hi_s32 nfc_release(struct inode *inode, struct file *filp) in nfc_release()
313 static long nfc_ioctl(struct file *filp, hi_u32 cmd, unsigned long arg) in nfc_ioctl()
315 static hi_s32 nfc_ioctl(struct inode *inode, struct file *filp, hi_u32 cmd, unsigned long arg) in nfc_ioctl()
349 static ssize_t nfc_read(struct file *filp, hi_char __user *buf, size_t size, loff_t *offset) in nfc_read()
362 static ssize_t nfc_write(struct file *filp, const hi_char *buf, size_t size, loff_t *offset) in nfc_write()
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dmtd_vendor_storage.c293 static int vendor_storage_open(struct inode *inode, struct file *file) in vendor_storage_open() argument
298 static int vendor_storage_release(struct inode *inode, struct file *file) in vendor_storage_release() argument
303 static long vendor_storage_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in vendor_storage_ioctl() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_trace_buffer.c613 struct file *file) in kbasep_csf_firmware_trace_debugfs_open()
617 file->private_data = kbdev; in kbasep_csf_firmware_trace_debugfs_open()
618 dev_dbg(kbdev->dev, "Opened firmware trace buffer dump debugfs file"); in kbasep_csf_firmware_trace_debugfs_open()
623 static ssize_t kbasep_csf_firmware_trace_debugfs_read(struct file *file, in kbasep_csf_firmware_trace_debugfs_read() argument
626 struct kbase_device *kbdev = file->private_data; in kbasep_csf_firmware_trace_debugfs_read()
612 kbasep_csf_firmware_trace_debugfs_open(struct inode *in, struct file *file) kbasep_csf_firmware_trace_debugfs_open() argument
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_manager.cpp4 * you may not use this file except in compliance with the License.
229 std::unique_ptr<FILE, decltype(&std::fclose)> file(std::fopen(realPath, "rb"), std::fclose); in GetTemplatePathFromJsonFile()
230 if (!file) { in GetTemplatePathFromJsonFile()
231 TAG_LOGW(AceLogTag::ACE_PLUGIN_COMPONENT, "Open file failed, filePath: %{private}s, fail reason: %{public}s", in GetTemplatePathFromJsonFile()
235 if (std::fseek(file.get(), 0, SEEK_END) != 0) { in GetTemplatePathFromJsonFile()
239 int64_t size = std::ftell(file.get()); in GetTemplatePathFromJsonFile()
247 rewind(file.get()); in GetTemplatePathFromJsonFile()
249 size_t result = std::fread(jsonStream.get(), 1, size, file.get()); in GetTemplatePathFromJsonFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dzip_file.cpp4 * you may not use this file except in compliance with the License.
87 APP_LOGE("parse EOCD file length(%{public}llu) <= end dir length(%{public}llu)", fileStartPos_, fileLength_); in ParseEndDirectory()
103 APP_LOGD("parse EOCD offset(0x%{public}08x) file start position(0x%{public}08llx)", endDir_.offset, fileStartPos_); in ParseEndDirectory()
142 APP_LOGE("parse entry(%{public}d) read file name failed, error: %{public}d", i, errno); in ParseAllEntries()
185 APP_LOGE("open file(%{private}s) failed, error: %{public}d", pathName_.c_str(), errno); in Open()
191 APP_LOGE("file seek failed, error: %{public}d", errno); in Open()
197 APP_LOGE("open file %{private}s failed", pathName_.c_str()); in Open()
216 // it means open file success. in Open()
226 APP_LOGW("file is not opened"); in Close()
240 // Get all file zipEntr
561 GetDataOffsetRelative(const std::string &file, ZipPos &offset, uint32_t &length) const GetDataOffsetRelative() argument
582 ExtractFile(const std::string &file, std::ostream &dest) const ExtractFile() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dacl.cpp4 * you may not use this file except in compliance with the License.
214 Acl AclFromMode(const std::string &file) in AclFromMode() argument
219 if (stat(file.c_str(), &st) == -1) { in AclFromMode()
303 MEDIA_ERR_LOG("getting file: %{private}s stat fail, error: %s", fileName.c_str(), strerror(errno)); in RecursiveEnableAcl()
373 MEDIA_ERR_LOG("Failed to set the acl permission for the DB file"); in AclSetSlaveDatabase()
378 MEDIA_ERR_LOG("Failed to set the acl permission for the DB file"); in AclSetSlaveDatabase()
383 MEDIA_ERR_LOG("Failed to set the acl permission for the DB file"); in AclSetSlaveDatabase()
390 Acl AclFromFile(const std::string& file) in AclFromFile() argument
394 ssize_t len = getxattr(file.c_str(), ACL_XATTR_ACCESS, buf, BUF_SIZE); in AclFromFile()
399 MEDIA_INFO_LOG("Failed to get ACL_XATTR_ACCESS from file in AclFromFile()
[all...]
/foundation/window/window_manager/snapshot/test/unittest/
H A Dsnapshot_utils_test.cpp4 * you may not use this file except in compliance with the License.
68 * @tc.desc: Check if default jpeg is valid file names
78 * @tc.desc: Check custom jpeg is valid file names
89 * @tc.desc: Check random path is invalid file names
146 FILE *file = fopen(defaultFile_.c_str(), "wb"); in HWTEST_F() local
147 if (file == nullptr) { in HWTEST_F()
150 ASSERT_FALSE(SnapShotUtils::WriteRgb888ToJpeg(file, 100, 100, data)); in HWTEST_F()
151 fclose(file); in HWTEST_F()
156 * @tc.desc: write rgb888 to jpeg using invalid file
162 FILE *file in HWTEST_F() local
[all...]

Completed in 27 milliseconds

1...<<101102103104105106107108109110>>...354