Searched refs:curf (Results 1 – 2 of 2) sorted by relevance
153 char* curf = topicFilter; in isTopicMatched() local157 while (*curf && curn < curn_end) in isTopicMatched()159 if (*curn == '/' && *curf != '/') in isTopicMatched()161 if (*curf != '+' && *curf != '#' && *curf != *curn) in isTopicMatched()163 if (*curf == '+') in isTopicMatched()169 else if (*curf == '#') in isTopicMatched()171 curf++; in isTopicMatched()175 return (curn == curn_end) && (*curf == '\0'); in isTopicMatched()
1180 char *curf; in iotx_mc_is_topic_matched() local1188 curf = topicFilter; 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()1201 if (*curf == '+') { in iotx_mc_is_topic_matched()1207 } else if (*curf == '#') { in iotx_mc_is_topic_matched()1210 curf++; in iotx_mc_is_topic_matched()1214 return (curn == curn_end) && (*curf == '\0'); in iotx_mc_is_topic_matched()
Completed in 9 milliseconds