| /external/libwebsockets/lib/event-libs/glib/ |
| D | CMakeLists.txt | 33 set(LWS_GLIB_INCLUDE_DIRS CACHE PATH "Path to the glib include directory") 34 set(LWS_GLIB_LIBRARIES CACHE PATH "Path to the glib library") 38 find_path(GLIB_INCLUDE_DIRS NAMES glib-2.0/glib.h) 39 find_library(GLIB_LIBRARIES NAMES glib-2.0) 44 set(GLIB_INCLUDE_DIRS "${GLIB_INCLUDE_DIRS}/glib-2.0" PARENT_SCOPE) 47 PKG_SEARCH_MODULE(LWS_GLIB2 glib-2.0) 52 message("glib include dir: ${GLIB_INCLUDE_DIRS}") 53 message("glib libraries: ${GLIB_LIBRARIES}") 59 glib.c 60 private-lib-event-libs-glib.h [all …]
|
| D | glib.c | 27 #include <glib-unix.h> 29 #include "private-lib-event-libs-glib.h" 65 * These helpers attach only to the main_context that belongs to the pt's glib 121 /* translate from glib event namespace to platform */ in lws_glib_dispatch() 220 * For glib, this disables the idle callback. Otherwise we keep in lws_glib_idle_timer_cb() 319 lwsl_cx_err(context, "creating glib loop failed"); in elops_init_pt_glib() 361 * LWS_EV_ common namespace, convert them to glib namespace bitfield in elops_io_glib() 479 /* name */ "glib", 508 "glib event loop",
|
| /external/autotest/client/cros/bluetooth/floss/ |
| D | utils.py | 12 from gi.repository import GLib 16 # All GLIB method calls should wait this many seconds by default 19 # GLib thread name that will run the mainloop. 20 GLIB_THREAD_NAME = 'glib' 24 """Detected a situation that will cause a deadlock in GLib. 36 """Threads method call to glib thread and waits for result. 39 we pipe all dbus function to the mainloop using GLib.idle_add which runs the 45 @param thread_name: Name of the thread that should be running GLib.Mainloop. 54 This method is called by GLib and added via GLib.idle_add. It will 55 be run in the same thread as the GLib mainloop. [all …]
|
| /external/harfbuzz_ng/subprojects/ |
| D | glib.wrap | 2 directory = glib-2.82.2 3 source_url = https://download.gnome.org/sources/glib/2.82/glib-2.82.2.tar.xz 4 source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/glib_2.82.2-1/glib-2.8… 5 source_filename = glib-2.82.2.tar.xz 10 …2.0, gobject-2.0, gmodule-no-export-2.0, gmodule-export-2.0, gmodule-2.0, glib-2.0, gio-2.0, gio-w… 11 program_names = glib-genmarshal, glib-mkenums, glib-compile-schemas, glib-compile-resources, gio-qu…
|
| /external/autotest/client/cros/bluetooth/ |
| D | advertisement.py | 15 from gi.repository import GLib 29 return GLib.gerror_new_literal(0, 'org.freedesktop.DBus.Error.InvalidArgs', 98 self.manufacturer_data[int(key, 16)] = GLib.Variant('ay', value) 103 self.service_data[uuid] = GLib.Variant('ay', data) 148 properties['Type'] = GLib.Variant('s', self.type) 151 properties['ServiceUUIDs'] = GLib.Variant('as', self.service_uuids) 153 properties['SolicitUUIDs'] = GLib.Variant('as', self.solicit_uuids) 155 properties['ManufacturerData'] = GLib.Variant( 159 properties['ServiceData'] = GLib.Variant('a{sv}', 162 properties['Discoverable'] = GLib.Variant('b', self.discoverable) [all …]
|
| /external/cronet/stable/net/proxy_resolution/ |
| D | proxy_config_service_linux.h | 55 // running the glib main loop. 146 // ProxyConfigServiceLinux is created on the glib thread, and 150 // constructor (Which may or may not run tasks on the glib thread). 157 // run on either the glib thread (gconf/gsettings) or a separate file thread 168 // the glib thread (gconf/gsettings) or a file thread (KDE) where change 185 // thread running the default glib main loop, and so this method 186 // must be called from the glib thread. The message loop for the 207 // Posts a call to OnDestroy() to the glib or a file task runner, 211 // Safely stops change notifications. Posted to either the glib thread or 242 // This method is posted from the glib thread to the main TaskRunner to [all …]
|
| /external/cronet/tot/net/proxy_resolution/ |
| D | proxy_config_service_linux.h | 55 // running the glib main loop. 146 // ProxyConfigServiceLinux is created on the glib thread, and 150 // constructor (Which may or may not run tasks on the glib thread). 157 // run on either the glib thread (gconf/gsettings) or a separate file thread 168 // the glib thread (gconf/gsettings) or a file thread (KDE) where change 185 // thread running the default glib main loop, and so this method 186 // must be called from the glib thread. The message loop for the 207 // Posts a call to OnDestroy() to the glib or a file task runner, 211 // Safely stops change notifications. Posted to either the glib thread or 242 // This method is posted from the glib thread to the main TaskRunner to [all …]
|
| /external/libbrillo/brillo/glib/ |
| D | dbus.h | 11 #include <dbus/dbus-glib.h> 12 #include <glib-object.h> 20 #include <brillo/glib/object.h> 283 proxy.gproxy(), name, glib::type_to_gtypeid<A1>(), G_TYPE_INVALID); in Monitor() 300 glib::type_to_gtypeid<A1>(), in Monitor() 301 glib::type_to_gtypeid<A2>(), in Monitor() 319 glib::type_to_gtypeid<A1>(), in Monitor() 320 glib::type_to_gtypeid<A2>(), in Monitor() 321 glib::type_to_gtypeid<A3>(), in Monitor() 340 glib::type_to_gtypeid<A1>(), in Monitor() [all …]
|
| D | dbus.cc | 5 #include "brillo/glib/dbus.h" 8 #include <dbus/dbus-glib-bindings.h> 9 #include <dbus/dbus-glib-lowlevel.h> 19 glib::ScopedPtrArray<const char*>* result) { in CallPtrArray() 20 glib::ScopedError error; in CallPtrArray() 38 glib::ScopedError error; in GetSystemBusConnection() 56 // Since dbus-glib does not have an API like dbus_g_connection_open_private(), in GetPrivateBusConnection() 111 glib::ScopedHashTable* result) { in RetrieveProperties() 112 glib::ScopedError error; in RetrieveProperties() 175 glib::ScopedError error; in GetGProxy() [all …]
|
| D | object_test.cc | 5 #include "brillo/glib/object.h" 14 using brillo::glib::ScopedPtrArray; 15 using brillo::glib::ScopedError; 16 using brillo::glib::Retrieve; 17 using brillo::glib::Value;
|
| /external/harfbuzz_ng/src/ |
| D | hb-glib.cc | 33 #include "hb-glib.h" 39 * SECTION:hb-glib 40 * @title: hb-glib 41 * @short_description: GLib integration 42 * @include: hb-glib.h 44 * Functions for using HarfBuzz with the GLib library. 46 * HarfBuzz supports using GLib to provide Unicode data, by attaching 47 * GLib functions to the virtual methods in a #hb_unicode_funcs_t function 185 * with the appropriate GLib function for each method.
|
| /external/libbrillo/ |
| D | BUILD.gn | 12 ":libbrillo-glib", 419 "glib-2.0", 425 "dbus-glib-1", 429 generate_pkg_config("libbrillo-glib-${libbase_ver}_pc") { 430 name = "libbrillo-glib" 431 output_name = "libbrillo-glib-${libbase_ver}" 432 description = "brillo glib wrapper library" 435 libs = [ "-lbrillo-glib" ] 439 name = "libbrillo-glib" 440 output_name = "libbrillo-glib" [all …]
|
| /external/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/ |
| D | CMakeLists.txt | 53 set(LWS_GLIB_INCLUDE_DIRS CACHE PATH "Path to the glib include directory") 54 set(LWS_GLIB_LIBRARIES CACHE PATH "Path to the glib library") 57 find_path(GLIB_INCLUDE_DIRS NAMES glib-2.0/glib.h) 58 find_library(GLIB_LIBRARIES NAMES glib-2.0) 63 set(GLIB_INCLUDE_DIRS "${GLIB_INCLUDE_DIRS}/glib-2.0") 66 PKG_SEARCH_MODULE(LWS_GLIB2 glib-2.0) 70 message("glib include dir: ${GLIB_INCLUDE_DIRS}") 71 message("glib libraries: ${GLIB_LIBRARIES}") 74 list(APPEND SRCS glib.c) 161 …add_test(NAME hs_evlib_foreign_glib COMMAND lws-minimal-http-server-eventlib-foreign --glib -p ${P…
|
| D | glib.c | 9 * The glib specific code 17 #include <glib-2.0/glib.h> 18 #include <glib-unix.h>
|
| /external/cronet/stable/base/message_loop/ |
| D | message_pump_glib.cc | 8 #include <glib.h> 26 // watcher), and the lowest priority is GLib events (our base message pump). 38 // Return a timeout suitable for the glib loop according to |next_task_time|, -1 59 // A brief refresher on GLib: 60 // GLib sources have four callbacks: Prepare, Check, Dispatch and Finalize. 61 // On each iteration of the GLib pump, it calls each source's Prepare function. 62 // This function should return TRUE if it wants GLib to call its Dispatch, and 65 // After the Prepare calls, GLib does a poll to check for events from the 69 // After the poll, GLib calls Check for each source that returned FALSE 71 // making Check a second chance to tell GLib we are ready for Dispatch. [all …]
|
| D | message_pump_glib.h | 8 #include <glib.h> 21 // platforms using GLib. 88 // during the prepare step of glib, and returns a timeout that will be passed 173 // This is a GLib structure that we can add event sources to. On the main 174 // thread, we use the default GLib context, which is the one to which all GTK 186 // We use a wakeup pipe to make sure we'll get out of the glib polling phase 187 // when another thread has scheduled us to do some work. There is a glib
|
| /external/cronet/tot/base/message_loop/ |
| D | message_pump_glib.cc | 8 #include <glib.h> 26 // watcher), and the lowest priority is GLib events (our base message pump). 38 // Return a timeout suitable for the glib loop according to |next_task_time|, -1 59 // A brief refresher on GLib: 60 // GLib sources have four callbacks: Prepare, Check, Dispatch and Finalize. 61 // On each iteration of the GLib pump, it calls each source's Prepare function. 62 // This function should return TRUE if it wants GLib to call its Dispatch, and 65 // After the Prepare calls, GLib does a poll to check for events from the 69 // After the poll, GLib calls Check for each source that returned FALSE 71 // making Check a second chance to tell GLib we are ready for Dispatch. [all …]
|
| D | message_pump_glib.h | 8 #include <glib.h> 21 // platforms using GLib. 88 // during the prepare step of glib, and returns a timeout that will be passed 173 // This is a GLib structure that we can add event sources to. On the main 174 // thread, we use the default GLib context, which is the one to which all GTK 186 // We use a wakeup pipe to make sure we'll get out of the glib polling phase 187 // when another thread has scheduled us to do some work. There is a glib
|
| /external/libchrome/base/message_loop/ |
| D | message_pump_glib.h | 23 // platforms using GLib. 31 // is called during the prepare step of glib, and returns a timeout that 54 // This is a GLib structure that we can add event sources to. We use the 55 // default GLib context, which is the one to which all GTK events are 66 // We use a wakeup pipe to make sure we'll get out of the glib polling phase 67 // when another thread has scheduled us to do some work. There is a glib
|
| D | message_pump_glib.cc | 10 #include <glib.h> 22 // Return a timeout suitable for the glib loop, -1 to block forever, 38 // A brief refresher on GLib: 39 // GLib sources have four callbacks: Prepare, Check, Dispatch and Finalize. 40 // On each iteration of the GLib pump, it calls each source's Prepare function. 41 // This function should return TRUE if it wants GLib to call its Dispatch, and 44 // After the Prepare calls, GLib does a poll to check for events from the 48 // After the poll, GLib calls Check for each source that returned FALSE 50 // making Check a second chance to tell GLib we are ready for Dispatch. 51 // Finally, GLib calls Dispatch for each source that is ready. If Dispatch [all …]
|
| /external/autotest/client/cros/ |
| D | mainloop.py | 17 # TODO(rochberg): Take another shot at fixing glib to allow this 20 """Decorator that saves exceptions for forwarding across a glib 23 Exceptions thrown by glib callbacks are swallowed if they reach the 24 glib main loop. This decorator collaborates with 39 """Wraps a glib mainloop so that exceptions raised by functions 44 glib callbacks like add_idle) must be wrapped in the 81 """Runs a glib mainloop until it times out or all requirements are
|
| /external/autotest/client/deps/fakemodem/src/ |
| D | fakemodem-dbus.xml | 5 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="fake_modem"/> 7 <annotation name="org.freedesktop.DBus.GLib.CSymbol" 12 <annotation name="org.freedesktop.DBus.GLib.CSymbol" 19 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
|
| D | Makefile | 5 PKGS := glib-2.0 dbus-glib-1 23 dbus-binding-tool --mode=glib-server --prefix=fakemodem \
|
| /external/harfbuzz_ng/docs/ |
| D | usermanual-integration.xml | 53 — most notably GLib. 76 <section id="integration-glib"> 77 <title>GNOME integration, GLib, and GObject</title> 85 GLib is the main utility library for GNOME applications. It 91 Where text shaping is concerned, GLib provides several utilities 96 <filename>hb-glib.h</filename> header file. 99 GLib's <ulink 100 url="https://developer.gnome.org/glib/stable/glib-Unicode-Manipulation.html">Unicode 109 with the GLib Unicode functions and returns a pointer to it. 113 and it will be ready for use with GLib: [all …]
|
| /external/harfbuzz_ng/ |
| D | CMakeLists.txt | 28 option(HB_HAVE_GLIB "Enable glib unicode functions" OFF) 43 option(HB_BUILD_UTILS "Build harfbuzz utils, needs cairo, freetype, and glib properly be installed"… 265 pkg_check_modules(PC_GLIB QUIET glib-2.0) 267 find_library(GLIB_LIBRARIES NAMES glib-2.0 HINTS ${PC_GLIB_LIBDIR} ${PC_GLIB_LIBRARY_DIRS}) 268 …R} ${PC_LIBRARY_DIRS} ${PC_GLIB_INCLUDEDIR} ${PC_GLIB_INCLUDE_DIRS} PATH_SUFFIXES glib-2.0/include) 269 …find_path(GLIB_INCLUDE_DIR NAMES glib.h HINTS ${PC_GLIB_INCLUDEDIR} ${PC_GLIB_INCLUDE_DIRS} PATH_S… 273 list(APPEND project_headers ${PROJECT_SOURCE_DIR}/src/hb-glib.h) 277 list(APPEND PC_REQUIRES_PRIV "glib-2.0 >= 2.19.1") 382 # Use the hints from glib-2.0.pc to find glib-mkenums 384 pkg_check_modules(PC_GLIB QUIET glib-2.0) [all …]
|