• Home
  • Raw
  • Download

Lines Matching refs:sizeof

65     memcpy(buffer, &i, sizeof(int32_t));
78 SkASSERT(sizeof(int32_t) == 4);
81 memcpy(buffer, curVec, sizeof(int32_t));
82 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t);
91 SkASSERT(sizeof(float) == 4);
92 memcpy(buffer, &v0, sizeof(float));
105 SkASSERT(sizeof(float) == 4);
108 memcpy(buffer, curVec, sizeof(float));
109 buffer = static_cast<char*>(buffer) + 4*sizeof(float);
119 memcpy(buffer, v, 2 * sizeof(int32_t));
132 SkASSERT(sizeof(int32_t) == 4);
135 memcpy(buffer, curVec, 2 * sizeof(int32_t));
136 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t);
145 SkASSERT(sizeof(float) == 4);
147 memcpy(buffer, v, 2 * sizeof(float));
160 SkASSERT(sizeof(float) == 4);
163 memcpy(buffer, curVec, 2 * sizeof(float));
164 buffer = static_cast<char*>(buffer) + 4*sizeof(float);
177 memcpy(buffer, v, 3 * sizeof(int32_t));
190 SkASSERT(sizeof(int32_t) == 4);
193 memcpy(buffer, curVec, 3 * sizeof(int32_t));
194 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t);
203 SkASSERT(sizeof(float) == 4);
205 memcpy(buffer, v, 3 * sizeof(float));
218 SkASSERT(sizeof(float) == 4);
221 memcpy(buffer, curVec, 3 * sizeof(float));
222 buffer = static_cast<char*>(buffer) + 4*sizeof(float);
236 memcpy(buffer, v, 4 * sizeof(int32_t));
249 SkASSERT(sizeof(int32_t) == 4);
252 memcpy(buffer, curVec, 4 * sizeof(int32_t));
253 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t);
266 SkASSERT(sizeof(float) == 4);
268 memcpy(buffer, v, 4 * sizeof(float));
281 SkASSERT(sizeof(float) == 4);
282 memcpy(buffer, v, arrayCount * 4 * sizeof(float));
343 GR_STATIC_ASSERT(sizeof(float) == 4);
348 memcpy(buffer, &matrix[j * N], N * sizeof(float));
349 buffer = static_cast<char*>(buffer) + 4 * sizeof(float);
357 GR_STATIC_ASSERT(sizeof(float) == 4);
359 memcpy(buffer, matrices, count * 16 * sizeof(float));