Searched refs:mysub (Results 1 – 3 of 3) sorted by relevance
300 lws_mqtt_subs_t *mysub; in lws_mqtt_create_sub() local302 mysub = lws_malloc(sizeof(*mysub) + strlen(topic) + 1, "sub"); in lws_mqtt_create_sub()303 if (!mysub) in lws_mqtt_create_sub()306 mysub->next = mqtt->subs_head; in lws_mqtt_create_sub()307 mqtt->subs_head = mysub; in lws_mqtt_create_sub()308 memcpy(mysub->topic, topic, strlen(topic) + 1); in lws_mqtt_create_sub()309 mysub->ref_count = 1; in lws_mqtt_create_sub()312 __func__, mysub, mqtt); in lws_mqtt_create_sub()314 return mysub; in lws_mqtt_create_sub()1762 lws_mqtt_subs_t *mysub; in lws_mqtt_client_send_subcribe() local[all …]
417 lws_mqtt_subs_t *s, *s1, *mysub; in rops_close_role_mqtt() local443 mysub = lws_mqtt_find_sub(nwsi->mqtt, (const char *)&s[1]); in rops_close_role_mqtt()445 if (mysub) { in rops_close_role_mqtt()446 assert(mysub->ref_count); in rops_close_role_mqtt()447 mysub->ref_count--; in rops_close_role_mqtt()
28 define i32 @mysub(i8* %p, i8* %q) sanitize_address {29 ; ALL-LABEL: @mysub