Home | History | Annotate | Download | only in gpu

Lines Matching refs:KEY_SIZE

26 template<typename ENTRY, size_t KEY_SIZE>
29 enum { kKeySize = KEY_SIZE };
35 GrTBinHashKey(const GrTBinHashKey<ENTRY, KEY_SIZE>& other) {
39 GrTBinHashKey<ENTRY, KEY_SIZE>& operator=(const GrTBinHashKey<ENTRY, KEY_SIZE>& other) {
55 GrAssert(GrIsALIGN4(KEY_SIZE));
56 memcpy(&fData, data, KEY_SIZE);
59 size_t len = KEY_SIZE;
75 int compare(const GrTBinHashKey<ENTRY, KEY_SIZE>& key) const {
77 return memcmp(fData, key.fData, KEY_SIZE);
80 static bool EQ(const ENTRY& entry, const GrTBinHashKey<ENTRY, KEY_SIZE>& key) {
85 static bool LT(const ENTRY& entry, const GrTBinHashKey<ENTRY, KEY_SIZE>& key) {
102 uint8_t fData[KEY_SIZE]; // Buffer for key storage