Home
last modified time | relevance | path

Searched refs:path (Results 1 - 25 of 63) sorted by relevance

123

/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/
H A Dfcntl.h44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
49 return __open_chk(path, flags);
51 return __open_real(path, flags);
56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes)
60 return __open_real(path, flags, modes);
64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
69 return __openat_chk(dirfd, path, flags);
71 return __openat_real(dirfd, path, flags);
76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes)
80 return __openat_real(dirfd, path, flag
[all...]
H A Dunistd.h136 ssize_t readlink(const char* path, char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
145 return __readlink_chk(path, buf, size, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
148 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlink)(path, buf, size); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
152 ssize_t readlinkat(int dirfd, const char* path, char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
161 return __readlinkat_chk(dirfd, path, buf, size, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
164 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(readlinkat)(dirfd, path, buf, size); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
/interface/sdk_c/build-tools/capi_parser/test/testCase/
H A Drun_main.py21 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "../../src")))
27 test_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..\\"))
28 test_case_path = os.path.join(test_path, "ut\\check")
29 output_path = os.path.join(test_path, "output\\check")
30 expect_path = os.path
[all...]
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/
H A Dparser.py33 gn_files.append(os.path.join(root, file))
94 directory = os.path.dirname(gn_file_match)
95 for file in glob.glob(os.path.join(directory, "*.json")): # 统计.json文件
125 # os.path.normpath(path):规范或者是格式化路径,它会把所有路径分割符按照操作系统进行替换
127 if os.path.isabs(j_item): # 是否是绝对路径,是就拼接路径盘,不是就拼接gn目录路径
128 head = os.path.splitdrive(dire_path) # 获取windows盘路径
131 replace_path = os.path.normpath(os.path.join(change_path[0], 'interface_sdk_c'))
140 include_file = os.path
[all...]
/interface/sdk-js/build-tools/compare_sdk_files/src/coreImpl/
H A Dcompare_sdk_file.py32 with zipfile.ZipFile(os.path.join(folder_path, zip_file), 'r') as zip_ref:
33 zip_ref.extractall(path=folder_path)
69 diff_file_path = os.path.join(old_dir, target_file)
73 diff_file_path = os.path.join(new_dir, target_file)
77 if os.path.isdir(os.path.join(new_dir, target_file)):
78 do_diff(os.path.join(old_dir, target_file), os.path.join(new_dir, target_file), system_type)
81 target_path = extract_file_path(os.path.join(new_dir, target_file))
87 if os.path
[all...]
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/
H A Ddiff_file.py162 output_path_xlsx = os.path.abspath(os.path.join(output_path, r'syntax_file_error.xlsx'))
175 output_path_txt = os.path.abspath(os.path.join(output_path, diff_result_path))
222 output_path_xlsx = os.path.abspath(os.path.join(output_path, 'diff.xlsx'))
258 return os.path.splitext(file_name)[1]
262 norm_file_path = os.path.normpath(file_path)
283 diff_file_path = os.path.join(old_dir, target_file)
287 diff_file_path = os.path
[all...]
/interface/sdk-js/build-tools/api_check_plugin/
H A Dentry.js16 const path = require('path');
24 const mdFilesPath = path.resolve(sourceDirname, '../../../../', 'all_files.txt');
42 const { reqGitApi, getMdFiles } = require(path.resolve(__dirname, './src/api_check_plugin'));
43 const { ruleArr } = require(path.resolve(__dirname, './src/utils'));
47 const resultPath = path.resolve(__dirname, './newResult.json');
50 buffer = execSync(`cd interface/sdk-js/build-tools/dts_parser/package && node ./JS_API_CHECK.js -N checkOnline --path ${filePath} --checker ${ruleInfo} --prId ${prId} --output ${resultPath} --excel false`, {
53 if (fs.existsSync(path.resolve(__dirname, resultPath))) {
70 removeDir(path.resolve(__dirname, '../api_diff/node_modules'));
71 removeDir(path
[all...]
H A Dindex.js17 const path = require('path');
70 const localPermissionFile = path.resolve(__dirname, name);
84 const localPermissionFile = path.resolve(__dirname, name);
/interface/sdk_c/graphic/graphic_2d/native_drawing/
H A Ddrawing_path.h34 * @brief Declares functions related to the <b>path</b> object in the drawing module.
63 * @brief FillType of path.
73 /** Same as Winding, but draws outside of the path, rather than inside */
75 /** Same as EvenOdd, but draws outside of the path, rather than inside */
80 * @brief Add mode of path.
122 * @brief Enumerates the matrix information corresponding to the path measurements.
174 * @brief Sets the start point of a path.
186 * @brief Draws a line segment from the last point of a path to the target point.
198 * @brief Draws an arc to a path.
203 * By default, a line segment from the last point of the path t
[all...]
/interface/sdk-js/build-tools/dts_parser/
H A Dwebpack.config.js16 const path = require('path');
28 const bundlejsPath = path.resolve(__dirname, 'package', bundleName);
34 const libsPath = path.resolve(__dirname, 'libs');
35 const readme = path.resolve(__dirname, 'README_zh.md');
36 const outputName = path.resolve(__dirname, 'package', `${packageInfo.name}-${packageInfo.version}.zip`);
58 include: path.resolve(__dirname, 'src'),
69 loader: path.resolve(__dirname, 'loader/flavor.js'),
80 path: path
[all...]
/interface/sdk-js/build-tools/collect_application_api/
H A Dwebpack.config.js16 const path = require('path');
28 const bundlejsPath = path.resolve(__dirname, 'dist', 'build', bundleName);
34 const libsPath = path.resolve(__dirname, 'libs');
35 const readme = path.resolve(__dirname, 'reademe.md');
36 const outputName = path.resolve(__dirname, 'dist', `apiCollector-${packageJson.version}.zip`);
53 path: path.resolve(__dirname, 'dist', 'build'),
/interface/sdk-js/build-tools/collect_application_api/scripts/
H A Dcopylibs.js17 const path = require('path');
20 const targetLibPath = path.resolve(__dirname, '..', 'libs');
24 const esLibPath = path.resolve(__dirname, '../node_modules/typescript/lib');
28 const srcFilePath = path.resolve(esLibPath, file);
32 const targetFile = path.resolve(targetLibPath, file);
42 const targetFile = path.resolve(targetLibPath, excludeFile);
/interface/sdk-js/build-tools/dts_parser/scripts/
H A Dcopylibs.js17 const path = require('path');
20 const targetLibPath = path.resolve(__dirname, process.env.NODE_ENV === 'production' ? '../package' : '..', 'libs');
24 const esLibPath = path.resolve(__dirname, '../node_modules/typescript/lib');
28 const srcFilePath = path.resolve(esLibPath, file);
32 const targetFile = path.resolve(targetLibPath, file);
42 const targetFile = path.resolve(targetLibPath, excludeFile);
/interface/sdk-js/build-tools/jsdoc_format_plugin/
H A Dwebpack.config.js16 const path = require('path');
31 include: path.resolve(__dirname, 'src'),
45 loader: path.resolve(__dirname, 'loader/flavor.js'),
56 path: path.resolve(__dirname, './build'),
/interface/sdk-js/build-tools/api_check_plugin/test/
H A Dtest.js17 const path = require('path');
23 require(path.resolve(__dirname, '../src/utils'));
27 removeDir(path.resolve(__dirname, "../../api_diff/node_modules"));
28 removeDir(path.resolve(__dirname, "../node_modules"));
39 writeResultFile(result, path.resolve(__dirname, './Result.txt'), {});
/interface/sdk-js/build-tools/api_diff/src/
H A Dutil.js16 const path = require('path');
24 internalListFiles(path.resolve(dir, subdir),
25 (filePath) => path.basename(filePath).endsWith('.d.ts'), allFiles);
36 const filePath = path.join(dir, element);
47 const relative = path.relative(parentDir, subPath);
/interface/sdk-js/
H A Dremove_internal.py28 src = os.path.join(input_path, file)
29 dst = os.path.join(output_path, file)
30 if os.path.isdir(src) and (not file in remove_list):
32 elif os.path.isfile(src):
38 parser.add_option('--input', help='d.ts document input path')
39 parser.add_option('--output', help='d.ts document output path')
46 if not os.path.exists(options.output):
H A Dprocess_internal.py33 src = os.path.join(options.input, file)
34 if os.path.isfile(src) and (
50 src = os.path.join(options.input, file)
51 if os.path.isfile(src):
63 parser.add_option('--input', help='d.ts document input path')
64 parser.add_option('--remove', help='d.ts to be remove path')
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/check/
H A Dcheck.py17 import os.path namespace
104 out_path = os.path.dirname(output_path)
105 output_path_xlsx = os.path.abspath(os.path.join(out_path, 'check_result.xlsx'))
131 if 'interface_sdk_c' not in file_list[0].split(os.path.sep):
133 root_path = os.path.join(file_list[0].split('interface_sdk_c')[0], 'interface_sdk_c')
135 if not os.path.exists(os.path.abspath(os.path.join(root_path, 'third_party/musl'))):
H A Dcheck_name.py17 import os.path namespace
63 return CheckOutPut(os.path.abspath(os.path.join(api_info['gn_path'], api_info['location']['location_path'])),
129 file_name = os.path.basename(file_info['name'])
132 check_output = CheckOutPut(os.path.abspath(os.path.join(file_info['gn_path'], file_info['name'])), 0,
H A Dcheck_syntax.py25 if os.path.exists(r'.\sysroot'):
78 file_path_total.append(os.path.join(dir_path, file_name))
85 if os.path.isdir(file_path):
97 args = ['-I{}'.format(path) for path in link_path]
123 error_file_name = os.path.normpath(error_file_list[len(error_file_list) - 1])
/interface/sdk-js/build-tools/api_diff/
H A Dwebpack.config.js16 const path = require('path');
24 path: path.resolve(__dirname, 'dist', 'build'),
/interface/sdk_c/build-tools/capi_parser/src/bin/
H A Dwrite_md.py129 path_str = os.path.abspath(os.path.join(output_path, diff_str))
130 if not os.path.exists(path_str):
132 md_name = os.path.abspath(os.path.join(path_str, file_name))
/interface/sdk-js/build-tools/api_check_plugin/src/
H A Dutils.js16 const path = require('path');
25 path.resolve(__dirname, '../node_modules/typescript'),
26 path.resolve(__dirname, '../../node_modules/typescript')
82 dirs = dirs.map(dir => path.join(url, dir));
95 fs.writeFile(path.resolve(__dirname, outputPath), JSON.stringify(resultData, null, STANDARD_INDENT), option, err => {
310 const systemPermissionFile = path.resolve(__dirname, '../../../../../',
406 if (path.normalize(fileName).indexOf(path.normalize(whiteList[i])) !== -1) {
415 const packageJsonPath = path
[all...]
H A Dcheck_permission.js17 const path = require('path');
89 if (hasPermissionError && !permissionCheckWhitelist.has(path.basename(fileName))) {
92 } else if (hasPermissionError && permissionCheckWhitelist.has(path.basename(fileName))) {

Completed in 22 milliseconds

123