/art/compiler/utils/ |
swap_space_test.cc | 35 ScratchFile scratch; local 36 int fd = scratch.GetFd(); 37 unlink(scratch.GetFilename().c_str()); 70 scratch.Close();
|
/external/aac/libFDK/src/mips/ |
fft_rad2_mips.cpp | 109 int32c scratch[1024]; local 124 mips_fft32(dout, din, twiddles, scratch, ldn);
|
/external/blktrace/btt/ |
trace.c | 59 char scratch[15]; local 69 make_dev_hdr(scratch, 15, iop->dip, 1),
|
/external/chromium_org/third_party/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/icu/icu4c/source/i18n/ |
bocsu.cpp | 100 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);
|
/art/compiler/optimizing/ |
parallel_move_resolver.cc | 171 int scratch = -1; local 175 scratch = reg; 180 if (scratch == -1) { 182 scratch = if_scratch; 187 return scratch;
|
/external/chromium_org/third_party/icu/source/i18n/ |
bocsu.cpp | 100 char scratch[64]; local 106 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity); 112 buffer=scratch; 113 capacity=(int32_t)sizeof(scratch);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = local 40 &to_nouveau_context(ctx)->scratch; 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); 46 buf = scratch->buf + scratch->offset; 47 *offset = scratch->offset; 48 scratch->offset += size 76 struct nouveau_scratch_state *scratch = local 91 struct nouveau_scratch_state *scratch = local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
generated_message_reflection_unittest.cc | 113 string scratch; local 116 &reflection->GetStringReference(message, F("optional_string"), &scratch)) 121 0, &scratch))
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = local 40 &to_nouveau_context(ctx)->scratch; 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); 46 buf = scratch->buf + scratch->offset; 47 *offset = scratch->offset; 48 scratch->offset += size 76 struct nouveau_scratch_state *scratch = local 91 struct nouveau_scratch_state *scratch = 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/ceres-solver/internal/ceres/ |
residual_block_test.cc | 76 double scratch[64]; local 108 residual_block.Evaluate(true, &cost, NULL, NULL, scratch); 113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch); 137 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); 156 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); 203 double scratch[64]; local 247 residual_block.Evaluate(true, &cost, NULL, NULL, scratch); 252 residual_block.Evaluate(true, &cost, residuals, NULL, scratch); 276 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); 314 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch); [all...] |
program_evaluator.h | 77 // some per-thread scratch space. 159 // Each thread gets it's own cost and evaluate scratch space. 187 EvaluateScratch* scratch = &evaluate_scratch_[thread_id]; local 195 block_residuals = scratch->residual_block_residuals.get(); 204 scratch->jacobian_block_ptrs.get()); 205 block_jacobians = scratch->jacobian_block_ptrs.get(); 215 scratch->residual_block_evaluate_scratch.get())) { 224 scratch->cost += block_cost; 250 scratch->gradient.get() + parameter_block->delta_offset()); 309 // Per-thread scratch space needed to evaluate and store each residual block [all...] |
/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...] |
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv_test.cc | 92 char scratch[100]; local 103 ASSERT_OK(seq_file->Read(5, &result, scratch)); // Read "hello". 106 ASSERT_OK(seq_file->Read(1000, &result, scratch)); // Read "world". 108 ASSERT_OK(seq_file->Read(1000, &result, scratch)); // Try reading past EOF. 111 ASSERT_OK(seq_file->Read(1000, &result, scratch)); 117 ASSERT_OK(rand_file->Read(6, 5, &result, scratch)); // Read "world". 119 ASSERT_OK(rand_file->Read(0, 5, &result, scratch)); // Read "hello". 121 ASSERT_OK(rand_file->Read(10, 100, &result, scratch)); // Read "d". 125 ASSERT_TRUE(!rand_file->Read(1000, 5, &result, scratch).ok()); 154 char* scratch = new char[kWriteSize * 2] local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_context.h | 42 } scratch; member in struct:nouveau_context 57 /* This is needed because we don't hold references outside of context::scratch, 64 nv->scratch.wrap = nv->scratch.id; 65 if (unlikely(nv->scratch.nr_runout)) 69 /* Get pointer to scratch buffer. 82 if (ctx->scratch.bo[i]) 83 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_context.h | 42 } scratch; member in struct:nouveau_context 57 /* This is needed because we don't hold references outside of context::scratch, 64 nv->scratch.wrap = nv->scratch.id; 65 if (unlikely(nv->scratch.nr_runout)) 69 /* Get pointer to scratch buffer. 82 if (ctx->scratch.bo[i]) 83 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLRenderer.java | 61 float[] scratch = new float[16]; local 87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); 90 mTriangle.draw(scratch);
|
/external/chromium_org/third_party/boringssl/src/tool/ |
speed.cc | 218 uint8_t scratch[8192]; local 220 if (chunk_len > sizeof(scratch)) { 225 if (!TimeFunction(&results, [ctx, md, chunk_len, &scratch]() -> bool { 230 EVP_DigestUpdate(ctx, scratch, chunk_len) &&
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
strtest.cpp | 366 char scratch[20]; local 368 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity); 373 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity); 378 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity); 379 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) { 380 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer"); 397 char scratch[10] local [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayEvent.cpp | 153 char scratch[8]; local 155 size_t size = convert > 0 ? SkUTF8_FromUnichar(convert, scratch) : 0; 156 fKeyString.set(scratch, size); 161 size = SkUTF8_FromUnichar(fMax, scratch); 162 value->fOperand.fString->append(scratch, size);
|
/external/chromium_org/v8/src/arm64/ |
debug-arm64.cc | 130 Register scratch) { 135 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue)); 136 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize); 137 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); 138 __ Push(scratch); 156 DCHECK((scratch.Bit() & object_regs) == 0); 157 DCHECK((scratch.Bit() & non_object_regs) == 0); 166 __ Lsr(scratch, reg, 32); 167 __ SmiTagAndPush(scratch, reg); 206 __ Pop(scratch, reg) 350 Register scratch = temps.AcquireX(); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
strtest.cpp | 366 char scratch[20]; local 368 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity); 373 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity); 378 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity); 379 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) { 380 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer"); 397 char scratch[10] local [all...] |