Searched refs:regComp (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation_exchange.c | 42 regex_t regComp; in IsIShareSession() local 43 if (regcomp(®Comp, ISHARE_SESSION_NAME, REG_EXTENDED | REG_NOSUB) != 0) { in IsIShareSession() 47 bool compare = regexec(®Comp, sessionName, 0, NULL, 0) == 0; in IsIShareSession() 48 regfree(®Comp); in IsIShareSession()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/security/permission/common/ |
H A D | permission_entry.c | 293 regex_t regComp; in CompareString() local 294 if (regcomp(®Comp, src, REG_EXTENDED | REG_NOSUB) != 0) { in CompareString() 298 if (regexec(®Comp, dest, 0, NULL, 0) == 0) { in CompareString() 300 regfree(®Comp); in CompareString() 303 regfree(®Comp); in CompareString()
|