Lines Matching defs:user
278 #error Dont know how to compute user name on this platform
330 // We could do more here (as in KB Article Q101507). If that article is to be believed, we should only run into this case on Win95, or through user error.
353 char buf[128], *user;
357 user = buf;
359 user = CFAllocatorAllocate(kCFAllocatorSystemDefault, size+1, 0);
361 if (CFStringGetBytes(uName, CFRangeMake(0, len), kCFPlatformInterfaceStringEncoding, 0, true, (uint8_t *)user, size, &usedSize) == len) {
362 user[usedSize] = '\0';
363 upwd = getpwnam(user);
365 if (buf != user) {
366 CFAllocatorDeallocate(kCFAllocatorSystemDefault, user);
371 // This code can only get the directory for the current user
374 CFLog(kCFLogLevelError, CFSTR("CFCopyHomeDirectoryURLForUser(): Unable to get home directory for other user"));
471 LPCSTR szName; // Pointer to name (in user addr space).