Lines Matching full:sizeof
28 byteSize = sizeof(SkColor);
49 byteSize = sizeof(int);
55 byteSize = sizeof(void*);
58 byteSize = sizeof(SkMSec);
61 byteSize = sizeof(SkPoint);
64 byteSize = sizeof(Sk3D_Point);
67 byteSize = sizeof(int32_t);
70 byteSize = sizeof(SkScalar);
74 byteSize = sizeof(SkString); // assume we'll copy by reference, not value
109 return sizeof(int);
132 SkASSERT(fCount == sizeof(SkString) / sizeof(SkScalar));
143 SkASSERT(sizeof(value[0].fScalar) == sizeof(value[0])); // no support for 64 bit pointers, yet
155 SkASSERT(sizeof(values[0].fScalar) == sizeof(values[0])); // no support for 64 bit pointers, yet
162 memcpy(dst, values, count * sizeof(SkOperand));
232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) {
233 SkASSERT(sizeof("string") == sizeof("script"));
235 memcpy(&stringHeader[1], "script", sizeof("script") - 1);
240 if (strncmp(rawValue, "#script:", sizeof("#script:") - 1) != 0)
374 memcpy(&storage->fScalar, &scriptValue.fOperand.fScalar, sizeof(SkScalar));
377 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar));
399 memcpy(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand));
420 memcpy(destArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count);
448 SkASSERT(sizeof(SkScalar) == sizeof(SkOperand)); // !!! no 64 bit pointer support yet
452 memcpy(storage, scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand));
457 memcpy(storage, scriptValue.fOperand.fArray->begin(), getCount() * sizeof(SkOperand));
459 memcpy(storage, &scriptValue.fOperand, sizeof(SkOperand));
472 // valuePtr = (void*) ((char*) valuePtr + index * sizeof(SkScalar));
518 int index = SkStrSearch(&info->fName, count, match, sizeof(*info));