Lines Matching refs:key2
65 static INLINE int isEqual(NXMapTable *table, const void *key1, const void *key2) {
66 return (key1 == key2) ? 1 : (table->prototype->isEqual)(table, key1, key2);
402 static int _mapPtrIsEqual(NXMapTable *table, const void *key1, const void *key2) {
403 return key1 == key2;
406 static int _mapStrIsEqual(NXMapTable *table, const void *key1, const void *key2) {
407 if (key1 == key2) return YES;
408 if (! key1) return ! strlen ((char *) key2);
409 if (! key2) return ! strlen ((char *) key1);
410 if (((char *) key1)[0] != ((char *) key2)[0]) return NO;
411 return (strcmp((char *) key1, (char *) key2)) ? NO : YES;
444 static int _mapObjectIsEqual(NXMapTable *table, const void *key1, const void *key2) {
445 return [(id)key1 isEqual:(id)key2];