/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/ |
H A D | sample_ive_sobel_with_cached_mem.c | 70 HI_CHAR path[PATH_MAX] = {0};
in SAMPLE_IVE_Sobel_Init() local 107 SAMPLE_CHECK_EXPR_GOTO(realpath(file, path) == NULL, SOBEL_INIT_FAIL, "invalid path!\n");
in SAMPLE_IVE_Sobel_Init() 108 s32Ret = strcat_s(path, PATH_MAX, "/sobelh1.dat");
in SAMPLE_IVE_Sobel_Init() 111 pstSobel->pFpDstH1 = fopen(path, "wb");
in SAMPLE_IVE_Sobel_Init() 112 SAMPLE_CHECK_EXPR_GOTO(pstSobel->pFpDstH1 == HI_NULL, SOBEL_INIT_FAIL, "Error,Open file %s failed!\n", path);
in SAMPLE_IVE_Sobel_Init() 114 SAMPLE_CHECK_EXPR_GOTO(realpath(file, path) == NULL, SOBEL_INIT_FAIL, "invalid path!\n");
in SAMPLE_IVE_Sobel_Init() 115 s32Ret = strcat_s(path, PATH_MAX, "/sobelh2.dat");
in SAMPLE_IVE_Sobel_Init() 118 pstSobel->pFpDstH2 = fopen(path, "w in SAMPLE_IVE_Sobel_Init() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | dashing.cpp | 113 void make_path_line(OH_Drawing_Path *path, DrawRect rect) in make_path_line() argument 115 OH_Drawing_PathMoveTo(path, rect.left, rect.top); in make_path_line() 116 OH_Drawing_PathLineTo(path, rect.right, rect.bottom); in make_path_line() 119 void make_path_rect(OH_Drawing_Path *path, DrawRect rect) in make_path_rect() argument 121 OH_Drawing_PathAddRect(path, rect.left, rect.top, rect.right, rect.bottom, in make_path_rect() 125 void make_path_oval(OH_Drawing_Path *path, DrawRect rect) in make_path_oval() argument 127 OH_Drawing_PathAddOvalWithInitialPoint(path, OH_Drawing_RectCreate(rect.left, rect.top, rect.right, rect.bottom), in make_path_oval() 132 void make_path_star(OH_Drawing_Path *path, DrawRect rect) in make_path_star() argument 139 OH_Drawing_PathMoveTo(path, 0, -1.0); in make_path_star() 143 OH_Drawing_PathLineTo(path, co in make_path_star() 200 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OnTestFunction() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_network.cpp | 117 void Network::SendPath(const std::string& path, PackageID id) in SendPath() argument 119 if (!path.empty()) { in SendPath() 122 out += path; in SendPath() 127 void Network::SendRdcPath(const std::string& path) in SendRdcPath() argument 129 SendPath(path, PackageID::RS_PROFILER_RDC_BINARY); in SendRdcPath() 132 void Network::SendDclPath(const std::string& path) in SendDclPath() argument 134 SendPath(path, PackageID::RS_PROFILER_DCL_BINARY); in SendDclPath() 137 void Network::SendMskpPath(const std::string& path) in SendMskpPath() argument 139 SendPath(path, PackageID::RS_PROFILER_MSKP_FILEPATH); in SendMskpPath() 142 void Network::SendBetaRecordPath(const std::string& path) in SendBetaRecordPath() argument 306 std::string path; ProcessBinary() local 307 stream >> path; ProcessBinary() local [all...] |
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 165 bool StoreUtil::InitPath(const std::string &path) in InitPath() argument 167 if (access(path.c_str(), F_OK) == 0) { in InitPath() 172 if (mkdir(path.c_str()) != 0 && errno != EEXIST) { in InitPath() 173 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 177 if (mkdir(path.c_str(), MODE) != 0 && errno != EEXIST) { in InitPath() 178 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 190 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile() 197 std::vector<std::string> StoreUtil::GetSubPath(const std::string &path) in GetSubPath() argument 213 GetFiles(const std::string &path) GetFiles() argument 261 Remove(const std::string &path) Remove() argument [all...] |
/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_report_entity.cpp | 43 const string INFO_PATH = "path"; 68 vector<string> &residue, string &path) in ParseSplitsItem() 73 path += splits[i] + ";"; in ParseSplitsItem() 85 // 处理path路径 in ParseReportInfo() 86 string path; in ParseReportInfo() local 89 // 识别path字段与其他字段 in ParseReportInfo() 90 ParseSplitsItem(splits, keys, residue, path); in ParseReportInfo() 98 path = (path.length() > 0 && path[ in ParseReportInfo() 67 ParseSplitsItem(const vector<string> &splits, const unordered_map<string, int> &keys, vector<string> &residue, string &path) ParseSplitsItem() argument 253 CheckAndUpdateIfReportLineEncoded(std::string &path) CheckAndUpdateIfReportLineEncoded() argument [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | list_file.cpp | 132 string stPath = (g_optionArgs.path + '/' + string(filename.d_name)); in FilterFilesizeOver() 150 string stPath = g_optionArgs.path + '/' + string(filename.d_name); in FilterLastModifyTime() 210 static int FilterFileRes(const string &path, vector<string> &dirents) in FilterFileRes() argument 217 int num = scandir(path.c_str(), &(pNameList->namelist), FilterFunc, nullptr); in FilterFileRes() 230 static int RecursiveFunc(const string &path, vector<string> &dirents) in RecursiveFunc() argument 237 int num = scandir(path.c_str(), &(pNameList->namelist), FilterFunc, nullptr); in RecursiveFunc() 245 dirents.emplace_back(path + '/' + pNameList->namelist[i]->d_name); in RecursiveFunc() 247 string pathTemp = g_optionArgs.path; in RecursiveFunc() 248 g_optionArgs.path += '/' + string((*(pNameList->namelist[i])).d_name); in RecursiveFunc() 249 int ret = RecursiveFunc(g_optionArgs.path, dirent in RecursiveFunc() 295 ListFile(const string& path, CListFileOptions options) ListFile() argument [all...] |
/third_party/node/src/api/ |
H A D | exceptions.cc | 27 const char* path) { in ErrnoException() 43 if (path != nullptr) { in ErrnoException() 44 // FIXME(bnoordhuis) It's questionable to interpret the file path as UTF-8. in ErrnoException() 45 path_string = String::NewFromUtf8(isolate, path).ToLocalChecked(); in ErrnoException() 75 static Local<String> StringFromPath(Isolate* isolate, const char* path) { in StringFromPath() argument 77 if (strncmp(path, "\\\\?\\UNC\\", 8) == 0) { in StringFromPath() 81 String::NewFromUtf8(isolate, path + 8).ToLocalChecked()); in StringFromPath() 82 } else if (strncmp(path, "\\\\?\\", 4) == 0) { in StringFromPath() 83 return String::NewFromUtf8(isolate, path + 4).ToLocalChecked(); in StringFromPath() 87 return String::NewFromUtf8(isolate, path) in StringFromPath() 23 ErrnoException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path) ErrnoException() argument 91 UVException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path, const char* dest) UVException() argument 187 WinapiErrnoException(Isolate* isolate, int errorno, const char* syscall, const char* msg, const char* path) WinapiErrnoException() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | linux-inotify.c | 40 char* path; member 116 /* It's critical to keep a copy of path here, because it in uv__inotify_fork() 120 tmp_path = uv__strdup(handle->path); in uv__inotify_fork() 127 handle->path = tmp_path; in uv__inotify_fork() 138 tmp_path = handle->path; in uv__inotify_fork() 139 handle->path = NULL; in uv__inotify_fork() 160 /* No watchers left for this path. Clean up. */ in maybe_free_watcher_list() 175 const char* path; in uv__inotify_read() local 178 /* needs to be large enough for sizeof(inotify_event) + strlen(path) */ in uv__inotify_read() 211 path in uv__inotify_read() 249 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, unsigned int flags) uv_fs_event_start() argument [all...] |
/third_party/skia/gm/ |
H A D | quadpaths.cpp | 37 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() argument 41 path.setFillType(fill); in drawPath() 50 canvas->drawPath(path, paint); in drawPath() 88 PathAndName path; variable 89 path.fPath.moveTo(25*SK_Scalar1, 10*SK_Scalar1); 90 path.fPath.quadTo(50*SK_Scalar1, 20*SK_Scalar1, 92 path.fName = "moveTo-quad"; 123 this->drawPath(path.fPath, canvas, color, rect, 167 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() argument 171 path in drawPath() 218 PathAndName path; global() variable [all...] |
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | api.py | 79 self._skia_dir = self.m.path['start_dir'].join('skia') 96 def create_clean_host_dir(self, path): 97 return self._f.create_clean_host_dir(path) 99 def create_clean_device_dir(self, path): 100 return self._f.create_clean_device_dir(path) 102 def read_file_on_device(self, path, **kwargs): 103 return self._f.read_file_on_device(path, **kwargs) 105 def remove_file_on_device(self, path): 106 return self._f.remove_file_on_device(path) 117 self.m.path['start_di [all...] |
/third_party/skia/bench/ |
H A D | HairlinePathBench.cpp | 60 SkPath path; variable 61 this->makePath(&path); 64 path.transform(m); 69 canvas->drawPath(path, paint); 88 void makePath(SkPath* path) override { 101 path->moveTo(SkIntToScalar(points[base1] + xTrans), 103 path->lineTo(SkIntToScalar(points[base2] + xTrans), 105 path->lineTo(SkIntToScalar(points[base3] + xTrans), 120 void makePath(SkPath* path) override { 133 path [all...] |
/third_party/selinux/libselinux/include/selinux/ |
H A D | selinux.h | 110 extern int getfilecon(const char *path, char ** con); 111 extern int getfilecon_raw(const char *path, char ** con); 112 extern int lgetfilecon(const char *path, char ** con); 113 extern int lgetfilecon_raw(const char *path, char ** con); 118 extern int setfilecon(const char *path, const char * con); 119 extern int setfilecon_raw(const char *path, const char * con); 120 extern int lsetfilecon(const char *path, const char * con); 121 extern int lsetfilecon_raw(const char *path, const char * con); 339 extern int security_load_booleans(char *path) 452 may include the 'path' an [all...] |
/third_party/node/src/ |
H A D | node_file.cc | 87 // Remove everything leading up to and including the final path separator. in Basename() 737 // missing in the error messages. The path, dest, syscall, fd, .etc 749 req->path, in Reject() 822 // Reverse the logic applied by path.toNamespacedPath() to create a 823 // namespace-prefixed path. 824 void FromNamespacedPath(std::string* path) { in FromNamespacedPath() argument 826 if (path->compare(0, 8, "\\\\?\\UNC\\", 8) == 0) { in FromNamespacedPath() 827 *path = path->substr(8); in FromNamespacedPath() 828 path in FromNamespacedPath() 845 Local<Value> path; AfterMkdirp() local 1524 MKDirpSync(uv_loop_t* loop, uv_fs_t* req, const std::string& path, int mode, uv_fs_cb cb) MKDirpSync() argument 1592 MKDirpAsync(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) MKDirpAsync() argument 1687 CallMKDirpSync(Environment* env, const FunctionCallbackInfo<Value>& args, FSReqWrapSync* req_wrap, const char* path, int mode) CallMKDirpSync() argument 1739 MaybeLocal<Value> path = StringBytes::Encode(env->isolate(), MKDir() local 2597 const char* path = req_wrap_sync.req.path; Mkdtemp() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_painter.cpp | 24 RSRecordingPath path; in DrawPath() local 25 bool ret = path.BuildFromSVGString(commands); in DrawPath() 32 canvas.DrawPath(path); in DrawPath() 36 canvas.DrawPath(path); in DrawPath() 45 // The path will be stroked once 'drawPath' has been called even if the strokeWidth is zero. in SetPen() 134 RSRecordingPath path; in DrawPath() local 135 if (!path.BuildFromSVGString(commands)) { in DrawPath() 136 LOGE("Invalid path value."); in DrawPath() 140 path.Offset(offset.GetX(), offset.GetY()); in DrawPath() 141 canvas.DrawPath(path); in DrawPath() 146 RSRecordingPath path; GetPathSize() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
H A D | SerializableChecker.java | 43 private String path = null; field in SerializableChecker 47 public SerializableChecker(String path) in SerializableChecker() argument 49 this.path = path; in SerializableChecker() 51 if (path != null) { in SerializableChecker() 52 File dir = new File(path); in SerializableChecker() 72 File file = new File(path + File.separator + className + ".dat"); in writeFile() 134 if (path != null) { in visit() 179 String path = null; in main() 186 path in main() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableChecker.java | 40 private String path = null; field in SerializableChecker 44 public SerializableChecker(String path) in SerializableChecker() argument 46 this.path = path; in SerializableChecker() 48 if (path != null) { in SerializableChecker() 49 File dir = new File(path); in SerializableChecker() 69 File file = new File(path + File.separator + className + ".dat"); in writeFile() 131 if (path != null) { in visit() 176 String path = null; in main() 183 path in main() [all...] |
/third_party/lzma/CPP/Common/ |
H A D | Wildcard.h | 15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
16 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name);
17 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir delimiter at the end of (path)
19 UString ExtractDirPrefixFromPath(const UString &path);
20 UString ExtractFileNameFromPath(const UString &path);
22 bool DoesNameContainWildcard(const UString &path);
113 int FindSubNode(const UString &path) const;
116 // void AddItem(bool include, const UString &path, const CCensorPathProps &props);
135 CheckPathVect() doesn't check path i 211 AddPreItem_NoWildcard(const UString &path) AddPreItem_NoWildcard() argument [all...] |
/third_party/mesa3d/src/hgl/ |
H A D | GLRendererRoster.cpp | 122 BPath path; in AddDefaultPaths() local 123 status_t status = find_directory(paths[i], &path, true); in AddDefaultPaths() 124 if (status == B_OK && path.Append("opengl") == B_OK) in AddDefaultPaths() 125 AddPath(path.Path()); in AddDefaultPaths() 131 GLRendererRoster::AddPath(const char* path) in AddPath() argument 133 BDirectory directory(path); in AddPath() 206 BPath path(&ref); in CreateRenderer() 207 printf("OpenGL load add-on: %s\n", path.Path()); in CreateRenderer() 209 image_id image = load_add_on(path.Path()); in CreateRenderer() 225 printf("OpenGL add-on registered: %s\n", path in CreateRenderer() [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | script_mutator.js | 12 const path = require('path'); 54 this.mutateDb = new db.MutateDb(db_path || path.join(process.cwd(), 'db')); 79 while (path.dirname(mjsunitPath) != mjsunitPath && 80 path.basename(mjsunitPath) != 'mjsunit') { 81 mjsunitPath = path.dirname(mjsunitPath); 84 if (path.basename(mjsunitPath) == 'mjsunit') { 85 mjsunitPath = path.join(mjsunitPath, 'mjsunit.js'); 97 let currentDir = path.dirname(input.absPath); 99 while (path [all...] |
/third_party/node/test/parallel/ |
H A D | test-runner-coverage.js | 19 return readdirSync(tmpdir.path).find((file) => { 73 const fixture = fixtures.path('test-runner', 'coverage.js'); 86 const fixture = fixtures.path('test-runner', 'coverage.js'); 88 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } }; 99 const fixture = fixtures.path('test-runner', 'coverage.js'); 113 const fixture = fixtures.path('test-runner', 'coverage.js'); 115 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } }; 126 const fixture = fixtures.path('test-runner', 'coverage.js'); 139 const fixture = fixtures.path('test-runner', 'coverage.js'); 172 const fixture = fixtures.path('v [all...] |
/third_party/node/deps/v8/tools/ |
H A D | run-wasm-api-tests.py | 35 CHECKOUT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 36 WASM_PATH = os.path.join(CHECKOUT_PATH, "third_party", "wasm-api") 37 CLANG_PATH = os.path.join(CHECKOUT_PATH, "third_party", "llvm-build", 46 "c": os.path.join(CLANG_PATH, "clang"), 47 "cc": os.path.join(CLANG_PATH, "clang++"), 80 self.src_file_basename = os.path.join(WASM_PATH, "example", name) 81 self.dst_file_basename = os.path.join(tempdir, name) 82 self.lib_file = os.path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | process-release.js | 7 const path = require('path') 112 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl32).path)) 116 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl64).path)) 120 libPath: normalizePath(path.relative(url.parse(baseUrl).path, ur [all...] |
/third_party/python/Tools/freeze/ |
H A D | checkextensions_win32.py | 60 defaultMapName = os.path.join( os.path.split(sys.argv[0])[0], "extensions_win32.ini") 61 if not os.path.isfile(defaultMapName): 91 # If the path to the .DSP file is not absolute, assume it is relative 93 if not os.path.isabs(dsp): 94 dsp = os.path.join( os.path.split(mapFileName)[0], dsp) 101 # Put the path to the DSP into the environment so entries can reference it. 102 os.environ['dsp_path'] = os.path.split(dsp)[0] 103 os.environ['ini_path'] = os.path [all...] |
/third_party/skia/third_party/externals/tint/tools/src/glob/ |
H A D | glob.go | 24 "path/filepath" 34 err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { 35 rel, err := filepath.Rel(root, path) 37 rel = path 44 if !cfg.shouldExamine(root, path) { 66 // "excludes" key to an array of path patterns. 67 // Each path pattern is considered in turn to either include or exclude the 68 // file path for license scanning. Pattern use forward-slashes '/' for 90 // LoadConfig loads a config file at path. 91 func LoadConfig(path strin [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeGuardOfFormThisMember.js | 16 constructor(public path: string) {} 20 constructor(path: string, public content: string) { super(path); } 105 function FileSystemObject(path) {
106 this.path = path;
130 function File(path, content) {
131 var _this = _super.call(this, path) || this;
181 path: string;
187 constructor(path [all...] |