Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 25 of 77) sorted by relevance

1234

/external/bluetooth/bluez/attrib/
Dgattrib.c143 GAttrib *g_attrib_ref(GAttrib *attrib) in g_attrib_ref() argument
145 if (!attrib) in g_attrib_ref()
148 g_atomic_int_inc(&attrib->refs); in g_attrib_ref()
150 return attrib; in g_attrib_ref()
170 static void attrib_destroy(GAttrib *attrib) in attrib_destroy() argument
175 while ((c = g_queue_pop_head(attrib->queue))) in attrib_destroy()
178 g_queue_free(attrib->queue); in attrib_destroy()
179 attrib->queue = NULL; in attrib_destroy()
181 for (l = attrib->events; l; l = l->next) in attrib_destroy()
184 g_slist_free(attrib->events); in attrib_destroy()
[all …]
Dgattrib.h44 GAttrib *g_attrib_ref(GAttrib *attrib);
45 void g_attrib_unref(GAttrib *attrib);
47 GIOChannel *g_attrib_get_channel(GAttrib *attrib);
49 gboolean g_attrib_set_disconnect_function(GAttrib *attrib,
52 gboolean g_attrib_set_destroy_function(GAttrib *attrib,
55 guint g_attrib_send(GAttrib *attrib, guint id, guint8 opcode,
59 gboolean g_attrib_cancel(GAttrib *attrib, guint id);
60 gboolean g_attrib_cancel_all(GAttrib *attrib);
62 gboolean g_attrib_set_debug(GAttrib *attrib,
65 guint g_attrib_register(GAttrib *attrib, guint8 opcode,
[all …]
Dgatt.c37 GAttrib *attrib; member
45 GAttrib *attrib; member
56 g_attrib_unref(dp->attrib); in discover_primary_free()
64 g_attrib_unref(dc->attrib); in discover_char_free()
133 buf = g_attrib_get_buffer(dp->attrib, &buflen); in primary_by_uuid_cb()
140 g_attrib_send(dp->attrib, 0, buf[0], buf, oplen, primary_by_uuid_cb, in primary_by_uuid_cb()
202 uint8_t *buf = g_attrib_get_buffer(dp->attrib, &buflen); in primary_all_cb()
206 g_attrib_send(dp->attrib, 0, buf[0], buf, oplen, primary_all_cb, in primary_all_cb()
217 guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func, in gatt_discover_primary() argument
222 uint8_t *buf = g_attrib_get_buffer(attrib, &buflen); in gatt_discover_primary()
[all …]
Dgatttool.c69 GAttrib *attrib; member
76 GAttrib *attrib = user_data; in events_handler() local
105 g_attrib_send(attrib, 0, opdu[0], opdu, olen, NULL, NULL, NULL); in events_handler()
110 GAttrib *attrib = user_data; in listen_start() local
112 g_attrib_register(attrib, ATT_OP_HANDLE_NOTIFY, events_handler, in listen_start()
113 attrib, NULL); in listen_start()
114 g_attrib_register(attrib, ATT_OP_HANDLE_IND, events_handler, in listen_start()
115 attrib, NULL); in listen_start()
122 GAttrib *attrib; in connect_cb() local
130 attrib = g_attrib_new(io); in connect_cb()
[all …]
Dgatt.h28 guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func,
31 guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
35 guint gatt_read_char(GAttrib *attrib, uint16_t handle, uint16_t offset,
38 guint gatt_write_char(GAttrib *attrib, uint16_t handle, uint8_t *value,
41 guint gatt_find_info(GAttrib *attrib, uint16_t start, uint16_t end,
44 guint gatt_write_cmd(GAttrib *attrib, uint16_t handle, uint8_t *value, int vlen,
47 guint gatt_read_char_by_uuid(GAttrib *attrib, uint16_t start, uint16_t end,
51 guint gatt_exchange_mtu(GAttrib *attrib, uint16_t mtu, GAttribResultFunc func,
Dclient.c60 GAttrib *attrib; member
155 g_attrib_unref(gatt->attrib); in gatt_service_free()
232 g_attrib_unref(gatt->attrib); in watcher_exit()
307 g_attrib_send(gatt->attrib, 0, opdu[0], opdu, olen, in events_handler()
322 gatt->attrib = NULL; in attrib_destroy()
330 g_attrib_unref(gatt->attrib); in attrib_disconnect()
348 if (gatt->attrib == NULL) in connect_cb()
353 g_attrib_register(gatt->attrib, in connect_cb()
356 g_attrib_register(gatt->attrib, in connect_cb()
364 g_attrib_unref(gatt->attrib); in connect_cb()
[all …]
Dinteractive.c41 static GAttrib *attrib = NULL; variable
133 g_attrib_send(attrib, 0, opdu[0], opdu, olen, NULL, NULL, NULL); in events_handler()
144 attrib = g_attrib_new(iochannel); in connect_cb()
145 g_attrib_register(attrib, ATT_OP_HANDLE_NOTIFY, events_handler, in connect_cb()
146 attrib, NULL); in connect_cb()
147 g_attrib_register(attrib, ATT_OP_HANDLE_IND, events_handler, in connect_cb()
148 attrib, NULL); in connect_cb()
357 g_attrib_unref(attrib); in cmd_disconnect()
358 attrib = NULL; in cmd_disconnect()
378 gatt_discover_primary(attrib, NULL, primary_all_cb, NULL); in cmd_primary()
[all …]
Dclient.h27 GAttrib *attrib, GSList *primaries);
/external/openssl/crypto/pkcs12/
Dp12_attr.c68 if (X509at_add1_attr_by_NID(&bag->attrib, NID_localKeyID, in PKCS12_add_localkeyid()
93 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_asc()
104 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_uni()
114 if (X509at_add1_attr_by_NID(&bag->attrib, NID_ms_csp_name, in PKCS12_add_CSPName_asc()
123 X509_ATTRIBUTE *attrib; in PKCS12_get_attr_gen() local
127 attrib = sk_X509_ATTRIBUTE_value (attrs, i); in PKCS12_get_attr_gen()
128 if (OBJ_obj2nid (attrib->object) == attr_nid) { in PKCS12_get_attr_gen()
129 if (sk_ASN1_TYPE_num (attrib->value.set)) in PKCS12_get_attr_gen()
130 return sk_ASN1_TYPE_value(attrib->value.set, 0); in PKCS12_get_attr_gen()
Dp12_kiss.c229 ASN1_TYPE *attrib; in parse_bag() local
233 if ((attrib = PKCS12_get_attr (bag, NID_friendlyName))) in parse_bag()
234 fname = attrib->value.bmpstring; in parse_bag()
236 if ((attrib = PKCS12_get_attr (bag, NID_localKeyID))) in parse_bag()
237 lkid = attrib->value.octet_string; in parse_bag()
/external/markdown/markdown/extensions/
Dtoc.py24 div.attrib["class"] = "toc"
30 header.attrib["class"] = "toctitle"
40 if "id" in c.attrib:
41 used_ids.append(c.attrib["id"])
77 if not "id" in c.attrib:
85 c.attrib["id"] = id
87 id = c.attrib["id"]
93 link.attrib["href"] = '#' + id
98 anchor.attrib["href"] = "#" + id
99 anchor.attrib["class"] = "toclink"
/external/bluetooth/bluez/src/
DAndroid.mk33 attrib-server.c \
34 ../attrib/att.c \
35 ../attrib/client.c \
36 ../attrib/gatt.c \
37 ../attrib/gattrib.c \
38 ../attrib/utils.c \
Dattrib-server.c58 GAttrib *attrib; member
148 const struct attribute *attrib = a; in handle_cmp() local
151 return attrib->handle - handle; in handle_cmp()
170 channel->encrypted = g_attrib_is_encrypted(channel->attrib); in att_check_reqs()
625 struct attribute *attrib; in find_primary_range() local
636 attrib = l->data; in find_primary_range()
638 if (bt_uuid_cmp(&attrib->uuid, &prim_uuid) != 0) in find_primary_range()
653 return attrib; in find_primary_range()
784 g_attrib_unref(channel->attrib); in channel_disconnect()
915 g_attrib_send(channel->attrib, 0, opdu[0], opdu, length, in channel_handler()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/
DSDL_dspvideo.c467 DSpContextAttributes attrib; in DSp_GetMainDevice()
482 SDL_memset (&attrib, 0, sizeof (DSpContextAttributes)); in DSp_GetMainDevice()
485 attrib.displayWidth = 640; in DSp_GetMainDevice()
486 attrib.displayHeight = 480; in DSp_GetMainDevice()
487 attrib.displayBestDepth = 8; in DSp_GetMainDevice()
488 attrib.backBufferBestDepth = 8; in DSp_GetMainDevice()
489 attrib.displayDepthMask = kDSpDepthMask_All; in DSp_GetMainDevice()
490 attrib.backBufferDepthMask = kDSpDepthMask_All; in DSp_GetMainDevice()
491 attrib.colorNeeds = kDSpColorNeeds_Require; in DSp_GetMainDevice()
492 attrib.pageCount = 1; in DSp_GetMainDevice()
[all …]
/external/bluetooth/bluez/
DMakefile.tools53 bin_PROGRAMS += attrib/gatttool
55 attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
56 attrib/gattrib.c btio/btio.c \
57 attrib/gatttool.h attrib/interactive.c \
58 attrib/utils.c
209 test/test-input test/test-attrib test/test-sap-server \
DMakefile.am91 attrib_sources = attrib/att.h attrib/att.c attrib/gatt.h attrib/gatt.c \
92 attrib/gattrib.h attrib/gattrib.c attrib/client.h \
93 attrib/client.c
240 src/attrib-server.h src/attrib-server.c \
/external/tinyxml/
Dtinyxmlparser.cpp1100 TiXmlAttribute* attrib = new TiXmlAttribute(); in Parse() local
1101 if ( !attrib ) in Parse()
1107 attrib->SetDocument( document ); in Parse()
1109 p = attrib->Parse( p, data, encoding ); in Parse()
1114 delete attrib; in Parse()
1119 TiXmlAttribute* node = attributeSet.Find( attrib->Name() ); in Parse()
1122 node->SetValue( attrib->Value() ); in Parse()
1123 delete attrib; in Parse()
1127 attributeSet.Add( attrib ); in Parse()
1539 TiXmlAttribute attrib; in Parse() local
[all …]
Dtinyxml.cpp754 TiXmlAttribute* attrib = new TiXmlAttribute( name, _value ); in SetAttribute() local
755 if ( attrib ) in SetAttribute()
757 attributeSet.Add( attrib ); in SetAttribute()
776 const TiXmlAttribute* attrib; in Print() local
777 for ( attrib = attributeSet.First(); attrib; attrib = attrib->Next() ) in Print()
780 attrib->Print( cfile, depth ); in Print()
821 const TiXmlAttribute* attrib; in StreamOut() local
822 for ( attrib = attributeSet.First(); attrib; attrib = attrib->Next() ) in StreamOut()
825 attrib->StreamOut( stream ); in StreamOut()
/external/apache-http/src/org/apache/http/impl/cookie/
DCookieSpecBase.java88 NameValuePair attrib = attribs[j]; in parse() local
89 String s = attrib.getName().toLowerCase(Locale.ENGLISH); in parse()
91 cookie.setAttribute(s, attrib.getValue()); in parse()
95 handler.parse(cookie, attrib.getValue()); in parse()
DRFC2965Spec.java137 NameValuePair attrib = entry.getValue(); in parse() local
138 String s = attrib.getName().toLowerCase(Locale.ENGLISH); in parse()
140 cookie.setAttribute(s, attrib.getValue()); in parse()
144 handler.parse(cookie, attrib.getValue()); in parse()
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DShader.java337 Attribute attrib = attribs.get(ordinal); in getAttribute() local
338 if (attrib == null){ in getAttribute()
339 attrib = new Attribute(); in getAttribute()
340 attrib.name = attribType.name(); in getAttribute()
341 attribs.put(ordinal, attrib); in getAttribute()
343 return attrib; in getAttribute()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11gl_c.h67 int attrib,
93 extern int X11_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value);
/external/icu4c/test/intltest/
Ddadrcoll.cpp151 UColAttribute attrib; in processArguments() local
158 start = ucol_tok_getNextArgument(start, end, &attrib, &value, &status); in processArguments()
161 col->setAttribute(attrib, value, status); in processArguments()
163 start = ucol_tok_getNextArgument(start, end, &attrib, &value, &status); in processArguments()
/external/grub/stage2/
Dfsys_fat.c296 int attrib = FAT_ATTRIB_DIR; in fat_dir() local
321 if (attrib & FAT_ATTRIB_DIR) in fat_dir()
335 if (!(attrib & FAT_ATTRIB_DIR)) in fat_dir()
478 attrib = FAT_DIRENTRY_ATTRIB (dir_buf); in fat_dir()
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxgl.c153 int CGX_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value) { in CGX_GL_GetAttribute() argument
156 switch(attrib) { in CGX_GL_GetAttribute()

1234