• Home
  • Raw
  • Download

Lines Matching refs:family

47     void construct(const char name[], FamilyRec* family) {  in construct()
49 fFamily = family; // we don't own this, so just record the referene in construct()
78 static SkTypeface* find_best_face(const FamilyRec* family, in find_best_face() argument
80 SkTypeface* const* faces = family->fFaces; in find_best_face()
139 FamilyRec* family = find_family(face); in remove_from_family() local
140 SkASSERT(family->fFaces[face->style()] == face); in remove_from_family()
141 family->fFaces[face->style()] = NULL; in remove_from_family()
144 if (family->fFaces[i] != NULL) { // family is non-empty in remove_from_family()
148 return family; // return the empty family in remove_from_family()
152 static void detach_and_delete_family(FamilyRec* family) { in detach_and_delete_family() argument
158 if (curr == family) { in detach_and_delete_family()
164 SkDELETE(family); in detach_and_delete_family()
187 const FamilyRec* family = find_family(familyMember); in find_typeface() local
188 return family ? find_best_face(family, style) : NULL; in find_typeface()
191 static void add_name(const char name[], FamilyRec* family) { in add_name() argument
202 list->construct(name, family); in add_name()
251 FamilyRec* family = remove_from_family(this); in ~FamilyTypeface() local
252 if (NULL != family) { in ~FamilyTypeface()
253 remove_from_names(family); in ~FamilyTypeface()
254 detach_and_delete_family(family); in ~FamilyTypeface()
464 FamilyRec* family = find_family(tf); in load_system_fonts() local
469 gDefaultFamily = family; in load_system_fonts()
473 add_name(*names, family); in load_system_fonts()