Lines Matching refs:name
27 * The Type instance can be used to create additional instances (fFactory), get the name
29 * - Given a string containing a type name, SkReflected can create an instance of that type.
78 static sk_sp<SkReflected> CreateInstance(const char* name) {
80 if (0 == strcmp(name, type->fName)) {
134 * All visit functions supply a field name, and a non-constant reference to an actual field.
139 * visit() for each of their fields, passing a (unique) field name, and the actual field. If your
159 void visit(const char* name, SkTArray<T, MEM_MOVE>& arr) {
160 arr.resize_back(this->enterArray(name, arr.count()));
173 void visit(const char* name, sk_sp<T>& obj) {
174 this->enterObject(name);
219 virtual void enterObject(const char* name) = 0;
222 virtual int enterArray(const char* name, int oldCount) = 0;