Searched refs:curn (Results 1 – 2 of 2) sorted by relevance
154 char* curn = topicName->lenstring.data; in isTopicMatched() local155 char* curn_end = curn + topicName->lenstring.len; in isTopicMatched()157 while (*curf && curn < curn_end) in isTopicMatched()159 if (*curn == '/' && *curf != '/') in isTopicMatched()161 if (*curf != '+' && *curf != '#' && *curf != *curn) in isTopicMatched()165 char* nextpos = curn + 1; in isTopicMatched()167 nextpos = ++curn + 1; in isTopicMatched()170 curn = curn_end - 1; // skip until end of string in isTopicMatched()172 curn++; in isTopicMatched()175 return (curn == curn_end) && (*curf == '\0'); in isTopicMatched()
1181 char *curn; in iotx_mc_is_topic_matched() local1189 curn = topicName->lenstring.data; in iotx_mc_is_topic_matched()1190 curn_end = curn + topicName->lenstring.len; in iotx_mc_is_topic_matched()1192 while (*curf && curn < curn_end) { in iotx_mc_is_topic_matched()1193 if (*curn == '/' && *curf != '/') { in iotx_mc_is_topic_matched()1197 if (*curf != '+' && *curf != '#' && *curf != *curn) { in iotx_mc_is_topic_matched()1203 char *nextpos = curn + 1; in iotx_mc_is_topic_matched()1205 nextpos = ++curn + 1; in iotx_mc_is_topic_matched()1208 curn = curn_end - 1; /* skip until end of string */ in iotx_mc_is_topic_matched()1211 curn++; in iotx_mc_is_topic_matched()[all …]
Completed in 9 milliseconds