/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/libs/ui/ |
GraphicLog.cpp | 57 uint8_t scratch[2 + 2 + sizeof(int32_t) + sizeof(int64_t)]; local 59 scratch[pos++] = EVENT_TYPE_LIST; 60 scratch[pos++] = 2; 61 writeInt32(scratch, pos, buffer); 62 writeInt64(scratch, pos, ns2ms( systemTime( SYSTEM_TIME_MONOTONIC ) )); 63 android_bWriteLog(tag, scratch, sizeof(scratch)); 68 uint8_t scratch[2 + 3 + sizeof(int32_t) + sizeof(int32_t) + sizeof(int64_t)]; local 70 scratch[pos++] = EVENT_TYPE_LIST; 71 scratch[pos++] = 3 [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/skia/src/svg/ |
SkSVGCircle.cpp | 43 char scratch[16]; local 44 sprintf(scratch, "%g", left); 45 parser._addAttribute("left", scratch); 46 sprintf(scratch, "%g", top); 47 parser._addAttribute("top", scratch); 48 sprintf(scratch, "%g", right); 49 parser._addAttribute("right", scratch); 50 sprintf(scratch, "%g", bottom); 51 parser._addAttribute("bottom", scratch);
|
SkSVGEllipse.cpp | 45 char scratch[16]; local 46 sprintf(scratch, "%g", left); 47 parser._addAttribute("left", scratch); 48 sprintf(scratch, "%g", top); 49 parser._addAttribute("top", scratch); 50 sprintf(scratch, "%g", right); 51 parser._addAttribute("right", scratch); 52 sprintf(scratch, "%g", bottom); 53 parser._addAttribute("bottom", scratch);
|
/external/webkit/Source/WebKit/android/nav/ |
CachedInput.cpp | 68 char scratch[256]; local 69 size_t index = snprintf(scratch, sizeof(scratch), label); 71 while (ch && *ch && index < sizeof(scratch)) { 74 scratch[index++] = c; 76 DUMP_NAV_LOGD("%.*s\"\n", index, scratch);
|
/system/core/libzipfile/ |
test_zipfile.c | 14 void* scratch;
local 75 scratch = malloc(size);
76 printf("scratch=%p\n", scratch);
77 err = decompress_zipentry(entry, scratch, size);
82 fwrite(scratch, unsize, 1, f);
83 free(scratch);
|
/external/v8/src/mips/ |
macro-assembler-mips.cc | 163 Register scratch) { 167 InNewSpace(object, scratch, ne, ¬_in_new_space); 186 lw(scratch, MemOperand(object, Page::kDirtyFlagOffset)); 189 or_(scratch, scratch, at); 190 sw(scratch, MemOperand(object, Page::kDirtyFlagOffset)); 195 Register scratch, 199 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); 200 Branch(branch, cc, scratch, 241 // Will clobber 4 registers: object, address, scratch, ip. Th [all...] |
/external/skia/src/animator/ |
SkBuildCondensedInfo.cpp | 96 static void Get3DName(char* scratch, const char* name) { 98 strcpy(scratch, "3D_"); 99 scratch[3]= name[7] & ~0x20; 100 strcpy(&scratch[4], &name[8]); 102 scratch[0] = name[0] & ~0x20; 103 strcpy(&scratch[1], &name[1]); 173 char scratch[64]; 178 Get3DName(scratch, gTypeNames[typeNameIndex].fName); 182 sprintf(scratch, "Unknown%d", unknown++); 185 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix) [all...] |
/bootable/bootloader/legacy/libc/ |
xprintf.c | 53 char scratch[16]; local 88 char *p = scratch + 15; 94 while(p > (scratch + 7)) *--p = '0'; 101 char *p = scratch + 15;
|
/external/icu4c/common/ |
bytestream.cpp | 15 char* scratch, int32_t scratch_capacity, 22 return scratch; 56 char* scratch, 69 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/webkit/Source/WebKit/android/ |
TimeCounter.cpp | 131 char scratch[256]; local 132 int index = sprintf(scratch, "*-* Total %s time: %d ms", 135 sprintf(&scratch[index], " called %d times", sCounter[type]); 136 LOGD("%s", scratch); 163 char scratch[256]; local 164 int index = sprintf(scratch, "*-* Diff %s time: %d ms", 167 sprintf(&scratch[index], " called %d times", sCounter[type] 169 LOGD("%s", scratch);
|
/external/v8/src/ia32/ |
macro-assembler-ia32.h | 72 Register scratch); 75 // scratch can be object itself, but it will be clobbered. 78 Register scratch, 84 // object being stored. If offset is zero, then the scratch register 92 Register scratch); 232 // The contents of the scratch register will always be overwritten. 235 Register scratch, 238 // The contents of the scratch register will be overwritten. 239 void IsInstanceJSObjectType(Register map, Register scratch, Label* fail); 291 Register scratch, // Can be no_reg or dst, but not src [all...] |
macro-assembler-ia32.cc | 57 Register scratch) { 61 InNewSpace(object, scratch, not_equal, ¬_in_new_space); 83 Register scratch) { 101 Register dst = scratch; 122 mov(scratch, Immediate(BitCast<int32_t>(kZapValue))); 246 Register scratch, 249 IsInstanceJSObjectType(map, scratch, fail); 254 Register scratch, 256 movzx_b(scratch, FieldOperand(map, Map::kInstanceTypeOffset)); 257 sub(Operand(scratch), Immediate(FIRST_JS_OBJECT_TYPE)) 1036 mov(Operand(destination, length, times_1, -4), scratch); local 1050 mov_b(Operand(destination, 0), scratch); local 1355 mov(Operand(esp, 0 * kPointerSize), scratch); \/\/ output. local 2016 mov(Operand(esp, num_arguments * kPointerSize), scratch); local [all...] |
/external/v8/src/arm/ |
macro-assembler-arm.cc | 258 Register scratch, 260 if (scratch.is(no_reg)) { 265 mov(scratch, reg1, LeaveCC, cond); 267 mov(reg2, scratch, LeaveCC, cond); 345 Register scratch, 352 ASSERT(!scratch.is(dst)); 357 and_(scratch, src, Operand((1 << width) - 1)); 358 mov(scratch, Operand(scratch, LSL, lsb)); 359 orr(dst, dst, scratch); [all...] |
lithium-codegen-arm.cc | 287 Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) { 291 __ mov(scratch, ToOperand(op)); 292 return scratch; 294 __ ldr(scratch, ToMemOperand(op)); 295 return scratch; 298 return scratch; 863 Register scratch = scratch0(); local 874 ASSERT(!scratch.is(left)); 875 ASSERT(!scratch.is(right)); 876 ASSERT(!scratch.is(result)) 983 const Register scratch = scratch0(); local 1081 Register scratch = scratch0(); local 1153 Register scratch = scratch0(); local 1420 Register scratch = scratch0(); local 1454 Register scratch = scratch0(); local 1560 Register scratch = scratch0(); local 1647 Register scratch = result; local 1663 Register scratch = scratch0(); local 1820 Register scratch = scratch0(); local 1852 Register scratch = scratch0(); local 1866 Register scratch = scratch0(); local 2227 Register scratch = scratch0(); local 2316 Register scratch = scratch0(); local 2368 Register scratch = scratch0(); local 2414 Register scratch = scratch0(); local 2467 Register scratch = scratch0(); local 2537 Register scratch = scratch0(); local 2580 Register scratch = scratch0(); local 2731 Register scratch = scratch0(); local 2906 Register scratch = scratch0(); local 2923 Register scratch = scratch0(); local 3110 Register scratch = scratch0(); local 3162 Register scratch = scratch0(); local 3246 Register scratch = scratch0(); local 3345 Register scratch = scratch0(); local 3435 Register scratch = scratch0(); local 3521 Register scratch = scratch0(); local 3575 Register scratch = scratch0(); local 3794 Register scratch = scratch0(); local 3825 Register scratch = scratch0(); local 4056 Register scratch = scratch0(); local [all...] |
macro-assembler-arm.h | 119 // Swap two registers. If the scratch register is omitted then a slightly 123 Register scratch = no_reg, 133 // The scratch register is not used for ARMv7. 134 // scratch can be the same register as src (in which case it is trashed), but 138 Register scratch, 163 // scratch can be object itself, but it will be clobbered. 165 Register scratch, 174 Register scratch); 178 // of an allocated page. The 'scratch' registers are used in the 194 Register scratch); [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...] |
/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...] |
/external/icu4c/common/unicode/ |
bytestream.h | 72 * May return a pointer to the caller-owned scratch buffer which must have 94 * If a non-scratch buffer is returned, the caller may only pass 98 * The default implementation always returns the scratch buffer. 104 * @param scratch default caller-owned buffer 105 * @param scratch_capacity capacity of the scratch buffer 113 char* scratch, int32_t scratch_capacity, 175 * @param scratch default caller-owned buffer 176 * @param scratch_capacity capacity of the scratch buffer 184 char* scratch, int32_t scratch_capacity,
|
/external/webkit/Source/JavaScriptCore/jit/ |
JSInterfaceJIT.h | 194 inline Jump emitLoadDouble(unsigned virtualRegisterIndex, FPRegisterID dst, RegisterID scratch); 266 inline JSInterfaceJIT::Jump JSInterfaceJIT::emitLoadDouble(unsigned virtualRegisterIndex, FPRegisterID dst, RegisterID scratch) 269 loadPtr(tagFor(virtualRegisterIndex), scratch); 270 Jump isDouble = branch32(Below, scratch, TrustedImm32(JSValue::LowestTag)); 271 Jump notInt = branch32(NotEqual, scratch, TrustedImm32(JSValue::Int32Tag)); 272 loadPtr(payloadFor(virtualRegisterIndex), scratch); 273 convertInt32ToDouble(scratch, dst); 305 inline JSInterfaceJIT::Jump JSInterfaceJIT::emitLoadDouble(unsigned virtualRegisterIndex, FPRegisterID dst, RegisterID scratch) 307 loadPtr(addressFor(virtualRegisterIndex), scratch); 308 Jump notNumber = emitJumpIfNotImmediateNumber(scratch); [all...] |