Lines Matching refs:handle

77 ** handle as an input argument, the caller must ensure that the                    
78 ** trace handle argument is valid. An invalid trace handle
117 ** Opaque type for the trace handle
131 PRTraceHandle handle; /* PRTraceHandle creating the trace entry */
159 ** handle.
173 #define PR_INIT_TRACE_HANDLE(handle,value)\
174 (handle) = (PRCounterHandle)(value)
176 #define PR_INIT_TRACE_HANDLE(handle,value)
181 ** FUNCTION: PR_CreateTrace() -- Create a trace handle
184 ** PR_CreateTrace() creates a new trace handle. Tracing is
185 ** enabled for this handle when it is created. The trace handle
192 ** qName: pointer to string. QName for this trace handle.
194 ** rName: pointer to string. RName for this trace handle.
197 ** trace handle.
200 ** Creates the trace handle.
216 #define PR_CREATE_TRACE(handle,qName,rName,description)\
217 (handle) = PR_CreateTrace((qName),(rName),(description))
219 #define PR_CREATE_TRACE(handle,qName,rName,description)
224 const char *qName, /* QName for this trace handle */
225 const char *rName, /* RName for this trace handle */
226 const char *description /* description for this trace handle */
231 ** FUNCTION: PR_DestroyTrace() -- Destroy a trace handle
234 ** PR_DestroyTrace() removes the referenced trace handle and
238 ** INPUTS: handle. A PRTraceHandle
241 ** The trace handle is unregistered.
250 #define PR_DESTROY_TRACE(handle)\
251 PR_DestroyTrace((handle))
253 #define PR_DESTROY_TRACE(handle)
258 PRTraceHandle handle /* Handle to be destroyed */
267 ** the referenced trace handle. The next logically available
271 ** PR_Trace() for a specific trace handle may be disabled by
273 ** trace handle to be disabled.
276 ** handle: PRTraceHandle. The trace handle for this trace.
291 #define PR_TRACE(handle,ud0,ud1,ud2,ud3,ud4,ud5,ud6,ud7)\
292 PR_Trace((handle),(ud0),(ud1),(ud2),(ud3),(ud4),(ud5),(ud6),(ud7))
294 #define PR_TRACE(handle,ud0,ud1,ud2,ud3,ud4,ud5,ud6,ud7)
299 PRTraceHandle handle, /* use this trace handle */
327 ** PRTraceEnable: PRTraceHandle. The trace handle to be
330 ** PRTraceDisable: PRTraceHandle. The trace handle to be
362 ** trace handle lock. While the trace handle lock is held,
367 ** trace handle lock.
430 ** handle by name.
437 ** qName: pointer to string. QName for this trace handle.
439 ** rName: pointer to string. RName for this trace handle.
452 #define PR_GET_TRACE_HANDLE_FROM_NAME(handle,qName,rName)\
453 (handle) = PR_GetTraceHandleFromName((qName),(rName))
455 #define PR_GET_TRACE_HANDLE_FROM_NAME(handle,qName,rName)
470 ** rName, and description for the referenced trace handle.
472 ** INPUTS: handle: PRTraceHandle.
484 #define PR_GET_TRACE_NAME_FROM_HANDLE(handle,qName,rName,description)\
485 PR_GetTraceNameFromHandle((handle),(qName),(rName),(description))
487 #define PR_GET_TRACE_NAME_FROM_HANDLE(handle,qName,rName,description)
492 PRTraceHandle handle, /* handle as search argument */
499 ** FUNCTION: PR_FindNextTraceQname() -- Retrieive a QName handle
504 ** QName handle, depending on the value of handle, from the trace
509 ** handle: When NULL, PR_FindNextQname() returns the first QName
510 ** handle. When a handle is a valid PRTraceHandle previously
511 ** retreived using PR_FindNextQname() the next QName handle is
521 ** should be done under protection of the trace handle lock.
526 #define PR_FIND_NEXT_TRACE_QNAME(next,handle)\
527 (next) = PR_FindNextTraceQname((handle))
529 #define PR_FIND_NEXT_TRACE_QNAME(next,handle)
534 PRTraceHandle handle
539 ** FUNCTION: PR_FindNextTraceRname() -- Retrieive an RName handle
544 ** RName handle, depending on the value of handle, from the trace
550 ** RName handle. When a handle is a valid PRTraceHandle
552 ** handle is retreived.
563 ** under protection of the trace handle lock. See: (