| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/ |
| H A D | DirUtil.c | 73 char *cpath = (char *)malloc(pathLen + 2); in dirCreateHierarchy() local 74 if (cpath == NULL) { in dirCreateHierarchy() 78 memcpy(cpath, path, pathLen); in dirCreateHierarchy() 82 char *c = cpath + pathLen - 1; in dirCreateHierarchy() 83 while (c != cpath && *c != '/') { in dirCreateHierarchy() 86 if (c == cpath) { in dirCreateHierarchy() 91 free(cpath); in dirCreateHierarchy() 98 cpath[pathLen] = '/'; in dirCreateHierarchy() 99 cpath[pathLen + 1] = '\0'; in dirCreateHierarchy() 104 ds = getPathDirStatus(cpath); in dirCreateHierarchy() [all …]
|
| /OK3568_Linux_fs/external/recovery/minzip/ |
| H A D | DirUtil.c | 73 char *cpath = (char *)malloc(pathLen + 2); in dirCreateHierarchy() local 74 if (cpath == NULL) { in dirCreateHierarchy() 78 memcpy(cpath, path, pathLen); in dirCreateHierarchy() 82 char *c = cpath + pathLen - 1; in dirCreateHierarchy() 83 while (c != cpath && *c != '/') { in dirCreateHierarchy() 86 if (c == cpath) { in dirCreateHierarchy() 91 free(cpath); in dirCreateHierarchy() 98 cpath[pathLen] = '/'; in dirCreateHierarchy() 99 cpath[pathLen + 1] = '\0'; in dirCreateHierarchy() 104 ds = getPathDirStatus(cpath); in dirCreateHierarchy() [all …]
|
| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | send.c | 1114 struct rds_conn_path *cpath; in rds_sendmsg() local 1309 cpath = &conn->c_path[rds_send_mprds_hash(rs, conn, nonblock)]; in rds_sendmsg() 1311 cpath = &conn->c_path[0]; in rds_sendmsg() 1313 rm->m_conn_path = cpath; in rds_sendmsg() 1343 if (rds_conn_path_down(cpath)) in rds_sendmsg() 1351 while (!rds_send_queue_rm(rs, conn, cpath, rm, rs->rs_bound_port, in rds_sendmsg() 1361 rds_send_queue_rm(rs, conn, cpath, rm, in rds_sendmsg() 1382 ret = rds_send_xmit(cpath); in rds_sendmsg() 1386 if (rds_destroy_pending(cpath->cp_conn)) in rds_sendmsg() 1389 queue_delayed_work(rds_wq, &cpath->cp_send_w, 1); in rds_sendmsg()
|
| H A D | rds.h | 775 void rds_conn_shutdown(struct rds_conn_path *cpath); 778 void rds_conn_path_drop(struct rds_conn_path *cpath, bool destroy);
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/ |
| H A D | engine.py | 57 cpath = os.path.join(layer_path, wks_path) 58 if os.path.isdir(cpath): 59 canned_wks_layer_dirs.append(cpath) 61 cpath = os.path.join(path, CANNED_IMAGE_DIR) 62 canned_wks_layer_dirs.append(cpath)
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | package.bbclass | 258 cpath = oe.cachedpath.CachedPath() 280 if cpath.islink(parent): 289 if not cpath.islink(f): 290 if cpath.isdir(f): 602 if not cpath.exists(basepath): 605 cpath.updatecache(basepath) 822 if not cpath.isdir(localedir): 1079 if not (cpath.exists(origin) and cpath.isdir(origin) and not cpath.islink(origin)): 1102 if not (cpath.exists(origin) and cpath.isdir(origin)): 1192 for root, dirs, files in cpath.walk(dvar): [all …]
|
| /OK3568_Linux_fs/buildroot/package/patchelf/ |
| H A D | 0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch | 69 + char *cpath = realpath(path.c_str(), NULL); 70 + if (cpath) { 71 + canonicalPath = cpath; 72 + free(cpath);
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | flattree.c | 728 static char *nodename_from_path(const char *ppath, const char *cpath) in nodename_from_path() argument 734 if (!strneq(ppath, cpath, plen)) in nodename_from_path() 736 cpath, ppath); in nodename_from_path() 742 return xstrdup(cpath + plen); in nodename_from_path()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | probe-file.c | 418 char cpath[PATH_MAX]; in probe_cache__open() local 465 snprintf(cpath, PATH_MAX, "%s/probes", dir_name); in probe_cache__open() 466 fd = open(cpath, O_CREAT | O_RDWR, 0644); in probe_cache__open() 468 pr_debug("Failed to open cache(%d): %s\n", fd, cpath); in probe_cache__open()
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | flattree.c | 713 static char *nodename_from_path(const char *ppath, const char *cpath) in nodename_from_path() argument 719 if (!strstarts(cpath, ppath)) in nodename_from_path() 721 cpath, ppath); in nodename_from_path() 727 return xstrdup(cpath + plen); in nodename_from_path()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-gnome/classes/ |
| H A D | gnome-help.bbclass | 42 if not cpath.isdir(helpdir):
|