Searched refs:mysub (Results 1 – 3 of 3) sorted by relevance
407 lws_mqtt_subs_t *mysub; in lws_mqtt_create_sub() local426 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 …]
453 lws_mqtt_subs_t *s, *s1, *mysub; in rops_close_role_mqtt() local478 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()
199 GstShmSinkMemory *mysub; in gst_shm_sink_allocator_mem_share() local209 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()