Searched defs:scratch (Results 1 - 25 of 94) sorted by relevance

1234

/external/blktrace/btt/
H A Dtrace.c59 char scratch[15]; local
69 make_dev_hdr(scratch, 15, iop->dip, 1),
/external/aac/libFDK/src/mips/
H A Dfft_rad2_mips.cpp109 int32c scratch[1024]; local
124 mips_fft32(dout, din, twiddles, scratch, ldn);
/external/icu4c/common/
H A Dappendable.cpp57 UChar *scratch, int32_t scratchCapacity,
64 return scratch;
55 getAppendBuffer(int32_t minCapacity, int32_t , UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
H A Dbytestream.cpp15 char* scratch, int32_t scratch_capacity,
22 return scratch;
56 char* scratch,
69 return scratch;
13 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
54 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc113 string scratch; local
116 &reflection->GetStringReference(message, F("optional_string"), &scratch))
121 0, &scratch))
H A Dtest_util.cc2273 string scratch; local
2329 EXPECT_EQ("115", reflection->GetStringReference(message, F("optional_string"), &scratch));
2330 EXPECT_EQ("116", reflection->GetStringReference(message, F("optional_bytes" ), &scratch));
2346 EXPECT_EQ("124", reflection->GetStringReference(message, F("optional_string_piece"), &scratch));
2349 EXPECT_EQ("125", reflection->GetStringReference(message, F("optional_cord"), &scratch));
2355 string scratch; local
2403 EXPECT_EQ("215", reflection->GetRepeatedStringReference(message, F("repeated_string"), 0, &scratch));
2404 EXPECT_EQ("216", reflection->GetRepeatedStringReference(message, F("repeated_bytes"), 0, &scratch));
2421 message, F("repeated_string_piece"), 0, &scratch));
2425 message, F("repeated_cord"), 0, &scratch));
2473 string scratch; local
2588 string scratch; local
[all...]
/external/skia/src/svg/
H A DSkSVGCircle.cpp35 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);
H A DSkSVGEllipse.cpp37 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/icu4c/i18n/
H A Dbocsu.cpp99 char scratch[64]; local
105 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity);
111 buffer=scratch;
112 capacity=(int32_t)sizeof(scratch);
/external/openssl/crypto/modes/
H A Dxts128.c66 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
[all...]
H A Dccm128.c179 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
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/webkit/Source/JavaScriptCore/jit/
H A DThunkGenerators.cpp58 static void charToString(SpecializedThunkJIT& jit, JSGlobalData* globalData, MacroAssembler::RegisterID src, MacroAssembler::RegisterID dst, MacroAssembler::RegisterID scratch) argument
61 jit.move(MacroAssembler::TrustedImmPtr(globalData->smallStrings.singleCharacterStrings()), scratch);
62 jit.loadPtr(MacroAssembler::BaseIndex(scratch, src, MacroAssembler::ScalePtr, 0), dst);
H A DSpecializedThunkJIT.h49 void loadDoubleArgument(int argument, FPRegisterID dst, RegisterID scratch) argument
52 m_failures.append(emitLoadDouble(src, dst, scratch));
/external/guava/guava/src/com/google/common/hash/
H A DMessageDigestHashFunction.java64 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
[all...]
/external/libffi/src/sparc/
H A Dffi.c475 void *rvalue, unsigned long *gpr, unsigned long *scratch)
517 scratch[0] = gpr[argn];
518 scratch[1] = gpr[argn+1];
519 avalue[i] = scratch;
520 scratch -= 2;
474 ffi_closure_sparc_inner_v8(ffi_closure *closure, void *rvalue, unsigned long *gpr, unsigned long *scratch) argument
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xinerama/
H A DXinerama.c301 xXineramaScreenInfo scratch; local
305 _XRead(dpy, (char*)(&scratch), sz_XineramaScreenInfo);
307 scrnInfo[i].x_org = scratch.x_org;
308 scrnInfo[i].y_org = scratch.y_org;
309 scrnInfo[i].width = scratch.width;
310 scrnInfo[i].height = scratch.height;
/external/v8/src/arm/
H A Dmacro-assembler-arm.cc230 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);
228 Swap(Register reg1, Register reg2, Register scratch, Condition cond) argument
[all...]
/external/v8/src/mips/
H A Dcodegen-mips.cc82 // -- a3 : target map, scratch for subsequent call
83 // -- t0 : scratch (elements)
105 // -- a3 : target map, scratch for subsequent call
106 // -- t0 : scratch (elements)
111 Register scratch = t6; local
125 __ sll(scratch, t1, 2);
126 __ Addu(scratch, scratch, FixedDoubleArray::kHeaderSize);
127 __ AllocateInNewSpace(scratch, t2, t3, t5, &gc_required, NO_ALLOCATION_FLAGS);
248 // -- a3 : target map, scratch fo
[all...]
/external/icu4c/test/intltest/
H A Dstrtest.cpp398 char scratch[20]; local
400 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
405 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
410 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
411 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
412 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer");
429 char scratch[1 local
[all...]
/external/skia/src/core/
H A DSkMemory_stdlib.cpp81 char scratch[256]; local
82 char* pos = scratch;
105 SkDebugf("%s\n", scratch);
H A DSkWriter32.cpp161 char scratch[1024]; local
162 const size_t MAX = sizeof(scratch);
170 size_t bytes = stream->read(scratch, n);
171 this->writePad(scratch, bytes);
/external/speex/libspeex/
H A Dkiss_fft.c96 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[
178 kiss_fft_cpx scratch[5]; local
223 kiss_fft_cpx scratch[13]; local
[all...]
/external/v8/src/ia32/
H A Dlithium-gap-resolver-ia32.cc261 Register scratch = Register::FromAllocationIndex(i); local
262 __ push(scratch);
264 return scratch;
269 Register scratch = Register::FromAllocationIndex(0); local
270 __ push(scratch);
272 return scratch;
344 // We rely on having xmm0 available as a fixed scratch register.
414 // available as a fixed scratch register.
423 // available as a fixed scratch register.
437 // a fixed scratch registe
[all...]
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPathSkia.cpp233 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
[all...]
H A DSkiaUtils.cpp257 static GraphicsContext* scratch = 0; local
258 if (!scratch) {
263 scratch = new GraphicsContext(pgc);
265 return scratch;
270 static ImageBuffer* scratch = ImageBuffer::create(IntSize(1, 1)).leakPtr(); local
273 return scratch->context();

Completed in 2907 milliseconds

1234