Searched refs:rsrc_path (Results 1 - 3 of 3) sorted by relevance

/macosx-10.9.5/srm-7/srm/src/
H A Dsunlink.c448 char *rsrc_path = (char *)alloca(rsrc_path_size); local
449 if (rsrc_path == NULL) {
453 if (snprintf(rsrc_path, MAXPATHLEN,
459 if (lstat(rsrc_path, &statbuf) != 0) {
472 if ((file = open(rsrc_path, O_WRONLY)) == -1) {
481 printf("removing %s\n", rsrc_path);
/macosx-10.9.5/removefile-33/
H A Dremovefile_sunlink.c398 char *rsrc_path = (char *)alloca(rsrc_path_size); local
399 if (rsrc_path == NULL) {
403 if (snprintf(rsrc_path, MAXPATHLEN,
409 if (lstat(rsrc_path, &statbuf) != 0) {
422 if ((state->file = open(rsrc_path, O_WRONLY)) == -1) {
/macosx-10.9.5/xnu-2422.115.4/bsd/hfs/
H A Dhfs_vnops.c4885 char* rsrc_path = NULL; local
4889 MALLOC_ZONE (rsrc_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
4890 len = snprintf (rsrc_path, MAXPATHLEN, "%s%s", tcnp->cn_nameptr, _PATH_RSRCFORKSPEC);
4900 vnode_update_identity (fcp->c_rsrc_vp, fvp, rsrc_path, len, 0, (VNODE_UPDATE_NAME | VNODE_UPDATE_CACHE));
4903 FREE_ZONE (rsrc_path, MAXPATHLEN, M_NAMEI);

Completed in 191 milliseconds