Lines Matching refs:handle
57 ** convention. A "handle" is returned when the counter is
59 ** handle. An API is provided to get an existing counter's handle
61 ** Similarly, a counter's name can be retrieved given its handle.
127 ** Opaque counter handle type.
142 ** handle.
156 #define PR_INIT_COUNTER_HANDLE(handle,value)\
157 (handle) = (PRCounterHandle)(value)
159 #define PR_INIT_COUNTER_HANDLE(handle,value)
169 ** PRCounterHandle to receive the handle returned from
192 #define PR_CREATE_COUNTER(handle,qName,rName,description)\
193 (handle) = PR_CreateCounter((qName),(rName),(description))
195 #define PR_CREATE_COUNTER(handle,qName,rName,description)
209 ** unregisters its handle from the counter database.
212 ** handle: the PRCounterHandle of the counter to be destroyed.
223 #define PR_DESTROY_COUNTER(handle) PR_DestroyCounter((handle))
225 #define PR_DESTROY_COUNTER(handle)
230 PRCounterHandle handle
236 ** counter's handle give its name.
239 ** counter's handle from the counter database, given the name
255 #define PR_GET_COUNTER_HANDLE_FROM_NAME(handle,qName,rName)\
256 (handle) = PR_GetCounterHandleFromName((qName),(rName))
258 #define PR_GET_COUNTER_HANDLE_FROM_NAME(handle,qName,rName)
269 ** counter's name, given its handle.
272 ** counter's name given its handle.
288 #define PR_GET_COUNTER_NAME_FROM_HANDLE(handle,qName,rName,description)\
289 PR_GetCounterNameFromHandle((handle),(qName),(rName),(description))
291 #define PR_GET_COUNTER_NAME_FROM_HANDLE(handle,qName,rName,description )
296 PRCounterHandle handle,
310 ** handle: The PRCounterHandle of the counter to be incremented
320 #define PR_INCREMENT_COUNTER(handle) PR_IncrementCounter(handle)
322 #define PR_INCREMENT_COUNTER(handle)
327 PRCounterHandle handle
338 ** handle: The PRCounterHandle of the coutner to be
349 #define PR_DECREMENT_COUNTER(handle) PR_DecrementCounter(handle)
351 #define PR_DECREMENT_COUNTER(handle)
356 PRCounterHandle handle
362 ** DESCRIPTION: Add value to the counter referenced by handle.
365 ** handle: the PRCounterHandle of the counter to be added to.
377 #define PR_ADD_TO_COUNTER(handle,value)\
378 PR_AddToCounter((handle),(value))
380 #define PR_ADD_TO_COUNTER(handle,value)
385 PRCounterHandle handle,
398 ** handle: the PRCounterHandle of the counter to be subtracted
411 #define PR_SUBTRACT_FROM_COUNTER(handle,value)\
412 PR_SubtractFromCounter((handle),(value))
414 #define PR_SUBTRACT_FROM_COUNTER(handle,value)
419 PRCounterHandle handle,
431 ** handle: the PR_CounterHandle of the counter to be retreived
441 #define PR_GET_COUNTER(counter,handle)\
442 (counter) = PR_GetCounter((handle))
444 #define PR_GET_COUNTER(counter,handle) 0
449 PRCounterHandle handle
460 ** handle: the PRCounterHandle of the counter whose contents
473 #define PR_SET_COUNTER(handle,value) PR_SetCounter((handle),(value))
475 #define PR_SET_COUNTER(handle,value)
480 PRCounterHandle handle,
487 ** handle iterator
491 ** the counter data base, depending on the value of handle. When
492 ** handle is NULL, the function attempts to retreive the first
493 ** QName handle in the database. When handle is a handle previosly
494 ** retreived QName handle, then the function attempts to retreive
495 ** the next QName handle.
498 ** handle: PRCounterHandle or NULL.
515 #define PR_FIND_NEXT_COUNTER_QNAME(next,handle)\
516 (next) = PR_FindNextCounterQname((handle))
518 #define PR_FIND_NEXT_COUNTER_QNAME(next,handle) NULL
523 PRCounterHandle handle
528 ** handle iterator
532 ** handle from the counter data base, depending on the
533 ** value of handle. When handle is NULL, the function attempts to
534 ** retreive the first RName handle in the database. When handle is
535 ** a handle previosly retreived RName handle, then the function
536 ** attempts to retreive the next RName handle.
539 ** handle: PRCounterHandle or NULL.