var searchIndex = {}; searchIndex["android_looper_sys"] = {"doc":" \"Fork ","items":[[4,"ALooper","android_looper_sys","ALooper",null,null],[4,"LooperPrepareOpts","","Option for for `ALooper_prepare()`.",null,null],[13,"AllowNonCallbacks","","`ALLOW_NON_CALLBACKS`",0,null],[13,"None","","`0` value, allow only callbacks",0,null],[4,"LooperPoll","","Result from `ALooper_pollOnce()` and `ALooper_pollAll()`.",null,null],[13,"Wake","","`ALOOPER_POLL_WAKE`",1,null],[13,"Callback","","`ALOOPER_POLL_CALLBACK`",1,null],[13,"Timeout","","`ALOOPER_POLL_TIMEOUT`",1,null],[13,"Error","","`ALOOPER_POLL_ERROR`",1,null],[5,"ALooper_forThread","","Returns the looper associated with the calling thread, or NULL if there is not one.",null,null],[5,"ALooper_prepare","","Prepares a looper associated with the calling thread, and returns it. If the thread already has a looper, it is returned. Otherwise, a new one is created, associated with the thread, and returned.",null,null],[5,"ALooper_acquire","","Acquire a reference on the given ALooper object. This prevents the object from being deleted until the reference is removed. This is only needed to safely hand an ALooper from one thread to another.",null,null],[5,"ALooper_release","","Remove a reference that was previously acquired with ALooper_acquire().",null,null],[5,"ALooper_pollOnce","","Waits for events to be available, with optional timeout in milliseconds. Invokes callbacks for all file descriptors on which an event occurred.",null,null],[5,"ALooper_pollAll","","Like ALooper_pollOnce(), but performs all pending callbacks until all data has been consumed or a file descriptor is available with no callback. This function will never return ALOOPER_POLL_CALLBACK.",null,null],[5,"ALooper_wake","","Wakes the poll asynchronously.",null,null],[5,"ALooper_addFd","","Adds a new file descriptor to be polled by the looper. If the same file descriptor was previously added, it is replaced.",null,null],[5,"ALooper_removeFd","","Removes a previously added file descriptor from the looper.",null,null],[0,"event","","Flags for file descriptor events that a looper can monitor.",null,null],[3,"Type","android_looper_sys::event","",null,null],[17,"INPUT","","`ALOOPER_EVENT_INPUT`",null,null],[17,"OUTPUT","","`ALOOPER_EVENT_OUTPUT`",null,null],[17,"ERROR","","`ALOOPER_EVENT_ERROR`",null,null],[17,"HANGUP","","`ALOOPER_EVENT_HANGUP`",null,null],[17,"INVALID","","`ALOOPER_EVENT_INVALID`",null,null],[11,"eq","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"ne","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"clone","","",2,{"inputs":[{"name":"self"}],"output":{"name":"type"}}],[11,"partial_cmp","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"option"}}],[11,"lt","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"le","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"gt","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"ge","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"cmp","","",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"ordering"}}],[11,"hash","","",2,null],[11,"fmt","","",2,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"empty","","Returns an empty set of flags.",2,{"inputs":[],"output":{"name":"type"}}],[11,"all","","Returns the set containing all flags.",2,{"inputs":[],"output":{"name":"type"}}],[11,"bits","","Returns the raw value of the flags currently stored.",2,{"inputs":[{"name":"self"}],"output":{"name":"isize"}}],[11,"from_bits","","Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.",2,{"inputs":[{"name":"isize"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits that do not correspond to flags.",2,{"inputs":[{"name":"isize"}],"output":{"name":"type"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_all","","Returns `true` if all flags are currently set.",2,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"bool"}}],[11,"insert","","Inserts the specified flags in-place.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"remove","","Removes the specified flags in-place.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"toggle","","Toggles the specified flags in-place.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"bitor","","Returns the union of the two sets of flags.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"type"}}],[11,"bitor_assign","","Adds the set of flags.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"type"}}],[11,"bitxor_assign","","Toggles the set of flags.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"bitand","","Returns the intersection between the two sets of flags.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"type"}}],[11,"bitand_assign","","Disables all flags disabled in the set.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"sub","","Returns the set difference of the two sets of flags.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":{"name":"type"}}],[11,"sub_assign","","Disables all flags enabled in the set.",2,{"inputs":[{"name":"self"},{"name":"type"}],"output":null}],[11,"not","","Returns the complement of this set of flags.",2,{"inputs":[{"name":"self"}],"output":{"name":"type"}}],[11,"extend","","",2,{"inputs":[{"name":"self"},{"name":"t"}],"output":null}],[11,"from_iter","","",2,{"inputs":[{"name":"t"}],"output":{"name":"type"}}],[6,"ALooper_callbackFunc","android_looper_sys","For callback-based event loops, this is the prototype of the function that is called when a file descriptor event occurs. It is given the file descriptor it is associated with, a bitmask of the poll events that were triggered (typically ALOOPER_EVENT_INPUT), and the data pointer that was originally supplied.",null,null],[11,"clone","","",0,{"inputs":[{"name":"self"}],"output":{"name":"looperprepareopts"}}],[11,"clone","","",1,{"inputs":[{"name":"self"}],"output":{"name":"looperpoll"}}]],"paths":[[4,"LooperPrepareOpts"],[4,"LooperPoll"],[3,"Type"]]}; initSearch(searchIndex);