Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/chromium_org/third_party/opus/src/celt/
Dkiss_fft.c122 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/
Dkiss_fft.c96 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/chromium_org/third_party/openssl/openssl/crypto/modes/
Dxts128.c66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; in CRYPTO_xts128_encrypt() local
79 memcpy(scratch.c,inp,16); in CRYPTO_xts128_encrypt()
80 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
81 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0]; in CRYPTO_xts128_encrypt()
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1]; in CRYPTO_xts128_encrypt()
86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); in CRYPTO_xts128_encrypt()
88 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
89 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
90 memcpy(out,scratch.c,16); in CRYPTO_xts128_encrypt()
[all …]
Dccm128.c179 union { u64 u[2]; u8 c[16]; } scratch; in CRYPTO_ccm128_encrypt() local
211 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
214 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
215 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0]; in CRYPTO_ccm128_encrypt()
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1]; in CRYPTO_ccm128_encrypt()
229 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i]; in CRYPTO_ccm128_encrypt()
236 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
237 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
[all …]
/external/openssl/crypto/modes/
Dxts128.c66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; in CRYPTO_xts128_encrypt() local
79 memcpy(scratch.c,inp,16); in CRYPTO_xts128_encrypt()
80 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
81 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0]; in CRYPTO_xts128_encrypt()
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1]; in CRYPTO_xts128_encrypt()
86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); in CRYPTO_xts128_encrypt()
88 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
89 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
90 memcpy(out,scratch.c,16); in CRYPTO_xts128_encrypt()
[all …]
Dccm128.c179 union { u64 u[2]; u8 c[16]; } scratch; in CRYPTO_ccm128_encrypt() local
211 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
214 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
215 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0]; in CRYPTO_ccm128_encrypt()
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1]; in CRYPTO_ccm128_encrypt()
229 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i]; in CRYPTO_ccm128_encrypt()
236 (*block)(ctx->nonce.c,scratch.c,key); in CRYPTO_ccm128_encrypt()
237 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
[all …]
/external/eigen/unsupported/Eigen/src/FFT/
Dei_kissfft_impl.h110 Complex scratch[6]; in bfly4() local
113 scratch[0] = Fout[k+m] * m_twiddles[k*fstride]; in bfly4()
114 scratch[1] = Fout[k+2*m] * m_twiddles[k*fstride*2]; in bfly4()
115 scratch[2] = Fout[k+3*m] * m_twiddles[k*fstride*3]; in bfly4()
116 scratch[5] = Fout[k] - scratch[1]; in bfly4()
118 Fout[k] += scratch[1]; in bfly4()
119 scratch[3] = scratch[0] + scratch[2]; in bfly4()
120 scratch[4] = scratch[0] - scratch[2]; in bfly4()
121scratch[4] = Complex( scratch[4].imag()*negative_if_inverse , -scratch[4].real()* negative_if_inve… in bfly4()
123 Fout[k+2*m] = Fout[k] - scratch[3]; in bfly4()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_scratch.c39 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_scratch.c39 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/mips/
Dmacro-assembler-mips.cc177 Register scratch, in InNewSpace() argument
181 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace()
182 Branch(branch, cc, scratch, in InNewSpace()
302 Register scratch, in RememberedSetHelper() argument
308 JumpIfNotInNewSpace(object, scratch, &ok); in RememberedSetHelper()
316 lw(scratch, MemOperand(t8)); in RememberedSetHelper()
318 sw(address, MemOperand(scratch)); in RememberedSetHelper()
319 Addu(scratch, scratch, kPointerSize); in RememberedSetHelper()
321 sw(scratch, MemOperand(t8)); in RememberedSetHelper()
324 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); in RememberedSetHelper()
[all …]
/external/guava/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java64 private final ByteBuffer scratch; // lazy convenience field in MessageDigestHashFunction.MessageDigestHasher
69 this.scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); in MessageDigestHasher()
93 scratch.putShort(s); in putShort()
94 digest.update(scratch.array(), 0, Shorts.BYTES); in putShort()
95 scratch.clear(); in putShort()
101 scratch.putInt(i); in putInt()
102 digest.update(scratch.array(), 0, Ints.BYTES); in putInt()
103 scratch.clear(); in putInt()
109 scratch.putLong(l); in putLong()
110 digest.update(scratch.array(), 0, Longs.BYTES); in putLong()
[all …]
/external/chromium_org/v8/src/mips/
Dmacro-assembler-mips.cc197 Register scratch, in InNewSpace() argument
201 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace()
202 Branch(branch, cc, scratch, in InNewSpace()
324 Register scratch, in RememberedSetHelper() argument
330 JumpIfNotInNewSpace(object, scratch, &ok); in RememberedSetHelper()
338 lw(scratch, MemOperand(t8)); in RememberedSetHelper()
340 sw(address, MemOperand(scratch)); in RememberedSetHelper()
341 Addu(scratch, scratch, kPointerSize); in RememberedSetHelper()
343 sw(scratch, MemOperand(t8)); in RememberedSetHelper()
346 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); in RememberedSetHelper()
[all …]
Dmacro-assembler-mips.h230 void Swap(Register reg1, Register reg2, Register scratch = no_reg);
317 Register scratch,
322 Register scratch,
328 Register scratch,
334 Register scratch, in JumpIfNotInNewSpace() argument
336 InNewSpace(object, scratch, ne, branch); in JumpIfNotInNewSpace()
342 Register scratch, in JumpIfInNewSpace() argument
344 InNewSpace(object, scratch, eq, branch); in JumpIfInNewSpace()
374 Register scratch,
386 Register scratch,
[all …]
/external/chromium_org/third_party/leveldatabase/src/db/
Dlog_reader.cc59 bool Reader::ReadRecord(Slice* record, std::string* scratch) { in ReadRecord() argument
66 scratch->clear(); in ReadRecord()
84 if (scratch->empty()) { in ReadRecord()
87 ReportCorruption(scratch->size(), "partial record without end(1)"); in ReadRecord()
91 scratch->clear(); in ReadRecord()
102 if (scratch->empty()) { in ReadRecord()
105 ReportCorruption(scratch->size(), "partial record without end(2)"); in ReadRecord()
109 scratch->assign(fragment.data(), fragment.size()); in ReadRecord()
118 scratch->append(fragment.data(), fragment.size()); in ReadRecord()
127 scratch->append(fragment.data(), fragment.size()); in ReadRecord()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c548 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/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
Dnouveau_buffer.c548 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/chromium_org/third_party/skia/src/svg/
DSkSVGCircle.cpp35 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()
DSkSVGEllipse.cpp37 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/svg/
DSkSVGCircle.cpp35 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()
DSkSVGEllipse.cpp37 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/v8/src/arm/
Dmacro-assembler-arm.cc230 Register scratch, in Swap() argument
232 if (scratch.is(no_reg)) { in Swap()
237 mov(scratch, reg1, LeaveCC, cond); in Swap()
239 mov(reg2, scratch, LeaveCC, cond); in Swap()
333 Register scratch, in Bfi() argument
340 ASSERT(!scratch.is(dst)); in Bfi()
345 and_(scratch, src, Operand((1 << width) - 1)); in Bfi()
346 mov(scratch, Operand(scratch, LSL, lsb)); in Bfi()
347 orr(dst, dst, scratch); in Bfi()
424 Register scratch, in InNewSpace() argument
[all …]
/external/chromium_org/third_party/skia/src/animator/
DSkBuildCondensedInfo.cpp88 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/skia/src/animator/
DSkBuildCondensedInfo.cpp88 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/ia32/
Dmacro-assembler-ia32.cc58 Register scratch, in InNewSpace() argument
63 if (scratch.is(object)) { in InNewSpace()
64 and_(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace()
66 mov(scratch, Immediate(~Page::kPageAlignmentMask)); in InNewSpace()
67 and_(scratch, object); in InNewSpace()
75 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), in InNewSpace()
84 Register scratch, in RememberedSetHelper() argument
90 JumpIfNotInNewSpace(object, scratch, &ok, Label::kNear); in RememberedSetHelper()
97 mov(scratch, Operand::StaticVariable(store_buffer)); in RememberedSetHelper()
99 mov(Operand(scratch, 0), addr); in RememberedSetHelper()
[all …]
/external/chromium_org/v8/src/arm/
Dmacro-assembler-arm.cc210 Register scratch, in Swap() argument
212 if (scratch.is(no_reg)) { in Swap()
217 mov(scratch, reg1, LeaveCC, cond); in Swap()
219 mov(reg2, scratch, LeaveCC, cond); in Swap()
321 Register scratch, in Bfi() argument
328 ASSERT(!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()
442 Register scratch, in InNewSpace() argument
[all …]

12345678910>>...13