/external/libopus/celt/ |
D | kiss_fft.c | 122 kiss_fft_cpx scratch[6]; in kf_bfly4() local 134 C_MUL4(scratch[0],Fout[m] , *tw1 ); in kf_bfly4() 135 C_MUL4(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4() 136 C_MUL4(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4() 140 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4() 141 C_ADDTO(*Fout, scratch[1]); in kf_bfly4() 142 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4() 143 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4() 144 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4() 148 C_ADDTO( *Fout , scratch[3] ); in kf_bfly4() [all …]
|
/external/speex/libspeex/ |
D | kiss_fft.c | 96 kiss_fft_cpx scratch[6]; in kf_bfly4() local 110 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4() 111 C_MUL(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4() 112 C_MUL(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4() 114 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4() 115 C_ADDTO(*Fout, scratch[1]); in kf_bfly4() 116 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4() 117 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4() 118 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4() 122 C_ADDTO( *Fout , scratch[3] ); in kf_bfly4() [all …]
|
/external/eigen/unsupported/Eigen/src/FFT/ |
D | ei_kissfft_impl.h | 111 Complex scratch[6]; in bfly4() local 114 scratch[0] = Fout[k+m] * m_twiddles[k*fstride]; in bfly4() 115 scratch[1] = Fout[k+2*m] * m_twiddles[k*fstride*2]; in bfly4() 116 scratch[2] = Fout[k+3*m] * m_twiddles[k*fstride*3]; in bfly4() 117 scratch[5] = Fout[k] - scratch[1]; in bfly4() 119 Fout[k] += scratch[1]; in bfly4() 120 scratch[3] = scratch[0] + scratch[2]; in bfly4() 121 scratch[4] = scratch[0] - scratch[2]; in bfly4() 122 …scratch[4] = Complex( scratch[4].imag()*negative_if_inverse , -scratch[4].real()* negative_if_inve… in bfly4() 124 Fout[k+2*m] = Fout[k] - scratch[3]; in bfly4() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = in nouveau_get_scratch() local 40 &to_nouveau_context(ctx)->scratch; in nouveau_get_scratch() 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { in nouveau_get_scratch() 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 46 buf = scratch->buf + scratch->offset; in nouveau_get_scratch() 47 *offset = scratch->offset; in nouveau_get_scratch() 48 scratch->offset += size; in nouveau_get_scratch() 51 scratch->index = (scratch->index + 1) % NOUVEAU_SCRATCH_COUNT; in nouveau_get_scratch() 52 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 55 buf = scratch->buf = (*bo)->map; in nouveau_get_scratch() [all …]
|
/external/v8/src/ic/arm64/ |
D | stub-cache-arm64.cc | 28 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 45 DCHECK(!AreAliased(name, offset, scratch, scratch2, scratch3)); in ProbeTable() 51 __ Mov(scratch, key_offset); in ProbeTable() 52 __ Add(scratch, scratch, Operand(scratch3, LSL, kPointerSizeLog2)); in ProbeTable() 55 __ Ldr(scratch2, MemOperand(scratch)); in ProbeTable() 60 __ Ldr(scratch2, MemOperand(scratch, map_off_addr - key_off_addr)); in ProbeTable() 66 __ Ldr(scratch, MemOperand(scratch, value_off_addr - key_off_addr)); in ProbeTable() 69 __ Ldr(scratch2.W(), FieldMemOperand(scratch, Code::kFlagsOffset)); in ProbeTable() 85 __ Add(scratch, scratch, Code::kHeaderSize - kHeapObjectTag); in ProbeTable() 86 __ Br(scratch); in ProbeTable() [all …]
|
/external/v8/src/mips/ |
D | macro-assembler-mips.cc | 155 Register scratch, in InNewSpace() argument 159 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace() 160 Branch(branch, cc, scratch, in InNewSpace() 370 Register scratch, in RememberedSetHelper() argument 376 JumpIfNotInNewSpace(object, scratch, &ok); in RememberedSetHelper() 384 lw(scratch, MemOperand(t8)); in RememberedSetHelper() 386 sw(address, MemOperand(scratch)); in RememberedSetHelper() 387 Addu(scratch, scratch, kPointerSize); in RememberedSetHelper() 389 sw(scratch, MemOperand(t8)); in RememberedSetHelper() 392 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); in RememberedSetHelper() [all …]
|
D | macro-assembler-mips.h | 219 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 306 Register scratch, 311 Register scratch, 317 Register scratch, 323 Register scratch, in JumpIfNotInNewSpace() argument 325 InNewSpace(object, scratch, ne, branch); in JumpIfNotInNewSpace() 331 Register scratch, in JumpIfInNewSpace() argument 333 InNewSpace(object, scratch, eq, branch); in JumpIfInNewSpace() 363 Register scratch, 375 Register scratch, [all …]
|
D | lithium-codegen-mips.cc | 428 Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) { in EmitLoadRegister() argument 438 __ li(scratch, Operand(static_cast<int32_t>(literal->Number()))); in EmitLoadRegister() 441 __ li(scratch, Operand(Smi::FromInt(constant->Integer32Value()))); in EmitLoadRegister() 446 __ li(scratch, literal); in EmitLoadRegister() 448 return scratch; in EmitLoadRegister() 450 __ lw(scratch, ToMemOperand(op)); in EmitLoadRegister() 451 return scratch; in EmitLoadRegister() 454 return scratch; in EmitLoadRegister() 834 Register scratch = scratch0(); in DeoptimizeIf() local 837 __ Push(a1, scratch); in DeoptimizeIf() [all …]
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.cc | 158 Register scratch, in InNewSpace() argument 162 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace() 163 Branch(branch, cc, scratch, in InNewSpace() 373 Register scratch, in RememberedSetHelper() argument 379 JumpIfNotInNewSpace(object, scratch, &ok); in RememberedSetHelper() 387 ld(scratch, MemOperand(t8)); in RememberedSetHelper() 389 sd(address, MemOperand(scratch)); in RememberedSetHelper() 390 Daddu(scratch, scratch, kPointerSize); in RememberedSetHelper() 392 sd(scratch, MemOperand(t8)); in RememberedSetHelper() 395 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); in RememberedSetHelper() [all …]
|
D | macro-assembler-mips64.h | 240 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 327 Register scratch, 332 Register scratch, 338 Register scratch, 344 Register scratch, in JumpIfNotInNewSpace() argument 346 InNewSpace(object, scratch, ne, branch); in JumpIfNotInNewSpace() 352 Register scratch, in JumpIfInNewSpace() argument 354 InNewSpace(object, scratch, eq, branch); in JumpIfInNewSpace() 384 Register scratch, 396 Register scratch, [all …]
|
/external/v8/src/ic/mips64/ |
D | stub-cache-mips64.cc | 22 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 41 Register base_addr = scratch; in ProbeTable() 42 scratch = no_reg; in ProbeTable() 95 Register name, Register scratch, Register extra, in GenerateProbe() argument 109 DCHECK(!scratch.is(receiver)); in GenerateProbe() 110 DCHECK(!scratch.is(name)); in GenerateProbe() 113 DCHECK(!extra.is(scratch)); in GenerateProbe() 116 DCHECK(!extra2.is(scratch)); in GenerateProbe() 120 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 133 __ ld(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() [all …]
|
/external/v8/src/ic/mips/ |
D | stub-cache-mips.cc | 22 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 41 Register base_addr = scratch; in ProbeTable() 42 scratch = no_reg; in ProbeTable() 95 Register name, Register scratch, Register extra, in GenerateProbe() argument 108 DCHECK(!scratch.is(receiver)); in GenerateProbe() 109 DCHECK(!scratch.is(name)); in GenerateProbe() 112 DCHECK(!extra.is(scratch)); in GenerateProbe() 115 DCHECK(!extra2.is(scratch)); in GenerateProbe() 119 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 132 __ lw(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() [all …]
|
/external/v8/src/ic/arm/ |
D | stub-cache-arm.cc | 22 Register offset, Register scratch, Register scratch2, in ProbeTable() argument 41 Register base_addr = scratch; in ProbeTable() 42 scratch = no_reg; in ProbeTable() 99 Register name, Register scratch, Register extra, in GenerateProbe() argument 112 DCHECK(!scratch.is(receiver)); in GenerateProbe() 113 DCHECK(!scratch.is(name)); in GenerateProbe() 116 DCHECK(!extra.is(scratch)); in GenerateProbe() 119 DCHECK(!extra2.is(scratch)); in GenerateProbe() 123 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 136 __ ldr(scratch, FieldMemOperand(name, Name::kHashFieldOffset)); in GenerateProbe() [all …]
|
/external/toybox/lib/ |
D | interestingtimes.c | 89 int scan_key(char *scratch, char **seqs, int block) in scan_key() argument 102 if (*scratch) { in scan_key() 104 for (j = 0; j<*scratch; j++) if (scratch[j+1] != test[j]) break; in scan_key() 105 if (j == *scratch) { in scan_key() 109 *scratch = 0; in scan_key() 123 if (1 != read(0, scratch+1+*scratch, 1)) return -1; in scan_key() 124 ++*scratch; in scan_key() 128 if (!*scratch) return -2; in scan_key() 129 i = scratch[1]; in scan_key() 130 if (--*scratch) memmove(scratch+1, scratch+2, *scratch); in scan_key()
|
/external/v8/src/arm64/ |
D | debug-arm64.cc | 130 Register scratch) { in Generate_DebugBreakCallHelper() argument 135 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue)); in Generate_DebugBreakCallHelper() 136 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize); in Generate_DebugBreakCallHelper() 137 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); in Generate_DebugBreakCallHelper() 138 __ Push(scratch); in Generate_DebugBreakCallHelper() 156 DCHECK((scratch.Bit() & object_regs) == 0); in Generate_DebugBreakCallHelper() 157 DCHECK((scratch.Bit() & non_object_regs) == 0); in Generate_DebugBreakCallHelper() 166 __ Lsr(scratch, reg, 32); in Generate_DebugBreakCallHelper() 167 __ SmiTagAndPush(scratch, reg); in Generate_DebugBreakCallHelper() 206 __ Pop(scratch, reg); in Generate_DebugBreakCallHelper() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 548 if (!nv->scratch.nr_runout) in nouveau_scratch_runout_release() 551 --nv->scratch.nr_runout; in nouveau_scratch_runout_release() 552 nouveau_bo_ref(NULL, &nv->scratch.runout[nv->scratch.nr_runout]); in nouveau_scratch_runout_release() 553 } while (nv->scratch.nr_runout); in nouveau_scratch_runout_release() 555 FREE(nv->scratch.runout); in nouveau_scratch_runout_release() 556 nv->scratch.end = 0; in nouveau_scratch_runout_release() 557 nv->scratch.runout = NULL; in nouveau_scratch_runout_release() 567 const unsigned n = nv->scratch.nr_runout++; in nouveau_scratch_runout() 569 nv->scratch.runout = REALLOC(nv->scratch.runout, in nouveau_scratch_runout() 570 (n + 0) * sizeof(*nv->scratch.runout), in nouveau_scratch_runout() [all …]
|
/external/v8/src/ic/x64/ |
D | stub-cache-x64.cc | 87 Register name, Register scratch, Register extra, in GenerateProbe() argument 102 DCHECK(!scratch.is(receiver)); in GenerateProbe() 103 DCHECK(!scratch.is(name)); in GenerateProbe() 106 DCHECK(!scratch.is(no_reg)); in GenerateProbe() 117 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset)); in GenerateProbe() 119 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateProbe() 120 __ xorp(scratch, Immediate(flags)); in GenerateProbe() 123 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe() 127 scratch); in GenerateProbe() 130 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset)); in GenerateProbe() [all …]
|
/external/skia/src/svg/parser/ |
D | SkSVGCircle.cpp | 35 char scratch[16]; in DEFINE_SVG_INFO() local 36 sprintf(scratch, "%g", SkScalarToDouble(left)); in DEFINE_SVG_INFO() 37 parser._addAttribute("left", scratch); in DEFINE_SVG_INFO() 38 sprintf(scratch, "%g", SkScalarToDouble(top)); in DEFINE_SVG_INFO() 39 parser._addAttribute("top", scratch); in DEFINE_SVG_INFO() 40 sprintf(scratch, "%g", SkScalarToDouble(right)); in DEFINE_SVG_INFO() 41 parser._addAttribute("right", scratch); in DEFINE_SVG_INFO() 42 sprintf(scratch, "%g", SkScalarToDouble(bottom)); in DEFINE_SVG_INFO() 43 parser._addAttribute("bottom", scratch); in DEFINE_SVG_INFO()
|
D | SkSVGEllipse.cpp | 37 char scratch[16]; in DEFINE_SVG_INFO() local 38 sprintf(scratch, "%g", SkScalarToDouble(left)); in DEFINE_SVG_INFO() 39 parser._addAttribute("left", scratch); in DEFINE_SVG_INFO() 40 sprintf(scratch, "%g", SkScalarToDouble(top)); in DEFINE_SVG_INFO() 41 parser._addAttribute("top", scratch); in DEFINE_SVG_INFO() 42 sprintf(scratch, "%g", SkScalarToDouble(right)); in DEFINE_SVG_INFO() 43 parser._addAttribute("right", scratch); in DEFINE_SVG_INFO() 44 sprintf(scratch, "%g", SkScalarToDouble(bottom)); in DEFINE_SVG_INFO() 45 parser._addAttribute("bottom", scratch); in DEFINE_SVG_INFO()
|
/external/skia/src/animator/ |
D | SkBuildCondensedInfo.cpp | 88 static void Get3DName(char* scratch, const char* name) { in Get3DName() argument 90 strcpy(scratch, "3D_"); in Get3DName() 91 scratch[3]= name[7] & ~0x20; in Get3DName() 92 strcpy(&scratch[4], &name[8]); in Get3DName() 94 scratch[0] = name[0] & ~0x20; in Get3DName() 95 strcpy(&scratch[1], &name[1]); in Get3DName() 165 char scratch[64]; in BuildCondensedInfo() local 170 Get3DName(scratch, gTypeNames[typeNameIndex].fName); in BuildCondensedInfo() 174 sprintf(scratch, "Unknown%d", unknown++); in BuildCondensedInfo() 177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix); in BuildCondensedInfo() [all …]
|
/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 197 Register scratch, in Swap() argument 199 if (scratch.is(no_reg)) { in Swap() 204 mov(scratch, reg1, LeaveCC, cond); in Swap() 206 mov(reg2, scratch, LeaveCC, cond); in Swap() 321 Register scratch, in Bfi() argument 328 DCHECK(!scratch.is(dst)); in Bfi() 333 and_(scratch, src, Operand((1 << width) - 1)); in Bfi() 334 mov(scratch, Operand(scratch, LSL, lsb)); in Bfi() 335 orr(dst, dst, scratch); in Bfi() 447 Register scratch, in InNewSpace() argument [all …]
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 86 Register scratch, in StoreRoot() argument 91 mov(scratch, Immediate(index)); in StoreRoot() 92 mov(Operand::StaticArray(scratch, times_pointer_size, roots_array_start), in StoreRoot() 98 Register scratch, in CompareRoot() argument 102 mov(scratch, Immediate(index)); in CompareRoot() 103 cmp(with, Operand::StaticArray(scratch, in CompareRoot() 126 Register scratch, in InNewSpace() argument 131 if (scratch.is(object)) { in InNewSpace() 132 and_(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace() 134 mov(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace() [all …]
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 86 Register scratch, in StoreRoot() argument 91 mov(scratch, Immediate(index)); in StoreRoot() 92 mov(Operand::StaticArray(scratch, times_pointer_size, roots_array_start), in StoreRoot() 98 Register scratch, in CompareRoot() argument 102 mov(scratch, Immediate(index)); in CompareRoot() 103 cmp(with, Operand::StaticArray(scratch, in CompareRoot() 126 Register scratch, in InNewSpace() argument 131 if (scratch.is(object)) { in InNewSpace() 132 and_(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace() 134 mov(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace() [all …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractByteHasher.java | 38 private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); field in AbstractByteHasher 86 update(scratch.array(), 0, bytes); in update() 88 scratch.clear(); in update() 95 scratch.putShort(s); in putShort() 101 scratch.putInt(i); in putInt() 107 scratch.putLong(l); in putLong() 113 scratch.putChar(c); in putChar()
|
/external/ceres-solver/internal/ceres/ |
D | incomplete_lq_factorization.cc | 117 vector<pair<int, double> >* scratch, in DropEntriesAndAddRow() 136 pair<int, double>& entry = (*scratch)[scratch_count]; in DropEntriesAndAddRow() 144 nth_element(scratch->begin(), in DropEntriesAndAddRow() 145 scratch->begin() + level_of_fill, in DropEntriesAndAddRow() 146 scratch->begin() + scratch_count, in DropEntriesAndAddRow() 149 sort(scratch->begin(), scratch->begin() + scratch_count); in DropEntriesAndAddRow() 153 const pair<int, double>& entry = (*scratch)[i]; in DropEntriesAndAddRow() 195 vector<pair<int, double> > scratch(num_cols); in IncompleteLQFactorization() local 206 &scratch, in IncompleteLQFactorization() 226 &scratch, in IncompleteLQFactorization()
|