Home
last modified time | relevance | path

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

12345678910>>...14

/external/skia/legacy/src/animator/
DSkScriptRuntime.cpp63 SkOperand2 operand[2]; // 1=accumulator and 2=operand in executeTokens() local
72 operand[0].fArray = new SkOpArray(SkOperand2::kNoType /*fReturnType*/); in executeTokens()
75 index = operand[1].fS32; in executeTokens()
76 if (index >= operand[0].fArray->count()) { in executeTokens()
80 operand[0] = operand[0].fArray->begin()[index]; in executeTokens()
83 *operand[0].fArray->append() = operand[1]; in executeTokens()
94 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */ in executeTokens()
95 &operand[0] /* result */) == false) { in executeTokens()
104 if (callBackMember->invoke(ref, operand[0].fObject, &operand[0]) == false) { in executeTokens()
113 if (callBackProperty->getResult(ref, &operand[0])== false) { in executeTokens()
[all …]
DSkScriptTokenizer.cpp485 SkScriptValue2 operand; in innerScript() local
542 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); in innerScript()
550 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); in innerScript()
554 operand.fType = SkOperand2::kS32; in innerScript()
557 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); in innerScript()
558 operand.fType = SkOperand2::kScalar; in innerScript()
560 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
561 fValueStack.push(operand); in innerScript()
577 operand.fOperand.fString = new SkString(); in innerScript()
586 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
[all …]
DSkAnimatorScript2.cpp57 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
61 SkDisplayArray* boxedValue = new SkDisplayArray(*operand->fArray); in convert()
67 boxedValue->value = operand->fS32; in convert()
72 boxedValue->value = operand->fScalar; in convert()
75 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString); in convert()
85 operand->fObject = (void*) displayable; in convert()
306 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
308 SkDisplayable* displayable = (SkDisplayable*) operand->fObject; in convert()
312 operand->fArray = new SkOpArray(SkAnimatorScript2::ToOpType(boxedValue->values.getType())); in convert()
314 operand->fArray->setCount(count); in convert()
[all …]
DSkAnimator.cpp227 int index, SkOperand* operand, SkDisplayTypes type) { in getArrayCommon() argument
231 return info->getArrayValue(element, index, operand); in getArrayCommon()
236 SkOperand operand; in getArrayInt() local
237 bool result = getArrayCommon(ae, ai, index, &operand, SkType_Int); in getArrayInt()
238 return result ? operand.fS32 : SK_NaN32; in getArrayInt()
253 SkOperand operand; in getArrayScalar() local
254 bool result = getArrayCommon(ae, ai, index, &operand, SkType_Float); in getArrayScalar()
255 return result ? operand.fScalar : SK_ScalarNaN; in getArrayScalar()
270 SkOperand operand; in getArrayString() local
271 bool result = getArrayCommon(ae, ai, index, &operand, SkType_String); in getArrayString()
[all …]
/external/skia/src/animator/
DSkScriptRuntime.cpp63 SkOperand2 operand[2]; // 1=accumulator and 2=operand in executeTokens() local
72 operand[0].fArray = new SkOpArray(SkOperand2::kNoType /*fReturnType*/); in executeTokens()
75 index = operand[1].fS32; in executeTokens()
76 if (index >= operand[0].fArray->count()) { in executeTokens()
80 operand[0] = operand[0].fArray->begin()[index]; in executeTokens()
83 *operand[0].fArray->append() = operand[1]; in executeTokens()
94 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */ in executeTokens()
95 &operand[0] /* result */) == false) { in executeTokens()
104 if (callBackMember->invoke(ref, operand[0].fObject, &operand[0]) == false) { in executeTokens()
113 if (callBackProperty->getResult(ref, &operand[0])== false) { in executeTokens()
[all …]
DSkScriptTokenizer.cpp485 SkScriptValue2 operand; in innerScript() local
542 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); in innerScript()
550 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); in innerScript()
554 operand.fType = SkOperand2::kS32; in innerScript()
557 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); in innerScript()
558 operand.fType = SkOperand2::kScalar; in innerScript()
560 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
561 fValueStack.push(operand); in innerScript()
577 operand.fOperand.fString = new SkString(); in innerScript()
586 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
[all …]
DSkAnimatorScript2.cpp57 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
61 SkDisplayArray* boxedValue = new SkDisplayArray(*operand->fArray); in convert()
67 boxedValue->value = operand->fS32; in convert()
72 boxedValue->value = operand->fScalar; in convert()
75 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString); in convert()
85 operand->fObject = (void*) displayable; in convert()
306 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) { in convert() argument
308 SkDisplayable* displayable = (SkDisplayable*) operand->fObject; in convert()
312operand->fArray = new SkOpArray(SkAnimatorScript2::ToOpType(boxedValue->values.getType())); in convert()
314 operand->fArray->setCount(count); in convert()
[all …]
/external/webkit/Source/JavaScriptCore/dfg/
DDFGByteCodeParser.cpp75 NodeIndex get(int operand) in get() argument
78 if (operand >= FirstConstantRegisterIndex) { in get()
79 unsigned constant = operand - FirstConstantRegisterIndex; in get()
85 if (operand < 0) in get()
86 return getArgument(operand); in get()
90 if ((unsigned)operand < numVariables) in get()
91 return getVariable((unsigned)operand); in get()
94 unsigned temporary = (unsigned)operand - numVariables; in get()
98 void set(int operand, NodeIndex value) in set() argument
101 if (operand < 0) { in set()
[all …]
/external/webkit/Source/JavaScriptCore/bytecode/
DCodeBlock.cpp143 int r0 = (++it)->u.operand; in printUnaryOp()
144 int r1 = (++it)->u.operand; in printUnaryOp()
151 int r0 = (++it)->u.operand; in printBinaryOp()
152 int r1 = (++it)->u.operand; in printBinaryOp()
153 int r2 = (++it)->u.operand; in printBinaryOp()
159 int r0 = (++it)->u.operand; in printConditionalJump()
160 int offset = (++it)->u.operand; in printConditionalJump()
166 int r0 = (++it)->u.operand; in printGetByIdOp()
167 int r1 = (++it)->u.operand; in printGetByIdOp()
168 int id0 = (++it)->u.operand; in printGetByIdOp()
[all …]
/external/webkit/Source/JavaScriptCore/jit/
DJITOpcodes.cpp312 int dst = currentInstruction[1].u.operand; in emit_op_mov()
313 int src = currentInstruction[2].u.operand; in emit_op_mov()
334 emitGetVirtualRegister(currentInstruction[1].u.operand, returnValueRegister); in emit_op_end()
341 unsigned target = currentInstruction[1].u.operand; in emit_op_jmp()
350 unsigned op1 = currentInstruction[1].u.operand; in emit_op_loop_if_lesseq()
351 unsigned op2 = currentInstruction[2].u.operand; in emit_op_loop_if_lesseq()
352 unsigned target = currentInstruction[3].u.operand; in emit_op_loop_if_lesseq()
368 JITStubCall(this, cti_op_new_object).call(currentInstruction[1].u.operand); in emit_op_new_object()
373 unsigned baseVal = currentInstruction[1].u.operand; in emit_op_check_has_instance()
387 unsigned dst = currentInstruction[1].u.operand; in emit_op_instanceof()
[all …]
DJITOpcodes32_64.cpp477 unsigned dst = currentInstruction[1].u.operand; in emit_op_mov()
478 unsigned src = currentInstruction[2].u.operand; in emit_op_mov()
492 emitLoad(currentInstruction[1].u.operand, regT1, regT0); in emit_op_end()
499 unsigned target = currentInstruction[1].u.operand; in emit_op_jmp()
505 unsigned op1 = currentInstruction[1].u.operand; in emit_op_loop_if_lesseq()
506 unsigned op2 = currentInstruction[2].u.operand; in emit_op_loop_if_lesseq()
507 unsigned target = currentInstruction[3].u.operand; in emit_op_loop_if_lesseq()
533 unsigned op1 = currentInstruction[1].u.operand; in emitSlow_op_loop_if_lesseq()
534 unsigned op2 = currentInstruction[2].u.operand; in emitSlow_op_loop_if_lesseq()
535 unsigned target = currentInstruction[3].u.operand; in emitSlow_op_loop_if_lesseq()
[all …]
DJITArithmetic.cpp52 unsigned result = currentInstruction[1].u.operand; in emit_op_lshift()
53 unsigned op1 = currentInstruction[2].u.operand; in emit_op_lshift()
54 unsigned op2 = currentInstruction[3].u.operand; in emit_op_lshift()
69 unsigned result = currentInstruction[1].u.operand; in emitSlow_op_lshift()
70 unsigned op1 = currentInstruction[2].u.operand; in emitSlow_op_lshift()
71 unsigned op2 = currentInstruction[3].u.operand; in emitSlow_op_lshift()
85 unsigned result = currentInstruction[1].u.operand; in emit_op_rshift()
86 unsigned op1 = currentInstruction[2].u.operand; in emit_op_rshift()
87 unsigned op2 = currentInstruction[3].u.operand; in emit_op_rshift()
120 unsigned result = currentInstruction[1].u.operand; in emitSlow_op_rshift()
[all …]
DJITArithmetic32_64.cpp52 unsigned dst = currentInstruction[1].u.operand; in emit_op_negate()
53 unsigned src = currentInstruction[2].u.operand; in emit_op_negate()
77 unsigned dst = currentInstruction[1].u.operand; in emitSlow_op_negate()
89 unsigned op1 = currentInstruction[1].u.operand; in emit_op_jnless()
90 unsigned op2 = currentInstruction[2].u.operand; in emit_op_jnless()
91 unsigned target = currentInstruction[3].u.operand; in emit_op_jnless()
145 unsigned op1 = currentInstruction[1].u.operand; in emitSlow_op_jnless()
146 unsigned op2 = currentInstruction[2].u.operand; in emitSlow_op_jnless()
147 unsigned target = currentInstruction[3].u.operand; in emitSlow_op_jnless()
178 unsigned op1 = currentInstruction[1].u.operand; in emit_op_jless()
[all …]
DJITCall32_64.cpp60 int dst = instruction[1].u.operand; in emit_op_call_put_result()
66 int callee = instruction[1].u.operand; in compileOpCallVarargs()
67 int argCountRegister = instruction[2].u.operand; in compileOpCallVarargs()
68 int registerOffset = instruction[3].u.operand; in compileOpCallVarargs()
93 int callee = instruction[1].u.operand; in compileOpCallVarargsSlowCase()
109 unsigned dst = currentInstruction[1].u.operand; in emit_op_ret()
121 unsigned result = currentInstruction[1].u.operand; in emit_op_ret_object_or_this()
122 unsigned thisReg = currentInstruction[2].u.operand; in emit_op_ret_object_or_this()
192 int callee = instruction[1].u.operand; in compileOpCall()
193 int argCount = instruction[2].u.operand; in compileOpCall()
[all …]
DJITPropertyAccess32_64.cpp54 unsigned base = currentInstruction[1].u.operand; in emit_op_put_by_index()
55 unsigned property = currentInstruction[2].u.operand; in emit_op_put_by_index()
56 unsigned value = currentInstruction[3].u.operand; in emit_op_put_by_index()
67 unsigned base = currentInstruction[1].u.operand; in emit_op_put_getter()
68 unsigned property = currentInstruction[2].u.operand; in emit_op_put_getter()
69 unsigned function = currentInstruction[3].u.operand; in emit_op_put_getter()
80 unsigned base = currentInstruction[1].u.operand; in emit_op_put_setter()
81 unsigned property = currentInstruction[2].u.operand; in emit_op_put_setter()
82 unsigned function = currentInstruction[3].u.operand; in emit_op_put_setter()
93 unsigned dst = currentInstruction[1].u.operand; in emit_op_del_by_id()
[all …]
DJITCall.cpp60 int dst = instruction[1].u.operand; in emit_op_call_put_result()
66 int callee = instruction[1].u.operand; in compileOpCallVarargs()
67 int argCountRegister = instruction[2].u.operand; in compileOpCallVarargs()
68 int registerOffset = instruction[3].u.operand; in compileOpCallVarargs()
111 int callee = instruction[1].u.operand; in compileOpCall()
112 int argCount = instruction[2].u.operand; in compileOpCall()
113 int registerOffset = instruction[3].u.operand; in compileOpCall()
147 int argCount = instruction[2].u.operand; in compileOpCallSlowCase()
148 int registerOffset = instruction[3].u.operand; in compileOpCallSlowCase()
168 int callee = instruction[1].u.operand; in compileOpCall()
[all …]
DJITPropertyAccess.cpp86 unsigned dst = currentInstruction[1].u.operand; in emit_op_get_by_val()
87 unsigned base = currentInstruction[2].u.operand; in emit_op_get_by_val()
88 unsigned property = currentInstruction[3].u.operand; in emit_op_get_by_val()
115 unsigned dst = currentInstruction[1].u.operand; in emitSlow_op_get_by_val()
116 unsigned base = currentInstruction[2].u.operand; in emitSlow_op_get_by_val()
117 unsigned property = currentInstruction[3].u.operand; in emitSlow_op_get_by_val()
149 unsigned dst = currentInstruction[1].u.operand; in emit_op_get_by_pname()
150 unsigned base = currentInstruction[2].u.operand; in emit_op_get_by_pname()
151 unsigned property = currentInstruction[3].u.operand; in emit_op_get_by_pname()
152 unsigned expected = currentInstruction[4].u.operand; in emit_op_get_by_pname()
[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/webkit/Source/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; in resolveSkip()
162 int dst = vPC[1].u.operand; in resolveGlobal()
166 int property = vPC[2].u.operand; in resolveGlobal()
168 int offset = vPC[4].u.operand; in resolveGlobal()
199 int dst = vPC[1].u.operand; in resolveGlobalDynamic()
203 int property = vPC[2].u.operand; in resolveGlobalDynamic()
[all …]
/external/llvm/lib/Target/MBlaze/
DMBlazeSchedule3.td17 // source operands or one register source operand and one immediate operand.
26 , 1 // first operand read after one cycle
27 , 1 ]>, // second operand read after one cycle
30 // register source operands or one register source operand and one immediate
31 // operand. The instruction takes one cycle to execute in each of the
40 , 1 // first operand read after one cycle
41 , 1 ]>, // second operand read after one cycle
53 , 1 // first operand read after one cycle
54 , 1 ]>, // second operand read after one cycle
57 // source operands or one register source operand and one immediate operand.
[all …]
DMBlazeSchedule5.td17 // source operands or one register source operand and one immediate operand.
28 , 1 // first operand read after one cycle
29 , 1 ]>, // second operand read after one cycle
32 // register source operands or one register source operand and one immediate
33 // operand. The instruction takes one cycle to execute in each of the
43 , 1 // first operand read after one cycle
44 , 1 ]>, // second operand read after one cycle
58 , 1 // first operand read after one cycle
59 , 1 ]>, // second operand read after one cycle
62 // source operands or one register source operand and one immediate operand.
[all …]
/external/webkit/Source/JavaScriptCore/runtime/
DCachedTranscendentalFunction.h43 double operand; member
59 JSValue operator() (double operand) in operator()
63 CacheEntry* entry = &m_cache[hash(operand)]; in operator()
65 if (entry->operand == operand) in operator()
67 double result = orignalFunction(operand); in operator()
68 entry->operand = operand; in operator()
79 m_cache[x].operand = NaN; in initialize()
/external/llvm/test/MC/ARM/
Ddiagnostics.s125 @ CHECK-ERRORS: error: invalid operand for instruction
126 @ CHECK-ERRORS: error: invalid operand for instruction
127 @ CHECK-ERRORS: error: invalid operand for instruction
128 @ CHECK-ERRORS: error: invalid operand for instruction
129 @ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
130 @ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
135 @ CHECK-ERRORS: error: invalid operand for instruction
140 @ CHECK-ERRORS: error: invalid operand for instruction
145 @ CHECK-ERRORS: error: invalid operand for instruction
154 @ CHECK-ERRORS: error: invalid operand for instruction
[all …]
Dthumb2-diagnostics.s39 @ CHECK-ERRORS: error: invalid operand for instruction
40 @ CHECK-ERRORS: error: invalid operand for instruction
41 @ CHECK-ERRORS: error: invalid operand for instruction
42 @ CHECK-ERRORS: error: invalid operand for instruction
43 @ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
44 @ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
/external/clang/test/SemaObjC/
Dconditional-expr.m31 …return nextOutputStream ? nextOutputStream : self; // expected-warning {{incompatible operand type…
40 …return nextOutputStream ? nextOutputStream : self; // expected-warning {{incompatible operand type…
87 …(cond ? x : y).intProp = 1; // expected-warning {{incompatible operand types ('id<P0>' and 'C *')}…
91 …(cond ? x : y).intProp = 1; // expected-warning {{incompatible operand types}}, expected-error {{p…
103 id l0 = (a ? x : y ); // expected-warning {{incompatible operand types ('A<P0> *' and 'A<P1> *')}}
104 …A<P0> *l1 = (a ? x : y ); // expected-warning {{incompatible operand types ('A<P0> *' and 'A<P1> *…
105 …A<P1> *l2 = (a ? x : y ); // expected-warning {{incompatible operand types ('A<P0> *' and 'A<P1> *…
106 …[ (a ? x : y ) intProp ]; // expected-warning {{incompatible operand types ('A<P0> *' and 'A<P1> *…
114 …[ (a ? x : y ) intProp ]; // expected-warning {{incompatible operand types ('id<P0>' and 'id<P1>')…
118 …A<P1>* l0 = (a ? x : y ); // expected-warning {{incompatible operand types ('A<P0> *' and 'A<P1> *…

12345678910>>...14