Lines Matching refs:grant
393 grant_t* grant = new grant_t; in addGrant() local
394 grant->uid = granteeUid; in addGrant()
395 grant->filename = reinterpret_cast<const uint8_t*>(strdup(filename)); in addGrant()
396 mGrants.add(grant); in addGrant()
402 grant_t* grant = *it; in removeGrant() local
403 if (grant->uid == granteeUid && in removeGrant()
404 !strcmp(reinterpret_cast<const char*>(grant->filename), filename)) { in removeGrant()
568 grant_t* grant = *it; in getGrant() local
569 if (grant->uid == uid && in getGrant()
570 !strcmp(reinterpret_cast<const char*>(grant->filename), filename)) { in getGrant()
571 return grant; in getGrant()