Lines Matching refs:opCode
62 bool SkScriptRuntime::executeTokens(unsigned char* opCode) { in executeTokens() argument
70 switch ((op = (SkScriptEngine2::TypeOp) *opCode++)) { in executeTokens()
86 memcpy(&index, opCode, sizeof(index)); in executeTokens()
87 opCode += sizeof(index); in executeTokens()
91 memcpy(&ref, opCode, sizeof(ref)); in executeTokens()
92 opCode += sizeof(ref); in executeTokens()
101 memcpy(&ref, opCode, sizeof(ref)); in executeTokens()
102 opCode += sizeof(ref); in executeTokens()
110 memcpy(&ref, opCode, sizeof(ref)); in executeTokens()
111 opCode += sizeof(ref); in executeTokens()
127 memcpy(&operand[registerLoad].fS32, opCode, sizeof(int32_t)); in executeTokens()
128 opCode += sizeof(int32_t); in executeTokens()
133 memcpy(&operand[registerLoad].fScalar, opCode, sizeof(SkScalar)); in executeTokens()
134 opCode += sizeof(SkScalar); in executeTokens()
141 memcpy(&size, opCode, sizeof(size)); in executeTokens()
142 opCode += sizeof(size); in executeTokens()
143 strPtr->set((char*) opCode, size); in executeTokens()
144 opCode += size; in executeTokens()
152 memcpy(&type, opCode, sizeof(type)); in executeTokens()
153 opCode += sizeof(type); in executeTokens()
166 memcpy(&size, opCode, sizeof(size)); in executeTokens()
167 opCode += sizeof(size); in executeTokens()
169 opCode += size; // skip to else (or end of if predicate) in executeTokens()
172 memcpy(&size, opCode, sizeof(size)); in executeTokens()
173 opCode += sizeof(size); in executeTokens()
174 opCode += size; // if true: after predicate, always skip to end of else in executeTokens()
177 memcpy(&size, opCode, sizeof(size)); in executeTokens()
178 opCode += sizeof(size); in executeTokens()
180 opCode += size; // skip to kToBool opcode after || predicate in executeTokens()