/external/speex/libspeex/ |
kiss_fft.c | 96 kiss_fft_cpx scratch[6]; local 110 C_MUL(scratch[0],Fout[m] , *tw1 ); 111 C_MUL(scratch[1],Fout[m2] , *tw2 ); 112 C_MUL(scratch[2],Fout[m3] , *tw3 ); 114 C_SUB( scratch[5] , *Fout, scratch[1] ); 115 C_ADDTO(*Fout, scratch[1]); 116 C_ADD( scratch[3] , scratch[0] , scratch[2] ) 178 kiss_fft_cpx scratch[5]; local 223 kiss_fft_cpx scratch[13]; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 75 float[] scratch = sScratch; local 76 synchronized(scratch) { 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 79 gl.glMultMatrixf(scratch, 0); 150 float[] scratch = sScratch; local 151 synchronized(scratch) { 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 158 scratch[V_OFFSET + 0] = objX; 159 scratch[V_OFFSET + 1] = objY; 160 scratch[V_OFFSET + 2] = objZ 216 float[] scratch = sScratch; local [all...] |
/external/openssl/crypto/modes/ |
xts128.c | 66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; local 79 memcpy(scratch.c,inp,16); 80 scratch.u[0] ^= tweak.u[0]; 81 scratch.u[1] ^= tweak.u[1]; 83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0]; 84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1]; 86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); 88 scratch.u[0] ^= tweak.u[0]; 89 scratch.u[1] ^= tweak.u[1] [all...] |
ccm128.c | 179 union { u64 u[2]; u8 c[16]; } scratch; local 211 (*block)(ctx->nonce.c,scratch.c,key); 214 temp.u[0] ^= scratch.u[0]; 215 temp.u[1] ^= scratch.u[1]; 218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0]; 219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1]; 229 (*block)(ctx->nonce.c,scratch.c,key); 230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i]; 236 (*block)(ctx->nonce.c,scratch.c,key); 237 ctx->cmac.u[0] ^= scratch.u[0] 254 union { u64 u[2]; u8 c[16]; } scratch; local 333 union { u64 u[2]; u8 c[16]; } scratch; local 390 union { u64 u[2]; u8 c[16]; } scratch; local [all...] |
/external/skia/src/svg/ |
SkSVGCircle.cpp | 35 char scratch[16]; local 36 sprintf(scratch, "%g", SkScalarToDouble(left)); 37 parser._addAttribute("left", scratch); 38 sprintf(scratch, "%g", SkScalarToDouble(top)); 39 parser._addAttribute("top", scratch); 40 sprintf(scratch, "%g", SkScalarToDouble(right)); 41 parser._addAttribute("right", scratch); 42 sprintf(scratch, "%g", SkScalarToDouble(bottom)); 43 parser._addAttribute("bottom", scratch);
|
SkSVGEllipse.cpp | 37 char scratch[16]; local 38 sprintf(scratch, "%g", SkScalarToDouble(left)); 39 parser._addAttribute("left", scratch); 40 sprintf(scratch, "%g", SkScalarToDouble(top)); 41 parser._addAttribute("top", scratch); 42 sprintf(scratch, "%g", SkScalarToDouble(right)); 43 parser._addAttribute("right", scratch); 44 sprintf(scratch, "%g", SkScalarToDouble(bottom)); 45 parser._addAttribute("bottom", scratch);
|
/external/guava/guava/src/com/google/common/hash/ |
MessageDigestHashFunction.java | 64 private final ByteBuffer scratch; // lazy convenience field in class:MessageDigestHashFunction.MessageDigestHasher 69 this.scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); 93 scratch.putShort(s); 94 digest.update(scratch.array(), 0, Shorts.BYTES); 95 scratch.clear(); 101 scratch.putInt(i); 102 digest.update(scratch.array(), 0, Ints.BYTES); 103 scratch.clear(); 109 scratch.putLong(l); 110 digest.update(scratch.array(), 0, Longs.BYTES) [all...] |
/system/core/libzipfile/ |
test_zipfile.c | 14 void* scratch;
local 77 scratch = malloc(size);
78 printf("scratch=%p\n", scratch);
79 err = decompress_zipentry(entry, scratch, size);
84 fwrite(scratch, unsize, 1, f);
85 free(scratch);
|
/external/skia/src/animator/ |
SkBuildCondensedInfo.cpp | 88 static void Get3DName(char* scratch, const char* name) { 90 strcpy(scratch, "3D_"); 91 scratch[3]= name[7] & ~0x20; 92 strcpy(&scratch[4], &name[8]); 94 scratch[0] = name[0] & ~0x20; 95 strcpy(&scratch[1], &name[1]); 165 char scratch[64]; 170 Get3DName(scratch, gTypeNames[typeNameIndex].fName); 174 sprintf(scratch, "Unknown%d", unknown++); 177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix) [all...] |
/external/v8/src/mips/ |
macro-assembler-mips.cc | 177 Register scratch, 181 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); 182 Branch(branch, cc, scratch, 238 // Will clobber 4 registers: object, address, scratch, ip. The 269 value, // Used as scratch. 274 value, // Used as scratch. 302 Register scratch, 308 JumpIfNotInNewSpace(object, scratch, &ok); 316 lw(scratch, MemOperand(t8)); 318 sw(address, MemOperand(scratch)); [all...] |
macro-assembler-mips.h | 221 // Swap two registers. If the scratch register is omitted then a slightly 223 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 309 Register scratch, 314 Register scratch, 320 // The register scratch can be object itself, but it will be clobbered. 322 Register scratch, 324 InNewSpace(object, scratch, ne, branch); 328 // The register scratch can be object itself, but scratch will be clobbered. 330 Register scratch, [all...] |
/external/icu4c/common/ |
bytestream.cpp | 15 char* scratch, int32_t scratch_capacity, 22 return scratch; 56 char* scratch, 69 return scratch;
|
appendable.cpp | 57 UChar *scratch, int32_t scratchCapacity, 64 return scratch;
|
/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 34 private final byte[] scratch = new byte[8]; field in class:DataOutputStream 179 Memory.pokeInt(scratch, 0, val, ByteOrder.BIG_ENDIAN); 180 out.write(scratch, 0, SizeOf.INT); 185 Memory.pokeLong(scratch, 0, val, ByteOrder.BIG_ENDIAN); 186 out.write(scratch, 0, SizeOf.LONG); 191 Memory.pokeShort(scratch, 0, (short) val, ByteOrder.BIG_ENDIAN); 192 out.write(scratch, 0, SizeOf.SHORT);
|
RandomAccessFile.java | 58 private final byte[] scratch = new byte[8]; field in class:RandomAccessFile 255 return (read(scratch, 0, 1) != -1) ? scratch[0] & 0xff : -1; 439 readFully(scratch, 0, SizeOf.INT); 440 return Memory.peekInt(scratch, 0, ByteOrder.BIG_ENDIAN); 500 readFully(scratch, 0, SizeOf.LONG); 501 return Memory.peekLong(scratch, 0, ByteOrder.BIG_ENDIAN); 517 readFully(scratch, 0, SizeOf.SHORT); 518 return Memory.peekShort(scratch, 0, ByteOrder.BIG_ENDIAN); 710 scratch[0] = (byte) (oneByte & 0xff) [all...] |
DataInputStream.java | 37 private final byte[] scratch = new byte[8]; field in class:DataInputStream 124 Streams.readFully(in, scratch, 0, SizeOf.INT); 125 return Memory.peekInt(scratch, 0, ByteOrder.BIG_ENDIAN); 164 Streams.readFully(in, scratch, 0, SizeOf.LONG); 165 return Memory.peekLong(scratch, 0, ByteOrder.BIG_ENDIAN); 169 Streams.readFully(in, scratch, 0, SizeOf.SHORT); 170 return Memory.peekShort(scratch, 0, ByteOrder.BIG_ENDIAN);
|
/external/v8/src/arm/ |
macro-assembler-arm.cc | 230 Register scratch, 232 if (scratch.is(no_reg)) { 237 mov(scratch, reg1, LeaveCC, cond); 239 mov(reg2, scratch, LeaveCC, cond); 333 Register scratch, 340 ASSERT(!scratch.is(dst)); 345 and_(scratch, src, Operand((1 << width) - 1)); 346 mov(scratch, Operand(scratch, LSL, lsb)); 347 orr(dst, dst, scratch); [all...] |
macro-assembler-arm.h | 126 // Swap two registers. If the scratch register is omitted then a slightly 130 Register scratch = no_reg, 140 // The scratch register is not used for ARMv7. 141 // scratch can be the same register as src (in which case it is trashed), but 145 Register scratch, 196 Register scratch, 201 Register scratch, 207 // The register scratch can be object itself, but scratch will be clobbered. 209 Register scratch, [all...] |
/external/aac/libFDK/src/mips/ |
fft_rad2_mips.cpp | 109 int32c scratch[1024]; local 124 mips_fft32(dout, din, twiddles, scratch, ldn);
|
/external/icu4c/common/unicode/ |
appendable.h | 92 * May return a pointer to the caller-owned scratch buffer which must have 116 * If a non-scratch buffer is returned, the caller may only pass 120 * The default implementation always returns the scratch buffer. 126 * @param scratch default caller-owned buffer 127 * @param scratchCapacity capacity of the scratch buffer 135 UChar *scratch, int32_t scratchCapacity, 195 * May return a pointer to the caller-owned scratch buffer which must have 206 * @param scratch default caller-owned buffer 207 * @param scratchCapacity capacity of the scratch buffer 215 UChar *scratch, int32_t scratchCapacity [all...] |
/external/v8/src/ia32/ |
macro-assembler-ia32.h | 82 Register scratch, 87 Register scratch, 94 // The register scratch can be object itself, but scratch will be clobbered. 96 Register scratch, 99 InNewSpace(object, scratch, zero, branch, distance); 103 // The register scratch can be object itself, but it will be clobbered. 105 Register scratch, 108 InNewSpace(object, scratch, not_zero, branch, distance); 139 // stored. value and scratch registers are clobbered by the operation [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
PathSkia.cpp | 233 GraphicsContext* scratch = scratchContext(); local 234 scratch->save(); 237 applier->strokeStyle(scratch); 240 scratch->platformContext()->setupPaintForStroking(&paint, 0, 0); 245 scratch->restore(); 252 GraphicsContext* scratch = scratchContext(); local 253 scratch->save(); 255 applier->strokeStyle(scratch); 258 scratch->platformContext()->setupPaintForStroking(&paint, 0, 0); 264 scratch->restore() [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_amd64.S | 6 # Save scratch registers. 35 push %rbx # non-scratch 50 # Restore scratch registers. 85 # Save scratch registers. 114 push %rbx # non-scratch 129 # Restore scratch registers.
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLEnginePair.java | 74 ByteBuffer scratch = ByteBuffer.allocate(applicationBufferSize); local 96 scratch); 102 scratch); 122 ByteBuffer scratch) throws IOException { 146 SSLEngineResult unwrapResult = engine.unwrap(input, scratch); 148 assertEquals(0, scratch.position());
|
/external/webkit/Tools/android/webkitmerge/ |
webkitmerge.cpp | 156 scratchDir += "/scratch/"; 172 // scratch files 206 char scratch[2048]; local 208 sprintf(scratch, "merge -p -q \"%s/%s/%s\" \"%s/%s/%s\" \"%s/%s/%s\" > %s", 210 int err = system(scratch); 452 char scratch[2048]; 454 sprintf(scratch, "diff \"%s/%s/%s\" \"%s/%s/%s\" > %s", sandboxBase, dir, 456 int err = system(scratch); 482 char scratch[2048]; 486 sprintf(scratch, "diff --brief \"%s/%s/%.*s\" \"%s/%s/%.*s\" > %s", 1495 char scratch[1024]; local [all...] |