Searched refs:tfn (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10/system_cmds-643.1.1/chpass.tproj/
H A Dedit.c95 static int display(const char *tfn, CFDictionaryRef attrs);
96 static CFDictionaryRef verify(const char *tfn, CFDictionaryRef attrs);
98 static int display(const char *tfn, struct passwd *pw);
99 static struct passwd *verify(const char *tfn, struct passwd *pw);
104 edit(const char *tfn, CFDictionaryRef pw) argument
107 edit(const char *tfn, struct passwd *pw)
118 if (display(tfn, pw) == -1)
122 switch (editfile(tfn)) {
137 if ((npw = verify(tfn, pw)) != NULL)
160 display(const char *tfn, CFDictionaryRe argument
285 verify(const char* tfn, CFDictionaryRef pw) argument
[all...]
H A Dchpass.h106 CFDictionaryRef edit(const char *tfn, CFDictionaryRef pw);
110 int editfile(const char* tfn);
H A Dchpass.c125 char tfn[MAXPATHLEN]; local
338 snprintf(tfn, sizeof(tfn), "%s/%s.XXXXXX", tmpdir, progname);
339 if ((tfd = mkstemp(tfn)) == -1)
340 err(1, "%s", tfn);
341 attrs = (CFMutableDictionaryRef)edit(tfn, attrs_orig);
342 (void)unlink(tfn);
H A Dutil.c254 editfile(const char* tfn) argument
270 if (stat(tfn, &st1) == -1)
292 execlp(editor, p, tfn, (char *)NULL);
302 unlink(tfn);
311 unlink(tfn);
319 if (stat(tfn, &st2) == -1)
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Diconv.c1245 size_t tfn; local
1271 tfn = *fn;
1272 if ((*cc->from.fun)(cc->cvt, &tfb, &tfn, &b, &i) == (size_t)(-1))
1274 tfn = b - cc->buf;
1276 n = (*cc->to.fun)(cc->cvt, &tfb, &tfn, tb, tn);
/macosx-10.10/ntfs-84/kext/
H A Dntfs_vnops.c4054 FILENAME_ATTR *fn, *tfn; local
4462 tfn = OSMalloc(tfn_alloc, ntfs_malloc_tag);
4463 if (!tfn) {
4482 memcpy(tfn, fn, tfn_alloc);
4493 err = ntfs_dir_entry_delete(dir_ni, ni, tfn, tfn_alloc);

Completed in 114 milliseconds