Home
last modified time | relevance | path

Searched refs:operand (Results 1 – 25 of 62) sorted by relevance

123

/external/skia/src/animator/
DSkScriptRuntime.cpp55 SkOperand2 operand[2]; // 1=accumulator and 2=operand in executeTokens() local
64 operand[0].fArray = new SkOpArray(SkOperand2::kNoType /*fReturnType*/); in executeTokens()
67 index = operand[1].fS32; in executeTokens()
68 if (index >= operand[0].fArray->count()) { in executeTokens()
72 operand[0] = operand[0].fArray->begin()[index]; in executeTokens()
75 *operand[0].fArray->append() = operand[1]; in executeTokens()
86 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */ in executeTokens()
87 &operand[0] /* result */) == false) { in executeTokens()
96 if (callBackMember->invoke(ref, operand[0].fObject, &operand[0]) == false) { in executeTokens()
105 if (callBackProperty->getResult(ref, &operand[0])== false) { in executeTokens()
[all …]
DSkScriptTokenizer.cpp477 SkScriptValue2 operand; in innerScript() local
533 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); in innerScript()
541 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); in innerScript()
545 operand.fType = SkOperand2::kS32; in innerScript()
548 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); in innerScript()
549 operand.fType = SkOperand2::kScalar; in innerScript()
551 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
552 fValueStack.push(operand); in innerScript()
568 operand.fOperand.fString = new SkString(); in innerScript()
577 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
[all …]
DSkAnimatorScript2.cpp50 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
54 SkDisplayArray* boxedValue = new SkDisplayArray(*operand->fArray); in convert()
60 boxedValue->value = operand->fS32; in convert()
65 boxedValue->value = operand->fScalar; in convert()
68 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString); in convert()
78 operand->fObject = (void*) displayable; in convert()
299 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
301 SkDisplayable* displayable = (SkDisplayable*) operand->fObject; in convert()
305 operand->fArray = new SkOpArray(SkAnimatorScript2::ToOpType(boxedValue->values.getType())); in convert()
307 operand->fArray->setCount(count); in convert()
[all …]
DSkAnimator.cpp235 int index, SkOperand* operand, SkDisplayTypes type) { in getArrayCommon() argument
239 return info->getArrayValue(element, index, operand); in getArrayCommon()
244 SkOperand operand; in getArrayInt() local
245 bool result = getArrayCommon(ae, ai, index, &operand, SkType_Int); in getArrayInt()
246 return result ? operand.fS32 : SK_NaN32; in getArrayInt()
261 SkOperand operand; in getArrayScalar() local
262 bool result = getArrayCommon(ae, ai, index, &operand, SkType_Float); in getArrayScalar()
263 return result ? operand.fScalar : SK_ScalarNaN; in getArrayScalar()
278 SkOperand operand; in getArrayString() local
279 bool result = getArrayCommon(ae, ai, index, &operand, SkType_String); in getArrayString()
[all …]
DSkScript.cpp539 SkOperand operand; in innerScript() local
644 script = SkParse::FindHex(script, (uint32_t*)&operand.fS32); in innerScript()
658 dotCheck = SkParse::FindS32(script, &operand.fS32); in innerScript()
666 script = SkParse::FindScalar(script, &operand.fScalar); in innerScript()
671 fOperandStack.push(operand); in innerScript()
693 operand.fString = new SkString(); in innerScript()
694 track(operand.fString); in innerScript()
702 operand.fString->append(script, 1); in innerScript()
712 fOperandStack.push(operand); in innerScript()
755operand.fArray = value->fOperand.fArray = new SkTypedArray(ToDisplayType(fReturnType)); in innerScript()
[all …]
DSkOpArray.cpp9 bool SkOpArray::getIndex(int index, SkOperand2* operand) { in getIndex() argument
14 *operand = begin()[index]; in getIndex()
DSkScript2.h219 void convertToString(SkOperand2* operand, SkOperand2::OpType type) { in convertToString() argument
221 scriptValue.fOperand = *operand; in convertToString()
224 *operand = scriptValue.fOperand; in convertToString()
DSkScript.h202 void convertToString(SkOperand& operand, SkDisplayTypes type) { in convertToString() argument
204 scriptValue.fOperand = operand; in convertToString()
207 operand = scriptValue.fOperand; in convertToString()
/external/webkit/JavaScriptCore/bytecode/
DCodeBlock.cpp141 int r0 = (++it)->u.operand; in printUnaryOp()
142 int r1 = (++it)->u.operand; in printUnaryOp()
149 int r0 = (++it)->u.operand; in printBinaryOp()
150 int r1 = (++it)->u.operand; in printBinaryOp()
151 int r2 = (++it)->u.operand; in printBinaryOp()
157 int r0 = (++it)->u.operand; in printConditionalJump()
158 int offset = (++it)->u.operand; in printConditionalJump()
164 int r0 = (++it)->u.operand; in printGetByIdOp()
165 int r1 = (++it)->u.operand; in printGetByIdOp()
166 int id0 = (++it)->u.operand; in printGetByIdOp()
[all …]
DInstruction.h135 Instruction(int operand) in Instruction()
140 u.operand = operand; in Instruction()
150 int operand; member
/external/webkit/JavaScriptCore/jit/
DJITOpcodes.cpp391 unsigned dst = currentInstruction[1].u.operand; in emit_op_mov()
392 unsigned src = currentInstruction[2].u.operand; in emit_op_mov()
408 emitLoad(currentInstruction[1].u.operand, regT1, regT0); in emit_op_end()
415 unsigned target = currentInstruction[1].u.operand; in emit_op_jmp()
421 unsigned op1 = currentInstruction[1].u.operand; in emit_op_loop_if_lesseq()
422 unsigned op2 = currentInstruction[2].u.operand; in emit_op_loop_if_lesseq()
423 unsigned target = currentInstruction[3].u.operand; in emit_op_loop_if_lesseq()
449 unsigned op1 = currentInstruction[1].u.operand; in emitSlow_op_loop_if_lesseq()
450 unsigned op2 = currentInstruction[2].u.operand; in emitSlow_op_loop_if_lesseq()
451 unsigned target = currentInstruction[3].u.operand; in emitSlow_op_loop_if_lesseq()
[all …]
DJITArithmetic.cpp53 unsigned dst = currentInstruction[1].u.operand; in emit_op_negate()
54 unsigned src = currentInstruction[2].u.operand; in emit_op_negate()
79 unsigned dst = currentInstruction[1].u.operand; in emitSlow_op_negate()
91 unsigned op1 = currentInstruction[1].u.operand; in emit_op_jnless()
92 unsigned op2 = currentInstruction[2].u.operand; in emit_op_jnless()
93 unsigned target = currentInstruction[3].u.operand; in emit_op_jnless()
128 unsigned op1 = currentInstruction[1].u.operand; in emitSlow_op_jnless()
129 unsigned op2 = currentInstruction[2].u.operand; in emitSlow_op_jnless()
130 unsigned target = currentInstruction[3].u.operand; in emitSlow_op_jnless()
154 unsigned op1 = currentInstruction[1].u.operand; in emit_op_jless()
[all …]
DJITCall.cpp64 int argCount = instruction[3].u.operand; in compileOpCallSetupArgs()
65 int registerOffset = instruction[4].u.operand; in compileOpCallSetupArgs()
74 int argCount = instruction[3].u.operand; in compileOpConstructSetupArgs()
75 int registerOffset = instruction[4].u.operand; in compileOpConstructSetupArgs()
76 int proto = instruction[5].u.operand; in compileOpConstructSetupArgs()
77 int thisRegister = instruction[6].u.operand; in compileOpConstructSetupArgs()
95 int dst = instruction[1].u.operand; in compileOpCallVarargs()
96 int callee = instruction[2].u.operand; in compileOpCallVarargs()
97 int argCountRegister = instruction[3].u.operand; in compileOpCallVarargs()
98 int registerOffset = instruction[4].u.operand; in compileOpCallVarargs()
[all …]
DJITPropertyAccess.cpp55 unsigned base = currentInstruction[1].u.operand; in emit_op_put_by_index()
56 unsigned property = currentInstruction[2].u.operand; in emit_op_put_by_index()
57 unsigned value = currentInstruction[3].u.operand; in emit_op_put_by_index()
68 unsigned base = currentInstruction[1].u.operand; in emit_op_put_getter()
69 unsigned property = currentInstruction[2].u.operand; in emit_op_put_getter()
70 unsigned function = currentInstruction[3].u.operand; in emit_op_put_getter()
81 unsigned base = currentInstruction[1].u.operand; in emit_op_put_setter()
82 unsigned property = currentInstruction[2].u.operand; in emit_op_put_setter()
83 unsigned function = currentInstruction[3].u.operand; in emit_op_put_setter()
94 unsigned dst = currentInstruction[1].u.operand; in emit_op_del_by_id()
[all …]
DJIT.cpp124 stubCall.addArgument(currentInstruction[2].u.operand); \
125 stubCall.addArgument(currentInstruction[3].u.operand); \
126 stubCall.call(currentInstruction[1].u.operand); \
133 stubCall.addArgument(currentInstruction[2].u.operand); \
134 stubCall.call(currentInstruction[1].u.operand); \
143 stubCall.addArgument(currentInstruction[2].u.operand, regT2); \
144 stubCall.addArgument(currentInstruction[3].u.operand, regT2); \
145 stubCall.call(currentInstruction[1].u.operand); \
152 stubCall.addArgument(currentInstruction[2].u.operand, regT2); \
153 stubCall.call(currentInstruction[1].u.operand); \
/external/webkit/JavaScriptCore/interpreter/
DInterpreter.cpp94 int dst = vPC[1].u.operand; in resolve()
95 int property = vPC[2].u.operand; in resolve()
124 int dst = vPC[1].u.operand; in resolveSkip()
125 int property = vPC[2].u.operand; in resolveSkip()
126 int skip = vPC[3].u.operand + codeBlock->needsFullScopeChain(); in resolveSkip()
155 int dst = vPC[1].u.operand; in resolveGlobal()
158 int property = vPC[3].u.operand; in resolveGlobal()
160 int offset = vPC[5].u.operand; in resolveGlobal()
195 int dst = vPC[1].u.operand; in resolveBase()
196 int property = vPC[2].u.operand; in resolveBase()
[all …]
/external/srec/srec/cfront/
Dlog_tabl.c84 int log_lookup(log_table_info *logtab, int operand, int shift) in log_lookup() argument
89 if (operand <= 0) in log_lookup()
90 operand = 1; in log_lookup()
91 while ((operand & logtab->mask)) in log_lookup()
93 operand >>= 1; in log_lookup()
96 if (operand >= logtab->size) in log_lookup()
99 operand = (operand + 1) >> 1; in log_lookup()
102 log_report("tab: %d %d -> %d\n", operand, shift, in log_lookup()
103 (int)((shift) *(logtab->shift) + logtab->table[operand])); in log_lookup()
105 return ((int)((shift) *(logtab->shift) + logtab->table[operand])); in log_lookup()
[all …]
/external/chromium/sdch/open-vcdiff/src/
Drolling_hash_test.cc33 void TestModBase(uint32_t operand) { in TestModBase() argument
34 EXPECT_EQ(operand % kBase, RollingHashUtil::ModBase(operand)); in TestModBase()
35 EXPECT_EQ(static_cast<uint32_t>((-static_cast<int32_t>(operand)) % kBase), in TestModBase()
36 RollingHashUtil::FindModBaseInverse(operand)); in TestModBase()
38 operand + RollingHashUtil::FindModBaseInverse(operand))); in TestModBase()
Drolling_hash.h42 static inline uint32_t ModBase(uint32_t operand) { in ModBase() argument
43 return operand & (kBase - 1); in ModBase()
51 static inline uint32_t FindModBaseInverse(uint32_t operand) { in FindModBaseInverse() argument
62 return ModBase(uint32_t(0) - operand); in FindModBaseInverse()
/external/srec/srec/include/
Dlog_tabl.h40 int log_lookup(log_table_info *logtab, int operand, int shift);
41 int inv_log_lookup(log_table_info *logtab, int operand);
43 int integer_square_root(int operand);
/external/libpcap/
Dbpf_image.c48 char operand[64]; local
280 (void)snprintf(operand, sizeof operand, fmt, v);
286 n, op, operand, n + 1 + p->jt, n + 1 + p->jf);
/external/v8/src/x64/
Dcodegen-x64.cc3080 Result operand = frame_->Pop(); in VisitUnaryOperation() local
3081 Result answer = frame_->CallStub(&stub, &operand); in VisitUnaryOperation()
3090 Result operand = frame_->Pop(); in VisitUnaryOperation() local
3091 operand.ToRegister(); in VisitUnaryOperation()
3093 Condition is_smi = masm_->CheckSmi(operand.reg()); in VisitUnaryOperation()
3094 smi_label.Branch(is_smi, &operand); in VisitUnaryOperation()
3097 Result answer = frame_->CallStub(&stub, &operand); in VisitUnaryOperation()
3112 Result operand = frame_->Pop(); in VisitUnaryOperation() local
3113 operand.ToRegister(); in VisitUnaryOperation()
3114 Condition is_smi = masm_->CheckSmi(operand.reg()); in VisitUnaryOperation()
[all …]
/external/skia/src/xml/
DSkJSDisplayable.cpp268 SkOperand operand; in GetProperty() local
269 info->getValue(displayable, &operand, 1); in GetProperty()
270 scalar = operand.fScalar; in GetProperty()
371 SkOperand operand; in SetProperty() local
372 operand.fScalar = scalar; in SetProperty()
373 info->setValue(displayable, &operand, 1); in SetProperty()
/external/v8/src/ia32/
Dcodegen-ia32.cc1684 Result* operand, in ConstantSmiBinaryOperation() argument
1698 return LikelySmiBinaryOperation(op, &unsafe_operand, operand, in ConstantSmiBinaryOperation()
1701 return LikelySmiBinaryOperation(op, operand, &unsafe_operand, in ConstantSmiBinaryOperation()
1713 operand->ToRegister(); in ConstantSmiBinaryOperation()
1714 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
1720 deferred = new DeferredInlineSmiAddReversed(operand->reg(), in ConstantSmiBinaryOperation()
1724 deferred = new DeferredInlineSmiAdd(operand->reg(), in ConstantSmiBinaryOperation()
1728 __ add(Operand(operand->reg()), Immediate(value)); in ConstantSmiBinaryOperation()
1730 __ test(operand->reg(), Immediate(kSmiTagMask)); in ConstantSmiBinaryOperation()
1733 answer = *operand; in ConstantSmiBinaryOperation()
[all …]
/external/elfutils/libelf-po/
Dlibelf.pot40 msgid "invalid size of source operand"
44 msgid "invalid size of destination operand"
108 msgid "invalid operand"

123