Searched refs:instance (Results 1 - 7 of 7) sorted by relevance

/pkg/src/modules/client/
H A Ddebugvalues.py35 self.instance = None
38 if self.instance is None:
39 self.instance = super(Singleton, self).__call__(*args,
42 return self.instance
H A Dapi.py155 instance, fargs = fargs[0], fargs[1:]
156 instance._acquire_activity_lock()
157 instance._enable_cancel()
162 for v in f(instance, *fargs, **f_kwargs):
174 instance._cancel_done()
177 instance._disable_cancel()
179 instance._cancel_done()
180 instance._activity_lock.release()
183 instance._cancel_cleanup_exception()
184 instance
[all...]
/pkg/src/modules/flavor/
H A Dsmf_manifest.py135 # instance as each manifest gets added.
145 the service name, and the instance name, if any."""
149 instance = None
158 instance = arr[2]
161 return protocol, service, instance
165 results. If the FMRI points to an instance, we can return quickly. If
170 protocol, service, instance = split_smf_fmri(fmri)
172 if instance is not None:
183 """Given an instance FMRI, determine the FMRIs it depends on. If we
191 # service-level FMRI, not a fully qualified instance FMR
[all...]
/pkg/src/svc/
H A Dsvc-pkg-mirror35 # pkg(7) repository using configuration stored in the SMF instance.
148 # Save the schedule in the instance. Note that this
149 # will not appear in the running instance until the
243 # instance.
251 typeset instance=$(echo $SMF_FMRI | $AWK -F: '{print $NF}')
252 typeset lockfile=/system/volatile/pkg/mirror.$instance.lock
415 typeset instance=$(echo $SMF_FMRI | $AWK -F: '{print $NF}')
417 typeset LOG=/var/log/pkg/mirror/mirror.$instance.log
436 cmd="$PKGRECV -s $origin -c "$cachedir"/$instance \
461 $RM -rf "$cachedir"/$instance
[all...]
/pkg/src/modules/
H A Dsmf.py123 an instance.
142 # check to see if we've got an instance already
151 for instance in instances:
152 fmris.add(instance.rstrip())
158 "more than one service instance."))
H A Dmisc.py1381 cls.instance = None
1384 if cls.instance is None:
1385 cls.instance = super(Singleton, cls).__call__(*args,
1388 return cls.instance
/pkg/src/modules/client/transport/
H A Dtransport.py75 it to a transport instance when it is initialized. This is the base
530 instance, fargs = fargs[0], fargs[1:]
531 lock = instance._lock
534 return f(instance, *fargs, **f_kwargs)
1462 # instance for each publisher's worth of requests that

Completed in 48 milliseconds