3 Library functions
79,992 pages in section 3.
q
q_
-
Q_fixed-point math miscellaneous functions/variablesABS -
Q_fixed-point math miscellaneous functions/variablesBT -
Q_fixed-point math functions which manipulate the control/sign data bitsCRAWMASK -
Q_fixed-point math miscellaneous functions/variablesDEBUG -
Q_fixed-point math miscellaneous functions/variablesDFV2BFV -
Q_fixed-point math functions which manipulate the fractional data bitsFRAWMASK -
q_initialize and free queuefree -
Q_fixed-point math functions which manipulate the control/sign data bitsGCRAW -
Q_fixed-point math functions which manipulate the control/sign data bitsGCVAL -
Q_fixed-point math functions which manipulate the fractional data bitsGFABSVAL -
Q_fixed-point math functions which manipulate the fractional data bitsGFRAW -
Q_fixed-point math functions which manipulate the fractional data bitsGFVAL -
Q_fixed-point math functions which manipulate the integer data bitsGIABSVAL -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsGIFABSVAL -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsGIFRAW -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsGIFVAL -
Q_fixed-point math functions which manipulate the integer data bitsGIRAW -
Q_fixed-point math functions which manipulate the integer data bitsGIVAL -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsIFRAWMASK -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsIFVALFMASK -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsIFVALIMASK -
Q_fixed-point math miscellaneous functions/variablesINI -
q_initialize and free queueinit -
Q_fixed-point math functions which manipulate the integer data bitsIRAWMASK -
q_wait for and execute jobs from a smolq queuejob_ seek -
Q_fixed-point math comparison and logic functionsLTZ -
Q_fixed-point math miscellaneous functions/variablesMAXNFBITS -
Q_fixed-point math miscellaneous functions/variablesMAXSTRLEN -
Q_fixed-point math miscellaneous functions/variablesNCBITS -
Q_fixed-point math miscellaneous functions/variablesNFBITS -
Q_fixed-point math miscellaneous functions/variablesNFCBITS -
Q_fixed-point math miscellaneous functions/variablesNIBITS -
Q_fixed-point math functions which operate on two Q numbersNORMPREC -
Q_fixed-point math miscellaneous functions/variablesNTBITS -
Q_fixed-point math comparison and logic functionsOFLOW -
q_initialize and destroy thread poolspool_ create -
q_initialize and destroy thread poolspool_ destroy -
Q_fixed-point math comparison and logic functionsPRECEQ -
q_push a job onto a smolq queuepush -
Q_fixed-point math functions which operate on a single Q numberQ2D -
Q_fixed-point math functions which operate on a single Q numberQ2F -
Q_fixed-point math functions which operate on a single Q numberQABS -
Q_fixed-point math functions which apply integers to a Q numberQADDI -
Q_fixed-point math functions which operate on two Q numbersQADDQ -
Q_fixed-point math functions which operate on two Q numbersQCLONEQ -
Q_fixed-point math functions which apply integers to a Q numberQCPYVALI -
Q_fixed-point math functions which operate on two Q numbersQCPYVALQ -
Q_fixed-point math functions which apply integers to a Q numberQDIVI -
Q_fixed-point math functions which operate on two Q numbersQDIVQ -
Q_fixed-point math comparison and logic functionsQEQ -
Q_fixed-point math functions which apply integers to a Q numberQFRACI -
Q_fixed-point math comparison and logic functionsQGEQ -
Q_fixed-point math comparison and logic functionsQGTQ -
Q_fixed-point math comparison and logic functionsQLEQ -
Q_fixed-point math comparison and logic functionsQLTQ -
Q_fixed-point math functions which operate on two Q numbersQMAXQ -
Q_fixed-point math functions which operate on two Q numbersQMINQ -
Q_fixed-point math functions which apply integers to a Q numberQMULI -
Q_fixed-point math functions which operate on two Q numbersQMULQ -
Q_fixed-point math comparison and logic functionsQNEQ -
Q_fixed-point math functions which apply integers to a Q numberQSUBI -
Q_fixed-point math functions which operate on two Q numbersQSUBQ -
Q_fixed-point math comparison and logic functionsRELPREC -
Q_fixed-point math miscellaneous functions/variablesRPSHFT -
Q_fixed-point math functions which manipulate the control/sign data bitsSCVAL -
q_search for an entry in a smolq queuesearch -
Q_fixed-point math functions which manipulate the fractional data bitsSFVAL -
Q_fixed-point math miscellaneous functions/variablesSHL -
Q_fixed-point math miscellaneous functions/variablesSHR -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsSIFVAL -
Q_fixed-point math functions which manipulate the combined integer/fractional data bitsSIFVALS -
Q_fixed-point math comparison and logic functionsSIGNED -
Q_fixed-point math functions which manipulate the control/sign data bitsSIGNSHFT -
Q_fixed-point math functions which manipulate the integer data bitsSIVAL -
Q_fixed-point math functions which manipulate the control/sign data bitsSRAWMASK -
Q_fixed-point math functions which manipulate the control/sign data bitsSSIGN -
Q_fixed-point math miscellaneous functions/variablesTC -
Q_fixed-point math miscellaneous functions/variablesTOSTR -
q_return the next job from the queue, when availablewait
qb
-
qb_Create an array with fixed sized elements.array_ create -
qb_Create an array with fixed sized elements.array_ create_ 2 -
qb_Get the number of elements per bin.array_ elems_ per_ bin_ get -
qb_Free all the memory used by the array.array_ free -
qb_Grow the array.array_ grow -
qb_Get an element at a particular index.array_ index -
qb_Get a callback when a new bin is allocated.array_ new_ bin_ cb_ set -
qb_Get the number of bins used by the array.array_ num_ bins_ get -
qb_atomic_ init -
qb_Atomically adds val to the integer pointed to by atomic.atomic_ int_ add -
qb_Compares oldval with the integer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.atomic_ int_ compare_ and_ exchange -
qb_Atomically adds val to the integer pointed to by atomic.atomic_ int_ exchange_ and_ add -
qb_Reads the value of the integer pointed to by atomic.atomic_ int_ get -
qb_Sets the value of the integer pointed to by atomic.atomic_ int_ set -
qb_Compares oldval with the pointer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.atomic_ pointer_ compare_ and_ exchange -
qb_Reads the value of the pointer pointed to by atomic.atomic_ pointer_ get -
qb_Sets the value of the pointer pointed to by atomic.atomic_ pointer_ set -
qb_Create an unsorted map based on a hashtable.hashtable_ create -
qb_hdb_ base_ convert -
qb_Create a new database.hdb_ create -
qb_Destroy a handle database.hdb_ destroy -
qb_Create a new handle.hdb_ handle_ create -
qb_Request the destruction of the object.hdb_ handle_ destroy -
qb_Get the instance associated with this handle and increase it's refcount.hdb_ handle_ get -
qb_Get the instance associated with this handle and increase it's refcount.hdb_ handle_ get_ always -
qb_Put the instance associated with this handle and decrease it's refcount.hdb_ handle_ put -
qb_Get the current refcount.hdb_ handle_ refcount_ get -
qb_Get the next object and increament it's refcount.hdb_ iterator_ next -
qb_Reset the iterator.hdb_ iterator_ reset -
qb_hdb_ nocheck_ convert -
qb_Create a connection to an IPC service.ipcc_ connect -
qb_Get the context (set previously).ipcc_ context_ get -
qb_Associate a "user" pointer with this connection.ipcc_ context_ set -
qb_Disconnect an IPC connection.ipcc_ disconnect -
qb_Receive an event.ipcc_ event_ recv -
qb_Set the maximum allowable flowcontrol value.ipcc_ fc_ enable_ max_ set -
qb_Get the file descriptor to poll.ipcc_ fd_ get -
qb_What is the actual buffer size used after the connection.ipcc_ get_ buffer_ size -
qb_Is the connection connected?ipcc_ is_ connected -
qb_Receive a response.ipcc_ recv -
qb_Send a message.ipcc_ send -
qb_Send a message (iovec).ipcc_ sendv -
qb_This is a convenience function that simply sends and then recvs.ipcc_ sendv_ recv -
qb_Test kernel dgram socket buffers to verify the largest size up to the max_msg_size value a single msg can be.ipcc_ verify_ dgram_ max_ msg_ size -
qb_Set the permissions on and shared memory files so that both processes can read and write to them.ipcs_ connection_ auth_ set -
qb_Get the first connection.ipcs_ connection_ first_ get -
qb_Retrieve the connection ipc buffer size.ipcs_ connection_ get_ buffer_ size -
qb_Get the next connection.ipcs_ connection_ next_ get -
qb_Increment the connection's reference counter.ipcs_ connection_ ref -
qb_Get the context previously set on the service backing this connection.ipcs_ connection_ service_ context_ get -
qb_Get the connection statistics.ipcs_ connection_ stats_ get -
qb_Get (and allocate) the connection statistics.ipcs_ connection_ stats_ get_ 2 -
qb_Decrement the connection's reference counter.ipcs_ connection_ unref -
qb_Get the context (set previously).ipcs_ context_ get -
qb_Associate a "user" pointer with this connection.ipcs_ context_ set -
qb_Create a new IPC server.ipcs_ create -
qb_Destroy the IPC server.ipcs_ destroy -
qb_Disconnect from this client.ipcs_ disconnect -
qb_Enforce the max buffer size clients must use from the server side.ipcs_ enforce_ buffer_ size -
qb_Send an asynchronous event message to the client.ipcs_ event_ send -
qb_Send an asynchronous event message to the client.ipcs_ event_ sendv -
qb_Set your poll callbacks.ipcs_ poll_ handlers_ set -
qb_Increase the reference counter on the service object.ipcs_ ref -
qb_Limit the incoming request rate.ipcs_ request_ rate_ limit -
qb_Send a response to a incoming request.ipcs_ response_ send -
qb_Send a response to a incoming request.ipcs_ response_ sendv -
qb_run the new IPC server.ipcs_ run -
qb_Get the context (set previously).ipcs_ service_ context_ get -
qb_Associate a "user" pointer with this service.ipcs_ service_ context_ set -
qb_Get the service id related to this connection's service.ipcs_ service_ id_ get -
qb_Get the service statistics.ipcs_ stats_ get -
qb_Decrease the reference counter on the service object.ipcs_ unref -
qb_Add this element to the list.list_ add -
qb_Add to the list (but at the end of the list).list_ add_ tail -
qb_Delete an entry from the list.list_ del -
qb_A quick test to see if the list is empty (pointing to it's self).list_ empty -
qb_Initialize the list entry.list_ init -
qb_Tests whether list is the last entry in list head.list_ is_ last -
qb_Count the number of items in the list.list_ length -
qb_Replace old entry by new one.list_ replace -
qb_Join two lists.list_ splice -
qb_Join two lists, each list being a queue.list_ splice_ tail -
qb_Read the blackbox for file and print it out.log_ blackbox_ print_ from_ file -
qb_Write the blackbox to file.log_ blackbox_ write_ to_ file -
qb_Get or create a callsite at the given position.log_ callsite_ get -
qb_Dump the callsite info to stdout.log_ callsites_ dump -
qb_If you are using dynamically loadable modules via dlopen() and you load them after qb_log_init() then after you load the module you will need to do the following to get the filters to work in that module:log_ callsites_ register -
qb_Main logging control function.log_ ctl -
qb_Extension of main logging control function accepting also strings.log_ ctl2 -
qb_Close a custom log target and release its resources.log_ custom_ close -
qb_Open a custom log target.log_ custom_ open -
qb_Convert string "auth" to equivalent number "LOG_AUTH" etc.log_ facility2int -
qb_Convert number "LOG_AUTH" to equivalent string "auth" etc.log_ facility2str -
qb_Close a log file and release its resources.log_ file_ close -
qb_Open a log file.log_ file_ open -
qb_Open a new log file for an existing target.log_ file_ reopen -
qb_This allows you modify the 'tags' and 'targets' callsite fields at runtime.log_ filter_ ctl -
qb_This extends qb_log_filter_ctl() by been able to provide a high_priority.log_ filter_ ctl2 -
qb_Instead of using the qb_log_filter_ctl() functions you can apply the filters manually by defining a callback and setting the targets field using qb_bit_set() and qb_bit_clear() like the following below:log_ filter_ fn_ set -
qb_Logging system finalization function.log_ fini -
qb_Set the format specifiers.log_ format_ set -
qb_This function is to import logs from other code (like libraries) that provide a callback with their logs.log_ from_ external_ source -
qb_log_ from_ external_ source_ va -
qb_Init the logging system.log_ init -
qb_Internal function: use qb_log() or qb_logt().log_ real_ -
qb_log_ real_ va_ -
qb_Set the callback to map the 'tags' bit map to a string.log_ tags_ stringify_ fn_ set -
qb_Format the callsite and timestamp info according to the format.log_ target_ format -
qb_Retrieve the user data set by either qb_log_custom_open or qb_log_target_user_data_set.log_ target_ user_ data_ get -
qb_Associate user data with this log target.log_ target_ user_ data_ set -
qb_When using threaded logging set the pthread policy and priority.log_ thread_ priority_ set -
qb_Start the logging pthread.log_ thread_ start -
qb_Create a new main loop.loop_ create -
qb_loop_ destroy -
qb_Add a job to the mainloop.loop_ job_ add -
qb_Delete a job from the mainloop.loop_ job_ del -
qb_Add a poll job to the mainloop.loop_ poll_ add -
qb_Delete a poll job.loop_ poll_ del -
qb_Set a callback to receive events on file descriptors getting low.loop_ poll_ low_ fds_ event_ set -
qb_Modify a poll job.loop_ poll_ mod -
qb_Run the main loop.loop_ run -
qb_Add a signal job.loop_ signal_ add -
qb_Delete the signal job.loop_ signal_ del -
qb_Modify the signal job.loop_ signal_ mod -
qb_Stop the main loop.loop_ stop -
qb_Add a timer to the mainloop.loop_ timer_ add -
qb_Delete a timer that is still outstanding.loop_ timer_ del -
qb_Get the expiration time of the timer, as set when the timer was created.loop_ timer_ expire_ time_ get -
qb_Get the time remaining before the timer expires.loop_ timer_ expire_ time_ remaining -
qb_Check to see if a timer that is still outstanding.loop_ timer_ is_ running -
qb_Get the number of items in the map.map_ count_ get -
qb_Destroy the map, removes all the items from the map.map_ destroy -
qb_Calls the given function for each of the key/value pairs in the map.map_ foreach -
qb_Gets the value corresponding to the given key.map_ get -
qb_Create an iterator.map_ iter_ create -
qb_free the iteratormap_ iter_ free -
qb_Get the next item.map_ iter_ next -
qb_Add a notifier to the map.map_ notify_ add -
qb_Delete a notifier from the map.map_ notify_ del -
qb_Delete a notifier from the map (including the userdata).map_ notify_ del_ 2 -
qb_Create a prefix iterator.map_ pref_ iter_ create -
qb_Inserts a new key and value into a qb_map_t.map_ put -
qb_Removes a key/value pair from a map.map_ rm -
qb_Like 'chmod', it changes the mode of the ringbuffer's resources.rb_ chmod -
qb_Like 'chown', it changes the owner and group of the ringbuffer's resources.rb_ chown -
qb_Allocate space for a chunk of the given size.rb_ chunk_ alloc -
qb_Finalize the chunk.rb_ chunk_ commit -
qb_Read (without reclaiming) the last chunk.rb_ chunk_ peek -
qb_Read the oldest chunk into data_out.rb_ chunk_ read -
qb_Reclaim the oldest chunk.rb_ chunk_ reclaim -
qb_Write a chunk to the ring buffer.rb_ chunk_ write -
qb_The total number of chunks in the buffer.rb_ chunks_ used -
qb_Dereference the ringbuffer and, if we are the last user, destroy it.rb_ close -
qb_Load the saved ring buffer from file into temporary memory.rb_ create_ from_ file -
qb_Get the name of the ringbuffer.rb_ name_ get -
qb_Create the ring buffer with the given type.rb_ open -
qb_Get the reference count.rb_ refcount_ get -
qb_Get a point to user shared data area.rb_ shared_ user_ data_ get -
qb_The amount of free space in the ring buffer.rb_ space_ free -
qb_The total amount of data in the buffer.rb_ space_ used -
qb_Write the contents of the Ring Buffer to file.rb_ write_ to_ file -
qb_Create a sorted map using a skiplist.skiplist_ create -
qb_strerror_r replacement.strerror_ r -
qb_Calls either pthread_mutex_lock() or pthread_spin_lock().thread_ lock -
qb_Create a new lock of the given type.thread_ lock_ create -
qb_Calls either pthread_mutex_destro() or pthread_spin_destroy().thread_ lock_ destroy -
qb_Calls either pthread_mutex_trylock() or pthread_spin_trylock().thread_ trylock -
qb_Calls either pthread_mutex_unlock() or pthread_spin_unlock.thread_ unlock -
qb_Add milliseconds onto the timespec.timespec_ add_ ms -
qb_Create a sorted map using a Patricia trie or "Radix tree".trie_ create -
qb_print out the nodes in the trietrie_ dump -
qb_Get the current number of nano secounds produced by the systems incrementing clock (CLOCK_MONOTOMIC if available).util_ nano_ current_ get -
qb_Get the time in nano seconds since epoch.util_ nano_ from_ epoch_ get -
qb_Get the frequence of the clock used in qb_util_nano_current_get().util_ nano_ monotonic_ hz -
qb_Use this function to output libqb internal log message as you wish.util_ set_ log_ function -
qb_Create a Stopwatch (to time operations).util_ stopwatch_ create -
qb_Free the stopwatch.util_ stopwatch_ free -
qb_Get the elapsed time in seconds.util_ stopwatch_ sec_ elapsed_ get -
qb_Create a new time split (or lap time).util_ stopwatch_ split -
qb_util_ stopwatch_ split_ ctl -
qb_Get the last split index to be used by qb_util_stopwatch_time_split_get().util_ stopwatch_ split_ last -
qb_Start the stopwatch.util_ stopwatch_ start -
qb_Stop the stopwatch.util_ stopwatch_ stop -
qb_Read the time split (in us) from "receint" to "older".util_ stopwatch_ time_ split_ get -
qb_Get the elapsed time in micro seconds.util_ stopwatch_ us_ elapsed_ get -
qb_Get the time in timespec since epoch.util_ timespec_ from_ epoch_ get -
qbarray.This is a dynamic array (it can grow, but without moving memory).h -
qbatomic.Basic atomic integer and pointer operations.h -
qbdefs.These are some convience macros and defines.h -
qbhdb.The handle database is for reference counting objects.h -
qbipc_common types and definitionscommon. h -
qbipcc.Client IPC API.h -
qbipcs.Server IPC API.h -
qblist.This is a kernel style list implementation.h -
qblog.The logging API provides four main parts (basics, filtering, threading & blackbox).h -
qbloop.Main loop manages timers, jobs and polling sockets.h -
qbmap.This provides a map interface to a Patricia trie, hashtable or skiplist.h -
qbrb.This implements a ring buffer that works in "chunks", not bytes.h -
qbutil.These are some convience functions used throughout libqb.h
qd
qe
qf
qg
qi
ql
qm
-
qmathfixed-point math library based on the “Q” number format -
QMClibrary for managing groups of Performance Co-Pilot metrics -
Qmccontainer for a PMAPI context and its metricsContext -
Qmccontainer for a metric descriptionDesc -
Qmccontainer representing a single fetch group of metrics from multiple sourcesGroup -
Qmccontainer for a instance domain descriptionIndom -
Qmccontainer for a metric and all its valuesMetric -
Qmcmanages contexts created by all groupsSource
qs
qu
-
quadruleC library of quadrature rules -
query_determine SELinux context(s) for user sessionsuser_ context -
querylocaleLook up the locale name or version for a specified category -
queueimplementations of linked lists and queues -
queuebaseBase classes for RTP queues. -
queuebase.Base classes for RTP queues.h -
QueueAdds generic management of RTCP functions to an RTP data queue.RTCPManager -
quic_svd. hpp -
quick_exits a program quickly, running minimal cleanupexit -
quorum_Gets the context variable for a QUORUM instancecontext_ get -
quorum_Sets the context variable for a QUORUM instancecontext_ set -
quorum_Dispatches callbacks from the quorum servicedispatch -
quorum_Dispatches callbacks from the quorum servicefd_ get -
quorum_Terminate a connection to the quorum servicefinalize -
quorum_Gets the quorate status of the node.getquorate -
quorum_Create a new connection to the Quorum serviceinitialize -
quorum_Create a new connection to the Quorum servicemodel_ initialize -
quorum_Quorum Library Overviewoverview -
quorum_Enable callbacks notification.trackstart -
quorum_Disable callbacks notification.trackstop -
quota_Manipulate quotascheck_ path -
quota_Manipulate quotasclose -
quota_Manipulate quotasconvert -
quota_Manipulate quotasfsname -
quota_Manipulate quotasmaxid -
quota_Manipulate quotasoff -
quota_Manipulate quotason -
quota_Manipulate quotasopen -
quota_Manipulate quotasqfname -
quota_Manipulate quotasread -
quota_Manipulate quotaswrite_ limits -
quota_Manipulate quotaswrite_ usage -
quotafileManipulate quotas