Searched refs:new_path (Results 1 - 22 of 22) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dremove_file.c55 char *new_path; local
57 new_path = concat_subpath_file(path, d->d_name);
58 if (new_path == NULL)
60 if (remove_file(new_path, flags) < 0)
62 free(new_path);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/registry/
H A Dreg_util.c30 by setting base and new_path to the apprapriate offsets withing the
36 BOOL reg_split_path( char *path, char **base, char **new_path )
40 *new_path = *base = NULL;
51 *new_path = p+1;
60 by setting base and new_path to the appropriate offsets withing the
106 static pstring new_path; local
112 pstrcpy( new_path, key );
113 /* normalize_reg_path( new_path ); */
115 if ( !(p = strchr( new_path, '\\' )) )
117 if ( !(p = strchr( new_path, '/' )) )
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/util/
H A Dexec_cmd.c104 struct strbuf new_path = STRBUF_INIT; local
106 add_path(&new_path, perf_exec_path());
107 add_path(&new_path, argv0_path);
110 strbuf_addstr(&new_path, old_path);
112 strbuf_addstr(&new_path, "/usr/local/bin:/usr/bin:/bin");
114 setenv("PATH", new_path.buf, 1);
116 strbuf_release(&new_path);
H A Dprobe-event.c208 char **new_path)
218 *new_path = strdup(raw_path);
225 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2));
226 if (!*new_path)
230 sprintf(*new_path, "%s/%s", prefix, raw_path);
232 if (access(*new_path, R_OK) == 0)
246 free(*new_path);
247 *new_path = NULL;
253 free(*new_path);
254 *new_path
207 get_real_path(const char *raw_path, const char *comp_dir, char **new_path) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/
H A Dmain.c85 char *new_path = NULL; local
102 new_path = malloc(path_len);
103 if (!new_path) {
107 snprintf(new_path, path_len, "PATH=%s" UML_LIB_PATH, old_path);
108 if (putenv(new_path)) {
110 free(new_path);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dioctl.c121 const char *old_path, *new_path; local
173 new_path = (const char *)(unsigned long)args.new_path;
176 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve);
211 compat_ptr(args.new_path), preserve);
H A Docfs2_ioctl.h74 __u64 new_path; member in struct:reflink_arguments
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/
H A Dbuiltin-help.c322 struct strbuf new_path = STRBUF_INIT; local
329 strbuf_addstr(&new_path, system_path(PERF_MAN_PATH));
330 strbuf_addch(&new_path, ':');
332 strbuf_addstr(&new_path, old_path);
334 setenv("MANPATH", new_path.buf, 1);
336 strbuf_release(&new_path);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dcookie.c230 char *new_path = strdup(cookie_path); local
231 if(!new_path)
235 if(new_path[0] == '\"') {
236 memmove((void *)new_path, (const void *)(new_path + 1), strlen(new_path));
238 if(new_path[strlen(new_path) - 1] == '\"') {
239 new_path[strlen(new_path)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dadt_tree.c28 static BOOL trim_tree_keypath( char *path, char **base, char **new_path )
32 *new_path = *base = NULL;
43 *new_path = p+1;
385 DEBUG(11,("pathtree_find: [loop] base => [%s], new_path => [%s]\n",
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/src/
H A Dntfs-3g.c1030 static int ntfs_fuse_link(const char *old_path, const char *new_path) argument
1040 if (ntfs_fuse_is_named_data_stream(new_path))
1042 path = strdup(new_path);
1175 const char *new_path,
1182 ret = ntfs_fuse_link(new_path, tmp);
1186 ret = ntfs_fuse_unlink(new_path);
1189 ret = ntfs_fuse_link(old_path, new_path);
1195 if (ntfs_fuse_unlink(new_path))
1203 if (ntfs_fuse_link(tmp, new_path)) {
1206 "to '%s'", new_path, tm
1174 ntfs_fuse_safe_rename(const char *old_path, const char *new_path, const char *tmp) argument
1214 ntfs_fuse_rename_existing_dest(const char *old_path, const char *new_path) argument
1238 ntfs_fuse_rename(const char *old_path, const char *new_path) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/tomoyo/
H A Dtomoyo.c234 static int tomoyo_sb_pivotroot(struct path *old_path, struct path *new_path) argument
236 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/tests/
H A DFTPServer.pm67 my $new_path = FTPPaths::path_merge($conn->{'dir'}, $path);
70 if (! $paths->dir_exists($new_path)) {
75 $conn->{'dir'} = $new_path;
76 print {$conn->{socket}} "200 directory changed to $new_path.\r\n";
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dhttp.cpp386 wxString new_path; local
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A Damule.cpp1058 void CamuleApp::SetOSFiles(const wxString new_path) argument
1061 if ( ::wxDirExists(new_path) ) {
1062 m_emulesig_path = JoinPaths(new_path, wxT("onlinesig.dat"));
1063 m_amulesig_path = JoinPaths(new_path, wxT("amulesig.dat"));
H A Damule.h279 void SetOSFiles(const wxString new_path);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c663 int new_path = 0; local
667 new_path = 1;
676 if (new_path)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/apparmor/
H A Dlsm.c328 struct path new_path = { new_dir->mnt, new_dentry }; local
338 error = aa_path_perm(OP_RENAME_DEST, profile, &new_path,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/
H A Dcapability.c83 static int cap_sb_pivotroot(struct path *old_path, struct path *new_path) argument
266 struct path *new_path, struct dentry *new_dentry)
265 cap_path_rename(struct path *old_path, struct dentry *old_dentry, struct path *new_path, struct dentry *new_dentry) argument
H A Dsecurity.c309 int security_sb_pivotroot(struct path *old_path, struct path *new_path) argument
311 return security_ops->sb_pivotroot(old_path, new_path);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsecurity.h279 * @new_path contains the path for the new root (new_root).
1401 struct path *new_path);
1681 int security_sb_pivotroot(struct path *old_path, struct path *new_path);
1987 struct path *new_path)
1986 security_sb_pivotroot(struct path *old_path, struct path *new_path) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dipr.c1166 int new_path = 0; local
1188 new_path = 1;
1191 if (res->sdev && new_path)

Completed in 294 milliseconds