Home
last modified time | relevance | path

Searched refs:mysub (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c407 lws_mqtt_subs_t *mysub; in lws_mqtt_create_sub() local
426 mysub = lws_malloc(sizeof(*mysub) + topiclen + 1, "sub"); in lws_mqtt_create_sub()
427 if (!mysub) { in lws_mqtt_create_sub()
432 mysub->wildcard = (flag == LMVTR_VALID_WILDCARD); in lws_mqtt_create_sub()
433 mysub->shadow = (flag == LMVTR_VALID_SHADOW); in lws_mqtt_create_sub()
442 mysub->next = mqtt->subs_head; in lws_mqtt_create_sub()
443 mqtt->subs_head = mysub; in lws_mqtt_create_sub()
444 memcpy(mysub->topic, topic, strlen(topic) + 1); in lws_mqtt_create_sub()
445 mysub->ref_count = 1; in lws_mqtt_create_sub()
448 __func__, mysub, mqtt); in lws_mqtt_create_sub()
[all …]
Dops-mqtt.c453 lws_mqtt_subs_t *s, *s1, *mysub; in rops_close_role_mqtt() local
478 mysub = lws_mqtt_find_sub(nwsi->mqtt, (const char *)&s[1]); in rops_close_role_mqtt()
480 if (mysub) { in rops_close_role_mqtt()
481 assert(mysub->ref_count); in rops_close_role_mqtt()
482 mysub->ref_count--; in rops_close_role_mqtt()
/third_party/gstreamer/gstplugins_bad/sys/shm/
Dgstshmsink.c199 GstShmSinkMemory *mysub; in gst_shm_sink_allocator_mem_share() local
209 mysub = g_slice_new0 (GstShmSinkMemory); in gst_shm_sink_allocator_mem_share()
211 gst_memory_init (GST_MEMORY_CAST (mysub), GST_MINI_OBJECT_FLAGS (parent) | in gst_shm_sink_allocator_mem_share()
214 mysub->data = mymem->data; in gst_shm_sink_allocator_mem_share()
216 return (GstMemory *) mysub; in gst_shm_sink_allocator_mem_share()