Searched defs:exists (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/head/
H A Dmacros.h63 #define exists(file) (stat(file, &Statbuf) < 0 ? 0 : Statbuf.st_mode) macro
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c41 #define exists(file) (stat(file, &globstat) == 0) macro
75 if (exists(allow)) {
81 } else if (exists(deny)) {
/illumos-gate/usr/src/uts/sun4/sys/
H A Dmemnode.h98 int exists; /* only try if set, list may still be empty */ member in struct:mem_node_conf
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmemnode.h72 int exists; /* only try if set, list may still be empty */ member in struct:mem_node_conf
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DPrinterUtil.java106 // If supported, a PPD file exists for this Make
183 public synchronized static boolean exists( method in class:PrinterUtil
187 Debug.message("SVR: PrinterUtil.exists()");
190 return (DoPrinterUtil.exists(name, nsname));
H A DDoPrinterUtil.java498 public static boolean exists( method in class:DoPrinterUtil
504 Debug.message("SVR: DoPrinterUtil.exists() " + ns);
/illumos-gate/usr/src/lib/libpp/common/
H A Dppexpr.c39 * exists predicate evaluation
43 exists(int op, char* pred, register char* args) function
234 return exists(index, pred, args);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/
H A Dkeygen.c205 * If the directory already exists, then march on.
271 boolean_t exists = B_FALSE; local
274 * If the file already exists (possibly via keymgmt), then open
282 exists = B_TRUE;
296 * If the file already exists, then see if a master key already
297 * exists. We will not overwrite it if it does.
300 if (exists) {
305 "exists and will not be overwritten\n",
367 boolean_t exists = B_FALSE; local
371 * If the file already exists (possibl
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c48 * checks whether the appropriate lock file exists. It returns
108 static int gdev(), logproc(), exists();
725 if (exists (LOG) && (fp = fopen (LOG, "a")) != NULL) {
752 exists (file) function
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_main.c531 boolean_t exists = B_FALSE; local
540 exists = B_TRUE;
544 return (exists);
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dsd.c250 int *exists; local
295 "removable-media", &exists) > -1) {
/illumos-gate/usr/src/tools/onbld/Scm/
H A DBackup.py135 if not os.path.exists(fpath):
260 if not self.bu.exists('bundle'):
284 if self.bu.exists('nodes'):
400 # Check that the patch's parent changeset exists.
414 if not self.bu.exists('diff'):
446 if not self.bu.exists('renames'):
476 if self.bu.exists('diff'):
493 if self.bu.exists('renames'):
534 files = filter(lambda (name, path): os.path.exists(path),
569 if self.bu.exists(fnam
878 def exists(self, name): member in class:CdmBackup
[all...]
/illumos-gate/usr/src/ucbcmd/install.d/
H A Dinstall.c130 int exists = 0; local
136 exists = errno == EEXIST;
137 if (!exists) {
153 if (!exists)
159 if (!exists)
165 if (!exists)
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmpo.h100 int exists; /* set to 1 if mblock has memory in this mnode stripe */ member in struct:__anon10359
/illumos-gate/usr/src/cmd/make/bin/
H A Dfiles.cc30 * Figure out if file exists
62 extern timestruc_t& exists(register Name target);
70 * exists(target)
86 exists(register Name target) function
166 * Called by exists() to set some stat fields in the Name structure
197 * Called if exists() discovers that there is a VPATH defined.
218 * To avoid recursive search through VPATH when exists(alias) is called
236 if (exists(alias) != file_doesnt_exist) {
474 (void) exists(dir = GETNAME(file_name, FIND_LENGTH));
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dconfig.c109 int exists; local
142 /* now we have s & num, figure out if it exists already */
143 exists = 0;
147 exists = 1;
151 if (!exists) {
212 int exists; local
225 /* now we have s & num, figure out if it exists already */
226 exists = 0;
230 exists = 1;
234 if (!exists) {
[all...]
/illumos-gate/usr/src/lib/libtecla/
H A Dlibtecla.h181 int exists; /* True if the files in files[] currently exist. */ member in struct:__anon4099
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_if.c117 * Check if the interface already exists in our list.
118 * If it already exists, we need to update its flags.
369 * Sets the output argument `exists' to true or false based on whether
372 * `exists' is unmodified and an error status is returned.
376 boolean_t *exists)
387 *exists = B_FALSE;
392 *exists = ((af == AF_INET &&
399 *exists = B_FALSE;
637 * interface for this address family exists. Otherwise, the
1260 * Return error, if the interface already exists i
375 i_ipadm_if_pexists(ipadm_handle_t iph, const char *ifname, sa_family_t af, boolean_t *exists) argument
[all...]
H A Dipadm_addr.c860 * This means that the address object exists only
1905 * If the `aobjname' already exists in the daemon's `aobjmap' then
2284 * the output argument `exists' will be set to B_TRUE. Otherwise, `exists'
2287 * Note that *exists will not be initialized if an error is encountered.
2291 sa_family_t af, boolean_t *exists)
2298 *exists = B_FALSE;
2308 *exists = B_TRUE;
2316 *exists = !sockaddrunspec((struct sockaddr *)&lifr.lifr_addr);
2405 * already exists
2290 i_ipadm_addr_exists_on_if(ipadm_handle_t iph, const char *ifname, sa_family_t af, boolean_t *exists) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c78 * Qname - Query if file exists. Return mtime & size if it does.
616 * Check to see if the file exists on the remote machine.
726 * Query. Check to see if file exists. Return one of the following:
728 * Ysize mtime\n - exists and its a regular file (size & mtime of file)
729 * Y\n - exists and its a directory or symbolic link
1060 int opts, exists = 0; local
1095 exists = 1;
1105 if (exists && lstat(oldname, &nstb) == 0 &&
1116 if (exists && (unlink(target) < 0)) {
1132 * Check to see if parent directory exists an
[all...]
/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp277 bool exists = false; local
288 exists = true;
299 return exists;
314 bool exists = _checkListen("127.0.0.1", port, socket); local
319 if (exists) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c1855 boolean_t exists = B_FALSE; local
1874 exists = B_TRUE;
1885 ASSERT(!exists || MUTEX_HELD(&attrp->igsa_lock));
1935 if (exists)
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c703 boolean_t exists = B_FALSE; local
709 exists = B_TRUE;
715 return (exists);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1418 int amt, count, exists, first, mask, mode; local
1543 exists = stat(np, &stb) == 0;
1545 if (exists) {
1553 if (recvacl(-1, exists, pflag)
1566 (void) recvacl(-1, exists, pflag);
1579 if (recvacl(dfd, exists, pflag) == ACL_FAIL) {
1581 if (!exists)
1607 * If the output file exists we have to force zflag off
1610 zopen(ofd, zflag && !exists);
1612 if (exists
1992 recvacl(int f, int exists, int preserve) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c384 * exists in the cache, just increments the reference count.
533 * Rename a share. Check that the current name exists and the new name
605 * First looks up the cache to see if the specified share exists, if there
728 * Returns B_TRUE if the share exists. Otherwise returns B_FALSE
733 boolean_t exists = B_FALSE; local
739 exists = (smb_shr_cache_findent(sharename) != NULL);
743 return (exists);
1493 * shared directory no longer exists.

Completed in 118 milliseconds

12